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 / NameScopePropertyAttribute.cs / 1 / NameScopePropertyAttribute.cs
using System;
namespace System.Windows.Markup
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class NameScopePropertyAttribute : Attribute
{
private string _name;
private Type _type;
// Methods
public NameScopePropertyAttribute (string name)
{
_name = name;
}
public NameScopePropertyAttribute (string name, Type type)
{
_name = name;
_type = type;
}
// Properties
public string Name { get{ return _name;} }
public Type Type { get{ return _type;} }
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
using System;
namespace System.Windows.Markup
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class NameScopePropertyAttribute : Attribute
{
private string _name;
private Type _type;
// Methods
public NameScopePropertyAttribute (string name)
{
_name = name;
}
public NameScopePropertyAttribute (string name, Type type)
{
_name = name;
_type = type;
}
// Properties
public string Name { get{ return _name;} }
public Type Type { get{ return _type;} }
}
}
// 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
- TransactionTable.cs
- MatrixStack.cs
- BorderGapMaskConverter.cs
- Opcode.cs
- SystemDropShadowChrome.cs
- EmbeddedMailObjectsCollection.cs
- XmlNamedNodeMap.cs
- RawMouseInputReport.cs
- QilParameter.cs
- ComponentDispatcherThread.cs
- GreenMethods.cs
- XmlDownloadManager.cs
- ReceiveContextCollection.cs
- MetadataArtifactLoaderFile.cs
- SmiEventSink_DeferedProcessing.cs
- XmlHierarchicalEnumerable.cs
- SqlBuilder.cs
- StateManagedCollection.cs
- ProfessionalColors.cs
- LastQueryOperator.cs
- SharedStatics.cs
- DataGridViewButtonCell.cs
- NumericExpr.cs
- ScrollChangedEventArgs.cs
- TableItemPatternIdentifiers.cs
- QuaternionAnimationBase.cs
- TemplateBindingExtension.cs
- SafeBitVector32.cs
- MediaElement.cs
- TdsParameterSetter.cs
- KeyToListMap.cs
- RuntimeResourceSet.cs
- SearchForVirtualItemEventArgs.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- Socket.cs
- InfoCardSymmetricCrypto.cs
- XPathAncestorIterator.cs
- ObjectDataSourceEventArgs.cs
- VideoDrawing.cs
- FileLoadException.cs
- XmlAttributeOverrides.cs
- _AutoWebProxyScriptHelper.cs
- Parameter.cs
- StatusBarItemAutomationPeer.cs
- ExecutedRoutedEventArgs.cs
- BitArray.cs
- FontUnitConverter.cs
- DataSysAttribute.cs
- NameValuePermission.cs
- Html32TextWriter.cs
- DataGridViewCellFormattingEventArgs.cs
- ScriptingScriptResourceHandlerSection.cs
- Subset.cs
- ActivityTypeDesigner.xaml.cs
- Signature.cs
- BoundPropertyEntry.cs
- CalendarData.cs
- ScrollEventArgs.cs
- PageSetupDialog.cs
- dataobject.cs
- ResolveNameEventArgs.cs
- FormsAuthenticationCredentials.cs
- RtfControlWordInfo.cs
- NotifyCollectionChangedEventArgs.cs
- ControlType.cs
- ipaddressinformationcollection.cs
- LineInfo.cs
- ConcurrentQueue.cs
- PingOptions.cs
- AccessorTable.cs
- LinqDataSourceDeleteEventArgs.cs
- Int32CollectionValueSerializer.cs
- PersonalizationAdministration.cs
- QilGenerator.cs
- SchemaExporter.cs
- ProtocolsConfigurationHandler.cs
- DataGridViewRowHeaderCell.cs
- ContactManager.cs
- NameValueCache.cs
- WindowsImpersonationContext.cs
- AddInControllerImpl.cs
- BindingExpression.cs
- SiteMapDataSourceView.cs
- ClientEventManager.cs
- FigureHelper.cs
- HandledEventArgs.cs
- Site.cs
- FacetEnabledSchemaElement.cs
- COM2TypeInfoProcessor.cs
- HtmlEncodedRawTextWriter.cs
- PackWebResponse.cs
- TypeLibConverter.cs
- RecoverInstanceLocksCommand.cs
- NameScopePropertyAttribute.cs
- XsltInput.cs
- Publisher.cs
- SelectionChangedEventArgs.cs
- ThemeDirectoryCompiler.cs
- safesecurityhelperavalon.cs
- GridView.cs