Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Core / CSharp / System / Windows / Resources / AssemblyAssociatedContentFileAttribute.cs / 1 / AssemblyAssociatedContentFileAttribute.cs
//----------------------------------------------------------------------------
//
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//
// Description:
// Attribute definition for loose content files
//
//
// History:
// 06/14/2005: erichar Created
//
//---------------------------------------------------------------------------
using System;
namespace System.Windows.Resources
{
///
/// This attribute is used by the compiler to associate loose content with the application
/// at compile time.
///
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public sealed class AssemblyAssociatedContentFileAttribute : Attribute
{
private string _path;
///
/// The default constructor recieves a relative path to the content.
///
///
public AssemblyAssociatedContentFileAttribute(string relativeContentFilePath)
{
_path = relativeContentFilePath;
}
///
/// The path to the associated content.
///
public string RelativeContentFilePath
{
get
{
return _path;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------------------
//
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//
// Description:
// Attribute definition for loose content files
//
//
// History:
// 06/14/2005: erichar Created
//
//---------------------------------------------------------------------------
using System;
namespace System.Windows.Resources
{
///
/// This attribute is used by the compiler to associate loose content with the application
/// at compile time.
///
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public sealed class AssemblyAssociatedContentFileAttribute : Attribute
{
private string _path;
///
/// The default constructor recieves a relative path to the content.
///
///
public AssemblyAssociatedContentFileAttribute(string relativeContentFilePath)
{
_path = relativeContentFilePath;
}
///
/// The path to the associated content.
///
public string RelativeContentFilePath
{
get
{
return _path;
}
}
}
}
// 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
- IPCCacheManager.cs
- OleDbCommandBuilder.cs
- Border.cs
- DbSetClause.cs
- FixedSOMLineRanges.cs
- TraceListeners.cs
- EdmScalarPropertyAttribute.cs
- RTLAwareMessageBox.cs
- ParentQuery.cs
- DocumentOrderQuery.cs
- ActivityInstanceReference.cs
- Animatable.cs
- WSSecureConversationDec2005.cs
- DependencyObject.cs
- ArgIterator.cs
- ErrorFormatter.cs
- CodeConditionStatement.cs
- AbsoluteQuery.cs
- SqlProvider.cs
- ToolStripSplitButton.cs
- PreviewPrintController.cs
- ListViewCommandEventArgs.cs
- _RegBlobWebProxyDataBuilder.cs
- ActiveXHost.cs
- StructuredTypeEmitter.cs
- PasswordBox.cs
- ErrorFormatterPage.cs
- CannotUnloadAppDomainException.cs
- LogPolicy.cs
- StylusEditingBehavior.cs
- CompositeCollection.cs
- XmlAnyElementAttributes.cs
- CompiledAction.cs
- SwitchLevelAttribute.cs
- OrderByLifter.cs
- RenderingEventArgs.cs
- CookielessData.cs
- DbQueryCommandTree.cs
- Rights.cs
- InsufficientMemoryException.cs
- TemplatedControlDesigner.cs
- BaseConfigurationRecord.cs
- PolicyValidationException.cs
- DataGridViewButtonCell.cs
- System.Data_BID.cs
- DropDownButton.cs
- ExpressionBinding.cs
- ServiceChannelProxy.cs
- Point.cs
- RegexTree.cs
- MouseActionValueSerializer.cs
- NameValueConfigurationElement.cs
- FaultException.cs
- EtwTrace.cs
- FileChangesMonitor.cs
- EmptyStringExpandableObjectConverter.cs
- QueryCursorEventArgs.cs
- ExternalException.cs
- ADMembershipProvider.cs
- Pool.cs
- FormatterServices.cs
- IdentitySection.cs
- SqlDesignerDataSourceView.cs
- DrawingContextFlattener.cs
- TriState.cs
- NestedContainer.cs
- NumberSubstitution.cs
- BooleanStorage.cs
- ItemContainerGenerator.cs
- CacheRequest.cs
- DataSysAttribute.cs
- TypefaceCollection.cs
- SchemaNotation.cs
- printdlgexmarshaler.cs
- Console.cs
- DetailsViewDeleteEventArgs.cs
- ChangeProcessor.cs
- CriticalHandle.cs
- DataGridViewHeaderCell.cs
- Utils.cs
- InternalPermissions.cs
- HtmlTextArea.cs
- XmlKeywords.cs
- StaticResourceExtension.cs
- SQLByteStorage.cs
- ParallelTimeline.cs
- ObjectList.cs
- XmlNamespaceMappingCollection.cs
- NTAccount.cs
- counter.cs
- AsmxEndpointPickerExtension.cs
- TypeViewSchema.cs
- TypeGeneratedEventArgs.cs
- SmtpMail.cs
- XsltCompileContext.cs
- XamlTreeBuilder.cs
- ColorTransform.cs
- DefaultObjectMappingItemCollection.cs
- DataColumnMappingCollection.cs
- TypeSystem.cs