Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / clr / src / BCL / System / Runtime / CompilerServices / AssemblySettingAttributes.cs / 1 / AssemblySettingAttributes.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// namespace System.Runtime.CompilerServices { using System; using System.Runtime.InteropServices; /* NGenHint is not supported in Whidbey [Serializable] public enum NGenHint { Default = 0x0000, // No preference specified Eager = 0x0001, // NGen at install time Lazy = 0x0002, // NGen after install time Never = 0x0003, // Assembly should not be ngened } */ [Serializable] public enum LoadHint { Default = 0x0000, // No preference specified Always = 0x0001, // Dependency is always loaded Sometimes = 0x0002, // Dependency is sometimes loaded //Never = 0x0003, // Dependency is never loaded } [Serializable, AttributeUsage(AttributeTargets.Assembly)] public sealed class DefaultDependencyAttribute : Attribute { private LoadHint loadHint; public DefaultDependencyAttribute ( LoadHint loadHintArgument ) { loadHint = loadHintArgument; } public LoadHint LoadHint { get { return loadHint; } } } [Serializable, AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] public sealed class DependencyAttribute : Attribute { private String dependentAssembly; private LoadHint loadHint; public DependencyAttribute ( String dependentAssemblyArgument, LoadHint loadHintArgument ) { dependentAssembly = dependentAssemblyArgument; loadHint = loadHintArgument; } public String DependentAssembly { get { return dependentAssembly; } } public LoadHint LoadHint { get { return loadHint; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// namespace System.Runtime.CompilerServices { using System; using System.Runtime.InteropServices; /* NGenHint is not supported in Whidbey [Serializable] public enum NGenHint { Default = 0x0000, // No preference specified Eager = 0x0001, // NGen at install time Lazy = 0x0002, // NGen after install time Never = 0x0003, // Assembly should not be ngened } */ [Serializable] public enum LoadHint { Default = 0x0000, // No preference specified Always = 0x0001, // Dependency is always loaded Sometimes = 0x0002, // Dependency is sometimes loaded //Never = 0x0003, // Dependency is never loaded } [Serializable, AttributeUsage(AttributeTargets.Assembly)] public sealed class DefaultDependencyAttribute : Attribute { private LoadHint loadHint; public DefaultDependencyAttribute ( LoadHint loadHintArgument ) { loadHint = loadHintArgument; } public LoadHint LoadHint { get { return loadHint; } } } [Serializable, AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] public sealed class DependencyAttribute : Attribute { private String dependentAssembly; private LoadHint loadHint; public DependencyAttribute ( String dependentAssemblyArgument, LoadHint loadHintArgument ) { dependentAssembly = dependentAssemblyArgument; loadHint = loadHintArgument; } public String DependentAssembly { get { return dependentAssembly; } } public LoadHint LoadHint { get { return loadHint; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InputMethodStateChangeEventArgs.cs
- ICspAsymmetricAlgorithm.cs
- PeerTransportListenAddressConverter.cs
- LongPath.cs
- JsonObjectDataContract.cs
- ObjectQuery_EntitySqlExtensions.cs
- DataTableMapping.cs
- CopyAttributesAction.cs
- Logging.cs
- ByteStorage.cs
- RepeaterItem.cs
- DBPropSet.cs
- ToolboxService.cs
- BinaryHeap.cs
- AdditionalEntityFunctions.cs
- HtmlInputPassword.cs
- EndpointBehaviorElementCollection.cs
- XmlDocument.cs
- EventsTab.cs
- IChannel.cs
- WebPartsPersonalization.cs
- ClusterUtils.cs
- Component.cs
- GridViewRowCollection.cs
- SelectionItemProviderWrapper.cs
- Match.cs
- CodeMemberEvent.cs
- ZoneLinkButton.cs
- WebConfigurationFileMap.cs
- CompareInfo.cs
- XmlILModule.cs
- ReceiveSecurityHeader.cs
- DelegatingTypeDescriptionProvider.cs
- BitArray.cs
- PriorityQueue.cs
- TypefaceMap.cs
- Margins.cs
- QueryStringParameter.cs
- xmlglyphRunInfo.cs
- ObjectListCommandsPage.cs
- ExpandableObjectConverter.cs
- TreeNodeBinding.cs
- SystemColors.cs
- SamlSerializer.cs
- TableCell.cs
- Gdiplus.cs
- EnumDataContract.cs
- TaskFileService.cs
- relpropertyhelper.cs
- CodeTypeParameter.cs
- DataServiceEntityAttribute.cs
- TableLayoutRowStyleCollection.cs
- HttpClientCertificate.cs
- QuarticEase.cs
- SchemaNames.cs
- MenuItemBinding.cs
- NotificationContext.cs
- ThreadSafeMessageFilterTable.cs
- LinqDataSourceInsertEventArgs.cs
- ADMembershipProvider.cs
- ObjectListCommandEventArgs.cs
- ApplicationManager.cs
- LinqDataSourceDisposeEventArgs.cs
- Util.cs
- ECDsa.cs
- ClientBuildManager.cs
- MessageHeaders.cs
- StringSorter.cs
- StateManagedCollection.cs
- unsafenativemethodstextservices.cs
- SnapLine.cs
- UrlMappingCollection.cs
- AuthenticationService.cs
- Style.cs
- Avt.cs
- GenerateTemporaryTargetAssembly.cs
- DbProviderSpecificTypePropertyAttribute.cs
- SafeCertificateContext.cs
- DataGridViewIntLinkedList.cs
- BufferedGraphicsManager.cs
- SimpleBitVector32.cs
- Decimal.cs
- DockProviderWrapper.cs
- DesignTable.cs
- ExpressionBinding.cs
- MenuItem.cs
- XmlUtil.cs
- DataObjectCopyingEventArgs.cs
- TimeZoneInfo.cs
- DataGridRelationshipRow.cs
- MediaContext.cs
- TextElementEnumerator.cs
- SchemaImporterExtensionElementCollection.cs
- Composition.cs
- WebPartTransformer.cs
- BamlLocalizationDictionary.cs
- PrivacyNoticeBindingElementImporter.cs
- ClientRuntime.cs
- SqlFunctionAttribute.cs
- RemotingAttributes.cs