Code:
/ FX-1434 / FX-1434 / 1.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
- DbBuffer.cs
- StringDictionary.cs
- SeekStoryboard.cs
- HotSpot.cs
- MessagePropertyDescriptionCollection.cs
- Font.cs
- InputMethodStateTypeInfo.cs
- MarkupProperty.cs
- UInt32Converter.cs
- RootAction.cs
- SafeNativeMethods.cs
- UserControlParser.cs
- InputElement.cs
- WebZoneDesigner.cs
- DataTransferEventArgs.cs
- InternalResources.cs
- WsdlInspector.cs
- WebServiceClientProxyGenerator.cs
- Range.cs
- SettingsContext.cs
- Renderer.cs
- XmlSchemaAppInfo.cs
- ButtonBaseAdapter.cs
- DerivedKeySecurityToken.cs
- XmlValidatingReader.cs
- SystemDiagnosticsSection.cs
- PasswordTextContainer.cs
- RefType.cs
- PropertyStore.cs
- PoisonMessageException.cs
- cookie.cs
- XmlDataImplementation.cs
- SoapHeader.cs
- HttpModuleAction.cs
- ConditionalExpression.cs
- Permission.cs
- XmlSchemaFacet.cs
- CallContext.cs
- SequenceRangeCollection.cs
- diagnosticsswitches.cs
- GlobalDataBindingHandler.cs
- DataGridTable.cs
- ResXResourceReader.cs
- Memoizer.cs
- ToolboxDataAttribute.cs
- httpapplicationstate.cs
- HashSet.cs
- StrokeCollection.cs
- GridLength.cs
- HttpListenerRequestTraceRecord.cs
- Point4DValueSerializer.cs
- RootBrowserWindowProxy.cs
- AxWrapperGen.cs
- ZipIOExtraFieldZip64Element.cs
- _HeaderInfoTable.cs
- Select.cs
- SqlUtil.cs
- MemoryPressure.cs
- regiisutil.cs
- PageThemeCodeDomTreeGenerator.cs
- DoubleConverter.cs
- GlyphTypeface.cs
- Geometry3D.cs
- figurelengthconverter.cs
- WebCategoryAttribute.cs
- CounterSetInstanceCounterDataSet.cs
- LinqDataSourceSelectEventArgs.cs
- DropShadowBitmapEffect.cs
- WebPartConnectionsCancelVerb.cs
- FormViewDeleteEventArgs.cs
- Font.cs
- Function.cs
- ExpressionPrinter.cs
- XmlILModule.cs
- DataGridViewRowPostPaintEventArgs.cs
- InvokeMethod.cs
- DbReferenceCollection.cs
- LinkedResourceCollection.cs
- DeflateEmulationStream.cs
- DataBindingCollection.cs
- QilNode.cs
- WorkflowOperationErrorHandler.cs
- LookupNode.cs
- CodeDomComponentSerializationService.cs
- ScrollBar.cs
- ReturnEventArgs.cs
- TransportContext.cs
- ColumnBinding.cs
- RequestQueue.cs
- NameValueSectionHandler.cs
- RichTextBox.cs
- BindableTemplateBuilder.cs
- Solver.cs
- Metafile.cs
- PageParser.cs
- StorageEntityContainerMapping.cs
- QilNode.cs
- DataMember.cs
- TypeConstant.cs
- XmlNamespaceManager.cs