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
- PasswordBoxAutomationPeer.cs
- RegexBoyerMoore.cs
- SiteMapDataSource.cs
- PostBackOptions.cs
- ArraySegment.cs
- DbProviderManifest.cs
- MethodImplAttribute.cs
- DataGridViewColumnEventArgs.cs
- UpdatePanelTriggerCollection.cs
- FontStyleConverter.cs
- HttpModuleCollection.cs
- WasAdminWrapper.cs
- NetNamedPipeSecurity.cs
- GetRecipientListRequest.cs
- EntitySqlQueryBuilder.cs
- BaseProcessor.cs
- TextChangedEventArgs.cs
- TranslateTransform3D.cs
- SqlFormatter.cs
- CommentAction.cs
- SchemaSetCompiler.cs
- handlecollector.cs
- ListViewCancelEventArgs.cs
- TabPanel.cs
- OleDbParameterCollection.cs
- ApplicationInfo.cs
- XmlAggregates.cs
- ModelServiceImpl.cs
- SqlReorderer.cs
- ModelItemImpl.cs
- SqlDataSourceQuery.cs
- x509utils.cs
- SafeThreadHandle.cs
- _TransmitFileOverlappedAsyncResult.cs
- DbProviderServices.cs
- XsltException.cs
- HebrewNumber.cs
- TextTrailingWordEllipsis.cs
- UniformGrid.cs
- DataContractSerializerOperationBehavior.cs
- SqlErrorCollection.cs
- Viewport3DVisual.cs
- ObjectStorage.cs
- ByteStream.cs
- WsiProfilesElement.cs
- EntityCommandExecutionException.cs
- ConnectionStringsExpressionBuilder.cs
- SQLDecimal.cs
- BasePropertyDescriptor.cs
- Image.cs
- PopupRoot.cs
- TextTreeDeleteContentUndoUnit.cs
- SqlTransaction.cs
- MenuItem.cs
- SqlConnectionFactory.cs
- CapabilitiesPattern.cs
- DataSourceUtil.cs
- Light.cs
- LogPolicy.cs
- VisualStates.cs
- ZipIOBlockManager.cs
- AccessibleObject.cs
- ProfileSettingsCollection.cs
- WmlPageAdapter.cs
- ExtendedProtectionPolicy.cs
- ThemeableAttribute.cs
- GridItemPattern.cs
- PropertySegmentSerializationProvider.cs
- TextUtf8RawTextWriter.cs
- BinaryMessageFormatter.cs
- WebPartCollection.cs
- Error.cs
- FileLevelControlBuilderAttribute.cs
- TemplateControlParser.cs
- SequentialActivityDesigner.cs
- BinaryObjectReader.cs
- ThreadExceptionDialog.cs
- CompoundFileStorageReference.cs
- BulletChrome.cs
- MatrixIndependentAnimationStorage.cs
- CodeDirectiveCollection.cs
- PathData.cs
- ExponentialEase.cs
- DrawingGroupDrawingContext.cs
- Vector3DCollectionConverter.cs
- SqlRowUpdatedEvent.cs
- SlipBehavior.cs
- JsonQNameDataContract.cs
- BookmarkScopeManager.cs
- Evidence.cs
- BitmapMetadata.cs
- EndpointFilterProvider.cs
- login.cs
- ViewPort3D.cs
- SerializerWriterEventHandlers.cs
- CalendarAutomationPeer.cs
- PerformanceCounters.cs
- ServicePointManager.cs
- ImageInfo.cs
- TabItem.cs