Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TreeNodeCollection.cs
- DynamicRendererThreadManager.cs
- IISUnsafeMethods.cs
- DataMemberFieldConverter.cs
- StrongNameMembershipCondition.cs
- CodeCatchClause.cs
- MultiByteCodec.cs
- UInt64.cs
- StringAnimationUsingKeyFrames.cs
- PageBuildProvider.cs
- XPathBinder.cs
- BookmarkNameHelper.cs
- DataSetFieldSchema.cs
- MethodBody.cs
- SqlTriggerAttribute.cs
- DrawingImage.cs
- ToolStripContentPanel.cs
- UnitySerializationHolder.cs
- SharedUtils.cs
- VerificationAttribute.cs
- BrowserDefinitionCollection.cs
- FieldNameLookup.cs
- BindingElementCollection.cs
- GridViewDeleteEventArgs.cs
- Int32RectValueSerializer.cs
- GeneralTransform3DGroup.cs
- IndentedWriter.cs
- Directory.cs
- UnsignedPublishLicense.cs
- TriggerCollection.cs
- TdsParserSessionPool.cs
- XmlSerializerVersionAttribute.cs
- XmlSchemaGroupRef.cs
- EncoderExceptionFallback.cs
- XamlStream.cs
- ProfileManager.cs
- GraphicsContainer.cs
- ReferencedAssembly.cs
- CompatibleIComparer.cs
- CultureTableRecord.cs
- ClipboardData.cs
- DataSvcMapFileSerializer.cs
- DataGridViewTextBoxCell.cs
- EncryptedKey.cs
- XmlDigitalSignatureProcessor.cs
- AssociationTypeEmitter.cs
- XmlReflectionMember.cs
- ProjectedSlot.cs
- CollectionBuilder.cs
- XmlSignatureProperties.cs
- UnknownBitmapEncoder.cs
- WinEventQueueItem.cs
- Splitter.cs
- SwitchElementsCollection.cs
- LogEntryHeaderDeserializer.cs
- StyleSheetComponentEditor.cs
- HttpResponseInternalWrapper.cs
- MenuItem.cs
- RepeaterDataBoundAdapter.cs
- DictionaryTraceRecord.cs
- RightsManagementPermission.cs
- DataTableClearEvent.cs
- OleAutBinder.cs
- WebResponse.cs
- EventHandlerList.cs
- EntryWrittenEventArgs.cs
- InitializationEventAttribute.cs
- CryptoApi.cs
- ApplicationHost.cs
- ComponentDispatcher.cs
- DefaultObjectMappingItemCollection.cs
- Menu.cs
- TextUtf8RawTextWriter.cs
- MimeBasePart.cs
- Logging.cs
- PartManifestEntry.cs
- MetadataItem.cs
- XmlReflectionMember.cs
- ConfigXmlElement.cs
- NamedPipeHostedTransportConfiguration.cs
- ValidationEventArgs.cs
- ComplexTypeEmitter.cs
- WebServiceErrorEvent.cs
- UnicodeEncoding.cs
- LogSwitch.cs
- AliasGenerator.cs
- InfoCardClaimCollection.cs
- EditModeSwitchButton.cs
- PngBitmapDecoder.cs
- ImageBrush.cs
- XmlFormatExtensionPrefixAttribute.cs
- VisualProxy.cs
- ErrorWebPart.cs
- SafeProcessHandle.cs
- AuthenticationModuleElementCollection.cs
- ListSourceHelper.cs
- SortedDictionary.cs
- SkipQueryOptionExpression.cs
- DateBoldEvent.cs
- NumericUpDown.cs