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
- QueueSurrogate.cs
- coordinatorfactory.cs
- ByeOperationAsyncResult.cs
- SymbolMethod.cs
- ListMarkerLine.cs
- IRCollection.cs
- _SSPIWrapper.cs
- sqlpipe.cs
- TimeZone.cs
- XmlSchemaDatatype.cs
- EntityCommand.cs
- SizeAnimationBase.cs
- XmlLinkedNode.cs
- StickyNoteAnnotations.cs
- StylusSystemGestureEventArgs.cs
- EmbossBitmapEffect.cs
- StringSorter.cs
- Vector3DCollection.cs
- ExpandCollapseProviderWrapper.cs
- MultiSelectRootGridEntry.cs
- DataGridViewHeaderCell.cs
- ResumeStoryboard.cs
- EventProxy.cs
- GACMembershipCondition.cs
- TdsParserSessionPool.cs
- StrokeNodeOperations2.cs
- MemberAccessException.cs
- Nullable.cs
- PackagingUtilities.cs
- XomlSerializationHelpers.cs
- VScrollBar.cs
- SafeEventHandle.cs
- DataControlPagerLinkButton.cs
- PropertyChangedEventManager.cs
- EntitySqlQueryCacheKey.cs
- VisualProxy.cs
- DataBindingExpressionBuilder.cs
- HandlerFactoryWrapper.cs
- FlowNode.cs
- GridProviderWrapper.cs
- ImmutableObjectAttribute.cs
- ApplicationSecurityManager.cs
- CachedCompositeFamily.cs
- InputProcessorProfilesLoader.cs
- EnumConverter.cs
- ProfilePropertyNameValidator.cs
- DependencyObject.cs
- EpmContentSerializer.cs
- ProxyWebPartConnectionCollection.cs
- Window.cs
- IconConverter.cs
- AppearanceEditorPart.cs
- ResXFileRef.cs
- ReadOnlyCollection.cs
- EntityCommandDefinition.cs
- XmlImplementation.cs
- WebResourceUtil.cs
- RegisteredArrayDeclaration.cs
- InheritanceContextChangedEventManager.cs
- X509Chain.cs
- StringDictionaryWithComparer.cs
- ISAPIApplicationHost.cs
- DataSourceControl.cs
- Baml2006SchemaContext.cs
- SqlUserDefinedAggregateAttribute.cs
- __ConsoleStream.cs
- ModelPropertyDescriptor.cs
- HttpListenerContext.cs
- DesignerAttributeInfo.cs
- NegatedCellConstant.cs
- DataGridRowHeader.cs
- AnimatedTypeHelpers.cs
- TableItemProviderWrapper.cs
- LineProperties.cs
- TransformedBitmap.cs
- AccessorTable.cs
- MatchAttribute.cs
- ArrayConverter.cs
- ResourceReferenceKeyNotFoundException.cs
- IndexedString.cs
- StandardTransformFactory.cs
- OracleException.cs
- HostingEnvironmentSection.cs
- WebScriptMetadataMessageEncodingBindingElement.cs
- XmlQueryContext.cs
- SchemaImporter.cs
- DotExpr.cs
- KeyConstraint.cs
- HeaderUtility.cs
- DataTableNewRowEvent.cs
- CacheDependency.cs
- UnsafeNativeMethods.cs
- DataGridCellAutomationPeer.cs
- StylusPointPropertyInfo.cs
- Visual3D.cs
- RowsCopiedEventArgs.cs
- GenericUriParser.cs
- CommandID.cs
- Type.cs
- MessageUtil.cs