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
- EmptyElement.cs
- ScriptServiceAttribute.cs
- ContainerParagraph.cs
- FamilyTypefaceCollection.cs
- SafeFileMappingHandle.cs
- BitmapImage.cs
- OdbcParameter.cs
- PassportAuthenticationModule.cs
- DbMetaDataCollectionNames.cs
- SrgsGrammar.cs
- ValidationEventArgs.cs
- OdbcRowUpdatingEvent.cs
- COM2IPerPropertyBrowsingHandler.cs
- TemplateBindingExpression.cs
- WindowsTooltip.cs
- WebScriptMetadataMessage.cs
- FixedSOMTableCell.cs
- AvTraceFormat.cs
- ExportOptions.cs
- QuaternionConverter.cs
- DeviceSpecificChoiceCollection.cs
- RemotingConfigParser.cs
- WebReferencesBuildProvider.cs
- Switch.cs
- LogExtentCollection.cs
- DecimalFormatter.cs
- PasswordRecoveryDesigner.cs
- ZipIOFileItemStream.cs
- Tuple.cs
- TemplateXamlParser.cs
- Triangle.cs
- HealthMonitoringSection.cs
- OdbcTransaction.cs
- PaintValueEventArgs.cs
- StoreItemCollection.Loader.cs
- OperatorExpressions.cs
- CodeGotoStatement.cs
- StringToken.cs
- ObjectCloneHelper.cs
- HighlightComponent.cs
- NamespaceQuery.cs
- Script.cs
- followingquery.cs
- ErrorLog.cs
- HierarchicalDataBoundControlAdapter.cs
- OutputCacheSection.cs
- XmlDataLoader.cs
- MulticastIPAddressInformationCollection.cs
- AppLevelCompilationSectionCache.cs
- FixedHyperLink.cs
- ToolStripComboBox.cs
- SqlConnectionFactory.cs
- LinkConverter.cs
- RowUpdatedEventArgs.cs
- BinaryReader.cs
- PrintDocument.cs
- PreviewPageInfo.cs
- EventLogStatus.cs
- TextEditorParagraphs.cs
- SqlTrackingWorkflowInstance.cs
- UserPersonalizationStateInfo.cs
- IdentityReference.cs
- ReverseInheritProperty.cs
- Certificate.cs
- AcceptorSessionSymmetricMessageSecurityProtocol.cs
- DES.cs
- Vector3D.cs
- XmlAnyAttributeAttribute.cs
- WebServiceFaultDesigner.cs
- SAPIEngineTypes.cs
- ProgressChangedEventArgs.cs
- ProcessHostServerConfig.cs
- SafeBitVector32.cs
- EdmRelationshipRoleAttribute.cs
- MenuEventArgs.cs
- SatelliteContractVersionAttribute.cs
- DataBoundControlAdapter.cs
- KeyFrames.cs
- PowerModeChangedEventArgs.cs
- FileDialog.cs
- TableHeaderCell.cs
- TextContainer.cs
- EncoderParameters.cs
- Trace.cs
- COM2ExtendedUITypeEditor.cs
- CodeTypeParameterCollection.cs
- MasterPageCodeDomTreeGenerator.cs
- GridViewRowCollection.cs
- InheritanceContextHelper.cs
- ResourceContainer.cs
- StateMachineSubscription.cs
- Rotation3DAnimation.cs
- ProtocolsConfigurationEntry.cs
- IntegerValidator.cs
- StorageRoot.cs
- RegexMatchCollection.cs
- PixelFormats.cs
- FixUpCollection.cs
- XmlCharType.cs
- Camera.cs