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
- TransformBlockRequest.cs
- Rule.cs
- BitmapEffectrendercontext.cs
- ExtentJoinTreeNode.cs
- DmlSqlGenerator.cs
- CodeStatement.cs
- MulticastDelegate.cs
- WebHttpBinding.cs
- columnmapkeybuilder.cs
- EnumerationRangeValidationUtil.cs
- EmptyStringExpandableObjectConverter.cs
- DesignerActionPropertyItem.cs
- DetailsViewRow.cs
- LinqDataView.cs
- HostingPreferredMapPath.cs
- CngKeyBlobFormat.cs
- HtmlValidationSummaryAdapter.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- ComponentChangingEvent.cs
- VectorConverter.cs
- PathSegment.cs
- FontInfo.cs
- CannotUnloadAppDomainException.cs
- Queue.cs
- ElementFactory.cs
- ConfigViewGenerator.cs
- OleStrCAMarshaler.cs
- AttachedAnnotationChangedEventArgs.cs
- MessageDescription.cs
- HostProtectionPermission.cs
- XmlDataDocument.cs
- MediaElementAutomationPeer.cs
- PropertyChangeTracker.cs
- DiscoveryClientChannelFactory.cs
- BlockCollection.cs
- HostnameComparisonMode.cs
- _ListenerAsyncResult.cs
- TransformCryptoHandle.cs
- BuilderInfo.cs
- RegexParser.cs
- StyleModeStack.cs
- SettingsProviderCollection.cs
- VisualTreeHelper.cs
- PointAnimation.cs
- XPathMultyIterator.cs
- ActivitiesCollection.cs
- ObfuscateAssemblyAttribute.cs
- GlyphRunDrawing.cs
- XmlMemberMapping.cs
- PtsPage.cs
- DoubleAnimationBase.cs
- Encoding.cs
- DiagnosticsConfigurationHandler.cs
- PixelShader.cs
- PropertyRecord.cs
- CoTaskMemUnicodeSafeHandle.cs
- ListView.cs
- StoreAnnotationsMap.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- ThicknessAnimationUsingKeyFrames.cs
- TargetConverter.cs
- querybuilder.cs
- MessageSecurityOverTcp.cs
- ExpressionBindings.cs
- XmlSchemaImporter.cs
- MultilineStringConverter.cs
- XmlIlTypeHelper.cs
- XmlEncoding.cs
- ToolStripControlHost.cs
- SelectionEditingBehavior.cs
- CDSsyncETWBCLProvider.cs
- NamespaceQuery.cs
- ZipIOExtraFieldElement.cs
- DataGridViewColumn.cs
- PlatformCulture.cs
- DateTimeStorage.cs
- WrappedKeySecurityToken.cs
- Accessible.cs
- Currency.cs
- PolicyStatement.cs
- EncoderFallback.cs
- InkPresenter.cs
- DataListItemEventArgs.cs
- ReaderOutput.cs
- DesignerSerializationOptionsAttribute.cs
- GroupBox.cs
- MeasureItemEvent.cs
- SafeReversePInvokeHandle.cs
- DesignerAutoFormat.cs
- SolidColorBrush.cs
- CroppedBitmap.cs
- TextAnchor.cs
- DataControlPagerLinkButton.cs
- DetailsViewUpdatedEventArgs.cs
- Rights.cs
- ModulesEntry.cs
- XmlUtil.cs
- Clock.cs
- DropDownButton.cs