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
- TextFormatter.cs
- Visual.cs
- AccessControlList.cs
- EventMappingSettings.cs
- CryptoApi.cs
- UriTemplateEquivalenceComparer.cs
- TextDecorationCollectionConverter.cs
- RTLAwareMessageBox.cs
- ExpressionBindingCollection.cs
- ServiceEndpointCollection.cs
- FragmentNavigationEventArgs.cs
- HostingEnvironmentWrapper.cs
- HttpException.cs
- Rect.cs
- DeflateInput.cs
- RegexWorker.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- AdapterUtil.cs
- TemplatedControlDesigner.cs
- XmlElementList.cs
- SingleConverter.cs
- AuthenticationService.cs
- UserControlAutomationPeer.cs
- Model3DCollection.cs
- CodeTryCatchFinallyStatement.cs
- TypeLoadException.cs
- Menu.cs
- Polyline.cs
- DetailsViewUpdateEventArgs.cs
- PeerCustomResolverBindingElement.cs
- XmlDocumentFragment.cs
- XmlDataLoader.cs
- SmiRequestExecutor.cs
- ToolStripItemDataObject.cs
- FreezableCollection.cs
- RadialGradientBrush.cs
- ConnectionPointGlyph.cs
- DbReferenceCollection.cs
- AxisAngleRotation3D.cs
- SmiEventSink_Default.cs
- DelegatedStream.cs
- SafeTimerHandle.cs
- Soap.cs
- PointCollectionValueSerializer.cs
- ObjectViewListener.cs
- AnnotationComponentChooser.cs
- DataGridParentRows.cs
- Button.cs
- ByteStreamGeometryContext.cs
- Calendar.cs
- PropertyEmitterBase.cs
- ZoneMembershipCondition.cs
- EncoderReplacementFallback.cs
- DateTimePicker.cs
- TypeInfo.cs
- EffectiveValueEntry.cs
- ViewGenerator.cs
- BaseDataList.cs
- TypeSystem.cs
- SocketStream.cs
- ParserExtension.cs
- CodeIdentifiers.cs
- DataGridColumnCollection.cs
- TraceContextEventArgs.cs
- GenericRootAutomationPeer.cs
- BindingManagerDataErrorEventArgs.cs
- ServiceProviders.cs
- NetMsmqSecurity.cs
- ILGenerator.cs
- FileEnumerator.cs
- PermissionSetEnumerator.cs
- SrgsSubset.cs
- RadioButtonFlatAdapter.cs
- WinEventTracker.cs
- PointLight.cs
- ReadWriteObjectLock.cs
- RefreshEventArgs.cs
- VisualState.cs
- DataControlField.cs
- ObjectTag.cs
- UnknownWrapper.cs
- RowTypeElement.cs
- AnimatedTypeHelpers.cs
- MatrixValueSerializer.cs
- TextServicesProperty.cs
- UriSection.cs
- ZoomPercentageConverter.cs
- WebPartDeleteVerb.cs
- DataGrid.cs
- FunctionImportMapping.cs
- ColumnHeaderConverter.cs
- MessageDecoder.cs
- DataGridViewCellCollection.cs
- WindowsGrip.cs
- DataGridPagingPage.cs
- ProcessModelInfo.cs
- AmbiguousMatchException.cs
- SoundPlayer.cs
- FileDialog_Vista.cs
- xmlglyphRunInfo.cs