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
- RecommendedAsConfigurableAttribute.cs
- WorkItem.cs
- PrintDialogDesigner.cs
- CommentAction.cs
- ListItemParagraph.cs
- DataGridCaption.cs
- IncrementalCompileAnalyzer.cs
- DataObjectAttribute.cs
- AsyncStreamReader.cs
- DependentList.cs
- GeneralTransform3DGroup.cs
- EFColumnProvider.cs
- Overlapped.cs
- HtmlWindowCollection.cs
- UnmanagedMemoryStreamWrapper.cs
- PointAnimation.cs
- UserControlParser.cs
- Help.cs
- MergeLocalizationDirectives.cs
- ProviderConnectionPoint.cs
- SpellerStatusTable.cs
- ParseElementCollection.cs
- HttpRequestBase.cs
- HostingEnvironmentSection.cs
- IisNotInstalledException.cs
- LayoutTable.cs
- SerializableTypeCodeDomSerializer.cs
- UnsafeNativeMethods.cs
- ObjectAnimationUsingKeyFrames.cs
- VirtualizingPanel.cs
- xml.cs
- SoapIncludeAttribute.cs
- HashRepartitionStream.cs
- OutputCacheProviderCollection.cs
- InvalidProgramException.cs
- OutputScopeManager.cs
- TrackingStringDictionary.cs
- ScriptResourceHandler.cs
- ContentControl.cs
- Geometry.cs
- SizeIndependentAnimationStorage.cs
- TypeViewSchema.cs
- Executor.cs
- CodeAccessSecurityEngine.cs
- DecoderFallbackWithFailureFlag.cs
- ControlAdapter.cs
- MimeFormatExtensions.cs
- _HelperAsyncResults.cs
- NullableConverter.cs
- RadialGradientBrush.cs
- IntPtr.cs
- SimpleLine.cs
- WindowsFormsHostAutomationPeer.cs
- ProxyGenerationError.cs
- Misc.cs
- Point3DIndependentAnimationStorage.cs
- MexServiceChannelBuilder.cs
- SchemaImporterExtensionsSection.cs
- WindowsRegion.cs
- CommandHelpers.cs
- DocumentAutomationPeer.cs
- ToolStripScrollButton.cs
- HttpListenerTimeoutManager.cs
- ActiveXHost.cs
- ComponentEditorForm.cs
- WindowsFormsHelpers.cs
- TypeForwardedFromAttribute.cs
- GetPageNumberCompletedEventArgs.cs
- SafeRightsManagementHandle.cs
- TextParentUndoUnit.cs
- MembershipSection.cs
- SplitterEvent.cs
- ConfigXmlComment.cs
- ProcessHost.cs
- ContextMenuAutomationPeer.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- FunctionDetailsReader.cs
- ClientSideQueueItem.cs
- UriExt.cs
- ThicknessAnimationBase.cs
- SafeCryptContextHandle.cs
- GenericsInstances.cs
- SqlWriter.cs
- DirectionalLight.cs
- COAUTHIDENTITY.cs
- MenuAdapter.cs
- LinkAreaEditor.cs
- CornerRadiusConverter.cs
- DataGridViewMethods.cs
- HostProtectionException.cs
- OletxCommittableTransaction.cs
- TemplateAction.cs
- OpCopier.cs
- ViewManager.cs
- Delegate.cs
- SplashScreenNativeMethods.cs
- Italic.cs
- ArgumentValue.cs
- TypedTableBase.cs
- EventWaitHandleSecurity.cs