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
- DependencyObjectType.cs
- FillRuleValidation.cs
- TableColumnCollection.cs
- PasswordDeriveBytes.cs
- CodeGroup.cs
- TdsParserStateObject.cs
- DataControlFieldHeaderCell.cs
- FontFamily.cs
- AutomationPropertyChangedEventArgs.cs
- Triplet.cs
- WmlCalendarAdapter.cs
- ListViewItemSelectionChangedEvent.cs
- EncryptedKey.cs
- RawMouseInputReport.cs
- QilName.cs
- MatrixTransform3D.cs
- MachineKeyConverter.cs
- IDispatchConstantAttribute.cs
- TypeConverterMarkupExtension.cs
- Roles.cs
- ApplicationActivator.cs
- XmlReflectionImporter.cs
- ConditionalWeakTable.cs
- CodeGeneratorOptions.cs
- DataServiceExpressionVisitor.cs
- X509CertificateTokenFactoryCredential.cs
- BitmapData.cs
- DetailsViewCommandEventArgs.cs
- SystemInfo.cs
- ConnectionStringsExpressionBuilder.cs
- LocalizabilityAttribute.cs
- XmlCustomFormatter.cs
- System.Data_BID.cs
- Activation.cs
- TlsnegoTokenProvider.cs
- AnimationLayer.cs
- DefaultDialogButtons.cs
- FixedDSBuilder.cs
- FilterException.cs
- ClientConfigurationHost.cs
- SessionStateItemCollection.cs
- StorageFunctionMapping.cs
- System.Data_BID.cs
- HttpModuleCollection.cs
- DbModificationCommandTree.cs
- RectangleHotSpot.cs
- CompositeDuplexElement.cs
- FileSystemInfo.cs
- ThemeDictionaryExtension.cs
- ExtendedProtectionPolicyTypeConverter.cs
- ZipIOLocalFileBlock.cs
- Canvas.cs
- XmlSchemaAnyAttribute.cs
- ContainerUtilities.cs
- ToolStripDropDownItem.cs
- CacheAxisQuery.cs
- SchemaImporterExtensionsSection.cs
- SkinBuilder.cs
- FocusTracker.cs
- ReadOnlyCollectionBase.cs
- NotifyInputEventArgs.cs
- SapiRecoInterop.cs
- CatalogZone.cs
- TextContainerChangeEventArgs.cs
- Stack.cs
- DataGridViewEditingControlShowingEventArgs.cs
- SubpageParagraph.cs
- CommandEventArgs.cs
- EmulateRecognizeCompletedEventArgs.cs
- NumberEdit.cs
- CodeSnippetExpression.cs
- Sql8ExpressionRewriter.cs
- SerializationObjectManager.cs
- WebException.cs
- LoginDesignerUtil.cs
- Transform3DCollection.cs
- PriorityItem.cs
- HtmlTernaryTree.cs
- DataGridViewCellStateChangedEventArgs.cs
- SqlRetyper.cs
- SiteMap.cs
- Paragraph.cs
- DataSourceXmlElementAttribute.cs
- TextCompositionEventArgs.cs
- EastAsianLunisolarCalendar.cs
- VersionedStreamOwner.cs
- CompilerInfo.cs
- CustomAttributeBuilder.cs
- DropTarget.cs
- HwndKeyboardInputProvider.cs
- PublishLicense.cs
- SelectorItemAutomationPeer.cs
- NullableDoubleSumAggregationOperator.cs
- HtmlGenericControl.cs
- connectionpool.cs
- ThrowHelper.cs
- MergablePropertyAttribute.cs
- ScriptDescriptor.cs
- SqlConnectionString.cs
- PageCatalogPart.cs