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
- SQLBoolean.cs
- UniqueConstraint.cs
- QueryOperator.cs
- EdmComplexTypeAttribute.cs
- DataGridRelationshipRow.cs
- TextPattern.cs
- Missing.cs
- ComponentCommands.cs
- ByteConverter.cs
- ListItem.cs
- FloaterParaClient.cs
- XmlDataSource.cs
- ListItemParagraph.cs
- ObjectDesignerDataSourceView.cs
- OdbcReferenceCollection.cs
- MaskedTextBox.cs
- CompilerHelpers.cs
- MethodToken.cs
- XmlComplianceUtil.cs
- LinkedResource.cs
- ResourceFallbackManager.cs
- Vector3dCollection.cs
- ProfileBuildProvider.cs
- FontWeight.cs
- FilterableAttribute.cs
- MembershipSection.cs
- OdbcConnectionOpen.cs
- ThreadAbortException.cs
- PersistenceTypeAttribute.cs
- IssuedTokenClientBehaviorsElementCollection.cs
- BitmapEffectDrawingContextState.cs
- Win32.cs
- SecurityIdentifierConverter.cs
- GridViewCancelEditEventArgs.cs
- SiteMapDataSourceView.cs
- BaseTemplateCodeDomTreeGenerator.cs
- SoapEnumAttribute.cs
- recordstatefactory.cs
- XmlSchemas.cs
- BufferAllocator.cs
- RuleSetDialog.cs
- RadioButton.cs
- TypeReference.cs
- HttpModuleActionCollection.cs
- ItemCheckEvent.cs
- XslAst.cs
- FixedSOMPageElement.cs
- PeerTransportListenAddressValidator.cs
- ByteStreamMessageEncodingElement.cs
- UseAttributeSetsAction.cs
- NetSectionGroup.cs
- XPathNavigator.cs
- TdsParserSafeHandles.cs
- SchemaImporterExtensionsSection.cs
- Rules.cs
- XmlSchemaComplexContent.cs
- BatchServiceHost.cs
- XmlQueryOutput.cs
- RelationshipWrapper.cs
- PreservationFileReader.cs
- UnsafeNativeMethods.cs
- WebPartHeaderCloseVerb.cs
- MsmqTransportSecurityElement.cs
- SelectionPattern.cs
- HtmlControlAdapter.cs
- DataGridViewCellParsingEventArgs.cs
- MetabaseServerConfig.cs
- HtmlEmptyTagControlBuilder.cs
- DebugInfoGenerator.cs
- PropertyGrid.cs
- TextAutomationPeer.cs
- DataTable.cs
- FamilyMap.cs
- FormViewUpdateEventArgs.cs
- TextDocumentView.cs
- SymLanguageVendor.cs
- SendSecurityHeaderElement.cs
- WinInet.cs
- SizeLimitedCache.cs
- CompensableActivity.cs
- Int32RectValueSerializer.cs
- TcpChannelHelper.cs
- UIntPtr.cs
- GorillaCodec.cs
- DataGridViewButtonColumn.cs
- TextTreeRootNode.cs
- ExpandedProjectionNode.cs
- DataControlFieldCell.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- BamlLocalizationDictionary.cs
- OSFeature.cs
- ProviderSettings.cs
- AssemblyCollection.cs
- EditorZoneBase.cs
- CssStyleCollection.cs
- HttpListenerResponse.cs
- ColorIndependentAnimationStorage.cs
- MemoryMappedViewAccessor.cs
- SamlAuthorizationDecisionClaimResource.cs
- TrackingServices.cs