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
- OrderedDictionary.cs
- SafeBitVector32.cs
- TransformerInfoCollection.cs
- Int32Collection.cs
- Logging.cs
- BinaryFormatterWriter.cs
- RtfFormatStack.cs
- RootDesignerSerializerAttribute.cs
- FormsAuthenticationCredentials.cs
- ProtectedConfiguration.cs
- Fx.cs
- TrustLevelCollection.cs
- ConditionalAttribute.cs
- DataRecordObjectView.cs
- XmlCompatibilityReader.cs
- DiffuseMaterial.cs
- WsatTransactionHeader.cs
- DataObjectCopyingEventArgs.cs
- XmlSchemaInfo.cs
- DispatchChannelSink.cs
- Command.cs
- ObjectDataSourceStatusEventArgs.cs
- FrameworkTextComposition.cs
- xmlformatgeneratorstatics.cs
- IItemProperties.cs
- ComEventsHelper.cs
- TimeSpanConverter.cs
- HostProtectionException.cs
- FixedSOMContainer.cs
- ThrowHelper.cs
- EventLog.cs
- PropagatorResult.cs
- XPathArrayIterator.cs
- SqlBinder.cs
- PersistenceException.cs
- RichTextBoxAutomationPeer.cs
- TdsParameterSetter.cs
- StringExpressionSet.cs
- MatrixAnimationBase.cs
- Int64AnimationUsingKeyFrames.cs
- DataBindingCollection.cs
- Gdiplus.cs
- WebPartTransformerCollection.cs
- ActivityCodeDomReferenceService.cs
- EntityCollection.cs
- TypeTypeConverter.cs
- CodeValidator.cs
- NameSpaceEvent.cs
- BamlLocalizationDictionary.cs
- CallContext.cs
- TypeBuilder.cs
- ResourceKey.cs
- PathSegmentCollection.cs
- InfoCardRequestException.cs
- ItemList.cs
- SizeAnimationBase.cs
- DoubleAnimationBase.cs
- TypeUnloadedException.cs
- MemberMemberBinding.cs
- DefaultWorkflowSchedulerService.cs
- EntryPointNotFoundException.cs
- SqlFactory.cs
- CodeAttributeArgumentCollection.cs
- GroupJoinQueryOperator.cs
- XamlSerializerUtil.cs
- FtpCachePolicyElement.cs
- UnsafeNativeMethods.cs
- SystemWebCachingSectionGroup.cs
- DoubleConverter.cs
- InputLanguageProfileNotifySink.cs
- WorkflowInstanceRecord.cs
- MetadataCollection.cs
- RequiredFieldValidator.cs
- ByteViewer.cs
- Message.cs
- ConcurrentDictionary.cs
- WebServiceAttribute.cs
- ErrorWebPart.cs
- CodeObject.cs
- HighContrastHelper.cs
- TimelineClockCollection.cs
- SafeFindHandle.cs
- KeyFrames.cs
- validationstate.cs
- SpeakCompletedEventArgs.cs
- ComboBox.cs
- KerberosSecurityTokenParameters.cs
- GB18030Encoding.cs
- DictionaryBase.cs
- MediaElement.cs
- UnsafeMethods.cs
- DefaultPrintController.cs
- RtfNavigator.cs
- ParseNumbers.cs
- PropertyValue.cs
- Nodes.cs
- FlowNode.cs
- GridSplitterAutomationPeer.cs
- TripleDESCryptoServiceProvider.cs
- ClientSettings.cs