Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / Versioning / ComponentGuaranteesAttribute.cs / 1305376 / ComponentGuaranteesAttribute.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: ComponentGuaranteesAttribute ** ** ** Purpose: Tracking whether a component signs up for a ** a strong contract spanning multiple versions. ** ===========================================================*/ using System; namespace System.Runtime.Versioning { [Flags] [Serializable] public enum ComponentGuaranteesOptions { None = 0, Exchange = 0x1, Stable = 0x2, SideBySide = 0x4, } [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Delegate | AttributeTargets.Enum | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Constructor | AttributeTargets.Event, AllowMultiple = false, Inherited = false)] public sealed class ComponentGuaranteesAttribute : Attribute { private ComponentGuaranteesOptions _guarantees; public ComponentGuaranteesAttribute(ComponentGuaranteesOptions guarantees) { _guarantees = guarantees; } public ComponentGuaranteesOptions Guarantees { get { return _guarantees; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: ComponentGuaranteesAttribute ** ** ** Purpose: Tracking whether a component signs up for a ** a strong contract spanning multiple versions. ** ===========================================================*/ using System; namespace System.Runtime.Versioning { [Flags] [Serializable] public enum ComponentGuaranteesOptions { None = 0, Exchange = 0x1, Stable = 0x2, SideBySide = 0x4, } [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Delegate | AttributeTargets.Enum | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Constructor | AttributeTargets.Event, AllowMultiple = false, Inherited = false)] public sealed class ComponentGuaranteesAttribute : Attribute { private ComponentGuaranteesOptions _guarantees; public ComponentGuaranteesAttribute(ComponentGuaranteesOptions guarantees) { _guarantees = guarantees; } public ComponentGuaranteesOptions Guarantees { get { return _guarantees; } } } } // 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
- DragDrop.cs
- Baml2006Reader.cs
- MultipartContentParser.cs
- DataGridTextBox.cs
- sqlser.cs
- LocalizationParserHooks.cs
- MultipleViewPatternIdentifiers.cs
- BufferedStream.cs
- RegionIterator.cs
- WeakEventTable.cs
- WebServiceEnumData.cs
- TypeReference.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- Int32CollectionValueSerializer.cs
- ContextMenu.cs
- EventLogPermissionAttribute.cs
- ConstructorArgumentAttribute.cs
- ReferentialConstraintRoleElement.cs
- SessionEndedEventArgs.cs
- NotifyCollectionChangedEventArgs.cs
- SqlRowUpdatingEvent.cs
- CounterSet.cs
- PeerHelpers.cs
- ExitEventArgs.cs
- MembershipValidatePasswordEventArgs.cs
- XmlUTF8TextReader.cs
- SerialPort.cs
- FileSystemInfo.cs
- CodeGotoStatement.cs
- CachingParameterInspector.cs
- InvalidDataException.cs
- LogPolicy.cs
- ToolStripDropDownItem.cs
- HandlerFactoryCache.cs
- TerminatorSinks.cs
- QueryCreatedEventArgs.cs
- _CacheStreams.cs
- SqlInternalConnectionTds.cs
- Propagator.cs
- PeerInputChannelListener.cs
- RelatedImageListAttribute.cs
- HighlightComponent.cs
- ValidationManager.cs
- GenericTypeParameterBuilder.cs
- TemplateControlParser.cs
- HtmlControl.cs
- ListViewItemCollectionEditor.cs
- ContentWrapperAttribute.cs
- QilReference.cs
- PropertyMapper.cs
- COM2ExtendedBrowsingHandler.cs
- RadioButton.cs
- TargetPerspective.cs
- FileSystemEventArgs.cs
- PermissionAttributes.cs
- FixUpCollection.cs
- SourceItem.cs
- FigureParaClient.cs
- WebControlsSection.cs
- CodeCompiler.cs
- NamedElement.cs
- OleDbErrorCollection.cs
- QuadraticBezierSegment.cs
- CharConverter.cs
- DeclaredTypeElementCollection.cs
- XmlSignatureManifest.cs
- DataControlField.cs
- TracedNativeMethods.cs
- NameService.cs
- XmlAnyAttributeAttribute.cs
- ClientRequest.cs
- ReflectionTypeLoadException.cs
- autovalidator.cs
- TimeSpanFormat.cs
- DrawingImage.cs
- MiniLockedBorderGlyph.cs
- ServiceModelConfigurationSection.cs
- PropertyDescriptorCollection.cs
- Int16.cs
- HttpContext.cs
- SystemNetworkInterface.cs
- RelationshipConstraintValidator.cs
- UriSection.cs
- SudsWriter.cs
- NullableDecimalSumAggregationOperator.cs
- ReadOnlyDataSourceView.cs
- BitmapEffectInputConnector.cs
- Msmq4SubqueuePoisonHandler.cs
- XmlDictionaryString.cs
- WindowsBrush.cs
- AttachmentCollection.cs
- _SslState.cs
- PropertyToken.cs
- CodeDOMUtility.cs
- EventPropertyMap.cs
- SocketInformation.cs
- FrameworkObject.cs
- RawMouseInputReport.cs
- GlyphRun.cs
- EntitySet.cs