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
- CallSite.cs
- MessageHeaderAttribute.cs
- StringFunctions.cs
- RenderData.cs
- TdsParserSafeHandles.cs
- Module.cs
- XdrBuilder.cs
- FrameworkElementAutomationPeer.cs
- MemoryPressure.cs
- ConnectionManagementSection.cs
- Hex.cs
- CacheSection.cs
- TextDocumentView.cs
- ImageList.cs
- ValidatingPropertiesEventArgs.cs
- BuildProviderAppliesToAttribute.cs
- ServiceOperationUIEditor.cs
- CultureTable.cs
- ResolvePPIDRequest.cs
- MatrixAnimationUsingPath.cs
- CurrencyWrapper.cs
- RegularExpressionValidator.cs
- ExternalDataExchangeService.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- DesignerResources.cs
- SurrogateSelector.cs
- XmlSchemaGroup.cs
- DashStyle.cs
- DetectEofStream.cs
- InfoCardAsymmetricCrypto.cs
- ObjectDataSourceView.cs
- SelectionPatternIdentifiers.cs
- VideoDrawing.cs
- DependencyPropertyHelper.cs
- BaseConfigurationRecord.cs
- AnnouncementDispatcherAsyncResult.cs
- ScrollItemPatternIdentifiers.cs
- HttpListenerException.cs
- MimeTypePropertyAttribute.cs
- RsaKeyIdentifierClause.cs
- panel.cs
- RotateTransform3D.cs
- StaticDataManager.cs
- RequestResizeEvent.cs
- Win32.cs
- ErrorHandler.cs
- DataGridItem.cs
- HistoryEventArgs.cs
- WebServiceErrorEvent.cs
- FileDataSourceCache.cs
- StrokeNode.cs
- activationcontext.cs
- UserUseLicenseDictionaryLoader.cs
- SqlNamer.cs
- HeaderCollection.cs
- WebEventTraceProvider.cs
- SerialPinChanges.cs
- XmlUtf8RawTextWriter.cs
- uribuilder.cs
- Point.cs
- ValidatorCompatibilityHelper.cs
- XmlAttributeProperties.cs
- BrushValueSerializer.cs
- _ProxyChain.cs
- DataSet.cs
- As.cs
- QilLiteral.cs
- ListParaClient.cs
- Expression.cs
- DeviceSpecificChoiceCollection.cs
- SqlBulkCopyColumnMappingCollection.cs
- MappingItemCollection.cs
- ThousandthOfEmRealDoubles.cs
- TableDesigner.cs
- XmlSchemaDocumentation.cs
- Automation.cs
- TableLayoutSettings.cs
- _SslSessionsCache.cs
- XmlWriter.cs
- ClientScriptManager.cs
- NamedObject.cs
- SharedUtils.cs
- PreApplicationStartMethodAttribute.cs
- GeometryModel3D.cs
- CodeTypeParameterCollection.cs
- DescendentsWalkerBase.cs
- ValidationEventArgs.cs
- TransactedBatchingBehavior.cs
- XmlToDatasetMap.cs
- TypeExtension.cs
- HiddenFieldDesigner.cs
- SqlUDTStorage.cs
- UnsafeNativeMethods.cs
- EntitySetBase.cs
- MdiWindowListItemConverter.cs
- InputReportEventArgs.cs
- CodeConditionStatement.cs
- securitycriticaldataformultiplegetandset.cs
- Stroke.cs
- Vector3DCollectionValueSerializer.cs