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
- XmlEncoding.cs
- DispatcherSynchronizationContext.cs
- Vertex.cs
- GeneralTransform3D.cs
- QilTernary.cs
- SymmetricSecurityBindingElement.cs
- metadatamappinghashervisitor.cs
- WebPartCollection.cs
- ServiceMemoryGates.cs
- WriteFileContext.cs
- RegistryPermission.cs
- NavigationProgressEventArgs.cs
- EventBuilder.cs
- DictionaryEntry.cs
- DataComponentMethodGenerator.cs
- BitmapEffectInput.cs
- QueryTask.cs
- Matrix3D.cs
- Vector3DCollectionConverter.cs
- BamlLocalizabilityResolver.cs
- DeleteHelper.cs
- CodeDomSerializerException.cs
- DataBoundControlDesigner.cs
- cookieexception.cs
- Literal.cs
- WorkflowRuntimeService.cs
- CodeEntryPointMethod.cs
- MessageDecoder.cs
- WmfPlaceableFileHeader.cs
- TextElementCollectionHelper.cs
- TextWriterEngine.cs
- SiteMapPath.cs
- DynamicResourceExtension.cs
- ExitEventArgs.cs
- MexHttpBindingElement.cs
- ObjectAssociationEndMapping.cs
- ImpersonationContext.cs
- FieldMetadata.cs
- XamlStyleSerializer.cs
- EventItfInfo.cs
- FormViewRow.cs
- XamlFigureLengthSerializer.cs
- CompModSwitches.cs
- FacetChecker.cs
- DesignerActionVerbItem.cs
- SpellCheck.cs
- MarkupExtensionParser.cs
- OAVariantLib.cs
- DesignRelationCollection.cs
- FixedSOMElement.cs
- PartitionerStatic.cs
- NavigatorOutput.cs
- InvalidWMPVersionException.cs
- SmiXetterAccessMap.cs
- DynamicValidator.cs
- DateTimePicker.cs
- Automation.cs
- DataViewManagerListItemTypeDescriptor.cs
- ScriptControl.cs
- SplayTreeNode.cs
- XmlRootAttribute.cs
- FixUpCollection.cs
- CodeMethodReturnStatement.cs
- XamlDesignerSerializationManager.cs
- CompilerScope.cs
- ellipse.cs
- ClaimSet.cs
- XmlSchemaRedefine.cs
- FlowDocumentFormatter.cs
- WebPartsPersonalization.cs
- DataConnectionHelper.cs
- Console.cs
- DataServicePagingProviderWrapper.cs
- NetworkCredential.cs
- TextTreeUndo.cs
- BezierSegment.cs
- NegatedCellConstant.cs
- AppDomain.cs
- BaseUriWithWildcard.cs
- MULTI_QI.cs
- TriggerAction.cs
- ShutDownListener.cs
- HtmlControl.cs
- CodeTypeParameter.cs
- ClientConfigurationSystem.cs
- ChannelEndpointElement.cs
- ConfigurationUtility.cs
- PinnedBufferMemoryStream.cs
- TreeNodeCollectionEditorDialog.cs
- _TimerThread.cs
- IntSecurity.cs
- D3DImage.cs
- XPathException.cs
- SspiHelper.cs
- BamlLocalizableResourceKey.cs
- QuaternionAnimationUsingKeyFrames.cs
- SqlExpressionNullability.cs
- Utility.cs
- GeneralTransform3DTo2DTo3D.cs
- SingleResultAttribute.cs