Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / UI / TagPrefixAttribute.cs / 1 / TagPrefixAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System; using System.ComponentModel; using System.Security.Permissions; using System.Web.Util; [AttributeUsage(AttributeTargets.Assembly, AllowMultiple=true)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class TagPrefixAttribute : Attribute { private string namespaceName; private string tagPrefix; public TagPrefixAttribute(string namespaceName, string tagPrefix) { if (String.IsNullOrEmpty(namespaceName)) { throw ExceptionUtil.ParameterNullOrEmpty("namespaceName"); } if (String.IsNullOrEmpty(tagPrefix)) { throw ExceptionUtil.ParameterNullOrEmpty("tagPrefix"); } this.namespaceName = namespaceName; this.tagPrefix = tagPrefix; } public string NamespaceName { get { return namespaceName; } } public string TagPrefix { get { return tagPrefix; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System; using System.ComponentModel; using System.Security.Permissions; using System.Web.Util; [AttributeUsage(AttributeTargets.Assembly, AllowMultiple=true)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class TagPrefixAttribute : Attribute { private string namespaceName; private string tagPrefix; public TagPrefixAttribute(string namespaceName, string tagPrefix) { if (String.IsNullOrEmpty(namespaceName)) { throw ExceptionUtil.ParameterNullOrEmpty("namespaceName"); } if (String.IsNullOrEmpty(tagPrefix)) { throw ExceptionUtil.ParameterNullOrEmpty("tagPrefix"); } this.namespaceName = namespaceName; this.tagPrefix = tagPrefix; } public string NamespaceName { get { return namespaceName; } } public string TagPrefix { get { return tagPrefix; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- KeyValueInternalCollection.cs
- SqlClientWrapperSmiStream.cs
- InputScopeConverter.cs
- CodeDOMProvider.cs
- ProfileParameter.cs
- infer.cs
- DataGridViewColumnConverter.cs
- Lasso.cs
- MemberDescriptor.cs
- FilterEventArgs.cs
- SimpleLine.cs
- SessionPageStatePersister.cs
- BuildProvidersCompiler.cs
- PageTheme.cs
- PointLightBase.cs
- ButtonFieldBase.cs
- GC.cs
- IdentifierService.cs
- MenuStrip.cs
- HttpRawResponse.cs
- PathTooLongException.cs
- TextParagraphView.cs
- TextEditor.cs
- PropertyValueChangedEvent.cs
- DeferredRunTextReference.cs
- SerializableAttribute.cs
- Point3DKeyFrameCollection.cs
- PrintDialog.cs
- EmptyEnumerable.cs
- Propagator.cs
- JapaneseCalendar.cs
- BevelBitmapEffect.cs
- AuthorizationRule.cs
- ErrorHandler.cs
- Exceptions.cs
- ComponentEvent.cs
- AnnotationStore.cs
- ClientTargetSection.cs
- IPipelineRuntime.cs
- ListContractAdapter.cs
- DictionaryEntry.cs
- TdsParserStaticMethods.cs
- WsatStrings.cs
- DragEvent.cs
- DecoderNLS.cs
- PolicyStatement.cs
- ParentQuery.cs
- DataTableReader.cs
- FlowDocumentReader.cs
- PhysicalFontFamily.cs
- AssociationSet.cs
- MaskInputRejectedEventArgs.cs
- TraceData.cs
- HandledEventArgs.cs
- FontWeightConverter.cs
- ResourceDescriptionAttribute.cs
- OdbcPermission.cs
- ObjectDataSourceDisposingEventArgs.cs
- SourceSwitch.cs
- XmlDictionaryWriter.cs
- OracleColumn.cs
- Queue.cs
- ProjectionPruner.cs
- IndicFontClient.cs
- ThreadExceptionEvent.cs
- InternalConfigHost.cs
- RequestSecurityTokenResponse.cs
- PriorityRange.cs
- XmlSchemaRedefine.cs
- DesignerDataRelationship.cs
- BehaviorService.cs
- DiscoveryClientDocuments.cs
- InputGestureCollection.cs
- XsltSettings.cs
- BrowserCapabilitiesFactoryBase.cs
- Int32Rect.cs
- MetadataArtifactLoader.cs
- BufferedGraphicsContext.cs
- SynchronizedReadOnlyCollection.cs
- HtmlElementCollection.cs
- Matrix3DConverter.cs
- SqlTriggerAttribute.cs
- DetailsViewUpdatedEventArgs.cs
- TemplateLookupAction.cs
- PersonalizationProviderHelper.cs
- ContractNamespaceAttribute.cs
- MapPathBasedVirtualPathProvider.cs
- SoapAttributeOverrides.cs
- MSHTMLHost.cs
- XmlAutoDetectWriter.cs
- CheckBoxAutomationPeer.cs
- PrtCap_Reader.cs
- FilterableAttribute.cs
- SqlNode.cs
- ListComponentEditor.cs
- ParameterCollection.cs
- ConfigurationManager.cs
- StorageAssociationSetMapping.cs
- TrustManagerMoreInformation.cs
- PassportIdentity.cs