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
- BitmapEffectInputData.cs
- TypeUsage.cs
- Executor.cs
- PathFigureCollection.cs
- LoadedOrUnloadedOperation.cs
- CodeAccessPermission.cs
- FixedDocumentSequencePaginator.cs
- TextBox.cs
- Part.cs
- XmlnsCache.cs
- HandlerMappingMemo.cs
- LogRecordSequence.cs
- TcpPortSharing.cs
- DbConnectionHelper.cs
- GradientSpreadMethodValidation.cs
- PageContentAsyncResult.cs
- HttpListenerContext.cs
- ListDictionaryInternal.cs
- RenderData.cs
- WebPartDisplayModeCollection.cs
- MsmqIntegrationMessageProperty.cs
- OleDbFactory.cs
- Trace.cs
- DriveInfo.cs
- TraceProvider.cs
- DispatcherOperation.cs
- XmlSchemaDatatype.cs
- SpnEndpointIdentityExtension.cs
- SqlNamer.cs
- SingleSelectRootGridEntry.cs
- GlobalEventManager.cs
- ToolStripPanelRenderEventArgs.cs
- BinarySerializer.cs
- PnrpPermission.cs
- Pair.cs
- TypeToTreeConverter.cs
- DirectoryInfo.cs
- ZipIOLocalFileDataDescriptor.cs
- KeyValuePair.cs
- ProviderSettings.cs
- XmlWrappingReader.cs
- XmlReader.cs
- Light.cs
- ClientScriptItem.cs
- WebServiceMethodData.cs
- SpecularMaterial.cs
- Geometry.cs
- ObjectPropertyMapping.cs
- NCryptNative.cs
- PropertyChangingEventArgs.cs
- ReadOnlyHierarchicalDataSource.cs
- VisualBasicValue.cs
- WorkflowRuntimeServiceElement.cs
- PolyBezierSegmentFigureLogic.cs
- BuildProvidersCompiler.cs
- DataServiceQueryOfT.cs
- ExceptionUtil.cs
- SuppressMergeCheckAttribute.cs
- SerializerWriterEventHandlers.cs
- UriTemplateQueryValue.cs
- AudioSignalProblemOccurredEventArgs.cs
- NonVisualControlAttribute.cs
- ReflectEventDescriptor.cs
- BulletDecorator.cs
- InstanceNotFoundException.cs
- ComplexTypeEmitter.cs
- MonthChangedEventArgs.cs
- InvalidProgramException.cs
- Int16KeyFrameCollection.cs
- NameScope.cs
- ErrorHandler.cs
- SizeFConverter.cs
- DataContractJsonSerializer.cs
- DataGridTextBox.cs
- WsdlEndpointConversionContext.cs
- _Rfc2616CacheValidators.cs
- TdsParserStateObject.cs
- SqlCharStream.cs
- XmlNodeWriter.cs
- XmlDataImplementation.cs
- VirtualPathProvider.cs
- WindowsListViewGroupHelper.cs
- WebBrowserHelper.cs
- MethodImplAttribute.cs
- ConfigUtil.cs
- ApplicationFileCodeDomTreeGenerator.cs
- XmlAttributeProperties.cs
- ExceptionUtility.cs
- WinInet.cs
- DocumentViewerBaseAutomationPeer.cs
- DynamicILGenerator.cs
- ImageConverter.cs
- CollectionChange.cs
- ProxyFragment.cs
- HashHelpers.cs
- SimpleWebHandlerParser.cs
- ToolbarAUtomationPeer.cs
- PassportIdentity.cs
- UInt16Converter.cs
- StorageComplexTypeMapping.cs