Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- BamlReader.cs
- CreateUserErrorEventArgs.cs
- RelativeSource.cs
- AvTraceDetails.cs
- XmlNodeReader.cs
- BindingExpressionBase.cs
- RuntimeConfigLKG.cs
- AsyncResult.cs
- IISUnsafeMethods.cs
- WebPartConnectionsCancelEventArgs.cs
- TextBoxAutoCompleteSourceConverter.cs
- StrongNameMembershipCondition.cs
- DefaultEventAttribute.cs
- OrderedParallelQuery.cs
- InOutArgument.cs
- KeySplineConverter.cs
- PageAdapter.cs
- NetCodeGroup.cs
- CurrentTimeZone.cs
- WaitForChangedResult.cs
- XslAst.cs
- SqlDesignerDataSourceView.cs
- IntegerValidatorAttribute.cs
- ExitEventArgs.cs
- datacache.cs
- keycontainerpermission.cs
- GeometryCombineModeValidation.cs
- Odbc32.cs
- UMPAttributes.cs
- MetadataItemEmitter.cs
- TerminatorSinks.cs
- TrackBar.cs
- DesignBindingPropertyDescriptor.cs
- UpdateTracker.cs
- SiteMapDataSourceView.cs
- VirtualPathUtility.cs
- XmlSerializer.cs
- DataGridViewCellLinkedList.cs
- UnsafeNativeMethods.cs
- SoapHelper.cs
- _TransmitFileOverlappedAsyncResult.cs
- ReadWriteSpinLock.cs
- OdbcEnvironment.cs
- StringCollection.cs
- DateTimeStorage.cs
- GZipStream.cs
- TaiwanCalendar.cs
- XPathQilFactory.cs
- EntityDataSourceColumn.cs
- ComEventsMethod.cs
- SecurityRuntime.cs
- ApplyTemplatesAction.cs
- TextSelectionHelper.cs
- DataGridViewCellValueEventArgs.cs
- TransactionInformation.cs
- EnumMember.cs
- BatchParser.cs
- SubMenuStyleCollection.cs
- EventSource.cs
- MaskedTextBoxDesignerActionList.cs
- SchemaImporterExtensionsSection.cs
- IncrementalHitTester.cs
- ToolStripSeparator.cs
- SerializationAttributes.cs
- SecurityContext.cs
- XPathBinder.cs
- IdentityNotMappedException.cs
- HtmlFormParameterWriter.cs
- QueryResponse.cs
- HtmlInputText.cs
- ValueSerializer.cs
- Int32Animation.cs
- ProjectionPath.cs
- FlowDocumentPage.cs
- oledbmetadatacollectionnames.cs
- ObjectQueryExecutionPlan.cs
- XmlDataContract.cs
- StringInfo.cs
- Rotation3DAnimation.cs
- ProtocolsConfigurationEntry.cs
- HwndHost.cs
- PaintValueEventArgs.cs
- PkcsUtils.cs
- ChannelTokenTypeConverter.cs
- ConfigurationValidatorBase.cs
- SHA512Cng.cs
- EditingCoordinator.cs
- ChangeBlockUndoRecord.cs
- DataSourceProvider.cs
- GCHandleCookieTable.cs
- UriExt.cs
- Shared.cs
- NameValueSectionHandler.cs
- TrackingDataItem.cs
- UdpReplyToBehavior.cs
- GridSplitter.cs
- SecurityPolicySection.cs
- UserUseLicenseDictionaryLoader.cs
- initElementDictionary.cs
- SQLInt32Storage.cs