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
- Internal.cs
- DnsPermission.cs
- CatalogPartChrome.cs
- SafeNativeMethods.cs
- XmlRootAttribute.cs
- OracleConnection.cs
- WinEventQueueItem.cs
- WebScriptClientGenerator.cs
- ExpressionBindingCollection.cs
- BamlResourceDeserializer.cs
- ContentHostHelper.cs
- DataGridViewCellStyleConverter.cs
- DataMemberFieldEditor.cs
- SetStoryboardSpeedRatio.cs
- XmlSerializationGeneratedCode.cs
- StringReader.cs
- ToolStripSplitStackLayout.cs
- GridItemPattern.cs
- NestPullup.cs
- WebServicesSection.cs
- RowUpdatingEventArgs.cs
- DbException.cs
- ToolBarPanel.cs
- KeyTimeConverter.cs
- RemoveStoryboard.cs
- AspNetCompatibilityRequirementsAttribute.cs
- JsonReaderWriterFactory.cs
- NotifyCollectionChangedEventArgs.cs
- assertwrapper.cs
- WindowsListViewScroll.cs
- FunctionCommandText.cs
- WinFormsUtils.cs
- ChangeDirector.cs
- TextBox.cs
- InkCanvasSelectionAdorner.cs
- MultiTrigger.cs
- ContainerVisual.cs
- HttpValueCollection.cs
- ServiceEndpoint.cs
- JournalEntryListConverter.cs
- LifetimeMonitor.cs
- Triplet.cs
- DeferredElementTreeState.cs
- CompilationUtil.cs
- PowerStatus.cs
- GridViewDeleteEventArgs.cs
- UnsafeNativeMethods.cs
- FixedPageAutomationPeer.cs
- DeclarativeCatalogPart.cs
- ToRequest.cs
- SystemKeyConverter.cs
- XmlRootAttribute.cs
- FrameworkContentElement.cs
- DataGridViewEditingControlShowingEventArgs.cs
- SkewTransform.cs
- Group.cs
- ToolStripComboBox.cs
- ClientBuildManagerCallback.cs
- CustomPopupPlacement.cs
- DataGridViewLinkCell.cs
- DBSqlParserColumn.cs
- TextEditorLists.cs
- HttpListenerRequest.cs
- Token.cs
- QilName.cs
- Activator.cs
- ProviderConnectionPointCollection.cs
- WebReferenceOptions.cs
- InputQueueChannelAcceptor.cs
- XamlFigureLengthSerializer.cs
- CryptoKeySecurity.cs
- GridProviderWrapper.cs
- LateBoundBitmapDecoder.cs
- ClockGroup.cs
- SocketElement.cs
- TemplateNameScope.cs
- Main.cs
- WebPartUserCapability.cs
- ADMembershipUser.cs
- WindowsFormsLinkLabel.cs
- Emitter.cs
- UrlMappingsSection.cs
- DisplayMemberTemplateSelector.cs
- PtsContext.cs
- ParserContext.cs
- MenuItemStyleCollection.cs
- TypedOperationInfo.cs
- ApplicationServiceHelper.cs
- ValueUtilsSmi.cs
- CaseInsensitiveComparer.cs
- ModifiableIteratorCollection.cs
- GroupItem.cs
- ImportCatalogPart.cs
- LZCodec.cs
- SettingsProviderCollection.cs
- SimpleApplicationHost.cs
- SchemaDeclBase.cs
- SerializableAttribute.cs
- UserNameSecurityTokenAuthenticator.cs
- ExceptionRoutedEventArgs.cs