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
- TcpConnectionPool.cs
- FixedTextPointer.cs
- TypeRestriction.cs
- DBPropSet.cs
- FormsIdentity.cs
- WsiProfilesElementCollection.cs
- RadioButtonStandardAdapter.cs
- ResizeGrip.cs
- SqlDataSourceSummaryPanel.cs
- FormsAuthentication.cs
- BamlRecordReader.cs
- ProfileServiceManager.cs
- UriPrefixTable.cs
- ReaderContextStackData.cs
- DataReceivedEventArgs.cs
- HttpHandlersSection.cs
- Padding.cs
- Component.cs
- RegexCaptureCollection.cs
- RemoteEndpointMessageProperty.cs
- SignatureDescription.cs
- CurrentTimeZone.cs
- ToolStripSeparator.cs
- Transform3D.cs
- PointF.cs
- UnsafeNativeMethods.cs
- DataGridViewSortCompareEventArgs.cs
- MailHeaderInfo.cs
- ZipIOExtraField.cs
- GeneralTransform2DTo3D.cs
- TypeUtils.cs
- DataColumnChangeEvent.cs
- OracleCommandSet.cs
- RuleAction.cs
- MostlySingletonList.cs
- MailWebEventProvider.cs
- DatatypeImplementation.cs
- CustomActivityDesigner.cs
- FileNotFoundException.cs
- IPPacketInformation.cs
- RuntimeEnvironment.cs
- Ref.cs
- CommandID.cs
- ParenthesizePropertyNameAttribute.cs
- DataBindingExpressionBuilder.cs
- StsCommunicationException.cs
- DesignTableCollection.cs
- WorkflowInstance.cs
- Attributes.cs
- XmlSchemaChoice.cs
- XPathItem.cs
- SingleAnimationBase.cs
- EdmProviderManifest.cs
- DateTimeConverter.cs
- ValidationResult.cs
- NewExpression.cs
- FlagsAttribute.cs
- CopyCodeAction.cs
- SecurityException.cs
- sqlstateclientmanager.cs
- StateItem.cs
- ByteAnimation.cs
- NonVisualControlAttribute.cs
- WebHeaderCollection.cs
- Comparer.cs
- AsnEncodedData.cs
- StoreAnnotationsMap.cs
- CommonDialog.cs
- ToolTip.cs
- SessionStateContainer.cs
- CancelRequestedRecord.cs
- Point.cs
- ProxyWebPartConnectionCollection.cs
- DataBoundControlHelper.cs
- dbenumerator.cs
- CorrelationQueryBehavior.cs
- NotCondition.cs
- ObservableDictionary.cs
- StyleTypedPropertyAttribute.cs
- DiscreteKeyFrames.cs
- ReadOnlyTernaryTree.cs
- CodeCompiler.cs
- TransformGroup.cs
- ReverseComparer.cs
- SchemaHelper.cs
- StylusCollection.cs
- SynchronizingStream.cs
- EndpointInfo.cs
- PropertyGrid.cs
- _CacheStreams.cs
- IndexerNameAttribute.cs
- DataKeyCollection.cs
- ImagingCache.cs
- _SSPISessionCache.cs
- ItemCheckEvent.cs
- PreviewPrintController.cs
- RefreshEventArgs.cs
- PublishLicense.cs
- DynamicDataResources.Designer.cs
- FilterException.cs