Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ToolStripCustomTypeDescriptor.cs
- ProfileSection.cs
- DeflateEmulationStream.cs
- ChameleonKey.cs
- BinaryObjectWriter.cs
- SimpleTypesSurrogate.cs
- SiteIdentityPermission.cs
- MetadataItemSerializer.cs
- StrokeNodeData.cs
- Point3DKeyFrameCollection.cs
- GridViewItemAutomationPeer.cs
- Geometry3D.cs
- XPathDescendantIterator.cs
- CaseDesigner.xaml.cs
- StaticSiteMapProvider.cs
- Model3DGroup.cs
- DataBoundControlHelper.cs
- HebrewNumber.cs
- Attributes.cs
- SearchExpression.cs
- Single.cs
- StreamUpdate.cs
- SqlProviderServices.cs
- WebConfigurationHost.cs
- WebConfigurationFileMap.cs
- ObjectDataSource.cs
- ConditionalBranch.cs
- StringBuilder.cs
- AnimatedTypeHelpers.cs
- JsonClassDataContract.cs
- DataSetFieldSchema.cs
- XPathNavigator.cs
- sitestring.cs
- XmlElementList.cs
- PeerCollaborationPermission.cs
- CodeDomConfigurationHandler.cs
- LinearGradientBrush.cs
- EntityDataSourceSelectedEventArgs.cs
- PlatformNotSupportedException.cs
- TextBoxAutomationPeer.cs
- BinaryReader.cs
- HierarchicalDataSourceDesigner.cs
- SoapSchemaMember.cs
- AdapterDictionary.cs
- AssertFilter.cs
- DataContractJsonSerializerOperationBehavior.cs
- TextEditorSelection.cs
- _CommandStream.cs
- IncrementalReadDecoders.cs
- HtmlTableRow.cs
- SessionParameter.cs
- ACE.cs
- IIS7UserPrincipal.cs
- ElementInit.cs
- SqlFunctionAttribute.cs
- PackagePartCollection.cs
- XmlSchemaParticle.cs
- ColorDialog.cs
- DocumentOrderComparer.cs
- ManualResetEvent.cs
- EditorPartCollection.cs
- DetailsViewUpdateEventArgs.cs
- DataGridViewTextBoxCell.cs
- DataGridViewBand.cs
- AmbientProperties.cs
- safelinkcollection.cs
- DataBoundControlDesigner.cs
- Handle.cs
- PaperSize.cs
- ElementNotEnabledException.cs
- NameNode.cs
- FormViewDeleteEventArgs.cs
- WebPartDisplayModeCollection.cs
- DataGridViewColumnEventArgs.cs
- OperationAbortedException.cs
- QilTypeChecker.cs
- ObjectAnimationUsingKeyFrames.cs
- CacheHelper.cs
- CheckedPointers.cs
- ProfilePropertyNameValidator.cs
- CopyAction.cs
- ReverseComparer.cs
- XslAst.cs
- CrossContextChannel.cs
- WindowsClaimSet.cs
- GregorianCalendar.cs
- ViewStateModeByIdAttribute.cs
- CurrentTimeZone.cs
- TextRangeSerialization.cs
- SoapExtensionTypeElement.cs
- DnsPermission.cs
- TextTreeRootTextBlock.cs
- XmlnsDictionary.cs
- OutputCacheModule.cs
- CallContext.cs
- KeyedCollection.cs
- CustomErrorsSection.cs
- SettingsPropertyWrongTypeException.cs
- SendActivityDesignerTheme.cs
- WorkflowTerminatedException.cs