Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / InstallerTypeAttribute.cs / 1305376 / InstallerTypeAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ // SECREVIEW: Remove this attribute once bug#411889 is fixed. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2113:SecureLateBindingMethods", Scope="member", Target="System.ComponentModel.InstallerTypeAttribute.get_InstallerType():System.Type")] namespace System.ComponentModel { using System.Diagnostics; using System.Security.Permissions; ////// [AttributeUsage(AttributeTargets.Class)] public class InstallerTypeAttribute : Attribute { string _typeName; ///Specifies the installer /// to use for a type to install components. ////// public InstallerTypeAttribute(Type installerType) { _typeName = installerType.AssemblyQualifiedName; } ///Initializes a new instance of the System.Windows.Forms.ComponentModel.InstallerTypeAttribute class. ////// public InstallerTypeAttribute(string typeName) { _typeName = typeName; } ///[To be supplied.] ////// public virtual Type InstallerType { get { return Type.GetType(_typeName); } } public override bool Equals(object obj) { if (obj == this) { return true; } InstallerTypeAttribute other = obj as InstallerTypeAttribute; return (other != null) && other._typeName == _typeName; } public override int GetHashCode() { return base.GetHashCode(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets the /// type of installer associated with this attribute. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ProcessHostMapPath.cs
- ApplicationSecurityManager.cs
- UrlEncodedParameterWriter.cs
- IncrementalReadDecoders.cs
- XsdCachingReader.cs
- ExecutionContext.cs
- SimpleTypeResolver.cs
- Page.cs
- EmptyStringExpandableObjectConverter.cs
- WebPartMenu.cs
- ProtocolsConfigurationHandler.cs
- EncoderParameter.cs
- ProtocolsConfigurationEntry.cs
- SetterBase.cs
- DescendentsWalkerBase.cs
- ImageIndexConverter.cs
- EventSinkHelperWriter.cs
- XmlSchemaComplexType.cs
- ItemMap.cs
- WindowsListViewItem.cs
- XmlDataContract.cs
- DataGridViewColumnStateChangedEventArgs.cs
- XmlObjectSerializerWriteContextComplex.cs
- WrappedIUnknown.cs
- EventRecordWrittenEventArgs.cs
- InvalidDataContractException.cs
- PipelineModuleStepContainer.cs
- ArgumentValue.cs
- DataColumnCollection.cs
- DeclarativeConditionsCollection.cs
- TextTabProperties.cs
- WindowsListViewSubItem.cs
- DotNetATv1WindowsLogEntrySerializer.cs
- ActivityDesignerLayoutSerializers.cs
- ExtensionDataReader.cs
- HtmlInputReset.cs
- NoClickablePointException.cs
- XmlDomTextWriter.cs
- SelectionRange.cs
- XmlSequenceWriter.cs
- nulltextnavigator.cs
- WinEventQueueItem.cs
- Columns.cs
- ConfigurationValue.cs
- SerializerDescriptor.cs
- SoapHeaderException.cs
- UIntPtr.cs
- Clipboard.cs
- XmlUTF8TextWriter.cs
- TextWriter.cs
- ImageDrawing.cs
- Walker.cs
- WebException.cs
- GraphicsContext.cs
- DoWorkEventArgs.cs
- Input.cs
- InputDevice.cs
- OleDbErrorCollection.cs
- Msec.cs
- AppDomainManager.cs
- TypedRowHandler.cs
- EncodingDataItem.cs
- ModelPropertyCollectionImpl.cs
- PrintEvent.cs
- SqlUserDefinedTypeAttribute.cs
- ObjectSelectorEditor.cs
- Vector3DValueSerializer.cs
- MappingMetadataHelper.cs
- DataGridColumnEventArgs.cs
- RectAnimation.cs
- Wildcard.cs
- DataGridPageChangedEventArgs.cs
- SqlGenerator.cs
- ExpressionSelection.cs
- SafeMarshalContext.cs
- FixedDocumentSequencePaginator.cs
- XmlCustomFormatter.cs
- ModuleConfigurationInfo.cs
- DataGridViewColumnCollectionDialog.cs
- CustomExpressionEventArgs.cs
- TypeGeneratedEventArgs.cs
- CurrentChangedEventManager.cs
- SafeRightsManagementPubHandle.cs
- RowBinding.cs
- TypeToken.cs
- RelativeSource.cs
- PageThemeBuildProvider.cs
- PartManifestEntry.cs
- CommandBinding.cs
- grammarelement.cs
- XmlResolver.cs
- ListSurrogate.cs
- EntryPointNotFoundException.cs
- PKCS1MaskGenerationMethod.cs
- RangeValuePattern.cs
- SafeNativeMethods.cs
- Bezier.cs
- WindowsGraphicsWrapper.cs
- HttpApplication.cs
- PropertyGeneratedEventArgs.cs