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
- RelationshipNavigation.cs
- XmlLangPropertyAttribute.cs
- validation.cs
- ParserStreamGeometryContext.cs
- SlipBehavior.cs
- RoleService.cs
- XslNumber.cs
- ICollection.cs
- XmlILCommand.cs
- NonClientArea.cs
- WebEventCodes.cs
- PropertiesTab.cs
- ScriptRegistrationManager.cs
- GridProviderWrapper.cs
- SqlClientWrapperSmiStreamChars.cs
- BulletDecorator.cs
- FormatConvertedBitmap.cs
- COM2ExtendedBrowsingHandler.cs
- BaseDataList.cs
- IgnoreFileBuildProvider.cs
- securitycriticaldataformultiplegetandset.cs
- ExpandoClass.cs
- ZipPackage.cs
- WebBrowserUriTypeConverter.cs
- RootDesignerSerializerAttribute.cs
- WindowsListViewGroupSubsetLink.cs
- SlipBehavior.cs
- DataGridViewControlCollection.cs
- WebRequest.cs
- VisualStyleElement.cs
- RectangleGeometry.cs
- SynchronizationFilter.cs
- _CommandStream.cs
- WriteTimeStream.cs
- WebServiceHandlerFactory.cs
- DescendantBaseQuery.cs
- QueryStringParameter.cs
- ViewStateException.cs
- CellCreator.cs
- DesignTimeData.cs
- CapiSymmetricAlgorithm.cs
- BooleanKeyFrameCollection.cs
- ProjectionCamera.cs
- FlowLayoutSettings.cs
- FacetDescription.cs
- DefaultPerformanceCounters.cs
- TranslateTransform3D.cs
- ISAPIApplicationHost.cs
- SortDescriptionCollection.cs
- XmlUTF8TextReader.cs
- MyContact.cs
- TextRange.cs
- CompensatableTransactionScopeActivityDesigner.cs
- Visitor.cs
- QueryContinueDragEventArgs.cs
- LoginCancelEventArgs.cs
- CategoriesDocument.cs
- AppLevelCompilationSectionCache.cs
- String.cs
- HtmlHistory.cs
- SecurityState.cs
- LongTypeConverter.cs
- DesignerSerializationOptionsAttribute.cs
- CodeDomConfigurationHandler.cs
- DataGridViewCellStyleChangedEventArgs.cs
- EntityDesignerUtils.cs
- WebBrowser.cs
- CornerRadius.cs
- ValidationHelpers.cs
- ArrayListCollectionBase.cs
- ParameterToken.cs
- BypassElement.cs
- Control.cs
- PagesSection.cs
- FocusManager.cs
- MissingSatelliteAssemblyException.cs
- XamlSerializationHelper.cs
- RouteParameter.cs
- PartialTrustHelpers.cs
- TemplatedWizardStep.cs
- JapaneseLunisolarCalendar.cs
- SettingsSavedEventArgs.cs
- RelationshipConverter.cs
- XmlUtilWriter.cs
- EmptyQuery.cs
- CanExecuteRoutedEventArgs.cs
- FilteredDataSetHelper.cs
- ToolBar.cs
- NodeFunctions.cs
- ZipPackagePart.cs
- SoapAttributeOverrides.cs
- DataServiceQueryOfT.cs
- ShadowGlyph.cs
- LineSegment.cs
- __ConsoleStream.cs
- FontSizeConverter.cs
- AbstractDataSvcMapFileLoader.cs
- LoadWorkflowByKeyAsyncResult.cs
- OleDbFactory.cs
- WorkflowWebService.cs