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
- ValueSerializerAttribute.cs
- ExcCanonicalXml.cs
- VerificationException.cs
- DragDrop.cs
- SharedPersonalizationStateInfo.cs
- SubMenuStyleCollection.cs
- LogicalExpressionTypeConverter.cs
- OpenCollectionAsyncResult.cs
- DictionaryItemsCollection.cs
- String.cs
- WindowsHyperlink.cs
- SmiMetaData.cs
- DoubleCollection.cs
- ItemMap.cs
- VerificationAttribute.cs
- MimeBasePart.cs
- SchemaImporterExtension.cs
- RichTextBox.cs
- AbstractExpressions.cs
- DbConnectionInternal.cs
- FixUp.cs
- BamlTreeNode.cs
- hresults.cs
- CodeExpressionStatement.cs
- BufferAllocator.cs
- AssociationSetEnd.cs
- TagPrefixAttribute.cs
- CompilerState.cs
- WmiInstallComponent.cs
- TextStore.cs
- ArithmeticException.cs
- LocatorPart.cs
- InstanceOwnerQueryResult.cs
- FileDialog_Vista.cs
- loginstatus.cs
- ClientSettings.cs
- CompositeControl.cs
- SqlParameter.cs
- SafeRightsManagementQueryHandle.cs
- CharacterBufferReference.cs
- TreeNodeClickEventArgs.cs
- WebBrowserSiteBase.cs
- DocumentGridPage.cs
- ImageSourceTypeConverter.cs
- MouseGestureConverter.cs
- OperandQuery.cs
- LoginUtil.cs
- PeerSecurityManager.cs
- TargetPerspective.cs
- InfoCardKeyedHashAlgorithm.cs
- GlobalEventManager.cs
- StatusStrip.cs
- ProviderBase.cs
- PointLight.cs
- TrackBarRenderer.cs
- UnauthorizedWebPart.cs
- PageSettings.cs
- HiddenFieldPageStatePersister.cs
- ProgressBar.cs
- SqlInternalConnection.cs
- BindingExpressionBase.cs
- ColorMatrix.cs
- XsltContext.cs
- ManifestResourceInfo.cs
- FixedHighlight.cs
- SqlTopReducer.cs
- HTTPNotFoundHandler.cs
- IsolatedStorageFile.cs
- WebPartUserCapability.cs
- ToolStripItem.cs
- AuthenticationModuleElement.cs
- XmlUtil.cs
- BufferModeSettings.cs
- AlphabeticalEnumConverter.cs
- DrawingContextWalker.cs
- InvokePattern.cs
- ObjectReaderCompiler.cs
- TableLayoutSettingsTypeConverter.cs
- SequenceDesigner.cs
- DockAndAnchorLayout.cs
- BufferCache.cs
- TreeViewCancelEvent.cs
- CodeLinePragma.cs
- IssuedSecurityTokenProvider.cs
- MediaSystem.cs
- DesignConnectionCollection.cs
- QueryCacheManager.cs
- HashStream.cs
- DataTemplateSelector.cs
- OleDbDataAdapter.cs
- DataBindingExpressionBuilder.cs
- ExtensionElement.cs
- BuildProviderCollection.cs
- FormParameter.cs
- AutomationPropertyInfo.cs
- WebMessageFormatHelper.cs
- ISAPIWorkerRequest.cs
- DecoderReplacementFallback.cs
- RPIdentityRequirement.cs
- ExclusiveTcpTransportManager.cs