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
- GenericUriParser.cs
- DataTableMappingCollection.cs
- WebPartRestoreVerb.cs
- PackWebRequestFactory.cs
- CompilerInfo.cs
- UserControl.cs
- SubqueryRules.cs
- ChannelManager.cs
- DesignerActionPanel.cs
- RemoteWebConfigurationHostStream.cs
- CallbackValidator.cs
- OutputScopeManager.cs
- DateTimeFormatInfoScanner.cs
- DetailsViewRow.cs
- ColumnHeaderConverter.cs
- SkewTransform.cs
- StringAnimationUsingKeyFrames.cs
- FileDialogCustomPlaces.cs
- ListChunk.cs
- TypeInitializationException.cs
- ByteRangeDownloader.cs
- ZipIOCentralDirectoryFileHeader.cs
- HuffModule.cs
- TypeUnloadedException.cs
- ConnectionProviderAttribute.cs
- QilSortKey.cs
- PersonalizationState.cs
- ProfileSection.cs
- XmlMtomWriter.cs
- DataObjectAttribute.cs
- PageContent.cs
- CollaborationHelperFunctions.cs
- NamespaceInfo.cs
- Util.cs
- DynamicDocumentPaginator.cs
- OutOfMemoryException.cs
- ResourceDefaultValueAttribute.cs
- WeakReference.cs
- SqlDataSourceQueryEditor.cs
- QueuePathDialog.cs
- DictationGrammar.cs
- Button.cs
- DBConnectionString.cs
- CodeBlockBuilder.cs
- ExternalCalls.cs
- BamlResourceSerializer.cs
- QueryableFilterUserControl.cs
- CookielessData.cs
- SigningCredentials.cs
- String.cs
- Size.cs
- EndpointInfo.cs
- RNGCryptoServiceProvider.cs
- GrammarBuilder.cs
- compensatingcollection.cs
- RtfControls.cs
- SerializationInfoEnumerator.cs
- HtmlFormWrapper.cs
- StylusPoint.cs
- PerformanceCounterPermissionEntryCollection.cs
- FileReader.cs
- NotifyInputEventArgs.cs
- TreeViewCancelEvent.cs
- StrokeNodeEnumerator.cs
- __FastResourceComparer.cs
- AutomationElement.cs
- DesignSurfaceCollection.cs
- BinaryVersion.cs
- Int16KeyFrameCollection.cs
- CompiledQueryCacheKey.cs
- PropertyIDSet.cs
- BoolExpression.cs
- LookupBindingPropertiesAttribute.cs
- SqlDataSourceQueryEditor.cs
- XPathDocumentBuilder.cs
- ColorContext.cs
- ObjectCloneHelper.cs
- RotateTransform.cs
- WindowsGraphicsCacheManager.cs
- errorpatternmatcher.cs
- PerfCounters.cs
- FrameworkElementFactoryMarkupObject.cs
- SafeEventHandle.cs
- ZipArchive.cs
- BitmapSourceSafeMILHandle.cs
- Point4D.cs
- CounterCreationDataCollection.cs
- SwitchLevelAttribute.cs
- ListControl.cs
- MenuRendererStandards.cs
- OuterGlowBitmapEffect.cs
- XamlInt32CollectionSerializer.cs
- UrlAuthorizationModule.cs
- NativeMethods.cs
- RequestSecurityToken.cs
- SchemaHelper.cs
- ADMembershipUser.cs
- CheckBoxBaseAdapter.cs
- ConfigXmlElement.cs
- SiteMapNode.cs