Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Resources / AssemblyAssociatedContentFileAttribute.cs / 1305600 / AssemblyAssociatedContentFileAttribute.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: // Attribute definition for loose content files // // // History: // 06/14/2005: [....] 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: [....] 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
- CheckoutException.cs
- initElementDictionary.cs
- SecurityDocument.cs
- EndpointIdentityConverter.cs
- Base64Encoder.cs
- StatusBarItemAutomationPeer.cs
- wgx_sdk_version.cs
- TextElementEnumerator.cs
- ToolTipService.cs
- Rotation3D.cs
- CodeGenerator.cs
- ShaderRenderModeValidation.cs
- XmlSchemaSimpleTypeRestriction.cs
- ButtonBase.cs
- CompModSwitches.cs
- DaylightTime.cs
- VarRefManager.cs
- CoreSwitches.cs
- ListDictionaryInternal.cs
- NullableFloatMinMaxAggregationOperator.cs
- StrongNameUtility.cs
- BaseTemplateCodeDomTreeGenerator.cs
- EntityDataSourceQueryBuilder.cs
- EntityDataSourceChangingEventArgs.cs
- DrawingContextWalker.cs
- DiagnosticSection.cs
- WebPartHeaderCloseVerb.cs
- RulePatternOps.cs
- Bezier.cs
- WsdlBuildProvider.cs
- activationcontext.cs
- RectangleConverter.cs
- SqlTypeSystemProvider.cs
- MethodImplAttribute.cs
- RadioButton.cs
- CultureInfo.cs
- RouteItem.cs
- Parallel.cs
- PipeSecurity.cs
- Model3DCollection.cs
- SqlBuffer.cs
- XslException.cs
- InputMethodStateTypeInfo.cs
- ListSourceHelper.cs
- ApplicationFileCodeDomTreeGenerator.cs
- DoubleLinkList.cs
- HttpFormatExtensions.cs
- UrlPath.cs
- EtwTrace.cs
- ListControlBuilder.cs
- TextBoxDesigner.cs
- ZipPackagePart.cs
- SQLInt64.cs
- WhitespaceRule.cs
- BindingMAnagerBase.cs
- OracleBoolean.cs
- XamlFrame.cs
- Transform3DGroup.cs
- InputLangChangeRequestEvent.cs
- _TLSstream.cs
- BindToObject.cs
- ImageSourceTypeConverter.cs
- WCFServiceClientProxyGenerator.cs
- StreamedWorkflowDefinitionContext.cs
- NumericUpDown.cs
- DesignerVerb.cs
- EmptyEnumerator.cs
- ProtocolReflector.cs
- RegistryKey.cs
- TimeSpanConverter.cs
- CachedPathData.cs
- VerificationException.cs
- SecureUICommand.cs
- MessageDroppedTraceRecord.cs
- AVElementHelper.cs
- Simplifier.cs
- PrintControllerWithStatusDialog.cs
- AssertSection.cs
- SingleAnimationUsingKeyFrames.cs
- WasEndpointConfigContainer.cs
- CompoundFileIOPermission.cs
- SettingsBindableAttribute.cs
- TreeBuilder.cs
- UnmanagedMemoryStream.cs
- DecoratedNameAttribute.cs
- XmlBoundElement.cs
- SessionPageStateSection.cs
- LinqDataSourceDeleteEventArgs.cs
- DataGridViewRowPrePaintEventArgs.cs
- CompatibleComparer.cs
- DependencySource.cs
- MarkedHighlightComponent.cs
- DirectoryObjectSecurity.cs
- TableParagraph.cs
- HtmlInputImage.cs
- QuaternionRotation3D.cs
- UnmanagedMemoryStream.cs
- SmiEventStream.cs
- NetTcpSecurity.cs
- BmpBitmapDecoder.cs