Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Base / System / Windows / Markup / RootNamespaceAttribute.cs / 1 / RootNamespaceAttribute.cs
//---------------------------------------------------------------------------- // // File: RootNamespaceAttribute.cs // // Description: // RootNamespaceAttribute is an assembly level attribute is used to identify // the value of the RootNamespace property in a project file. // // Copyright (C) 2006 by Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; namespace System.Windows.Markup { ////// An attribute that identifies the value of the RootNamespace property in a project file. /// [AttributeUsage(AttributeTargets.Assembly)] public sealed class RootNamespaceAttribute : Attribute { ////// Creates a new RootNamespaceAttribute that describes the value of the RootNamespace /// property in a project file. /// /// The root namespace value public RootNamespaceAttribute(string nameSpace) { _nameSpace = nameSpace; } ////// The root namespace value corresponding to the value of the RootNamespace property in a project file. /// public string Namespace { get { return _nameSpace; } } private string _nameSpace; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // // File: RootNamespaceAttribute.cs // // Description: // RootNamespaceAttribute is an assembly level attribute is used to identify // the value of the RootNamespace property in a project file. // // Copyright (C) 2006 by Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; namespace System.Windows.Markup { ////// An attribute that identifies the value of the RootNamespace property in a project file. /// [AttributeUsage(AttributeTargets.Assembly)] public sealed class RootNamespaceAttribute : Attribute { ////// Creates a new RootNamespaceAttribute that describes the value of the RootNamespace /// property in a project file. /// /// The root namespace value public RootNamespaceAttribute(string nameSpace) { _nameSpace = nameSpace; } ////// The root namespace value corresponding to the value of the RootNamespace property in a project file. /// public string Namespace { get { return _nameSpace; } } private string _nameSpace; } } // 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
- ColorTransformHelper.cs
- CodeCatchClause.cs
- BaseCollection.cs
- CompositeScriptReferenceEventArgs.cs
- CustomBindingElement.cs
- IdentityModelStringsVersion1.cs
- AssemblyBuilder.cs
- TextBoxAutoCompleteSourceConverter.cs
- SurrogateSelector.cs
- SegmentTree.cs
- RoleBoolean.cs
- RealizationDrawingContextWalker.cs
- FontEmbeddingManager.cs
- TextRangeBase.cs
- RichTextBox.cs
- StructuredTypeInfo.cs
- SmiMetaDataProperty.cs
- SafeTimerHandle.cs
- HttpCookiesSection.cs
- SQLInt32Storage.cs
- VerificationException.cs
- ClockController.cs
- ValidationSettings.cs
- UnmanagedMemoryStream.cs
- MessageQueueInstaller.cs
- EdmValidator.cs
- AlgoModule.cs
- Int64Storage.cs
- ProcessHost.cs
- HelloOperation11AsyncResult.cs
- ConfigXmlComment.cs
- DrawingContextWalker.cs
- CodeArgumentReferenceExpression.cs
- RectAnimationBase.cs
- InvalidEnumArgumentException.cs
- WbemProvider.cs
- FilterInvalidBodyAccessException.cs
- BaseCollection.cs
- RegexGroupCollection.cs
- RSAPKCS1KeyExchangeFormatter.cs
- Int32Animation.cs
- TextDecorations.cs
- WorkflowServiceInstance.cs
- CngProvider.cs
- TextParaLineResult.cs
- ToolboxService.cs
- CompilationRelaxations.cs
- ContentPosition.cs
- ListViewInsertedEventArgs.cs
- CodeAttributeDeclaration.cs
- AtomMaterializerLog.cs
- mediaclock.cs
- TextBlock.cs
- RawUIStateInputReport.cs
- ByteStorage.cs
- HiddenField.cs
- DocumentApplicationJournalEntry.cs
- ClientOptions.cs
- ValueTypePropertyReference.cs
- HttpResponseHeader.cs
- DateTimeFormatInfo.cs
- WebAdminConfigurationHelper.cs
- DataBoundControlHelper.cs
- TextAdaptor.cs
- PropertyCollection.cs
- PropertyEmitter.cs
- HostedImpersonationContext.cs
- IdentifierService.cs
- CloudCollection.cs
- PixelFormat.cs
- StandardOleMarshalObject.cs
- FrameworkElement.cs
- InternalControlCollection.cs
- TextElementCollection.cs
- WebBrowserProgressChangedEventHandler.cs
- Decoder.cs
- PageClientProxyGenerator.cs
- QuestionEventArgs.cs
- Brush.cs
- Win32Exception.cs
- PrimarySelectionAdorner.cs
- InheritedPropertyChangedEventArgs.cs
- TransactionFlowElement.cs
- ConstrainedGroup.cs
- _SecureChannel.cs
- DynamicMethod.cs
- TableLayoutSettingsTypeConverter.cs
- ExecutedRoutedEventArgs.cs
- DefaultSerializationProviderAttribute.cs
- CodeTypeDeclarationCollection.cs
- ShutDownListener.cs
- ETagAttribute.cs
- VisualStateChangedEventArgs.cs
- Win32Native.cs
- Stack.cs
- Control.cs
- NonceCache.cs
- VisualTarget.cs
- DataGridViewTextBoxEditingControl.cs
- DataPagerFieldCommandEventArgs.cs