Code:
/ DotNET / DotNET / 8.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
- StyleSelector.cs
- ErrorBehavior.cs
- MarshalByRefObject.cs
- ElementNotEnabledException.cs
- ConfigXmlAttribute.cs
- SHA1CryptoServiceProvider.cs
- SiteMapDataSourceDesigner.cs
- BrushConverter.cs
- bidPrivateBase.cs
- HashMembershipCondition.cs
- WindowsTab.cs
- TableLayoutPanelDesigner.cs
- EdmError.cs
- errorpatternmatcher.cs
- HelpKeywordAttribute.cs
- NamespaceDecl.cs
- Floater.cs
- OrthographicCamera.cs
- BaseCodePageEncoding.cs
- ItemCollection.cs
- DbMetaDataCollectionNames.cs
- x509utils.cs
- DataGridCellItemAutomationPeer.cs
- SqlProcedureAttribute.cs
- ScriptServiceAttribute.cs
- DataPagerFieldCollection.cs
- Int16.cs
- XmlDocumentType.cs
- WpfXamlMember.cs
- BindingOperations.cs
- ResourceSet.cs
- CompareInfo.cs
- WizardPanel.cs
- SoapRpcServiceAttribute.cs
- _SslStream.cs
- RequestQueryProcessor.cs
- ItemDragEvent.cs
- Size3D.cs
- MemberAccessException.cs
- Base64Encoder.cs
- BypassElement.cs
- Profiler.cs
- PropertyTab.cs
- TypeConstant.cs
- DataRowCollection.cs
- sortedlist.cs
- Merger.cs
- HwndPanningFeedback.cs
- PluggableProtocol.cs
- BezierSegment.cs
- BitmapCodecInfoInternal.cs
- SafeMILHandle.cs
- XmlStreamNodeWriter.cs
- OletxTransactionFormatter.cs
- PropertyMap.cs
- LoginViewDesigner.cs
- GridViewPageEventArgs.cs
- LogicalCallContext.cs
- SamlSerializer.cs
- EntitySetDataBindingList.cs
- StrokeNodeOperations2.cs
- Mappings.cs
- XmlnsPrefixAttribute.cs
- Fx.cs
- FactoryId.cs
- ObservableCollection.cs
- HostDesigntimeLicenseContext.cs
- SqlComparer.cs
- PropertyChangedEventManager.cs
- BufferBuilder.cs
- CellParagraph.cs
- ChineseLunisolarCalendar.cs
- CounterSample.cs
- WebPartEventArgs.cs
- SchemaImporter.cs
- StringUtil.cs
- WindowsAuthenticationModule.cs
- ControllableStoryboardAction.cs
- ToolStripButton.cs
- StyleSelector.cs
- ToolBarTray.cs
- BigInt.cs
- Overlapped.cs
- EditorPartCollection.cs
- ProtocolsConfigurationHandler.cs
- NotifyCollectionChangedEventArgs.cs
- ZipPackage.cs
- BaseResourcesBuildProvider.cs
- TableHeaderCell.cs
- WindowsRichEdit.cs
- webeventbuffer.cs
- DelegateHelpers.Generated.cs
- DLinqColumnProvider.cs
- XmlRootAttribute.cs
- HttpModuleActionCollection.cs
- WeakEventTable.cs
- Point3D.cs
- Soap.cs
- RoutedPropertyChangedEventArgs.cs
- StructuredTypeInfo.cs