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
- EncoderParameters.cs
- oledbconnectionstring.cs
- securitycriticaldataClass.cs
- TranslateTransform.cs
- CollectionViewGroup.cs
- NumericExpr.cs
- TextRange.cs
- SqlCommandBuilder.cs
- ProfileGroupSettings.cs
- UserControlCodeDomTreeGenerator.cs
- DataSourceGeneratorException.cs
- HtmlInputSubmit.cs
- DocumentViewerBaseAutomationPeer.cs
- TextContainerChangeEventArgs.cs
- XmlNodeWriter.cs
- LineInfo.cs
- BooleanAnimationBase.cs
- FixedLineResult.cs
- RunWorkerCompletedEventArgs.cs
- TextEditorParagraphs.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- Helpers.cs
- HybridDictionary.cs
- MailWriter.cs
- DllNotFoundException.cs
- PieceNameHelper.cs
- XmlSchemaSimpleType.cs
- ElementHostPropertyMap.cs
- OverflowException.cs
- SelectionProcessor.cs
- CopyNamespacesAction.cs
- StorageAssociationSetMapping.cs
- ContextInformation.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ScriptManager.cs
- DesignerSerializationVisibilityAttribute.cs
- AnimationClockResource.cs
- TableAutomationPeer.cs
- OperatingSystemVersionCheck.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- TextSchema.cs
- SqlDataSourceFilteringEventArgs.cs
- SqlInternalConnectionSmi.cs
- DefaultMemberAttribute.cs
- JsonReaderDelegator.cs
- PartialTrustHelpers.cs
- InteropEnvironment.cs
- TableProviderWrapper.cs
- RecommendedAsConfigurableAttribute.cs
- PartialCachingAttribute.cs
- ArgumentNullException.cs
- HtmlMeta.cs
- BaseTemplateBuildProvider.cs
- DbParameterCollectionHelper.cs
- StrokeRenderer.cs
- WebHttpEndpoint.cs
- WebPartMenu.cs
- EndPoint.cs
- ObjectNavigationPropertyMapping.cs
- DefaultObjectMappingItemCollection.cs
- HttpConfigurationContext.cs
- SyndicationSerializer.cs
- MessageLogTraceRecord.cs
- BaseProcessor.cs
- WebPermission.cs
- LogSwitch.cs
- ValueTable.cs
- BaseInfoTable.cs
- ListenerAdaptersInstallComponent.cs
- ReferentialConstraintRoleElement.cs
- WindowsSolidBrush.cs
- IndentTextWriter.cs
- ForEachAction.cs
- MenuItemStyle.cs
- VoiceObjectToken.cs
- TransactionBridge.cs
- IgnoreFlushAndCloseStream.cs
- PnrpPeerResolver.cs
- Attachment.cs
- TextDecorationCollection.cs
- OutputWindow.cs
- ExpandSegment.cs
- WindowAutomationPeer.cs
- GraphicsPath.cs
- EventLogEntryCollection.cs
- ParseHttpDate.cs
- OleDbPropertySetGuid.cs
- Span.cs
- EmissiveMaterial.cs
- ReversePositionQuery.cs
- SchemaImporterExtensionElement.cs
- KernelTypeValidation.cs
- ScriptingSectionGroup.cs
- MatrixConverter.cs
- InputBuffer.cs
- AssertHelper.cs
- TabRenderer.cs
- ObjectDataSourceFilteringEventArgs.cs
- PackagePart.cs
- XmlSchemaInferenceException.cs