Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LockedBorderGlyph.cs
- ThemeableAttribute.cs
- AggregateNode.cs
- SharedDp.cs
- TraceListener.cs
- MarkupCompilePass2.cs
- CompiledQuery.cs
- ReferentialConstraint.cs
- Mouse.cs
- SendMessageRecord.cs
- SplashScreen.cs
- FacetValues.cs
- PreProcessInputEventArgs.cs
- RenderData.cs
- SqlUdtInfo.cs
- TreeNodeCollection.cs
- CodeNamespaceImportCollection.cs
- OrthographicCamera.cs
- XmlElementCollection.cs
- ValueUnavailableException.cs
- IncrementalReadDecoders.cs
- CodeActivityContext.cs
- TransactionException.cs
- SemaphoreSecurity.cs
- DataGridHelper.cs
- GetPageCompletedEventArgs.cs
- XamlStream.cs
- RoleServiceManager.cs
- SqlServer2KCompatibilityAnnotation.cs
- ExpressionEditorAttribute.cs
- BuildDependencySet.cs
- Size.cs
- CallbackHandler.cs
- StickyNoteContentControl.cs
- MLangCodePageEncoding.cs
- DbDataAdapter.cs
- ObjectDisposedException.cs
- LinkAreaEditor.cs
- basecomparevalidator.cs
- ellipse.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- StopStoryboard.cs
- PageAsyncTaskManager.cs
- ScaleTransform.cs
- FileDetails.cs
- DataGridItemCollection.cs
- BuilderInfo.cs
- HyperLinkStyle.cs
- codemethodreferenceexpression.cs
- ToolBarButtonDesigner.cs
- FormViewUpdateEventArgs.cs
- TransformBlockRequest.cs
- DynamicQueryableWrapper.cs
- VectorCollectionValueSerializer.cs
- XamlSerializerUtil.cs
- AnnouncementSendsAsyncResult.cs
- DiscoveryService.cs
- CurrentTimeZone.cs
- HyperLink.cs
- BamlRecordWriter.cs
- DictionaryEditChange.cs
- SelectedDatesCollection.cs
- MouseGestureConverter.cs
- SplayTreeNode.cs
- CodeTypeMember.cs
- ObjectQueryProvider.cs
- AppDomainAttributes.cs
- Process.cs
- TemplatedEditableDesignerRegion.cs
- TaiwanLunisolarCalendar.cs
- CompilationUnit.cs
- Operand.cs
- RadioButtonStandardAdapter.cs
- BatchWriter.cs
- OptimizedTemplateContent.cs
- FixedTextContainer.cs
- ArithmeticException.cs
- AutomationElement.cs
- CodeNamespaceCollection.cs
- ValueType.cs
- SubpageParaClient.cs
- Pointer.cs
- NativeMethods.cs
- XmlAnyElementAttribute.cs
- UrlAuthorizationModule.cs
- TabControl.cs
- EntityTransaction.cs
- ConfigurationProperty.cs
- ChannelFactoryRefCache.cs
- DebugTrace.cs
- HttpWriter.cs
- HyperLinkStyle.cs
- DataBoundControl.cs
- XMLSyntaxException.cs
- DescendantBaseQuery.cs
- XpsSerializerWriter.cs
- MarshalByRefObject.cs
- ImageBrush.cs
- MergeExecutor.cs
- SqlTriggerContext.cs