Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / ApplicationFileParser.cs / 1 / ApplicationFileParser.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * Implements the ASP.NET template parser * * Copyright (c) 1998 Microsoft Corporation */ namespace System.Web.UI { using System; using System.Collections; using System.IO; using System.Web.Util; using System.Web.Compilation; using Debug=System.Web.Util.Debug; /* * Parser for global.asax files */ internal sealed class ApplicationFileParser : TemplateParser { internal ApplicationFileParser() {} internal override Type DefaultBaseType { get { return typeof(System.Web.HttpApplication); } } internal override bool FApplicationFile { get { return true; } } internal const string defaultDirectiveName = "application"; internal override string DefaultDirectiveName { get { return defaultDirectiveName; } } internal override void CheckObjectTagScope(ref ObjectTagScope scope) { // Map the default scope to AppInstance if (scope == ObjectTagScope.Default) scope = ObjectTagScope.AppInstance; // Check for invalid scopes if (scope == ObjectTagScope.Page) { throw new HttpException( SR.GetString(SR.Page_scope_in_global_asax)); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SelectionEditor.cs
- ContentDefinition.cs
- GraphicsPathIterator.cs
- SqlConnectionFactory.cs
- WeakReference.cs
- DbConnectionStringCommon.cs
- ClickablePoint.cs
- PermissionRequestEvidence.cs
- XmlIgnoreAttribute.cs
- SaveFileDialog.cs
- ConfigurationValidatorAttribute.cs
- ItemContainerGenerator.cs
- EntityDataSourceConfigureObjectContext.cs
- UriTemplateMatch.cs
- ObjectToken.cs
- CodeObjectCreateExpression.cs
- CreateRefExpr.cs
- MetricEntry.cs
- ScriptDescriptor.cs
- SafeViewOfFileHandle.cs
- DrawingAttributes.cs
- MouseGesture.cs
- MsmqIntegrationMessagePool.cs
- OptimizedTemplateContent.cs
- TransportationConfigurationTypeInstallComponent.cs
- SapiRecoContext.cs
- IEnumerable.cs
- ListViewTableCell.cs
- ModelTreeManager.cs
- ByValueEqualityComparer.cs
- MultiAsyncResult.cs
- ApplicationFileCodeDomTreeGenerator.cs
- DataGridPageChangedEventArgs.cs
- AuthorizationRuleCollection.cs
- HttpModuleCollection.cs
- Symbol.cs
- DbFunctionCommandTree.cs
- VisualSerializer.cs
- DefaultEventAttribute.cs
- MarkupCompilePass2.cs
- ObjectMemberMapping.cs
- ISFClipboardData.cs
- DrawingAttributes.cs
- ActiveXHost.cs
- PolyLineSegment.cs
- QueryOutputWriter.cs
- CompositeControl.cs
- _NegoState.cs
- AdCreatedEventArgs.cs
- XmlIgnoreAttribute.cs
- ArgumentOutOfRangeException.cs
- XslCompiledTransform.cs
- HttpListenerPrefixCollection.cs
- EndpointIdentity.cs
- HtmlInputCheckBox.cs
- DataView.cs
- DateTimeFormatInfo.cs
- TimeIntervalCollection.cs
- TemplateBamlTreeBuilder.cs
- ResumeStoryboard.cs
- AnimatedTypeHelpers.cs
- GroupQuery.cs
- SctClaimDictionary.cs
- DBSchemaRow.cs
- TriggerBase.cs
- MemberDomainMap.cs
- DLinqDataModelProvider.cs
- TimeoutValidationAttribute.cs
- Base64Decoder.cs
- HttpAsyncResult.cs
- DataGridViewAdvancedBorderStyle.cs
- TextWriterTraceListener.cs
- DesigntimeLicenseContextSerializer.cs
- BitSet.cs
- TimelineGroup.cs
- PackageRelationshipSelector.cs
- baseaxisquery.cs
- LineBreakRecord.cs
- TdsParserStaticMethods.cs
- DataGridTextBox.cs
- AutomationPropertyInfo.cs
- ListViewItemEventArgs.cs
- TaskFileService.cs
- FileNotFoundException.cs
- PropertyEmitterBase.cs
- NativeMethods.cs
- Metadata.cs
- DateTimeParse.cs
- Point4DValueSerializer.cs
- TerminatorSinks.cs
- EntityType.cs
- NativeMethods.cs
- LinearGradientBrush.cs
- TreeChangeInfo.cs
- versioninfo.cs
- SqlStatistics.cs
- RepeaterItem.cs
- mil_commands.cs
- Label.cs
- followingsibling.cs