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
- TreeIterators.cs
- LingerOption.cs
- MailMessage.cs
- ParameterRetriever.cs
- ClientSettingsStore.cs
- DataTransferEventArgs.cs
- BindingExpressionUncommonField.cs
- ApplicationManager.cs
- CompositionCommandSet.cs
- COM2TypeInfoProcessor.cs
- IDictionary.cs
- BufferAllocator.cs
- ExclusiveTcpTransportManager.cs
- CheckBox.cs
- webproxy.cs
- WsdlHelpGeneratorElement.cs
- XmlEncodedRawTextWriter.cs
- FixedTextBuilder.cs
- ObsoleteAttribute.cs
- ResolvedKeyFrameEntry.cs
- BorderGapMaskConverter.cs
- DataServiceOperationContext.cs
- ModuleBuilder.cs
- SQLInt64.cs
- DbParameterHelper.cs
- AnimationException.cs
- StreamedWorkflowDefinitionContext.cs
- RoleGroup.cs
- QilPatternVisitor.cs
- StyleConverter.cs
- ReflectionHelper.cs
- MenuItemBinding.cs
- DynamicResourceExtensionConverter.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- SelectorAutomationPeer.cs
- DocumentViewer.cs
- FeatureSupport.cs
- RayHitTestParameters.cs
- DataBinding.cs
- MDIControlStrip.cs
- CodeDirectiveCollection.cs
- AnnotationDocumentPaginator.cs
- FixedLineResult.cs
- Point3DCollection.cs
- CharacterMetrics.cs
- FileCodeGroup.cs
- SecurityPolicySection.cs
- PipeStream.cs
- selecteditemcollection.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- SourceElementsCollection.cs
- BinaryCommonClasses.cs
- Int32KeyFrameCollection.cs
- WorkerRequest.cs
- RelationshipEntry.cs
- ObjectItemCollection.cs
- MailAddress.cs
- Message.cs
- controlskin.cs
- RuntimeCompatibilityAttribute.cs
- SystemIPInterfaceProperties.cs
- DocumentViewerAutomationPeer.cs
- Int32CAMarshaler.cs
- SchemaRegistration.cs
- SqlError.cs
- GenericQueueSurrogate.cs
- DockAndAnchorLayout.cs
- FullTextBreakpoint.cs
- EncoderFallback.cs
- NegatedCellConstant.cs
- SerializationAttributes.cs
- FixedSOMPageConstructor.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- RayMeshGeometry3DHitTestResult.cs
- SqlTransaction.cs
- WebPart.cs
- WebReferencesBuildProvider.cs
- StdValidatorsAndConverters.cs
- HebrewCalendar.cs
- ActivityScheduledRecord.cs
- ObjectSet.cs
- DynamicDataExtensions.cs
- RegisteredHiddenField.cs
- StoreAnnotationsMap.cs
- Cloud.cs
- ParallelTimeline.cs
- GestureRecognizer.cs
- AccessedThroughPropertyAttribute.cs
- HebrewNumber.cs
- XmlReflectionImporter.cs
- DataGridState.cs
- PropertyCollection.cs
- TextRunProperties.cs
- CloudCollection.cs
- DeclaredTypeValidatorAttribute.cs
- TransformationRules.cs
- DesigntimeLicenseContextSerializer.cs
- DiffuseMaterial.cs
- DataObjectAttribute.cs
- COM2Properties.cs