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
- GrammarBuilderPhrase.cs
- SecondaryIndexDefinition.cs
- ReturnEventArgs.cs
- ModuleBuilder.cs
- ValidatorCompatibilityHelper.cs
- Localizer.cs
- Row.cs
- CheckBoxFlatAdapter.cs
- GACMembershipCondition.cs
- CodeRemoveEventStatement.cs
- QilReplaceVisitor.cs
- TreeViewDesigner.cs
- AutomationPeer.cs
- DispatcherObject.cs
- HttpListenerException.cs
- Blend.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- Parameter.cs
- SqlConnectionHelper.cs
- LayoutTableCell.cs
- DefaultTraceListener.cs
- path.cs
- DataGridLinkButton.cs
- MultilineStringConverter.cs
- TabPanel.cs
- ObjectContextServiceProvider.cs
- ColorTransform.cs
- SHA1CryptoServiceProvider.cs
- QuadraticEase.cs
- Pair.cs
- PathSegment.cs
- SequentialWorkflowRootDesigner.cs
- DataGridViewRowPostPaintEventArgs.cs
- wgx_exports.cs
- FixedSOMLineRanges.cs
- HMACSHA512.cs
- RelationshipFixer.cs
- WebPartEditorOkVerb.cs
- MetadataSection.cs
- RelationshipWrapper.cs
- DoubleKeyFrameCollection.cs
- TypeNameConverter.cs
- FieldDescriptor.cs
- odbcmetadatacolumnnames.cs
- MessageQuerySet.cs
- VisualStyleInformation.cs
- XmlCharType.cs
- MergeFilterQuery.cs
- TextWriter.cs
- SiteMap.cs
- AutomationPropertyInfo.cs
- storepermissionattribute.cs
- CapabilitiesPattern.cs
- ToolbarAUtomationPeer.cs
- SiteMapProvider.cs
- Bitmap.cs
- Condition.cs
- ToolStripHighContrastRenderer.cs
- WebPartConnectionCollection.cs
- ProtectedConfigurationProviderCollection.cs
- XmlNamespaceManager.cs
- Opcode.cs
- TrustSection.cs
- CommandHelper.cs
- DbReferenceCollection.cs
- TransformPattern.cs
- SplineQuaternionKeyFrame.cs
- WorkflowElementDialog.cs
- DebugTraceHelper.cs
- GestureRecognizer.cs
- CLRBindingWorker.cs
- ConfigUtil.cs
- unsafeIndexingFilterStream.cs
- HtmlLiteralTextAdapter.cs
- VirtualizedItemProviderWrapper.cs
- ExpressionBuilder.cs
- StdRegProviderWrapper.cs
- GrammarBuilderWildcard.cs
- Block.cs
- Pen.cs
- AuthenticateEventArgs.cs
- XmlSerializerNamespaces.cs
- NativeMethods.cs
- FontFamilyConverter.cs
- ReadOnlyTernaryTree.cs
- ToolboxBitmapAttribute.cs
- SchemaNotation.cs
- GACIdentityPermission.cs
- SQLMembershipProvider.cs
- RangeBaseAutomationPeer.cs
- OperationCanceledException.cs
- BindingMAnagerBase.cs
- RemotingClientProxy.cs
- Font.cs
- Facet.cs
- SafeWaitHandle.cs
- ModifierKeysValueSerializer.cs
- GetBrowserTokenRequest.cs
- SettingsProperty.cs
- InputReportEventArgs.cs