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
- XamlStyleSerializer.cs
- StateDesigner.cs
- BitmapEffectGroup.cs
- StreamInfo.cs
- ContextItemManager.cs
- SoapReflectionImporter.cs
- XmlStringTable.cs
- SerializationInfoEnumerator.cs
- ZipIORawDataFileBlock.cs
- HexParser.cs
- CellPartitioner.cs
- MergeFailedEvent.cs
- XmlSerializerVersionAttribute.cs
- _AuthenticationState.cs
- ObjectDataSourceFilteringEventArgs.cs
- ManualResetEvent.cs
- CodeTypeDeclaration.cs
- DataGridViewCellStateChangedEventArgs.cs
- ResXDataNode.cs
- COM2Properties.cs
- StringReader.cs
- PeerNameRecord.cs
- CalendarDay.cs
- UrlMappingCollection.cs
- CroppedBitmap.cs
- SafePEFileHandle.cs
- SoundPlayer.cs
- Separator.cs
- BasePattern.cs
- GeometryModel3D.cs
- XmlNotation.cs
- GlobalItem.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- SEHException.cs
- FileNotFoundException.cs
- ClickablePoint.cs
- DataBoundLiteralControl.cs
- X509Certificate2Collection.cs
- ExtendedProtectionPolicy.cs
- Operator.cs
- GeneralTransform3DTo2D.cs
- PipeConnection.cs
- DelegateTypeInfo.cs
- SimpleHandlerFactory.cs
- MarshalByRefObject.cs
- ThreadNeutralSemaphore.cs
- ExtensionDataReader.cs
- WebPartTracker.cs
- DataGridViewElement.cs
- MasterPageCodeDomTreeGenerator.cs
- XmlDocumentFragment.cs
- DataGridViewSelectedCellCollection.cs
- ProcessInfo.cs
- RewritingSimplifier.cs
- EventLogPermissionEntry.cs
- ViewStateChangedEventArgs.cs
- XmlSequenceWriter.cs
- Label.cs
- MatrixStack.cs
- ByteAnimationBase.cs
- ChannelFactory.cs
- PageParserFilter.cs
- FigureHelper.cs
- QilExpression.cs
- InArgument.cs
- RenderingEventArgs.cs
- SystemIcmpV4Statistics.cs
- QueryAsyncResult.cs
- DataControlButton.cs
- FormViewInsertEventArgs.cs
- PrimitiveType.cs
- MobileErrorInfo.cs
- SmiTypedGetterSetter.cs
- _KerberosClient.cs
- RangeValuePattern.cs
- HttpCacheVary.cs
- LinkDesigner.cs
- GeneralTransform2DTo3DTo2D.cs
- ArrayExtension.cs
- XmlAttributeCollection.cs
- SerializerProvider.cs
- AlignmentXValidation.cs
- AutomationPeer.cs
- IsolatedStorageFileStream.cs
- HebrewNumber.cs
- XmlSchemaAnyAttribute.cs
- PointLightBase.cs
- WSTrust.cs
- EventDescriptorCollection.cs
- XsdBuilder.cs
- PropertyDescriptorCollection.cs
- WorkflowInlining.cs
- RadioButton.cs
- ContainerTracking.cs
- ControlEvent.cs
- UniqueIdentifierService.cs
- ConstructorArgumentAttribute.cs
- Encoding.cs
- BufferedGraphics.cs
- HtmlInputImage.cs