Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ComEventsMethod.cs
- DesignSurface.cs
- _FtpDataStream.cs
- QueryCursorEventArgs.cs
- DragEventArgs.cs
- ProcessModuleCollection.cs
- CalendarSelectionChangedEventArgs.cs
- MatrixAnimationUsingKeyFrames.cs
- RoutedEventArgs.cs
- ThemeInfoAttribute.cs
- VersionPair.cs
- ProgressBarAutomationPeer.cs
- Normalization.cs
- MailSettingsSection.cs
- SendContent.cs
- WebEventCodes.cs
- exports.cs
- DBNull.cs
- StylusEventArgs.cs
- TokenizerHelper.cs
- SoapInteropTypes.cs
- FullTextBreakpoint.cs
- DataGridViewCellMouseEventArgs.cs
- ZoomPercentageConverter.cs
- SchemaImporter.cs
- XmlLanguageConverter.cs
- Document.cs
- TypeUtil.cs
- ClipboardProcessor.cs
- DesignColumn.cs
- JulianCalendar.cs
- Serializer.cs
- AutoGeneratedFieldProperties.cs
- NegotiateStream.cs
- DashStyle.cs
- OraclePermission.cs
- DefinitionProperties.cs
- DateTimeOffset.cs
- IEnumerable.cs
- FormViewPagerRow.cs
- TransformGroup.cs
- Peer.cs
- tibetanshape.cs
- DataControlLinkButton.cs
- JoinGraph.cs
- DBDataPermissionAttribute.cs
- prefixendpointaddressmessagefilter.cs
- ScriptingProfileServiceSection.cs
- HtmlMeta.cs
- GradientSpreadMethodValidation.cs
- ProjectionPruner.cs
- LassoSelectionBehavior.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- EditorZoneBase.cs
- GridViewRowPresenter.cs
- MemoryRecordBuffer.cs
- MdImport.cs
- UserNamePasswordValidator.cs
- AstTree.cs
- CollectionViewProxy.cs
- ConfigXmlAttribute.cs
- AssemblySettingAttributes.cs
- brushes.cs
- EventBuilder.cs
- Nodes.cs
- XmlSchemaExternal.cs
- TableRow.cs
- XmlReflectionMember.cs
- CodeExporter.cs
- PowerModeChangedEventArgs.cs
- XmlUtilWriter.cs
- DoubleStorage.cs
- NonVisualControlAttribute.cs
- CategoryEditor.cs
- NameScopePropertyAttribute.cs
- WindowsPrincipal.cs
- GAC.cs
- TabletDevice.cs
- Calendar.cs
- VisualTreeUtils.cs
- TagMapCollection.cs
- CacheDependency.cs
- AspNetSynchronizationContext.cs
- AppDomainShutdownMonitor.cs
- PageThemeBuildProvider.cs
- SecurityElementBase.cs
- BasicExpandProvider.cs
- FormViewPageEventArgs.cs
- XmlSerializableServices.cs
- CodeExporter.cs
- Win32MouseDevice.cs
- MonthChangedEventArgs.cs
- StaticSiteMapProvider.cs
- SRGSCompiler.cs
- WebPartEditorApplyVerb.cs
- DefaultTextStore.cs
- ZipIOCentralDirectoryFileHeader.cs
- ClientFormsAuthenticationMembershipProvider.cs
- ToolStripDropDownItem.cs
- StartFileNameEditor.cs