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
- ModuleConfigurationInfo.cs
- Queue.cs
- streamingZipPartStream.cs
- Light.cs
- RawStylusInputCustomDataList.cs
- RegexMatchCollection.cs
- RoutedEvent.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- UIntPtr.cs
- GeneralTransform3D.cs
- DataGridViewRowEventArgs.cs
- XslTransform.cs
- ListControlConvertEventArgs.cs
- UnsafeNetInfoNativeMethods.cs
- TextMetrics.cs
- QuinticEase.cs
- ToolboxItem.cs
- PreparingEnlistment.cs
- SchemaNotation.cs
- RoutingBehavior.cs
- PropertyConverter.cs
- CroppedBitmap.cs
- SQLByte.cs
- BindingsCollection.cs
- XmlSchemaCompilationSettings.cs
- DragSelectionMessageFilter.cs
- MethodToken.cs
- XmlSerializerAssemblyAttribute.cs
- XamlFilter.cs
- ByteStorage.cs
- BitmapFrame.cs
- DocumentApplicationJournalEntry.cs
- PointLight.cs
- DocumentOrderComparer.cs
- CfgParser.cs
- GenerateDerivedKeyRequest.cs
- Schedule.cs
- _NetworkingPerfCounters.cs
- TextElementEditingBehaviorAttribute.cs
- OleDbParameter.cs
- HttpRequest.cs
- BaseDataBoundControl.cs
- SafeEventLogWriteHandle.cs
- HtmlInputPassword.cs
- __Filters.cs
- ToolStripItemTextRenderEventArgs.cs
- PagedControl.cs
- MenuItemAutomationPeer.cs
- SslStream.cs
- LiteralControl.cs
- LinkClickEvent.cs
- DataControlFieldCollection.cs
- UnknownWrapper.cs
- StrokeCollectionDefaultValueFactory.cs
- TextServicesCompartmentContext.cs
- ErrorHandler.cs
- DrawListViewColumnHeaderEventArgs.cs
- SecurityTokenProvider.cs
- RenameRuleObjectDialog.Designer.cs
- Point4D.cs
- ClientSettingsSection.cs
- ObjectAnimationBase.cs
- CustomValidator.cs
- TempFiles.cs
- ListItemCollection.cs
- Trace.cs
- ComplexBindingPropertiesAttribute.cs
- SystemColors.cs
- WebPartsSection.cs
- RevocationPoint.cs
- GridItemCollection.cs
- ReferentialConstraintRoleElement.cs
- CommandField.cs
- CqlParser.cs
- SystemBrushes.cs
- WindowsSlider.cs
- Operand.cs
- Script.cs
- EntityViewContainer.cs
- ConnectionsZone.cs
- RSAPKCS1SignatureFormatter.cs
- CacheModeConverter.cs
- WindowsStreamSecurityUpgradeProvider.cs
- DiscoveryViaBehavior.cs
- ClosableStream.cs
- AmbientLight.cs
- FileSystemEventArgs.cs
- AuthenticationConfig.cs
- NewArrayExpression.cs
- RegexCaptureCollection.cs
- CodeAttributeDeclaration.cs
- PageBuildProvider.cs
- RemoveStoryboard.cs
- XmlLangPropertyAttribute.cs
- ParserExtension.cs
- ToolStripPanelRenderEventArgs.cs
- ProfileProvider.cs
- PropertyEntry.cs
- ConfigXmlComment.cs
- ExpanderAutomationPeer.cs