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
- SecurityRuntime.cs
- Task.cs
- DataGridViewCellStyleChangedEventArgs.cs
- InstanceKeyCompleteException.cs
- contentDescriptor.cs
- XmlWriterSettings.cs
- XPathDescendantIterator.cs
- RuleSetDialog.Designer.cs
- Line.cs
- SecurityResources.cs
- Compiler.cs
- ThicknessConverter.cs
- Attributes.cs
- InvokeMethodActivity.cs
- DoubleAnimationUsingPath.cs
- IDQuery.cs
- BoundColumn.cs
- LinqDataSourceSelectEventArgs.cs
- SqlClientPermission.cs
- ArgIterator.cs
- FixedDocumentPaginator.cs
- IncrementalReadDecoders.cs
- ImageBrush.cs
- XmlFormatExtensionPointAttribute.cs
- WebBrowserHelper.cs
- AdornerDecorator.cs
- XMLSchema.cs
- MenuItemStyleCollection.cs
- Application.cs
- PermissionSetEnumerator.cs
- OleDbError.cs
- OleDbRowUpdatingEvent.cs
- BatchStream.cs
- Pipe.cs
- IsolatedStorage.cs
- CatalogZoneDesigner.cs
- QilTargetType.cs
- InvokeProviderWrapper.cs
- FileFormatException.cs
- DynamicUpdateCommand.cs
- PlatformCulture.cs
- NTAccount.cs
- GeometryCollection.cs
- StandardCommands.cs
- StrokeRenderer.cs
- UIElement.cs
- AdvancedBindingPropertyDescriptor.cs
- TerminatorSinks.cs
- Root.cs
- TextSearch.cs
- HttpServerUtilityBase.cs
- ProjectionPathBuilder.cs
- SeparatorAutomationPeer.cs
- RuleSet.cs
- XmlNamespaceMappingCollection.cs
- SelectionEditor.cs
- Int64KeyFrameCollection.cs
- ProcessExitedException.cs
- LiteralControl.cs
- IndexOutOfRangeException.cs
- RegistryPermission.cs
- IISUnsafeMethods.cs
- XamlSerializerUtil.cs
- Validator.cs
- WebConfigurationFileMap.cs
- ParagraphResult.cs
- CapabilitiesUse.cs
- AssemblyCollection.cs
- TextDecoration.cs
- PageThemeParser.cs
- PersonalizationProvider.cs
- QuadraticEase.cs
- DataTemplateSelector.cs
- XmlILModule.cs
- SqlLiftIndependentRowExpressions.cs
- OpenFileDialog.cs
- PTConverter.cs
- DbConnectionInternal.cs
- CodeAttributeDeclaration.cs
- Padding.cs
- NavigationExpr.cs
- InertiaExpansionBehavior.cs
- XamlDesignerSerializationManager.cs
- CookielessHelper.cs
- Table.cs
- FixedDocument.cs
- OleDbRowUpdatingEvent.cs
- KeyedPriorityQueue.cs
- DBConnectionString.cs
- ConfigsHelper.cs
- ExtendedPropertyDescriptor.cs
- TreeViewEvent.cs
- DispatchWrapper.cs
- bidPrivateBase.cs
- RecipientInfo.cs
- StateWorkerRequest.cs
- CodeEventReferenceExpression.cs
- BinHexDecoder.cs
- ErrorStyle.cs
- FontEmbeddingManager.cs