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
- Ref.cs
- KnownColorTable.cs
- QueryStringHandler.cs
- TreeBuilderXamlTranslator.cs
- DataGridViewLinkCell.cs
- bidPrivateBase.cs
- SharingService.cs
- EntityProxyFactory.cs
- XAMLParseException.cs
- DataObjectCopyingEventArgs.cs
- InfoCardSymmetricAlgorithm.cs
- ASCIIEncoding.cs
- RadioButtonList.cs
- PersonalizationAdministration.cs
- TableLayoutPanelBehavior.cs
- SapiGrammar.cs
- NetworkInterface.cs
- FixedElement.cs
- DataGridViewRowsRemovedEventArgs.cs
- AnonymousIdentificationSection.cs
- MergeLocalizationDirectives.cs
- ValidationResult.cs
- ListenerServiceInstallComponent.cs
- ExpressionTextBoxAutomationPeer.cs
- StickyNoteContentControl.cs
- OutOfMemoryException.cs
- HitTestResult.cs
- DialogWindow.cs
- AccessText.cs
- IntPtr.cs
- BindableTemplateBuilder.cs
- ConsumerConnectionPoint.cs
- ErrorTableItemStyle.cs
- TypeElement.cs
- WebServiceErrorEvent.cs
- TogglePatternIdentifiers.cs
- TreeIterators.cs
- M3DUtil.cs
- SectionUpdates.cs
- DataAdapter.cs
- AssemblyBuilder.cs
- ComponentCommands.cs
- DBConnectionString.cs
- ContextMenu.cs
- HtmlTernaryTree.cs
- LocatorGroup.cs
- ExecutorLocksHeldException.cs
- ExecutionContext.cs
- TraceUtility.cs
- NextPreviousPagerField.cs
- TableLayoutPanelCellPosition.cs
- SqlUserDefinedTypeAttribute.cs
- CultureTable.cs
- ShaderEffect.cs
- AnonymousIdentificationSection.cs
- TextInfo.cs
- TreeNodeSelectionProcessor.cs
- EntityDataSourceColumn.cs
- Normalization.cs
- FlowDocument.cs
- OrderedDictionaryStateHelper.cs
- Repeater.cs
- AliasGenerator.cs
- ObjectRef.cs
- CompareValidator.cs
- TableDetailsCollection.cs
- BitStream.cs
- ColorConverter.cs
- Timeline.cs
- HttpConfigurationSystem.cs
- IdentityElement.cs
- MemoryFailPoint.cs
- CurrentTimeZone.cs
- VectorCollectionConverter.cs
- LineServicesCallbacks.cs
- TranslateTransform3D.cs
- FreezableCollection.cs
- AssemblyNameUtility.cs
- ListBox.cs
- RSAPKCS1SignatureDeformatter.cs
- PersonalizationProviderCollection.cs
- URI.cs
- TransactionsSectionGroup.cs
- UndoManager.cs
- DnsPermission.cs
- LogSwitch.cs
- CodeTypeOfExpression.cs
- SqlInfoMessageEvent.cs
- DictionaryBase.cs
- ZipIOModeEnforcingStream.cs
- DeferredTextReference.cs
- SessionPageStatePersister.cs
- EntityDataSourceContextDisposingEventArgs.cs
- DataServiceResponse.cs
- CompoundFileStorageReference.cs
- IPipelineRuntime.cs
- ResourceReferenceExpression.cs
- SqlRowUpdatedEvent.cs
- WebResourceUtil.cs
- ResXFileRef.cs