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
- BidPrivateBase.cs
- QilUnary.cs
- SqlDataSourceConnectionPanel.cs
- ControllableStoryboardAction.cs
- TraceUtility.cs
- CuspData.cs
- XmlParserContext.cs
- InternalBufferManager.cs
- DataRecordInfo.cs
- XmlILModule.cs
- SqlStatistics.cs
- PropertyDescriptor.cs
- IDictionary.cs
- WinFormsComponentEditor.cs
- BamlResourceContent.cs
- InputBinder.cs
- XmlSchemaInfo.cs
- PropertyManager.cs
- WebPartConnectionsEventArgs.cs
- OutputBuffer.cs
- AccessibleObject.cs
- DatatypeImplementation.cs
- CompoundFileDeflateTransform.cs
- X509SecurityToken.cs
- BooleanProjectedSlot.cs
- RecognizerInfo.cs
- ClientSponsor.cs
- _BufferOffsetSize.cs
- MeshGeometry3D.cs
- Misc.cs
- EntryPointNotFoundException.cs
- RangeBaseAutomationPeer.cs
- SendKeys.cs
- CodeDomConfigurationHandler.cs
- EventLogWatcher.cs
- DependencyPropertyChangedEventArgs.cs
- SqlDataSourceQueryEditorForm.cs
- RoutedPropertyChangedEventArgs.cs
- DbDeleteCommandTree.cs
- DbProviderFactoriesConfigurationHandler.cs
- MLangCodePageEncoding.cs
- NetworkAddressChange.cs
- XmlNamespaceDeclarationsAttribute.cs
- TableLayoutPanel.cs
- Pointer.cs
- FixedElement.cs
- ProfileBuildProvider.cs
- ToolStripItemImageRenderEventArgs.cs
- KeyValuePair.cs
- VisualStyleRenderer.cs
- SynchronizingStream.cs
- ImplicitInputBrush.cs
- FilteredAttributeCollection.cs
- SubMenuStyle.cs
- GlyphElement.cs
- FamilyCollection.cs
- CompositeKey.cs
- InheritablePropertyChangeInfo.cs
- NamedElement.cs
- AttributedMetaModel.cs
- SectionXmlInfo.cs
- DataColumnSelectionConverter.cs
- XPathEmptyIterator.cs
- CaseStatement.cs
- IntMinMaxAggregationOperator.cs
- cookie.cs
- SplitContainer.cs
- ListViewGroupConverter.cs
- CursorInteropHelper.cs
- WebColorConverter.cs
- TemplateBindingExtensionConverter.cs
- EmissiveMaterial.cs
- ConstraintManager.cs
- MergablePropertyAttribute.cs
- CharUnicodeInfo.cs
- ExtractorMetadata.cs
- QueryCacheKey.cs
- PeerTransportCredentialType.cs
- MouseEventArgs.cs
- OdbcConnectionOpen.cs
- Action.cs
- cookie.cs
- RoleGroup.cs
- TextTreeText.cs
- OdbcConnectionPoolProviderInfo.cs
- ListChangedEventArgs.cs
- BoundColumn.cs
- MobileComponentEditorPage.cs
- TrustManagerPromptUI.cs
- ColumnHeaderConverter.cs
- CodeStatementCollection.cs
- SqlTriggerAttribute.cs
- Region.cs
- ToolStripButton.cs
- ScriptReferenceBase.cs
- TypefaceMetricsCache.cs
- SqlDeflator.cs
- BitmapVisualManager.cs
- IndependentAnimationStorage.cs
- GPPOINT.cs