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
- ToolStrip.cs
- BufferedGraphics.cs
- cookie.cs
- DSACryptoServiceProvider.cs
- SrgsElementFactoryCompiler.cs
- StorageInfo.cs
- TabItemWrapperAutomationPeer.cs
- TimeoutException.cs
- ArrayTypeMismatchException.cs
- SqlBuffer.cs
- OletxTransactionManager.cs
- EpmContentDeSerializerBase.cs
- ProfilePropertyNameValidator.cs
- NegotiateStream.cs
- ExceptionUtil.cs
- XmlWrappingReader.cs
- Listbox.cs
- ProfileServiceManager.cs
- PropertyEntry.cs
- FontCacheUtil.cs
- MultiAsyncResult.cs
- CodeTypeConstructor.cs
- Matrix.cs
- XamlContextStack.cs
- CompleteWizardStep.cs
- Geometry3D.cs
- OperatingSystem.cs
- SqlMetaData.cs
- TemplateLookupAction.cs
- TimestampInformation.cs
- AuthorizationSection.cs
- LightweightEntityWrapper.cs
- CompensatableTransactionScopeActivity.cs
- IdentifierService.cs
- AbstractDataSvcMapFileLoader.cs
- Parallel.cs
- QueuePathDialog.cs
- AutoCompleteStringCollection.cs
- RegexCompiler.cs
- CodeCompileUnit.cs
- externdll.cs
- WebHttpBindingCollectionElement.cs
- XmlSchemaCollection.cs
- ResourceType.cs
- FigureParaClient.cs
- XmlBaseReader.cs
- ButtonStandardAdapter.cs
- Rect3D.cs
- BitmapSourceSafeMILHandle.cs
- NonClientArea.cs
- ToolStripSplitStackLayout.cs
- DiffuseMaterial.cs
- SpellerError.cs
- IODescriptionAttribute.cs
- CompilationLock.cs
- RuleConditionDialog.Designer.cs
- CharacterMetricsDictionary.cs
- SqlServer2KCompatibilityCheck.cs
- DecoderExceptionFallback.cs
- Propagator.Evaluator.cs
- TdsParameterSetter.cs
- DbDataRecord.cs
- SymbolTable.cs
- TraceFilter.cs
- StorageSetMapping.cs
- ReadOnlyCollection.cs
- SafePEFileHandle.cs
- TransformGroup.cs
- HttpApplication.cs
- XmlIgnoreAttribute.cs
- OutputCacheProfile.cs
- FloatUtil.cs
- FixedTextBuilder.cs
- documentsequencetextcontainer.cs
- securestring.cs
- EndPoint.cs
- EventLogInformation.cs
- TableItemProviderWrapper.cs
- IgnorePropertiesAttribute.cs
- OdbcConnectionOpen.cs
- EntityClassGenerator.cs
- DebuggerAttributes.cs
- RequestResizeEvent.cs
- SiteMapNodeCollection.cs
- NumberSubstitution.cs
- PropagatorResult.cs
- CacheMode.cs
- ReaderWriterLockSlim.cs
- TileBrush.cs
- XhtmlCssHandler.cs
- UrlPath.cs
- StatusStrip.cs
- XmlDomTextWriter.cs
- XsltFunctions.cs
- RowVisual.cs
- X509ChainPolicy.cs
- PathParser.cs
- ApplyTemplatesAction.cs
- Nullable.cs
- SerializationStore.cs