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
- TextElementEditingBehaviorAttribute.cs
- RenderData.cs
- NamedPipeConnectionPool.cs
- BamlResourceDeserializer.cs
- BinaryConverter.cs
- OleDbCommandBuilder.cs
- UnsafeNativeMethodsTablet.cs
- clipboard.cs
- filewebrequest.cs
- TypeDescriptionProviderAttribute.cs
- CompositeScriptReferenceEventArgs.cs
- DataGridCellClipboardEventArgs.cs
- WorkflowServiceHost.cs
- SocketAddress.cs
- XmlSchemaObjectTable.cs
- MenuItem.cs
- ComPlusInstanceContextInitializer.cs
- WindowPatternIdentifiers.cs
- CustomTypeDescriptor.cs
- WindowHideOrCloseTracker.cs
- DataRelationPropertyDescriptor.cs
- wmiprovider.cs
- SharedStatics.cs
- NativeCppClassAttribute.cs
- EventLogException.cs
- DrawingGroupDrawingContext.cs
- DetailsViewPageEventArgs.cs
- XPathSingletonIterator.cs
- DataObjectEventArgs.cs
- PeerHelpers.cs
- RelationshipWrapper.cs
- WebDisplayNameAttribute.cs
- MultiByteCodec.cs
- NameValuePair.cs
- InputBindingCollection.cs
- CalendarTable.cs
- PipeStream.cs
- DataError.cs
- COMException.cs
- Int64KeyFrameCollection.cs
- SHA1.cs
- DefaultValueConverter.cs
- ToolboxBitmapAttribute.cs
- ProtocolsSection.cs
- EmptyReadOnlyDictionaryInternal.cs
- RoleServiceManager.cs
- DictionaryEntry.cs
- DataQuery.cs
- Conditional.cs
- GeneratedCodeAttribute.cs
- QuerySettings.cs
- RadioButtonPopupAdapter.cs
- RedBlackList.cs
- TypeValidationEventArgs.cs
- ThemeDirectoryCompiler.cs
- wgx_exports.cs
- TemplateEditingFrame.cs
- ScriptResourceInfo.cs
- DeadCharTextComposition.cs
- BamlReader.cs
- SafeProcessHandle.cs
- QilList.cs
- WebSysDefaultValueAttribute.cs
- complextypematerializer.cs
- PublishLicense.cs
- TextLine.cs
- safemediahandle.cs
- AdjustableArrowCap.cs
- DescriptionAttribute.cs
- TextPattern.cs
- PixelFormats.cs
- RemotingAttributes.cs
- DetailsViewUpdateEventArgs.cs
- RegistryExceptionHelper.cs
- SecurityDocument.cs
- InfoCardTraceRecord.cs
- TemplateComponentConnector.cs
- NGCPageContentSerializerAsync.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- CodeBlockBuilder.cs
- SaveFileDialog.cs
- ControlIdConverter.cs
- CqlWriter.cs
- ConnectionStringSettingsCollection.cs
- Array.cs
- ConfigurationPropertyCollection.cs
- BitmapEffectInputConnector.cs
- HighlightVisual.cs
- PropertyChangedEventManager.cs
- RichTextBox.cs
- FreezableDefaultValueFactory.cs
- TextTreeText.cs
- HandleTable.cs
- MachineKeyConverter.cs
- TableLayout.cs
- PartialTrustVisibleAssembliesSection.cs
- PathParser.cs
- MultiPropertyDescriptorGridEntry.cs
- nulltextcontainer.cs
- BrowserCapabilitiesCodeGenerator.cs