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
- DbMetaDataColumnNames.cs
- WebPartConnectionsEventArgs.cs
- XmlSchemaImporter.cs
- VirtualPathUtility.cs
- ProxyGenerator.cs
- ReachFixedPageSerializerAsync.cs
- ClientSettings.cs
- XmlBoundElement.cs
- ContainerControlDesigner.cs
- BinHexEncoder.cs
- Opcode.cs
- SingleConverter.cs
- PreviewPageInfo.cs
- OciHandle.cs
- IssuanceLicense.cs
- Light.cs
- StrokeIntersection.cs
- ParameterBinding.cs
- HandlerBase.cs
- SamlAuthorizationDecisionStatement.cs
- BindableTemplateBuilder.cs
- CallbackValidatorAttribute.cs
- ColumnHeaderCollectionEditor.cs
- ConsoleKeyInfo.cs
- IsolatedStorageFile.cs
- HttpHeaderCollection.cs
- LicenseProviderAttribute.cs
- VisualBrush.cs
- CompositeDesignerAccessibleObject.cs
- PopOutPanel.cs
- GPStream.cs
- FunctionMappingTranslator.cs
- XmlBinaryReader.cs
- DataReceivedEventArgs.cs
- UInt64Converter.cs
- httpserverutility.cs
- HttpClientCertificate.cs
- SqlDataSourceCommandEventArgs.cs
- PkcsUtils.cs
- Constants.cs
- FrameworkObject.cs
- CommandExpr.cs
- NamedPipeChannelFactory.cs
- Interlocked.cs
- ByteAnimationUsingKeyFrames.cs
- OleDbDataReader.cs
- DeploymentSectionCache.cs
- X509Utils.cs
- ObjectPropertyMapping.cs
- XmlAttributeAttribute.cs
- CodeDomComponentSerializationService.cs
- DbMetaDataCollectionNames.cs
- Buffer.cs
- VectorAnimationUsingKeyFrames.cs
- ExceptionUtility.cs
- InfocardClientCredentials.cs
- WriteFileContext.cs
- EventTask.cs
- TableParaClient.cs
- ContainerTracking.cs
- RegexRunnerFactory.cs
- ObservableCollection.cs
- XmlReaderSettings.cs
- SmtpClient.cs
- TextBlockAutomationPeer.cs
- XamlHostingSectionGroup.cs
- ACL.cs
- ZoneButton.cs
- columnmapfactory.cs
- TimeIntervalCollection.cs
- DynamicEndpointElement.cs
- BuildProvider.cs
- newinstructionaction.cs
- FormatConvertedBitmap.cs
- XmlReflectionImporter.cs
- PointLight.cs
- TypeForwardedToAttribute.cs
- VectorCollectionConverter.cs
- DefaultValidator.cs
- XmlTextEncoder.cs
- SaveRecipientRequest.cs
- BaseTemplateBuildProvider.cs
- GridViewAutoFormat.cs
- xmlglyphRunInfo.cs
- ValidationHelper.cs
- ModelUIElement3D.cs
- TextureBrush.cs
- ObjectTokenCategory.cs
- TreeWalker.cs
- HatchBrush.cs
- SqlBuffer.cs
- CategoryNameCollection.cs
- DataGridViewCellPaintingEventArgs.cs
- ViewGenResults.cs
- LoginNameDesigner.cs
- AncestorChangedEventArgs.cs
- FontWeightConverter.cs
- SecurityTokenException.cs
- DataMisalignedException.cs
- ValidateNames.cs