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
- NameSpaceEvent.cs
- Point3DValueSerializer.cs
- ControllableStoryboardAction.cs
- ContractBase.cs
- _Semaphore.cs
- CodeTypeConstructor.cs
- EntitySetBaseCollection.cs
- SignatureConfirmations.cs
- CalculatedColumn.cs
- Inflater.cs
- PlainXmlDeserializer.cs
- PostBackOptions.cs
- ImmutablePropertyDescriptorGridEntry.cs
- ComNativeDescriptor.cs
- Converter.cs
- ColumnHeader.cs
- PrimaryKeyTypeConverter.cs
- ThreadWorkerController.cs
- MemberCollection.cs
- DataControlImageButton.cs
- WebColorConverter.cs
- Configuration.cs
- DragSelectionMessageFilter.cs
- ComplexPropertyEntry.cs
- SchemaNotation.cs
- IsolatedStorageFilePermission.cs
- _SSPISessionCache.cs
- ObjectListFieldCollection.cs
- documentsequencetextview.cs
- MediaContext.cs
- NodeInfo.cs
- EndpointDesigner.cs
- SwitchCase.cs
- AssertSection.cs
- RotateTransform.cs
- RegisteredHiddenField.cs
- TextDecoration.cs
- SqlMetaData.cs
- FormattedTextSymbols.cs
- MimeMultiPart.cs
- DropTarget.cs
- Bits.cs
- URI.cs
- X509UI.cs
- ToolStripDropDownClosedEventArgs.cs
- ListBox.cs
- ComplexTypeEmitter.cs
- GraphicsPathIterator.cs
- ScaleTransform3D.cs
- QueryOutputWriterV1.cs
- SystemInformation.cs
- OleDbParameter.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- UpdatableWrapper.cs
- PartialTrustVisibleAssembliesSection.cs
- SqlExpander.cs
- ToolStripSplitButton.cs
- SortFieldComparer.cs
- TextReader.cs
- SortedDictionary.cs
- XPathMultyIterator.cs
- InteropAutomationProvider.cs
- GeneralTransform3DGroup.cs
- CommonGetThemePartSize.cs
- PingOptions.cs
- GraphicsPath.cs
- WindowsSlider.cs
- XmlSchemaChoice.cs
- DataObjectAttribute.cs
- FlowPosition.cs
- _TimerThread.cs
- EntitySetRetriever.cs
- FunctionQuery.cs
- TraceXPathNavigator.cs
- EventMappingSettings.cs
- DirectionalLight.cs
- InkPresenter.cs
- EmissiveMaterial.cs
- LockCookie.cs
- TakeQueryOptionExpression.cs
- XmlHierarchicalDataSourceView.cs
- TypographyProperties.cs
- UInt64.cs
- NoResizeSelectionBorderGlyph.cs
- ActivityPreviewDesigner.cs
- ExecutorLocksHeldException.cs
- WebResourceAttribute.cs
- TreeViewEvent.cs
- DataGridViewRowsAddedEventArgs.cs
- DynamicValidatorEventArgs.cs
- Trace.cs
- SoapExtensionTypeElementCollection.cs
- WorkerRequest.cs
- TraceListener.cs
- XmlAttributeCache.cs
- InternalPermissions.cs
- PTUtility.cs
- XmlHelper.cs
- UniqueConstraint.cs
- AnnotationResource.cs