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
- BrushMappingModeValidation.cs
- BaseConfigurationRecord.cs
- QilReplaceVisitor.cs
- MetadataCache.cs
- ClientFormsAuthenticationCredentials.cs
- SiteMapNodeItem.cs
- OdbcCommandBuilder.cs
- ContentValidator.cs
- KeyValuePairs.cs
- Sql8ExpressionRewriter.cs
- ZoneLinkButton.cs
- IRCollection.cs
- ChangeTracker.cs
- NamedPipeChannelListener.cs
- ToolStripItemTextRenderEventArgs.cs
- WebEncodingValidatorAttribute.cs
- DesignDataSource.cs
- SystemIcons.cs
- MonikerSyntaxException.cs
- KnownAssemblyEntry.cs
- OleDbDataAdapter.cs
- SqlDataRecord.cs
- PriorityBindingExpression.cs
- XmlRawWriter.cs
- EntitySetDataBindingList.cs
- EntityDataSourceValidationException.cs
- ReflectionHelper.cs
- MyContact.cs
- BitStream.cs
- TableCellAutomationPeer.cs
- DataSourceXmlElementAttribute.cs
- TypeConverterAttribute.cs
- ListViewInsertionMark.cs
- RoutedEvent.cs
- HtmlDocument.cs
- ActivityDelegate.cs
- BaseCodeDomTreeGenerator.cs
- TypeResolvingOptionsAttribute.cs
- CalendarAutoFormat.cs
- TypedTableHandler.cs
- ReadOnlyDataSourceView.cs
- ApplicationSecurityManager.cs
- SelectManyQueryOperator.cs
- WizardPanelChangingEventArgs.cs
- SqlDelegatedTransaction.cs
- ConfigurationValues.cs
- KeyInstance.cs
- DBCSCodePageEncoding.cs
- PartialTrustVisibleAssemblyCollection.cs
- NamedElement.cs
- XmlNamedNodeMap.cs
- DeviceContext.cs
- DocumentOrderComparer.cs
- SiteMembershipCondition.cs
- CryptoProvider.cs
- ToolStripDropDownItem.cs
- ConnectionPointConverter.cs
- GeneralTransformGroup.cs
- xmlsaver.cs
- SchemaElementDecl.cs
- StringUtil.cs
- AlternateView.cs
- IERequestCache.cs
- TypeDelegator.cs
- SynchronizingStream.cs
- XmlQueryTypeFactory.cs
- RootBrowserWindowAutomationPeer.cs
- ReferenceEqualityComparer.cs
- DeviceOverridableAttribute.cs
- MethodCallConverter.cs
- FixedSOMImage.cs
- TagNameToTypeMapper.cs
- XsltCompileContext.cs
- CharEnumerator.cs
- BinaryParser.cs
- StreamUpgradeAcceptor.cs
- DataPagerCommandEventArgs.cs
- TypeDescriptionProviderAttribute.cs
- ObjectConverter.cs
- ValueQuery.cs
- DataComponentMethodGenerator.cs
- NonBatchDirectoryCompiler.cs
- PropertyValueChangedEvent.cs
- EntitySetBase.cs
- ControlPropertyNameConverter.cs
- PipelineDeploymentState.cs
- DataPagerFieldItem.cs
- WsatProxy.cs
- HexParser.cs
- TreeNodeEventArgs.cs
- BaseParser.cs
- IPEndPoint.cs
- MasterPageParser.cs
- XmlQuerySequence.cs
- wgx_commands.cs
- PKCS1MaskGenerationMethod.cs
- ImpersonateTokenRef.cs
- Point.cs
- PtsContext.cs
- XmlNamedNodeMap.cs