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
- OverloadGroupAttribute.cs
- HttpConfigurationContext.cs
- DiffuseMaterial.cs
- AutoResizedEvent.cs
- TypeInitializationException.cs
- ProgressBarAutomationPeer.cs
- InvalidProgramException.cs
- MsmqInputChannelListener.cs
- HtmlTextArea.cs
- ProcessModelSection.cs
- DictationGrammar.cs
- DrawingCollection.cs
- SecurityToken.cs
- DocumentSequence.cs
- ServiceContractGenerationContext.cs
- DropAnimation.xaml.cs
- Geometry3D.cs
- FontUnitConverter.cs
- OdbcConnection.cs
- AlignmentXValidation.cs
- WeakKeyDictionary.cs
- WebPartZoneBase.cs
- ExpressionEvaluator.cs
- KnownBoxes.cs
- EntityDataSourceDesignerHelper.cs
- ConfigurationValidatorBase.cs
- UnwrappedTypesXmlSerializerManager.cs
- TypeElement.cs
- XmlDictionaryString.cs
- Dynamic.cs
- ListItemCollection.cs
- ValidatingPropertiesEventArgs.cs
- MailSettingsSection.cs
- Mapping.cs
- CommonDialog.cs
- LoadedEvent.cs
- StateWorkerRequest.cs
- BitmapEffectGroup.cs
- SkinBuilder.cs
- URI.cs
- GridItemPattern.cs
- CompilationUnit.cs
- MemberCollection.cs
- TrackingAnnotationCollection.cs
- DynamicEntity.cs
- AuthenticationService.cs
- GlyphShapingProperties.cs
- MessageSecurityTokenVersion.cs
- COAUTHINFO.cs
- RotateTransform3D.cs
- KeyFrames.cs
- RepeaterItem.cs
- Configuration.cs
- SqlCacheDependency.cs
- DrawingBrush.cs
- WebServiceReceive.cs
- CacheAxisQuery.cs
- OperatingSystem.cs
- ListBoxItemAutomationPeer.cs
- ReferencedType.cs
- TableItemProviderWrapper.cs
- DataGridViewColumnEventArgs.cs
- DataGridViewCellCancelEventArgs.cs
- ObjectStateEntryDbDataRecord.cs
- BaseCollection.cs
- Grid.cs
- XmlIterators.cs
- HttpPostLocalhostServerProtocol.cs
- UnsafeNativeMethods.cs
- ContextProperty.cs
- TouchPoint.cs
- DescendentsWalkerBase.cs
- TdsParserHelperClasses.cs
- ADMembershipProvider.cs
- RsaSecurityTokenAuthenticator.cs
- WorkBatch.cs
- Renderer.cs
- DataRowCollection.cs
- FlowDecision.cs
- ServicePointManager.cs
- WeakHashtable.cs
- GeometryHitTestResult.cs
- MappingModelBuildProvider.cs
- AutomationElementCollection.cs
- ArraySubsetEnumerator.cs
- CommandBindingCollection.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- ObjectSecurity.cs
- EncryptedType.cs
- ValidatedControlConverter.cs
- FlatButtonAppearance.cs
- UnsafeMethods.cs
- XmlSignificantWhitespace.cs
- XmlSchemaInclude.cs
- storepermissionattribute.cs
- CrossSiteScriptingValidation.cs
- Baml2006Reader.cs
- DataGridViewLinkColumn.cs
- CurrentChangingEventArgs.cs
- CharacterShapingProperties.cs