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
- SQLStringStorage.cs
- GridViewSortEventArgs.cs
- PasswordRecovery.cs
- HybridDictionary.cs
- Brush.cs
- WebBrowserSiteBase.cs
- Rotation3D.cs
- PersonalizationAdministration.cs
- mda.cs
- AutoGeneratedField.cs
- ThemeDictionaryExtension.cs
- SplineKeyFrames.cs
- JournalEntryListConverter.cs
- FlowDocumentReaderAutomationPeer.cs
- PtsHelper.cs
- CalendarTable.cs
- HierarchicalDataSourceIDConverter.cs
- AutomationTextAttribute.cs
- WpfGeneratedKnownProperties.cs
- BufferedGraphics.cs
- HierarchicalDataTemplate.cs
- ToolStripPanel.cs
- Compiler.cs
- Properties.cs
- BookmarkScopeManager.cs
- ComplexBindingPropertiesAttribute.cs
- Action.cs
- OleDbMetaDataFactory.cs
- IResourceProvider.cs
- RowUpdatingEventArgs.cs
- _NtlmClient.cs
- XmlILConstructAnalyzer.cs
- DataComponentNameHandler.cs
- DataGridViewElement.cs
- Convert.cs
- FormsAuthentication.cs
- PublishLicense.cs
- PropertyCollection.cs
- LocalClientSecuritySettings.cs
- MenuItem.cs
- SafeEventLogReadHandle.cs
- DrawingBrush.cs
- ActiveXHelper.cs
- RegisteredArrayDeclaration.cs
- FormatVersion.cs
- RoutedUICommand.cs
- WebServiceBindingAttribute.cs
- DataStorage.cs
- EntityCommandCompilationException.cs
- SoapServerMessage.cs
- StoreAnnotationsMap.cs
- HwndSubclass.cs
- RemotingAttributes.cs
- EntityRecordInfo.cs
- ClientUtils.cs
- EmptyControlCollection.cs
- DataContractAttribute.cs
- Encoder.cs
- AssemblyResourceLoader.cs
- ResourceProperty.cs
- ClientSettingsStore.cs
- BrowsableAttribute.cs
- HttpTransportBindingElement.cs
- XPathException.cs
- ConnectionPointCookie.cs
- RIPEMD160Managed.cs
- ConfigUtil.cs
- ApplicationInterop.cs
- BamlBinaryReader.cs
- EntityPropertyMappingAttribute.cs
- UnconditionalPolicy.cs
- FormsAuthentication.cs
- DefaultHttpHandler.cs
- InfoCardListRequest.cs
- MediaContext.cs
- _WinHttpWebProxyDataBuilder.cs
- XmlSerializerNamespaces.cs
- CertificateManager.cs
- Formatter.cs
- LayoutSettings.cs
- StreamInfo.cs
- DeferredReference.cs
- DataBoundControlAdapter.cs
- ListViewEditEventArgs.cs
- DrawingVisual.cs
- DriveNotFoundException.cs
- TraceProvider.cs
- BitmapEffectDrawing.cs
- Token.cs
- SqlBulkCopyColumnMapping.cs
- validationstate.cs
- MetafileHeaderEmf.cs
- CultureInfo.cs
- Vector3DValueSerializer.cs
- CodeArgumentReferenceExpression.cs
- PersonalizationProvider.cs
- ReferenceEqualityComparer.cs
- DomainConstraint.cs
- SortKey.cs
- CodeIterationStatement.cs