Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / CompilerServices / AssemblySettingAttributes.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlSchemaExporter.cs
- Int32AnimationUsingKeyFrames.cs
- ProfileParameter.cs
- selecteditemcollection.cs
- Decorator.cs
- MulticastIPAddressInformationCollection.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- EventToken.cs
- InternalConfigSettingsFactory.cs
- RoleServiceManager.cs
- OleDbConnectionFactory.cs
- Oci.cs
- SrgsDocument.cs
- CustomValidator.cs
- XmlSchemaGroupRef.cs
- WebPartDisplayModeCollection.cs
- MessageAction.cs
- AuthenticationSection.cs
- EntityObject.cs
- ContentAlignmentEditor.cs
- _SSPIWrapper.cs
- ReadOnlyHierarchicalDataSourceView.cs
- XmlTypeMapping.cs
- Pool.cs
- DataControlFieldTypeEditor.cs
- DataGridItem.cs
- SourceLineInfo.cs
- CodeAttachEventStatement.cs
- newinstructionaction.cs
- MultiBindingExpression.cs
- HeaderPanel.cs
- DesignerHelpers.cs
- TableRowGroup.cs
- ReadOnlyDataSourceView.cs
- FieldBuilder.cs
- RuntimeUtils.cs
- StringSorter.cs
- RecordsAffectedEventArgs.cs
- CriticalHandle.cs
- PrintController.cs
- EntityDataSourceView.cs
- CompositeControl.cs
- DataGridViewColumnEventArgs.cs
- Icon.cs
- KeyedHashAlgorithm.cs
- Message.cs
- MissingFieldException.cs
- HttpProcessUtility.cs
- BaseValidatorDesigner.cs
- cookie.cs
- QilTargetType.cs
- ModuleBuilderData.cs
- FontDifferentiator.cs
- assertwrapper.cs
- TouchFrameEventArgs.cs
- XmlQueryTypeFactory.cs
- RotateTransform.cs
- ButtonColumn.cs
- LongValidatorAttribute.cs
- odbcmetadatacollectionnames.cs
- StateInitializationDesigner.cs
- DbResourceAllocator.cs
- CodeNamespaceCollection.cs
- Point.cs
- MetadataWorkspace.cs
- PointCollectionConverter.cs
- Transform.cs
- Int32Rect.cs
- UnmanagedMemoryStream.cs
- PnrpPeerResolver.cs
- UdpChannelFactory.cs
- GenericTextProperties.cs
- OleDbConnection.cs
- AQNBuilder.cs
- PropertyStore.cs
- MetadataCacheItem.cs
- Header.cs
- SystemWebSectionGroup.cs
- TemplatePropertyEntry.cs
- CrossSiteScriptingValidation.cs
- FixedSOMFixedBlock.cs
- ObjectNotFoundException.cs
- EmbeddedMailObject.cs
- SecuritySessionSecurityTokenProvider.cs
- Int16Animation.cs
- ActivityMarkupSerializer.cs
- ExpressionNormalizer.cs
- EntityCommand.cs
- ClientRuntimeConfig.cs
- RestHandlerFactory.cs
- PersonalizationState.cs
- MailAddress.cs
- GridViewRowCollection.cs
- GeometryDrawing.cs
- RegexCompiler.cs
- XmlDocumentSurrogate.cs
- XamlFrame.cs
- SingleObjectCollection.cs
- RichTextBoxConstants.cs
- CalendarDayButton.cs