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
- ByteStreamMessageEncoder.cs
- IpcServerChannel.cs
- ComplexBindingPropertiesAttribute.cs
- DataControlLinkButton.cs
- OperatorExpressions.cs
- baseaxisquery.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- TrustLevel.cs
- ServiceInfoCollection.cs
- TextProviderWrapper.cs
- DataPagerFieldCommandEventArgs.cs
- ValidationError.cs
- ImageAttributes.cs
- HtmlTableRow.cs
- RuleInfoComparer.cs
- EndpointNotFoundException.cs
- Tuple.cs
- TextDecorations.cs
- TextAction.cs
- ConfigurationLocation.cs
- CustomAttributeSerializer.cs
- HtmlTextBoxAdapter.cs
- LocatorManager.cs
- StaticSiteMapProvider.cs
- WindowsTreeView.cs
- SizeChangedInfo.cs
- TopClause.cs
- RealProxy.cs
- SQLString.cs
- ExternalFile.cs
- Int16Animation.cs
- DataListCommandEventArgs.cs
- XmlWrappingReader.cs
- StringResourceManager.cs
- HelpFileFileNameEditor.cs
- CompatibleComparer.cs
- AuthStoreRoleProvider.cs
- SqlBuilder.cs
- SystemUnicastIPAddressInformation.cs
- Int64AnimationUsingKeyFrames.cs
- Image.cs
- VisualCollection.cs
- Int64Animation.cs
- GroupBoxAutomationPeer.cs
- Focus.cs
- NativeBuffer.cs
- ReaderWriterLock.cs
- WorkflowRuntimeServiceElement.cs
- SingleStorage.cs
- XmlSchemaAnnotated.cs
- ExtensionSimplifierMarkupObject.cs
- TypedTableGenerator.cs
- PasswordPropertyTextAttribute.cs
- WeakReferenceList.cs
- TemplatedAdorner.cs
- HtmlCommandAdapter.cs
- basecomparevalidator.cs
- ReadContentAsBinaryHelper.cs
- ObjectManager.cs
- JavaScriptObjectDeserializer.cs
- WarningException.cs
- ActionItem.cs
- ToolStripDropDown.cs
- CheckBoxPopupAdapter.cs
- SafeCancelMibChangeNotify.cs
- DataMisalignedException.cs
- SqlDataSourceQuery.cs
- Tablet.cs
- SystemThemeKey.cs
- DataGridViewCellConverter.cs
- InstallerTypeAttribute.cs
- SafeNativeMethods.cs
- XamlDesignerSerializationManager.cs
- NameValueFileSectionHandler.cs
- EntityDataSourceUtil.cs
- StretchValidation.cs
- grammarelement.cs
- StringValueConverter.cs
- LayoutEditorPart.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- HijriCalendar.cs
- EventHandlingScope.cs
- DiffuseMaterial.cs
- PointCollectionValueSerializer.cs
- HyperLinkField.cs
- SurrogateSelector.cs
- WebServiceReceive.cs
- HttpStreamXmlDictionaryWriter.cs
- ReadOnlyCollectionBase.cs
- XmlSchemaAttributeGroupRef.cs
- CustomAttribute.cs
- UnsafePeerToPeerMethods.cs
- DiagnosticTrace.cs
- RequestCacheValidator.cs
- DataViewListener.cs
- DataBoundLiteralControl.cs
- ProjectionNode.cs
- DragDropManager.cs
- FixedTextContainer.cs
- FixedFindEngine.cs