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
- InplaceBitmapMetadataWriter.cs
- HttpApplicationFactory.cs
- RichTextBox.cs
- xmlglyphRunInfo.cs
- DataControlFieldCell.cs
- ThreadPool.cs
- TabControlDesigner.cs
- Int64.cs
- ProfilePropertyNameValidator.cs
- UnsafeNativeMethods.cs
- WebCodeGenerator.cs
- DataControlLinkButton.cs
- DataObjectSettingDataEventArgs.cs
- UIElementCollection.cs
- DataGridViewTopRowAccessibleObject.cs
- ConfigurationSectionCollection.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- EffectiveValueEntry.cs
- SystemTcpConnection.cs
- Comparer.cs
- XmlNavigatorFilter.cs
- AnnotationResourceCollection.cs
- GrabHandleGlyph.cs
- InternalSafeNativeMethods.cs
- SafeIUnknown.cs
- TrackingProfileDeserializationException.cs
- TextFormatterHost.cs
- LogExtent.cs
- EventMemberCodeDomSerializer.cs
- CroppedBitmap.cs
- HtmlControl.cs
- CalendarDay.cs
- HttpModuleActionCollection.cs
- StreamGeometryContext.cs
- Empty.cs
- AutomationPatternInfo.cs
- IxmlLineInfo.cs
- ComponentSerializationService.cs
- BaseAddressElement.cs
- BasicKeyConstraint.cs
- ButtonBaseAutomationPeer.cs
- BaseParagraph.cs
- RadioButtonStandardAdapter.cs
- NullReferenceException.cs
- CodeParameterDeclarationExpression.cs
- SystemGatewayIPAddressInformation.cs
- ExecutedRoutedEventArgs.cs
- ToolStripCodeDomSerializer.cs
- WinInet.cs
- WindowsGraphics2.cs
- PagesChangedEventArgs.cs
- OracleConnection.cs
- CardSpacePolicyElement.cs
- HttpTransportBindingElement.cs
- CDSsyncETWBCLProvider.cs
- Ray3DHitTestResult.cs
- Geometry.cs
- ExpressionTable.cs
- Publisher.cs
- InternalsVisibleToAttribute.cs
- InitializationEventAttribute.cs
- RemotingConfigParser.cs
- CompiledIdentityConstraint.cs
- TextBlock.cs
- Encoder.cs
- AnonymousIdentificationSection.cs
- TextDecorations.cs
- ProcessInfo.cs
- XmlUrlResolver.cs
- VectorCollection.cs
- DataKey.cs
- TextEditorContextMenu.cs
- HandlerWithFactory.cs
- BitmapFrameEncode.cs
- ScaleTransform.cs
- CursorConverter.cs
- RangeValuePatternIdentifiers.cs
- XmlUnspecifiedAttribute.cs
- PrintPageEvent.cs
- ObjectQuery_EntitySqlExtensions.cs
- TimeZone.cs
- PartialToken.cs
- InkCanvasInnerCanvas.cs
- FixedSOMFixedBlock.cs
- LookupBindingPropertiesAttribute.cs
- DataListItem.cs
- SafeCoTaskMem.cs
- FileDialog.cs
- WinEventTracker.cs
- DateTimeConverter.cs
- DateTimeParse.cs
- HwndMouseInputProvider.cs
- ExpandSegment.cs
- elementinformation.cs
- KoreanCalendar.cs
- ListViewInsertionMark.cs
- Multiply.cs
- FilteredSchemaElementLookUpTable.cs
- XmlSchemaSimpleContent.cs
- PropertyGridCommands.cs