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
- CmsInterop.cs
- Timer.cs
- MenuItemStyle.cs
- ProxyFragment.cs
- DrawingServices.cs
- ClosableStream.cs
- StreamWithDictionary.cs
- Transform3DCollection.cs
- CurrencyWrapper.cs
- MultipleViewPattern.cs
- TypeConverterHelper.cs
- WebRequestModuleElement.cs
- CaseInsensitiveOrdinalStringComparer.cs
- DataSourceHelper.cs
- Int32EqualityComparer.cs
- AvTraceFormat.cs
- ButtonField.cs
- IndependentAnimationStorage.cs
- OpCopier.cs
- LinkConverter.cs
- SemanticResultKey.cs
- BatchParser.cs
- LinqToSqlWrapper.cs
- CurrentChangingEventArgs.cs
- XsdDateTime.cs
- SqlMethodCallConverter.cs
- DrawToolTipEventArgs.cs
- ConsoleTraceListener.cs
- WhitespaceRule.cs
- IgnorePropertiesAttribute.cs
- FrameworkElementFactoryMarkupObject.cs
- CodeSubDirectoriesCollection.cs
- RenderData.cs
- LicenseException.cs
- SortFieldComparer.cs
- XmlAnyElementAttributes.cs
- ButtonFieldBase.cs
- PanelStyle.cs
- Control.cs
- XmlWrappingReader.cs
- LOSFormatter.cs
- ContainerUIElement3D.cs
- GeometryHitTestParameters.cs
- Stack.cs
- ItemList.cs
- Win32KeyboardDevice.cs
- NamedObject.cs
- ExpressionList.cs
- Point3DIndependentAnimationStorage.cs
- SQLResource.cs
- FixedSOMPage.cs
- FileReservationCollection.cs
- UnsafeNetInfoNativeMethods.cs
- OptimalBreakSession.cs
- URLIdentityPermission.cs
- TextWriter.cs
- sqlinternaltransaction.cs
- StyleModeStack.cs
- CustomLineCap.cs
- CultureInfoConverter.cs
- UncommonField.cs
- DateTimeFormatInfoScanner.cs
- NetDataContractSerializer.cs
- InvalidWMPVersionException.cs
- ContainsSearchOperator.cs
- XamlFigureLengthSerializer.cs
- State.cs
- SizeFConverter.cs
- TdsParserSessionPool.cs
- KeyboardNavigation.cs
- WindowsListViewScroll.cs
- TagMapCollection.cs
- shaperfactory.cs
- HitTestFilterBehavior.cs
- SystemIPInterfaceStatistics.cs
- HttpRuntime.cs
- ClickablePoint.cs
- CompareValidator.cs
- SmtpLoginAuthenticationModule.cs
- MethodSignatureGenerator.cs
- Annotation.cs
- PropertyMap.cs
- PropertyMap.cs
- XmlArrayAttribute.cs
- Point3D.cs
- CalendarSelectionChangedEventArgs.cs
- iisPickupDirectory.cs
- TypeBuilderInstantiation.cs
- DmlSqlGenerator.cs
- Semaphore.cs
- FormViewDeletedEventArgs.cs
- SmtpMail.cs
- CompilerParameters.cs
- wgx_render.cs
- PropertyRef.cs
- DesignTimeVisibleAttribute.cs
- ToolStripButton.cs
- safelink.cs
- HostedNamedPipeTransportManager.cs
- NGCSerializerAsync.cs