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
- ZipIOModeEnforcingStream.cs
- XmlUtil.cs
- WriteableBitmap.cs
- ParagraphResult.cs
- RegexGroup.cs
- DataBinder.cs
- FullTextBreakpoint.cs
- StaticSiteMapProvider.cs
- WebBrowserContainer.cs
- XmlSchemaGroup.cs
- Int32CAMarshaler.cs
- UnauthorizedWebPart.cs
- ConnectionConsumerAttribute.cs
- EntityChangedParams.cs
- AffineTransform3D.cs
- BroadcastEventHelper.cs
- UIElementParagraph.cs
- ReflectionTypeLoadException.cs
- ExpressionBuilderContext.cs
- ReadOnlyAttribute.cs
- DesigntimeLicenseContextSerializer.cs
- ISessionStateStore.cs
- WebDisplayNameAttribute.cs
- Sequence.cs
- CircleHotSpot.cs
- AssociationEndMember.cs
- Cursors.cs
- SqlNotificationRequest.cs
- XPathAxisIterator.cs
- InternalBase.cs
- Double.cs
- HttpsHostedTransportConfiguration.cs
- TextBox.cs
- PtsContext.cs
- HttpServerVarsCollection.cs
- MobileUserControlDesigner.cs
- DesignConnection.cs
- TextTreeTextElementNode.cs
- ParserOptions.cs
- ProjectedWrapper.cs
- PerformanceCounterCategory.cs
- _ScatterGatherBuffers.cs
- WindowsComboBox.cs
- ControlCollection.cs
- CorrelationValidator.cs
- XmlHierarchyData.cs
- Trustee.cs
- PagesSection.cs
- MasterPage.cs
- XPathNavigatorReader.cs
- CqlIdentifiers.cs
- MatrixCamera.cs
- XmlTypeAttribute.cs
- GroupBoxAutomationPeer.cs
- CalendarDay.cs
- StateWorkerRequest.cs
- DataGridViewColumnHeaderCell.cs
- DataGridColumn.cs
- TextTrailingWordEllipsis.cs
- DataGridPagingPage.cs
- HttpHeaderCollection.cs
- FacetDescriptionElement.cs
- AppDomainAttributes.cs
- DecoderFallback.cs
- AutomationIdentifierGuids.cs
- smtppermission.cs
- EntityDataSourceColumn.cs
- QueryAsyncResult.cs
- WizardForm.cs
- AddInSegmentDirectoryNotFoundException.cs
- RelationshipConstraintValidator.cs
- HttpPostedFile.cs
- RadioButtonBaseAdapter.cs
- DeclaredTypeElement.cs
- BezierSegment.cs
- SynchronizationFilter.cs
- SizeConverter.cs
- Duration.cs
- PolicyValidationException.cs
- CodeValidator.cs
- DataRelationPropertyDescriptor.cs
- WebServiceData.cs
- InstanceData.cs
- lengthconverter.cs
- BaseAutoFormat.cs
- NamespaceListProperty.cs
- WindowsPrincipal.cs
- RtfControls.cs
- MessageDispatch.cs
- CollectionConverter.cs
- ExtendedProperty.cs
- DeviceSpecific.cs
- SqlTopReducer.cs
- DiscoveryClientOutputChannel.cs
- CustomAttributeBuilder.cs
- BindingValueChangedEventArgs.cs
- ObjectDataSourceMethodEditor.cs
- DoubleAnimation.cs
- ListViewInsertionMark.cs
- MessageQueueAccessControlEntry.cs