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
- RequestDescription.cs
- XDRSchema.cs
- FixedSOMContainer.cs
- ChtmlMobileTextWriter.cs
- XmlElementAttributes.cs
- ListViewHitTestInfo.cs
- SqlDataSourceFilteringEventArgs.cs
- DataGridViewSortCompareEventArgs.cs
- OleDbParameter.cs
- DrawingServices.cs
- WorkflowApplicationAbortedException.cs
- InputLanguageCollection.cs
- ObjectStateManager.cs
- RequestResponse.cs
- ReferencedType.cs
- XmlElementList.cs
- FieldDescriptor.cs
- ListBindableAttribute.cs
- XmlElementAttributes.cs
- ToolStrip.cs
- AudioFileOut.cs
- DoubleStorage.cs
- PtsCache.cs
- RangeBase.cs
- PublisherIdentityPermission.cs
- ContainerControl.cs
- ElementProxy.cs
- AppDomainFactory.cs
- ListViewGroupConverter.cs
- CustomValidator.cs
- WebZone.cs
- XPathExpr.cs
- TextParaClient.cs
- SafeNativeHandle.cs
- FilePrompt.cs
- XmlnsPrefixAttribute.cs
- SetterBaseCollection.cs
- KeyBinding.cs
- BCLDebug.cs
- ContainerFilterService.cs
- SocketManager.cs
- MailWriter.cs
- Simplifier.cs
- Section.cs
- MsdtcClusterUtils.cs
- EntryPointNotFoundException.cs
- DBAsyncResult.cs
- SystemGatewayIPAddressInformation.cs
- ColumnCollection.cs
- PointAnimation.cs
- SecuritySessionServerSettings.cs
- IPEndPoint.cs
- ManagementEventArgs.cs
- Point3D.cs
- SHA1.cs
- Section.cs
- PersistenceMetadataNamespace.cs
- CodeNamespaceImportCollection.cs
- JsonReaderDelegator.cs
- TileBrush.cs
- Base64Decoder.cs
- ConsoleTraceListener.cs
- WebPart.cs
- RadioButtonList.cs
- DbProviderFactories.cs
- XsdCachingReader.cs
- SoapTypeAttribute.cs
- StaticContext.cs
- ItemsControlAutomationPeer.cs
- CriticalHandle.cs
- MouseButton.cs
- XmlHierarchicalEnumerable.cs
- AssemblyCache.cs
- AnnotationHighlightLayer.cs
- Int64AnimationUsingKeyFrames.cs
- DispatcherExceptionEventArgs.cs
- EnterpriseServicesHelper.cs
- ListSourceHelper.cs
- SqlDuplicator.cs
- AsyncResult.cs
- ExpandCollapseProviderWrapper.cs
- FormatException.cs
- WebPartAuthorizationEventArgs.cs
- SQLRoleProvider.cs
- MDIWindowDialog.cs
- FrameworkEventSource.cs
- RegexReplacement.cs
- BeginGetFileNameFromUserRequest.cs
- MetaData.cs
- GenericEnumerator.cs
- CheckBoxFlatAdapter.cs
- BamlRecordWriter.cs
- COM2TypeInfoProcessor.cs
- ControlOperationInvoker.cs
- GiveFeedbackEvent.cs
- HtmlInputButton.cs
- _LazyAsyncResult.cs
- ColumnMapTranslator.cs
- InkCanvasInnerCanvas.cs
- CheckBoxRenderer.cs