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
- PasswordRecovery.cs
- CheckBoxStandardAdapter.cs
- DynamicField.cs
- DataGridRow.cs
- SHA1.cs
- ToolBar.cs
- ThreadStartException.cs
- Calendar.cs
- XsdValidatingReader.cs
- UnsettableComboBox.cs
- IteratorFilter.cs
- DateTimeFormatInfo.cs
- MessageQueueAccessControlEntry.cs
- MetabaseSettings.cs
- ValidatedMobileControlConverter.cs
- XpsInterleavingPolicy.cs
- FixedSOMTableCell.cs
- TypeSystem.cs
- CreateUserWizard.cs
- DataGridViewSelectedCellCollection.cs
- EntityDataSource.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- EditorZone.cs
- StylusEditingBehavior.cs
- DataGridViewTopRowAccessibleObject.cs
- CompiledRegexRunnerFactory.cs
- OrthographicCamera.cs
- GridViewRowEventArgs.cs
- DescendantQuery.cs
- QueuePathDialog.cs
- MachineSettingsSection.cs
- XmlEventCache.cs
- UrlPropertyAttribute.cs
- XmlNodeChangedEventManager.cs
- NetworkInterface.cs
- ExternalFile.cs
- DesignTableCollection.cs
- EncoderBestFitFallback.cs
- SchemaElementLookUpTableEnumerator.cs
- EntityDataSourceContextCreatedEventArgs.cs
- GenericArgumentsUpdater.cs
- TextContainerChangedEventArgs.cs
- RoamingStoreFile.cs
- SessionStateModule.cs
- ToolStripButton.cs
- sqlinternaltransaction.cs
- XmlQueryType.cs
- AttributeParameterInfo.cs
- ObjectIDGenerator.cs
- TriggerBase.cs
- MsiStyleLogWriter.cs
- ObjectItemCollection.cs
- WebPartEditorOkVerb.cs
- TextTreeNode.cs
- XmlMembersMapping.cs
- sqlinternaltransaction.cs
- DependencyProperty.cs
- TextComposition.cs
- WindowsListView.cs
- ServiceHttpModule.cs
- storepermissionattribute.cs
- ExtensionQuery.cs
- mediapermission.cs
- StreamResourceInfo.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- TreeViewImageKeyConverter.cs
- ReferencedType.cs
- TraceHandlerErrorFormatter.cs
- WebConfigurationManager.cs
- HttpCacheVaryByContentEncodings.cs
- MailHeaderInfo.cs
- DocobjHost.cs
- FigureParagraph.cs
- WpfWebRequestHelper.cs
- SRGSCompiler.cs
- DataKey.cs
- SystemIPInterfaceProperties.cs
- HttpListenerRequest.cs
- SqlProviderManifest.cs
- RangeBaseAutomationPeer.cs
- XPathBuilder.cs
- Timer.cs
- SpeechEvent.cs
- DataGridToolTip.cs
- SmiConnection.cs
- MsmqBindingBase.cs
- CommonProperties.cs
- Thumb.cs
- StringUtil.cs
- GcSettings.cs
- ConfigurationException.cs
- FlowLayout.cs
- TypeExtension.cs
- InboundActivityHelper.cs
- XmlNamespaceMapping.cs
- SafeReversePInvokeHandle.cs
- Cast.cs
- CodeSubDirectoriesCollection.cs
- TextCharacters.cs
- DeviceSpecific.cs