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
- HWStack.cs
- WindowClosedEventArgs.cs
- BaseCAMarshaler.cs
- Directory.cs
- CoreSwitches.cs
- MorphHelper.cs
- ContentPlaceHolder.cs
- ConnectionStringSettings.cs
- ToolStripStatusLabel.cs
- RegionIterator.cs
- ControlUtil.cs
- TextServicesPropertyRanges.cs
- WizardStepCollectionEditor.cs
- SmiContextFactory.cs
- XDeferredAxisSource.cs
- DataContractSerializerElement.cs
- XmlSchemaChoice.cs
- Native.cs
- ViewSimplifier.cs
- ALinqExpressionVisitor.cs
- xmlformatgeneratorstatics.cs
- KerberosRequestorSecurityToken.cs
- SqlDataSourceTableQuery.cs
- GroupQuery.cs
- EnvelopedPkcs7.cs
- COM2IPerPropertyBrowsingHandler.cs
- ScalarRestriction.cs
- AttributeEmitter.cs
- EntityDataSourceChangingEventArgs.cs
- LoginViewDesigner.cs
- InputBuffer.cs
- Empty.cs
- SystemDropShadowChrome.cs
- RecordsAffectedEventArgs.cs
- XmlEncodedRawTextWriter.cs
- RequestCachePolicy.cs
- TogglePatternIdentifiers.cs
- Maps.cs
- GlobalAclOperationRequirement.cs
- GacUtil.cs
- SmiGettersStream.cs
- DataBoundControlHelper.cs
- sortedlist.cs
- WebBaseEventKeyComparer.cs
- AudienceUriMode.cs
- ImportContext.cs
- CssTextWriter.cs
- GiveFeedbackEvent.cs
- XmlSerializationReader.cs
- WebPartEditorApplyVerb.cs
- RotateTransform.cs
- BamlTreeUpdater.cs
- AliasedSlot.cs
- TextTreeRootTextBlock.cs
- Transform.cs
- AmbiguousMatchException.cs
- OpenTypeLayoutCache.cs
- TextAnchor.cs
- DataBoundLiteralControl.cs
- SiteMapNodeItem.cs
- RemotingServices.cs
- MembershipSection.cs
- FilteredAttributeCollection.cs
- StateWorkerRequest.cs
- CursorConverter.cs
- ObjectManager.cs
- DataGridItemAutomationPeer.cs
- OverlappedAsyncResult.cs
- QuestionEventArgs.cs
- StubHelpers.cs
- WindowsListBox.cs
- PrintControllerWithStatusDialog.cs
- ModifierKeysConverter.cs
- SynchronizationLockException.cs
- ComPlusTypeLoader.cs
- DatePickerTextBox.cs
- StructuredType.cs
- LinqDataView.cs
- MetadataArtifactLoaderCompositeResource.cs
- ConfigurationValues.cs
- ConfigXmlAttribute.cs
- FamilyMapCollection.cs
- VirtualDirectoryMappingCollection.cs
- SynchronizedMessageSource.cs
- ConfigurationSettings.cs
- ListViewDeleteEventArgs.cs
- Image.cs
- UIPropertyMetadata.cs
- Wildcard.cs
- X509CertificateClaimSet.cs
- XmlnsPrefixAttribute.cs
- ProtectedConfigurationSection.cs
- EnumType.cs
- localization.cs
- BinaryMethodMessage.cs
- XmlBoundElement.cs
- WebServiceEndpoint.cs
- XmlNodeChangedEventArgs.cs
- VisualTarget.cs
- ColorContextHelper.cs