Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / ComponentModel / InstallerTypeAttribute.cs / 1 / 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(); } } }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
- HttpCachePolicy.cs
- XmlNode.cs
- ContainerParaClient.cs
- FontStyle.cs
- WebPartRestoreVerb.cs
- ComboBoxRenderer.cs
- Transform3D.cs
- OleDbWrapper.cs
- TableRow.cs
- OciEnlistContext.cs
- SortedList.cs
- DataPagerFieldItem.cs
- SmtpException.cs
- CodeObject.cs
- CodeDelegateCreateExpression.cs
- TracedNativeMethods.cs
- NameObjectCollectionBase.cs
- ProcessRequestArgs.cs
- TargetControlTypeAttribute.cs
- TableHeaderCell.cs
- ActiveDocumentEvent.cs
- CompilerWrapper.cs
- Trace.cs
- CDSCollectionETWBCLProvider.cs
- BamlTreeMap.cs
- XmlWriter.cs
- BaseValidator.cs
- ValidationEventArgs.cs
- TextDecoration.cs
- PrivilegeNotHeldException.cs
- ScrollEventArgs.cs
- SpeechSynthesizer.cs
- ModuleBuilder.cs
- ApplicationFileParser.cs
- _LocalDataStoreMgr.cs
- FixedTextSelectionProcessor.cs
- GlobalAclOperationRequirement.cs
- GraphicsState.cs
- CacheMode.cs
- Win32SafeHandles.cs
- SafeLibraryHandle.cs
- Model3DCollection.cs
- ValidationSummaryDesigner.cs
- NonVisualControlAttribute.cs
- ViewGenerator.cs
- NeutralResourcesLanguageAttribute.cs
- PropertyManager.cs
- ListView.cs
- GenericWebPart.cs
- MarshalDirectiveException.cs
- CacheAxisQuery.cs
- ReadContentAsBinaryHelper.cs
- FrameworkEventSource.cs
- ManifestSignatureInformation.cs
- DispatcherEventArgs.cs
- CheckedPointers.cs
- TextBoxAutomationPeer.cs
- DataGridViewCellCancelEventArgs.cs
- IPPacketInformation.cs
- KeyGesture.cs
- ToolStripRenderEventArgs.cs
- DriveNotFoundException.cs
- WebControlToolBoxItem.cs
- CryptoKeySecurity.cs
- ArrayConverter.cs
- ObjectComplexPropertyMapping.cs
- NullableIntAverageAggregationOperator.cs
- Attributes.cs
- TextBoxBase.cs
- DesigntimeLicenseContext.cs
- NavigationService.cs
- TextChange.cs
- SecurityCriticalDataForSet.cs
- EntityDataSourceChangingEventArgs.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- ProjectionCamera.cs
- IFormattable.cs
- SQLString.cs
- ToolStripContextMenu.cs
- CheckBox.cs
- ConnectionPoint.cs
- ToolboxDataAttribute.cs
- SqlSupersetValidator.cs
- WinFormsUtils.cs
- X509CertificateValidationMode.cs
- CqlIdentifiers.cs
- PageRequestManager.cs
- TextViewSelectionProcessor.cs
- QueryOutputWriter.cs
- WorkflowMarkupSerializationException.cs
- DropDownList.cs
- XmlEntity.cs
- securitycriticaldataClass.cs
- ListViewTableCell.cs
- ListInitExpression.cs
- TextEffect.cs
- WaitHandle.cs
- BordersPage.cs
- SecurityKeyUsage.cs
- VirtualPathUtility.cs