Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / AddIn / AddIn / System / Addin / Pipeline / AddInPipelineAttributes.cs / 1305376 / AddInPipelineAttributes.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Purpose: Pipeline Attributes for the AddIn model ** ===========================================================*/ using System; namespace System.AddIn.Pipeline { [AttributeUsage(AttributeTargets.Class)] public sealed class HostAdapterAttribute : Attribute { public HostAdapterAttribute() { } } [AttributeUsage(AttributeTargets.Class)] public sealed class AddInAdapterAttribute : Attribute { public AddInAdapterAttribute() { } } [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)] public sealed class AddInBaseAttribute : Attribute { private Type[] _activatableAs; // note that in the reflection-only context code here won't execute [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Justification="Array size will be small")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Activatable")] public Type[] ActivatableAs { get { return _activatableAs; } set { _activatableAs = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Purpose: Pipeline Attributes for the AddIn model ** ===========================================================*/ using System; namespace System.AddIn.Pipeline { [AttributeUsage(AttributeTargets.Class)] public sealed class HostAdapterAttribute : Attribute { public HostAdapterAttribute() { } } [AttributeUsage(AttributeTargets.Class)] public sealed class AddInAdapterAttribute : Attribute { public AddInAdapterAttribute() { } } [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)] public sealed class AddInBaseAttribute : Attribute { private Type[] _activatableAs; // note that in the reflection-only context code here won't execute [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Justification="Array size will be small")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Activatable")] public Type[] ActivatableAs { get { return _activatableAs; } set { _activatableAs = 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
- figurelength.cs
- MetafileHeaderWmf.cs
- _DomainName.cs
- ObjectDataSourceEventArgs.cs
- ContentWrapperAttribute.cs
- HyperLink.cs
- Int32RectConverter.cs
- MetadataSerializer.cs
- ExtractorMetadata.cs
- CookieParameter.cs
- DataKeyCollection.cs
- ASCIIEncoding.cs
- Speller.cs
- DbConnectionPoolCounters.cs
- dataprotectionpermission.cs
- PropVariant.cs
- WebRequestModuleElementCollection.cs
- XamlSerializerUtil.cs
- X509UI.cs
- DataGridViewSelectedCellCollection.cs
- ThreadStateException.cs
- DbConvert.cs
- ContentDisposition.cs
- StreamInfo.cs
- SchemaCollectionPreprocessor.cs
- AudienceUriMode.cs
- StringFunctions.cs
- ToolStripPanelRow.cs
- Config.cs
- UpdateExpressionVisitor.cs
- Pen.cs
- FrameworkElement.cs
- LayoutManager.cs
- ClientRolePrincipal.cs
- CommonRemoteMemoryBlock.cs
- BinaryMessageFormatter.cs
- DataGridRowAutomationPeer.cs
- CompilationRelaxations.cs
- DescendantBaseQuery.cs
- GroupItemAutomationPeer.cs
- GraphicsContainer.cs
- CommandConverter.cs
- PopupEventArgs.cs
- TreeViewItemAutomationPeer.cs
- ElapsedEventArgs.cs
- ReturnValue.cs
- PropertyChangedEventManager.cs
- SqlClientMetaDataCollectionNames.cs
- Crc32.cs
- AuthenticationSection.cs
- CloudCollection.cs
- AttributeInfo.cs
- DataRecordObjectView.cs
- CroppedBitmap.cs
- SnapshotChangeTrackingStrategy.cs
- XNameConverter.cs
- TransformCollection.cs
- InheritanceContextChangedEventManager.cs
- ByteAnimationUsingKeyFrames.cs
- Certificate.cs
- EventMappingSettingsCollection.cs
- DataTemplateSelector.cs
- Logging.cs
- selecteditemcollection.cs
- LocalizationComments.cs
- ValueType.cs
- Int64Animation.cs
- SQLMoneyStorage.cs
- keycontainerpermission.cs
- XsdDateTime.cs
- CssStyleCollection.cs
- WrappedIUnknown.cs
- SafePEFileHandle.cs
- CorrelationScope.cs
- HttpClientCredentialType.cs
- BezierSegment.cs
- XmlBindingWorker.cs
- WorkflowMessageEventHandler.cs
- ProcessHostServerConfig.cs
- DashStyle.cs
- FactoryGenerator.cs
- TiffBitmapDecoder.cs
- Set.cs
- DbParameterCollection.cs
- HtmlInputCheckBox.cs
- TextRenderer.cs
- HeaderPanel.cs
- _SslState.cs
- AssemblyBuilder.cs
- ZipIOBlockManager.cs
- Update.cs
- MsmqPoisonMessageException.cs
- DataTable.cs
- baseaxisquery.cs
- ParseHttpDate.cs
- WindowsUpDown.cs
- DbInsertCommandTree.cs
- TreeViewCancelEvent.cs
- EncoderParameter.cs
- DuplexChannelBinder.cs