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
- ParserOptions.cs
- SoapHttpTransportImporter.cs
- DefaultAsyncDataDispatcher.cs
- CancelEventArgs.cs
- TypeGeneratedEventArgs.cs
- METAHEADER.cs
- TypeConstant.cs
- WebPartZone.cs
- DataSourceProvider.cs
- ModelPropertyCollectionImpl.cs
- CallContext.cs
- IgnoreDeviceFilterElementCollection.cs
- ResXResourceWriter.cs
- DesignTimeTemplateParser.cs
- Timeline.cs
- DataGridCell.cs
- FormatControl.cs
- ConfigurationPropertyAttribute.cs
- BoundField.cs
- CodeSnippetExpression.cs
- SqlCacheDependencyDatabaseCollection.cs
- ContextMenuService.cs
- Calendar.cs
- SubqueryRules.cs
- ValueHandle.cs
- IfAction.cs
- CursorInteropHelper.cs
- CardSpaceSelector.cs
- SRDisplayNameAttribute.cs
- StyleSelector.cs
- WinInetCache.cs
- DiagnosticTrace.cs
- RegexMatchCollection.cs
- SamlAuthorizationDecisionStatement.cs
- StylusOverProperty.cs
- EventRouteFactory.cs
- EmptyCollection.cs
- DefaultPrintController.cs
- ContentHostHelper.cs
- DoubleAnimation.cs
- GlobalItem.cs
- HiddenFieldPageStatePersister.cs
- CompoundFileStreamReference.cs
- GenericUriParser.cs
- TypeProvider.cs
- MdiWindowListItemConverter.cs
- ComplexPropertyEntry.cs
- HtmlInputFile.cs
- Slider.cs
- BufferedGraphicsManager.cs
- ManipulationDeltaEventArgs.cs
- WizardStepBase.cs
- CheckBoxList.cs
- HierarchicalDataSourceControl.cs
- X500Name.cs
- StylusPointPropertyInfoDefaults.cs
- DesignerRegionMouseEventArgs.cs
- ParserStack.cs
- InputReport.cs
- SqlWebEventProvider.cs
- StateDesigner.cs
- TableHeaderCell.cs
- ValidationService.cs
- ConfigurationProviderException.cs
- ListenerElementsCollection.cs
- TextEffect.cs
- AttributeSetAction.cs
- WebException.cs
- HtmlContainerControl.cs
- PropertyKey.cs
- ScaleTransform3D.cs
- TextRunCache.cs
- PrivilegedConfigurationManager.cs
- XmlRootAttribute.cs
- CounterCreationData.cs
- SystemKeyConverter.cs
- ToolStripArrowRenderEventArgs.cs
- EncodingStreamWrapper.cs
- IntPtr.cs
- grammarelement.cs
- ObjectKeyFrameCollection.cs
- ResourceDisplayNameAttribute.cs
- DependencyPropertyHelper.cs
- StrokeCollection.cs
- DbgCompiler.cs
- SqlDataSourceFilteringEventArgs.cs
- DesignerAttributeInfo.cs
- SQLGuidStorage.cs
- MenuCommandsChangedEventArgs.cs
- PermissionToken.cs
- SiteMapDataSource.cs
- PipeStream.cs
- GiveFeedbackEventArgs.cs
- ConnectorRouter.cs
- WebRequest.cs
- SmiEventStream.cs
- AmbientProperties.cs
- ProcessThread.cs
- XmlAutoDetectWriter.cs
- EncoderFallback.cs