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
- ButtonField.cs
- InProcStateClientManager.cs
- SqlRecordBuffer.cs
- BaseValidatorDesigner.cs
- SamlConstants.cs
- SafeNativeMethods.cs
- TextServicesContext.cs
- WeakRefEnumerator.cs
- SystemColorTracker.cs
- DiagnosticTrace.cs
- TraceSwitch.cs
- OptimalBreakSession.cs
- ResourcePermissionBase.cs
- StateMachineWorkflow.cs
- XsltConvert.cs
- InfoCardTrace.cs
- WithStatement.cs
- ClientFormsAuthenticationCredentials.cs
- Oid.cs
- DataGrid.cs
- SubqueryTrackingVisitor.cs
- _DisconnectOverlappedAsyncResult.cs
- ToolStripSeparator.cs
- CompositeCollectionView.cs
- ExpressionBuilderContext.cs
- NavigationWindowAutomationPeer.cs
- BitmapEffectDrawingContextState.cs
- httpstaticobjectscollection.cs
- StretchValidation.cs
- BinarySerializer.cs
- HtmlTernaryTree.cs
- WmlSelectionListAdapter.cs
- ContractListAdapter.cs
- WorkflowItemsPresenter.cs
- InstanceLockTracking.cs
- WebPartConnection.cs
- RegistryKey.cs
- UIElementIsland.cs
- StickyNoteAnnotations.cs
- MessageQuerySet.cs
- SupportingTokenListenerFactory.cs
- CustomCredentialPolicy.cs
- DecoratedNameAttribute.cs
- ReachPageContentSerializerAsync.cs
- KeyboardNavigation.cs
- PageContent.cs
- BounceEase.cs
- Grant.cs
- SqlTriggerContext.cs
- ObjectStorage.cs
- XmlDeclaration.cs
- SqlNotificationRequest.cs
- EmptyEnumerator.cs
- XmlUTF8TextReader.cs
- CapabilitiesAssignment.cs
- IgnoreSection.cs
- XmlSchemaFacet.cs
- ModelItemExtensions.cs
- Events.cs
- COM2PropertyBuilderUITypeEditor.cs
- IsolatedStorageFilePermission.cs
- RequestStatusBarUpdateEventArgs.cs
- CodeExporter.cs
- TargetInvocationException.cs
- ToolStripPanelRow.cs
- COM2ExtendedUITypeEditor.cs
- BinaryCommonClasses.cs
- XmlNodeChangedEventManager.cs
- RadioButton.cs
- GroupQuery.cs
- PrivilegedConfigurationManager.cs
- Query.cs
- OdbcDataAdapter.cs
- Invariant.cs
- IsolatedStorageException.cs
- WindowsIPAddress.cs
- IdentifierElement.cs
- EntityConnectionStringBuilderItem.cs
- AttributeUsageAttribute.cs
- HuffmanTree.cs
- Message.cs
- XmlSchemaType.cs
- PolyBezierSegment.cs
- InputLangChangeEvent.cs
- ObjectDataSourceChooseMethodsPanel.cs
- AmbientLight.cs
- WebPartTracker.cs
- QueryFunctions.cs
- ExtensionMethods.cs
- InternalConfigRoot.cs
- UseManagedPresentationElement.cs
- VideoDrawing.cs
- RoleManagerModule.cs
- TextAction.cs
- ParenExpr.cs
- AnnotationHelper.cs
- SamlAuthorizationDecisionClaimResource.cs
- basenumberconverter.cs
- MultipleViewProviderWrapper.cs
- odbcmetadatafactory.cs