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
- validationstate.cs
- Msec.cs
- HandleCollector.cs
- DataTemplateKey.cs
- ChannelBuilder.cs
- DtdParser.cs
- DataViewManager.cs
- HtmlImageAdapter.cs
- XmlCollation.cs
- XmlSchemaSimpleContentRestriction.cs
- objectresult_tresulttype.cs
- SubclassTypeValidatorAttribute.cs
- DataGridViewLinkCell.cs
- HTTPNotFoundHandler.cs
- BinarySerializer.cs
- ToolstripProfessionalRenderer.cs
- DbMetaDataFactory.cs
- PeerChannelFactory.cs
- StateMachineAction.cs
- AssociationEndMember.cs
- GuidelineSet.cs
- UnSafeCharBuffer.cs
- StandardToolWindows.cs
- ObjectAnimationBase.cs
- StringWriter.cs
- BufferedStream.cs
- MULTI_QI.cs
- LambdaValue.cs
- BlobPersonalizationState.cs
- ColorTranslator.cs
- ForEach.cs
- TemplateBindingExtensionConverter.cs
- ServiceOperationParameter.cs
- ModuleBuilderData.cs
- LiteralText.cs
- BitmapScalingModeValidation.cs
- CqlParser.cs
- XamlTemplateSerializer.cs
- TypeAccessException.cs
- ToolStripItemRenderEventArgs.cs
- XmlQueryOutput.cs
- WeakReferenceEnumerator.cs
- ConsumerConnectionPoint.cs
- HostProtectionPermission.cs
- __ConsoleStream.cs
- TripleDES.cs
- HtmlLink.cs
- DefaultShape.cs
- FileDetails.cs
- OracleSqlParser.cs
- LocalizedNameDescriptionPair.cs
- Compiler.cs
- SqlCrossApplyToCrossJoin.cs
- _ConnectOverlappedAsyncResult.cs
- HandledEventArgs.cs
- SmiEventSink_DeferedProcessing.cs
- EntryWrittenEventArgs.cs
- XPathScanner.cs
- CompilationSection.cs
- MultipartIdentifier.cs
- ControlPropertyNameConverter.cs
- GACMembershipCondition.cs
- SessionIDManager.cs
- AnnotationComponentChooser.cs
- Zone.cs
- StrongTypingException.cs
- PolicyStatement.cs
- documentsequencetextview.cs
- UserNameSecurityTokenProvider.cs
- SqlParameterCollection.cs
- Ops.cs
- BooleanSwitch.cs
- ArraySubsetEnumerator.cs
- ClientTargetSection.cs
- SmtpNtlmAuthenticationModule.cs
- DataContext.cs
- MsmqTransportBindingElement.cs
- AdornerPresentationContext.cs
- MouseCaptureWithinProperty.cs
- BinaryMethodMessage.cs
- formatstringdialog.cs
- CommandField.cs
- Polyline.cs
- MultiTrigger.cs
- BrushValueSerializer.cs
- Configuration.cs
- ObjectReaderCompiler.cs
- DataRowComparer.cs
- FieldCollectionEditor.cs
- FormViewUpdateEventArgs.cs
- PositiveTimeSpanValidator.cs
- PKCS1MaskGenerationMethod.cs
- RijndaelManagedTransform.cs
- AuthenticationModuleElementCollection.cs
- ICspAsymmetricAlgorithm.cs
- DataSetFieldSchema.cs
- HScrollProperties.cs
- TimelineGroup.cs
- DateTimeUtil.cs
- RequestQueryProcessor.cs