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
- Freezable.cs
- ChineseLunisolarCalendar.cs
- PartitionerQueryOperator.cs
- CreatingCookieEventArgs.cs
- PrimitiveType.cs
- GroupItemAutomationPeer.cs
- PrimitiveXmlSerializers.cs
- BindingCollection.cs
- ListControl.cs
- FormViewCommandEventArgs.cs
- FixedPosition.cs
- HTMLTextWriter.cs
- AuthenticationModulesSection.cs
- UserControl.cs
- ConfigurationSchemaErrors.cs
- ExpressionLexer.cs
- RadioButtonFlatAdapter.cs
- BuildTopDownAttribute.cs
- ConnectionStringSettings.cs
- HostedTransportConfigurationBase.cs
- TrustManager.cs
- AppDomainFactory.cs
- WebPartDisplayModeEventArgs.cs
- XmlQualifiedNameTest.cs
- XmlnsDictionary.cs
- ServiceInstallComponent.cs
- TransformedBitmap.cs
- _OverlappedAsyncResult.cs
- SoapProtocolImporter.cs
- StandardCommands.cs
- EpmCustomContentDeSerializer.cs
- UiaCoreApi.cs
- ArrangedElementCollection.cs
- EntityDataSourceWizardForm.cs
- WindowsNonControl.cs
- TextTreeText.cs
- SchemaHelper.cs
- ListViewInsertEventArgs.cs
- ILGenerator.cs
- ReaderContextStackData.cs
- DataGridViewSortCompareEventArgs.cs
- UserNameSecurityTokenProvider.cs
- UnauthorizedAccessException.cs
- DataControlImageButton.cs
- MemberInfoSerializationHolder.cs
- SqlCacheDependencySection.cs
- DeferredRunTextReference.cs
- HttpEncoderUtility.cs
- PartitionedStreamMerger.cs
- SQLDecimal.cs
- CacheRequest.cs
- RegexTree.cs
- XmlFormatReaderGenerator.cs
- CapabilitiesState.cs
- DateBoldEvent.cs
- PathSegmentCollection.cs
- BufferedReadStream.cs
- PaginationProgressEventArgs.cs
- DynamicDataRoute.cs
- safex509handles.cs
- ScriptReferenceBase.cs
- X509InitiatorCertificateServiceElement.cs
- MultipartContentParser.cs
- ExclusiveTcpListener.cs
- Margins.cs
- WbmpConverter.cs
- MediaCommands.cs
- AssociationSetMetadata.cs
- TraceFilter.cs
- ImageFormat.cs
- UnionQueryOperator.cs
- SolidColorBrush.cs
- SqlXml.cs
- WindowsStartMenu.cs
- UpdateTracker.cs
- OdbcDataAdapter.cs
- ConnectionsZoneAutoFormat.cs
- SerialStream.cs
- Thickness.cs
- SynchronizationValidator.cs
- StreamGeometry.cs
- XPathDocument.cs
- RegistryPermission.cs
- WSSecurityJan2004.cs
- ResolveCriteria11.cs
- XmlValidatingReader.cs
- ControlTemplate.cs
- IisTraceListener.cs
- HtmlTernaryTree.cs
- FormatterServices.cs
- Logging.cs
- XamlFigureLengthSerializer.cs
- SecurityHelper.cs
- SrgsElement.cs
- DataGridViewColumnStateChangedEventArgs.cs
- Mapping.cs
- XmlCharType.cs
- EntityCommand.cs
- CodeIdentifier.cs
- RefreshPropertiesAttribute.cs