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
- ContentType.cs
- PointCollectionValueSerializer.cs
- UTF32Encoding.cs
- InternalConfigRoot.cs
- TreeViewItemAutomationPeer.cs
- ImageCollectionCodeDomSerializer.cs
- SemanticTag.cs
- DocumentScope.cs
- ProfessionalColors.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- ClientSettingsProvider.cs
- DesignerSerializationVisibilityAttribute.cs
- MimePart.cs
- ListViewItem.cs
- CachingHintValidation.cs
- DoubleCollection.cs
- DataService.cs
- RegisteredExpandoAttribute.cs
- ReadOnlyDictionary.cs
- AlphabeticalEnumConverter.cs
- QuestionEventArgs.cs
- WebPartCollection.cs
- DrawingServices.cs
- XmlAttributeCache.cs
- DataGridColumnHeaderAutomationPeer.cs
- PropertyEmitterBase.cs
- TypeDescriptionProvider.cs
- DebugView.cs
- RequestCachePolicy.cs
- TraceLog.cs
- Opcode.cs
- Stopwatch.cs
- FixedTextContainer.cs
- ForwardPositionQuery.cs
- NotConverter.cs
- SpinLock.cs
- OleCmdHelper.cs
- HelloOperationCD1AsyncResult.cs
- ProfileSection.cs
- ContainsRowNumberChecker.cs
- Debug.cs
- X509SecurityTokenAuthenticator.cs
- ThemeConfigurationDialog.cs
- EntityTypeEmitter.cs
- RenamedEventArgs.cs
- Frame.cs
- SparseMemoryStream.cs
- IEnumerable.cs
- BaseCollection.cs
- ExceptionRoutedEventArgs.cs
- DbExpressionBuilder.cs
- StylusPlugInCollection.cs
- TypedTableBaseExtensions.cs
- IssuedTokenClientElement.cs
- EntityWithKeyStrategy.cs
- FactoryId.cs
- ThreadAbortException.cs
- EnumerableRowCollectionExtensions.cs
- FilterException.cs
- BehaviorDragDropEventArgs.cs
- LoadRetryHandler.cs
- Binding.cs
- UidPropertyAttribute.cs
- basevalidator.cs
- Button.cs
- UnaryNode.cs
- ToolStripScrollButton.cs
- XmlSignatureProperties.cs
- CompareValidator.cs
- HttpCookie.cs
- HwndKeyboardInputProvider.cs
- ImageCodecInfoPrivate.cs
- HatchBrush.cs
- NeutralResourcesLanguageAttribute.cs
- InstanceDataCollection.cs
- DataGridViewSelectedColumnCollection.cs
- LoadItemsEventArgs.cs
- ScrollPattern.cs
- ProtocolsSection.cs
- TileBrush.cs
- ScrollData.cs
- PropertyMetadata.cs
- LicenseManager.cs
- ErrorEventArgs.cs
- SafeLibraryHandle.cs
- SqlConnection.cs
- OutputCacheSection.cs
- TimelineCollection.cs
- InstanceNormalEvent.cs
- DataRecordInternal.cs
- PageThemeParser.cs
- TextLineResult.cs
- Schema.cs
- IssuedTokenClientCredential.cs
- TextTreeInsertUndoUnit.cs
- CurrentChangingEventManager.cs
- CalendarDataBindingHandler.cs
- GridViewCellAutomationPeer.cs
- returneventsaver.cs
- TemplateField.cs