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
- PointConverter.cs
- ManagementException.cs
- VirtualPathProvider.cs
- ProxyElement.cs
- SecurityTokenProvider.cs
- TextRange.cs
- SimpleType.cs
- TextElement.cs
- _DomainName.cs
- GridItemPatternIdentifiers.cs
- GatewayIPAddressInformationCollection.cs
- PKCS1MaskGenerationMethod.cs
- SmtpFailedRecipientException.cs
- TraceLevelStore.cs
- FilePrompt.cs
- PathSegmentCollection.cs
- AnnotationAdorner.cs
- MenuAutomationPeer.cs
- ExtendedProperty.cs
- LoadedOrUnloadedOperation.cs
- AsmxEndpointPickerExtension.cs
- AppSettingsReader.cs
- NetworkAddressChange.cs
- ExtensionQuery.cs
- BinHexEncoder.cs
- ProxyDataContractResolver.cs
- remotingproxy.cs
- X509SecurityToken.cs
- Exceptions.cs
- ExpressionParser.cs
- ITreeGenerator.cs
- ArcSegment.cs
- contentDescriptor.cs
- SpellerStatusTable.cs
- WindowsTokenRoleProvider.cs
- MobileRedirect.cs
- FloatUtil.cs
- SizeAnimation.cs
- AssociationSetMetadata.cs
- SurrogateSelector.cs
- TreeWalker.cs
- MethodMessage.cs
- SessionPageStateSection.cs
- HttpResponseHeader.cs
- TextBoxAutoCompleteSourceConverter.cs
- WinEventQueueItem.cs
- MemberBinding.cs
- XhtmlTextWriter.cs
- InputBuffer.cs
- FirewallWrapper.cs
- CompositeTypefaceMetrics.cs
- ScaleTransform3D.cs
- SerializerProvider.cs
- SqlClientMetaDataCollectionNames.cs
- DataGridViewCell.cs
- RemoteWebConfigurationHostServer.cs
- MappedMetaModel.cs
- PropertyEntry.cs
- HttpModuleAction.cs
- StackBuilderSink.cs
- ArrangedElementCollection.cs
- SmiRequestExecutor.cs
- URLMembershipCondition.cs
- _AuthenticationState.cs
- TableSectionStyle.cs
- CommandHelpers.cs
- MarginCollapsingState.cs
- XmlDesigner.cs
- ToolStripScrollButton.cs
- DictionaryKeyPropertyAttribute.cs
- FrameworkContentElement.cs
- Blend.cs
- _NTAuthentication.cs
- SqlException.cs
- TypeSchema.cs
- ExpressionEditorSheet.cs
- SqlProcedureAttribute.cs
- EntityViewGenerationAttribute.cs
- ListBoxItemWrapperAutomationPeer.cs
- PermissionListSet.cs
- SafeProcessHandle.cs
- FrameworkPropertyMetadata.cs
- InputReferenceExpression.cs
- StreamResourceInfo.cs
- DocumentGrid.cs
- MenuRendererClassic.cs
- WebPartUserCapability.cs
- URLString.cs
- StateChangeEvent.cs
- RetrieveVirtualItemEventArgs.cs
- WorkflowViewService.cs
- CompilerGeneratedAttribute.cs
- AdapterDictionary.cs
- EventLogEntryCollection.cs
- Thread.cs
- TextSimpleMarkerProperties.cs
- GeneralTransform.cs
- PatternMatchRules.cs
- FunctionImportMapping.cs
- RelatedImageListAttribute.cs