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
- XmlNamespaceMapping.cs
- WSDualHttpBindingElement.cs
- ChannelTerminatedException.cs
- SafeRightsManagementSessionHandle.cs
- coordinatorscratchpad.cs
- SecureConversationServiceElement.cs
- EntityDataSourceUtil.cs
- TransformerConfigurationWizardBase.cs
- ReadonlyMessageFilter.cs
- RequestCache.cs
- Visitor.cs
- CornerRadius.cs
- InternalCache.cs
- XmlLanguageConverter.cs
- NativeMethods.cs
- CatalogZoneDesigner.cs
- HostingEnvironment.cs
- X509Utils.cs
- MemberDescriptor.cs
- PropertyItem.cs
- PreviewControlDesigner.cs
- RegexStringValidatorAttribute.cs
- XmlSerializerNamespaces.cs
- UrlPropertyAttribute.cs
- IRCollection.cs
- SqlMethods.cs
- InkPresenter.cs
- Baml2006KeyRecord.cs
- ProfileSettingsCollection.cs
- QilIterator.cs
- MetadataCollection.cs
- InputProcessorProfilesLoader.cs
- ForceCopyBuildProvider.cs
- SchemaCreator.cs
- Drawing.cs
- DesignerWebPartChrome.cs
- MissingMemberException.cs
- BrowserInteropHelper.cs
- PerformanceCounters.cs
- DesignBindingPropertyDescriptor.cs
- RequestQueue.cs
- LongPath.cs
- KeyValuePair.cs
- ParallelTimeline.cs
- ProfileManager.cs
- RIPEMD160.cs
- TableRowGroup.cs
- SecurityTokenResolver.cs
- SymbolPair.cs
- StackBuilderSink.cs
- Asn1IntegerConverter.cs
- ParsedRoute.cs
- WebPartMinimizeVerb.cs
- DynamicResourceExtensionConverter.cs
- DataException.cs
- AssociationType.cs
- transactioncontext.cs
- CqlLexer.cs
- HttpContextBase.cs
- UrlMappingCollection.cs
- IPipelineRuntime.cs
- BitmapMetadataEnumerator.cs
- SettingsSavedEventArgs.cs
- MetroSerializationManager.cs
- SizeAnimationBase.cs
- ToolStripOverflowButton.cs
- HttpAsyncResult.cs
- FixedSOMTableCell.cs
- PeekCompletedEventArgs.cs
- DocumentApplicationJournalEntry.cs
- Win32.cs
- Translator.cs
- ClientFactory.cs
- Package.cs
- DataRelationPropertyDescriptor.cs
- VisualTreeHelper.cs
- CharacterShapingProperties.cs
- FieldDescriptor.cs
- KerberosReceiverSecurityToken.cs
- CompilerTypeWithParams.cs
- BigInt.cs
- WebEventTraceProvider.cs
- ControlValuePropertyAttribute.cs
- AxHost.cs
- ProcessRequestArgs.cs
- BindingSource.cs
- HwndKeyboardInputProvider.cs
- Models.cs
- ContractsBCL.cs
- EventLogException.cs
- ExecutionProperties.cs
- SoapServerMethod.cs
- ObjectDataSourceView.cs
- CodeExpressionRuleDeclaration.cs
- OperationAbortedException.cs
- ReverseQueryOperator.cs
- ContainerControl.cs
- HwndProxyElementProvider.cs
- Permission.cs
- PropertyValueUIItem.cs