Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / Versioning / TargetFrameworkAttribute.cs / 1305376 / TargetFrameworkAttribute.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // /*============================================================ ** ** Class: TargetFrameworkAttribute ** ** ** Purpose: Identifies which SKU and version of the .NET ** Framework that a particular library was compiled against. ** Emitted by VS, and can help catch deployment problems. ** ===========================================================*/ using System; using System.Diagnostics.Contracts; namespace System.Runtime.Versioning { [AttributeUsageAttribute(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)] public sealed class TargetFrameworkAttribute : Attribute { private String _frameworkName; // A target framework moniker private String _frameworkDisplayName; // The frameworkName parameter is intended to be the string form of a FrameworkName instance. public TargetFrameworkAttribute(String frameworkName) { if (frameworkName == null) throw new ArgumentNullException("frameworkName"); Contract.EndContractBlock(); _frameworkName = frameworkName; } // The target framework moniker that this assembly was compiled against. // Use the FrameworkName class to interpret target framework monikers. public String FrameworkName { get { return _frameworkName; } } public String FrameworkDisplayName { get { return _frameworkDisplayName; } set { _frameworkDisplayName = value; } } } } // 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
- DataControlLinkButton.cs
- XmlSchemaNotation.cs
- HttpSessionStateWrapper.cs
- ExchangeUtilities.cs
- PlaceHolder.cs
- BoolExpression.cs
- WebConfigurationManager.cs
- InternalControlCollection.cs
- Emitter.cs
- ObjectResult.cs
- CompressEmulationStream.cs
- StackBuilderSink.cs
- EventSetter.cs
- ComponentSerializationService.cs
- Soap12FormatExtensions.cs
- CriticalHandle.cs
- BlobPersonalizationState.cs
- Rect3DValueSerializer.cs
- CalendarDay.cs
- PolicyManager.cs
- ResourceContainer.cs
- TdsParser.cs
- ColorContext.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- WebServiceMethodData.cs
- XmlSchemaParticle.cs
- DefaultTraceListener.cs
- SafeArchiveContext.cs
- WebPartCatalogCloseVerb.cs
- TemplateControl.cs
- WebConfigurationHostFileChange.cs
- WpfWebRequestHelper.cs
- DictionarySurrogate.cs
- EtwTrace.cs
- ContextQuery.cs
- AnnotationComponentChooser.cs
- UrlUtility.cs
- DrawingContext.cs
- SplitterPanelDesigner.cs
- GenerateScriptTypeAttribute.cs
- TextEditorParagraphs.cs
- PageParser.cs
- ContentPlaceHolderDesigner.cs
- CircleHotSpot.cs
- FamilyMapCollection.cs
- CollectionViewProxy.cs
- TextElementEnumerator.cs
- Privilege.cs
- UnsafeNativeMethods.cs
- SubpageParaClient.cs
- NominalTypeEliminator.cs
- Latin1Encoding.cs
- ExtentKey.cs
- PeerNameResolver.cs
- ShaperBuffers.cs
- PropertyEmitterBase.cs
- GPPOINTF.cs
- X509ScopedServiceCertificateElementCollection.cs
- ExtentJoinTreeNode.cs
- ReliableChannelBinder.cs
- GenerateHelper.cs
- XmlArrayAttribute.cs
- ShapeTypeface.cs
- RightsManagementEncryptionTransform.cs
- QilCloneVisitor.cs
- Tracking.cs
- EventMappingSettingsCollection.cs
- SafeReversePInvokeHandle.cs
- EntityObject.cs
- Tile.cs
- WebEvents.cs
- DiscoveryViaBehavior.cs
- HMACSHA384.cs
- ListViewAutomationPeer.cs
- __Error.cs
- SqlMethodAttribute.cs
- PowerStatus.cs
- QilGenerator.cs
- DesigntimeLicenseContext.cs
- _ShellExpression.cs
- FastPropertyAccessor.cs
- LayoutManager.cs
- TextSelectionHighlightLayer.cs
- SchemaNamespaceManager.cs
- CommandSet.cs
- DataAdapter.cs
- PageContent.cs
- SystemNetworkInterface.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- OfTypeExpression.cs
- ContextMarshalException.cs
- MenuItemBinding.cs
- BitmapEditor.cs
- ObjectStorage.cs
- ConnectionPoolManager.cs
- CompilerError.cs
- MenuStrip.cs
- AvtEvent.cs
- ChannelFactoryBase.cs
- TextDecorations.cs