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
- bidPrivateBase.cs
- TypeReference.cs
- NetTcpBindingCollectionElement.cs
- Inflater.cs
- SQLInt64.cs
- HostProtectionException.cs
- TableChangeProcessor.cs
- RpcCryptoContext.cs
- SwitchElementsCollection.cs
- ConfigXmlAttribute.cs
- TypeSemantics.cs
- cookiecollection.cs
- IIS7WorkerRequest.cs
- ColumnMapVisitor.cs
- Selector.cs
- Array.cs
- HighContrastHelper.cs
- WebRequestModulesSection.cs
- BCryptNative.cs
- XmlBoundElement.cs
- StylusDownEventArgs.cs
- KeyNotFoundException.cs
- DataGridViewCellPaintingEventArgs.cs
- BitmapSourceSafeMILHandle.cs
- CharacterBufferReference.cs
- _AcceptOverlappedAsyncResult.cs
- MSHTMLHost.cs
- ClusterSafeNativeMethods.cs
- DBBindings.cs
- EdmPropertyAttribute.cs
- HttpListenerRequestUriBuilder.cs
- AmbientLight.cs
- IncrementalReadDecoders.cs
- RepeatInfo.cs
- XmlReflectionImporter.cs
- MatrixStack.cs
- SafeEventHandle.cs
- RadioButton.cs
- WindowsRichEditRange.cs
- AppDomainInstanceProvider.cs
- WebBrowserNavigatedEventHandler.cs
- DataGridViewTopLeftHeaderCell.cs
- _ServiceNameStore.cs
- SoapRpcMethodAttribute.cs
- BindStream.cs
- ByteKeyFrameCollection.cs
- FrugalList.cs
- DiscoveryServerProtocol.cs
- ManagementObjectSearcher.cs
- TableSectionStyle.cs
- UntrustedRecipientException.cs
- EditorZoneBase.cs
- DbgCompiler.cs
- UIElementAutomationPeer.cs
- Brushes.cs
- OutputCache.cs
- ValueTypeFixupInfo.cs
- HostVisual.cs
- SoapIncludeAttribute.cs
- ComponentEditorPage.cs
- RuleProcessor.cs
- InvokeWebService.cs
- SqlCacheDependencyDatabaseCollection.cs
- PropertyManager.cs
- XmlSchemaImport.cs
- SubpageParaClient.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- ResourceWriter.cs
- SystemFonts.cs
- RegexStringValidatorAttribute.cs
- BuildProviderAppliesToAttribute.cs
- OperationCanceledException.cs
- AppDomainAttributes.cs
- CodeTypeMember.cs
- DispatcherProcessingDisabled.cs
- BaseProcessor.cs
- UpdateRecord.cs
- InfoCardTraceRecord.cs
- SessionPageStatePersister.cs
- ProcessManager.cs
- OdbcCommand.cs
- MessageQueueEnumerator.cs
- QilIterator.cs
- HandlerWithFactory.cs
- FacetEnabledSchemaElement.cs
- recordstatescratchpad.cs
- _ProxyChain.cs
- PanelStyle.cs
- MouseBinding.cs
- DefaultPropertiesToSend.cs
- UIElement3D.cs
- HostingEnvironmentSection.cs
- GrabHandleGlyph.cs
- WhiteSpaceTrimStringConverter.cs
- XmlSchemaImporter.cs
- MouseEventArgs.cs
- XslAstAnalyzer.cs
- _NegoStream.cs
- CancellationState.cs
- UnsafeNativeMethods.cs