Code:
/ DotNET / DotNET / 8.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
- FilterQueryOptionExpression.cs
- DocumentCollection.cs
- WmiEventSink.cs
- Latin1Encoding.cs
- EdmRelationshipRoleAttribute.cs
- UTF8Encoding.cs
- RtfNavigator.cs
- TabControlCancelEvent.cs
- ReadOnlyHierarchicalDataSource.cs
- DateTimeOffsetConverter.cs
- ExpressionConverter.cs
- SqlCharStream.cs
- WebConfigurationFileMap.cs
- ZipIOCentralDirectoryFileHeader.cs
- SafeRightsManagementSessionHandle.cs
- IntPtr.cs
- AutomationEventArgs.cs
- MatrixAnimationBase.cs
- QueryAccessibilityHelpEvent.cs
- StatusCommandUI.cs
- EmptyReadOnlyDictionaryInternal.cs
- PnrpPermission.cs
- AppDomainResourcePerfCounters.cs
- ConditionCollection.cs
- BrowserDefinitionCollection.cs
- ErrorFormatterPage.cs
- DataObjectAttribute.cs
- CachedBitmap.cs
- EventDescriptor.cs
- BrushValueSerializer.cs
- WebConfigurationFileMap.cs
- Substitution.cs
- TextEffectCollection.cs
- AssemblyInfo.cs
- WebPart.cs
- ChangeProcessor.cs
- CustomLineCap.cs
- Rect3DConverter.cs
- SystemIPAddressInformation.cs
- CheckPair.cs
- OracleDataReader.cs
- BamlWriter.cs
- WindowsStatic.cs
- IdlingCommunicationPool.cs
- UnauthorizedWebPart.cs
- ResolveCriteriaApril2005.cs
- EntityDescriptor.cs
- ConnectionPoolManager.cs
- FileNotFoundException.cs
- __ConsoleStream.cs
- CookielessHelper.cs
- MimeTypePropertyAttribute.cs
- BinarySerializer.cs
- XmlSchemaCompilationSettings.cs
- MultiPageTextView.cs
- RuntimeHelpers.cs
- PerformanceCounterPermissionAttribute.cs
- remotingproxy.cs
- DataGridCommandEventArgs.cs
- NoneExcludedImageIndexConverter.cs
- SiteMap.cs
- DateTimePicker.cs
- ConsoleKeyInfo.cs
- LocalValueEnumerator.cs
- PrimitiveXmlSerializers.cs
- NetPipeSection.cs
- NativeMethods.cs
- TdsParserStaticMethods.cs
- DesignerActionListCollection.cs
- ManifestBasedResourceGroveler.cs
- OnOperation.cs
- PrivacyNoticeElement.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- ArraySortHelper.cs
- PassportAuthentication.cs
- ToolStripOverflowButton.cs
- ToolStripMenuItem.cs
- QilLoop.cs
- ErrorWrapper.cs
- SessionStateSection.cs
- TextSelection.cs
- Rotation3DAnimationBase.cs
- PeerName.cs
- PageOrientation.cs
- BCLDebug.cs
- RuntimeIdentifierPropertyAttribute.cs
- RectangleGeometry.cs
- BufferCache.cs
- TextEditorMouse.cs
- PathSegmentCollection.cs
- TextEditorCharacters.cs
- VideoDrawing.cs
- NameValueFileSectionHandler.cs
- TrackingMemoryStreamFactory.cs
- Image.cs
- InputLanguageSource.cs
- SiteMapPath.cs
- VariableExpressionConverter.cs
- ServiceOperationListItem.cs
- ContextBase.cs