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
- DataTableClearEvent.cs
- HttpListenerException.cs
- ContextStaticAttribute.cs
- Profiler.cs
- Set.cs
- StreamWithDictionary.cs
- ToolboxItemAttribute.cs
- InstanceKeyCollisionException.cs
- NetNamedPipeBindingCollectionElement.cs
- ComboBox.cs
- CodeSubDirectory.cs
- OleDbDataAdapter.cs
- TemplateBindingExtensionConverter.cs
- XmlConverter.cs
- PropertyMapper.cs
- Brush.cs
- ApplyImportsAction.cs
- PerformanceCounterCategory.cs
- ExtenderProvidedPropertyAttribute.cs
- DownloadProgressEventArgs.cs
- TextPointerBase.cs
- XmlQuerySequence.cs
- ListViewInsertedEventArgs.cs
- DocumentAutomationPeer.cs
- OutputCacheSettingsSection.cs
- DataServiceHostFactory.cs
- MatrixAnimationUsingKeyFrames.cs
- DbgUtil.cs
- WindowsPrincipal.cs
- CompressStream.cs
- OleDbConnectionFactory.cs
- Int64.cs
- RtfToXamlLexer.cs
- XmlToDatasetMap.cs
- ReflectionPermission.cs
- BindingExpressionBase.cs
- Stack.cs
- DataGridClipboardCellContent.cs
- SystemIPInterfaceProperties.cs
- PropertyMap.cs
- DateTimeOffsetStorage.cs
- TileBrush.cs
- TextEffect.cs
- PerformanceCounterPermission.cs
- WsdlImporterElement.cs
- ImplicitInputBrush.cs
- WebHttpSecurity.cs
- IImplicitResourceProvider.cs
- WebBrowserSiteBase.cs
- ScriptBehaviorDescriptor.cs
- IdentitySection.cs
- FrameworkContentElement.cs
- Boolean.cs
- WebPartHeaderCloseVerb.cs
- Function.cs
- DataTableExtensions.cs
- DataColumnMapping.cs
- SerializerDescriptor.cs
- EncoderExceptionFallback.cs
- IgnoreSectionHandler.cs
- MailWriter.cs
- CompositeCollectionView.cs
- _AutoWebProxyScriptEngine.cs
- SpellerHighlightLayer.cs
- SettingsProperty.cs
- TypeConverters.cs
- LineMetrics.cs
- ObjectListDataBindEventArgs.cs
- SizeAnimationUsingKeyFrames.cs
- ProcessModule.cs
- DescriptionCreator.cs
- XmlReaderSettings.cs
- ToolBarPanel.cs
- ComContractElement.cs
- DetailsViewUpdateEventArgs.cs
- TextSegment.cs
- DbConnectionInternal.cs
- BmpBitmapEncoder.cs
- StrokeFIndices.cs
- NullableDecimalMinMaxAggregationOperator.cs
- FilterQueryOptionExpression.cs
- SecureConversationServiceCredential.cs
- BuildProvider.cs
- Vector3DKeyFrameCollection.cs
- StylusPointCollection.cs
- ConnectionPoint.cs
- AssemblyAttributes.cs
- MatchingStyle.cs
- SyntaxCheck.cs
- AutomationPattern.cs
- BeginStoryboard.cs
- EntitySet.cs
- AlternateViewCollection.cs
- HttpRequest.cs
- ResponseBodyWriter.cs
- LoginDesigner.cs
- ProxyFragment.cs
- ManualWorkflowSchedulerService.cs
- XmlNamespaceMappingCollection.cs
- DataGridViewComboBoxColumn.cs