Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / Runtime / CompilerServices / AssemblySettingAttributes.cs / 2 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- KeyToListMap.cs
- ObjectViewEntityCollectionData.cs
- MediaContextNotificationWindow.cs
- WebPartDisplayModeCollection.cs
- Expander.cs
- CompiledQuery.cs
- SslStream.cs
- RowType.cs
- MsmqTransportSecurityElement.cs
- AppDomainManager.cs
- AdjustableArrowCap.cs
- ParameterToken.cs
- EventSetter.cs
- GlobalProxySelection.cs
- PropertyMapper.cs
- BuilderInfo.cs
- SafeHandles.cs
- Touch.cs
- ObjectAssociationEndMapping.cs
- WorkflowOperationBehavior.cs
- InputLanguageEventArgs.cs
- UniqueTransportManagerRegistration.cs
- MgmtResManager.cs
- CommandTreeTypeHelper.cs
- SchemeSettingElementCollection.cs
- WmlTextViewAdapter.cs
- ToolboxItemFilterAttribute.cs
- ReflectionPermission.cs
- AssociationTypeEmitter.cs
- UIElement3D.cs
- OleDbInfoMessageEvent.cs
- EventMemberCodeDomSerializer.cs
- HexParser.cs
- PartitionResolver.cs
- GenericsInstances.cs
- Int64Animation.cs
- DWriteFactory.cs
- RewritingProcessor.cs
- ToRequest.cs
- ImageFormatConverter.cs
- PrivilegeNotHeldException.cs
- IndexedString.cs
- DbConnectionPool.cs
- ClientRoleProvider.cs
- CryptoHandle.cs
- SetMemberBinder.cs
- StateMachine.cs
- MenuItem.cs
- XmlDataSourceView.cs
- PolicyLevel.cs
- TagMapInfo.cs
- GeneralTransform3DGroup.cs
- _RequestLifetimeSetter.cs
- FontSource.cs
- EntitySetBase.cs
- DelimitedListTraceListener.cs
- TimeoutException.cs
- SupportingTokenBindingElement.cs
- SchemaAttDef.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- AuthorizationRuleCollection.cs
- OperationInvokerTrace.cs
- OdbcPermission.cs
- DoubleIndependentAnimationStorage.cs
- ServiceRoute.cs
- XhtmlBasicValidationSummaryAdapter.cs
- Condition.cs
- WebPartDescriptionCollection.cs
- DefaultBindingPropertyAttribute.cs
- _NegotiateClient.cs
- ThreadStateException.cs
- Button.cs
- SqlRowUpdatingEvent.cs
- ApplicationActivator.cs
- SortQuery.cs
- SqlDataSourceCommandEventArgs.cs
- SystemDropShadowChrome.cs
- NativeMethods.cs
- NativeMethods.cs
- IdentityReference.cs
- ComponentConverter.cs
- ToolTip.cs
- SchemaCollectionPreprocessor.cs
- StaticFileHandler.cs
- RTTrackingProfile.cs
- ConfigErrorGlyph.cs
- FixedPageProcessor.cs
- TableLayoutPanelCellPosition.cs
- SqlTrackingQuery.cs
- ListViewTableRow.cs
- OleDbInfoMessageEvent.cs
- XmlPreloadedResolver.cs
- DBPropSet.cs
- ProtectedProviderSettings.cs
- HybridDictionary.cs
- SinglePageViewer.cs
- DependencyObjectProvider.cs
- XsltArgumentList.cs
- HScrollBar.cs
- sapiproxy.cs