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
- ClientConvert.cs
- TrustLevelCollection.cs
- HandlerBase.cs
- VoiceInfo.cs
- SplitterEvent.cs
- HttpWebRequestElement.cs
- ClickablePoint.cs
- CssTextWriter.cs
- FaultHandlingFilter.cs
- List.cs
- DataSourceXmlSerializationAttribute.cs
- RegexParser.cs
- FontStyleConverter.cs
- WindowsNonControl.cs
- DataGridViewSortCompareEventArgs.cs
- BorderGapMaskConverter.cs
- XPathParser.cs
- StrokeNodeOperations2.cs
- LineGeometry.cs
- AnimationTimeline.cs
- InstancePersistenceCommand.cs
- ItemCheckEvent.cs
- RectValueSerializer.cs
- ScrollableControl.cs
- SafeSecurityHelper.cs
- ProxyWebPartConnectionCollection.cs
- FamilyMapCollection.cs
- TreeNodeCollection.cs
- StringDictionaryWithComparer.cs
- SafeNativeMethodsMilCoreApi.cs
- PublisherIdentityPermission.cs
- ResXDataNode.cs
- Menu.cs
- XmlILConstructAnalyzer.cs
- XhtmlBasicSelectionListAdapter.cs
- UrlMapping.cs
- ToolStripRendererSwitcher.cs
- processwaithandle.cs
- BooleanFunctions.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- Subordinate.cs
- Single.cs
- RenderOptions.cs
- ParameterBuilder.cs
- ListItem.cs
- TypeDelegator.cs
- EventDriven.cs
- SuppressMergeCheckAttribute.cs
- Addressing.cs
- InternalRelationshipCollection.cs
- BufferedGraphics.cs
- CaseInsensitiveOrdinalStringComparer.cs
- DataGridViewCellConverter.cs
- ScriptReference.cs
- MimeAnyImporter.cs
- ToolStripDropDownMenu.cs
- ProfileService.cs
- QueryContinueDragEventArgs.cs
- UnsafeNativeMethods.cs
- XmlWrappingWriter.cs
- SR.cs
- NotifyCollectionChangedEventArgs.cs
- SignatureHelper.cs
- ConcurrentDictionary.cs
- CheckedPointers.cs
- ValueOfAction.cs
- IntSecurity.cs
- FrameworkElementAutomationPeer.cs
- WCFServiceClientProxyGenerator.cs
- XmlWriter.cs
- Buffer.cs
- ProfileInfo.cs
- WebProxyScriptElement.cs
- CodeTypeMemberCollection.cs
- PolygonHotSpot.cs
- loginstatus.cs
- SHA512Managed.cs
- odbcmetadatafactory.cs
- DataTableReader.cs
- PageCache.cs
- ScriptControlManager.cs
- OleDbPermission.cs
- DiscoveryDocumentSearchPattern.cs
- DirectionalLight.cs
- DesignerActionListCollection.cs
- ExecutionEngineException.cs
- DataGridViewLinkCell.cs
- PageStatePersister.cs
- SQLRoleProvider.cs
- XmlSchemaInfo.cs
- Literal.cs
- ComplexBindingPropertiesAttribute.cs
- SqlDataSourceDesigner.cs
- WebCategoryAttribute.cs
- DataObjectSettingDataEventArgs.cs
- DataSourceXmlClassAttribute.cs
- ParseElementCollection.cs
- XmlSchemaGroupRef.cs
- EventDescriptor.cs
- DurableTimerExtension.cs