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
- UIPermission.cs
- XmlSchemaValidator.cs
- UniformGrid.cs
- listviewsubitemcollectioneditor.cs
- QueryResponse.cs
- sqlnorm.cs
- CompleteWizardStep.cs
- NameValueCollection.cs
- MLangCodePageEncoding.cs
- LinearGradientBrush.cs
- ResourceDisplayNameAttribute.cs
- IISUnsafeMethods.cs
- MethodImplAttribute.cs
- ToolStripButton.cs
- DataGridTextBoxColumn.cs
- XAMLParseException.cs
- ListBindableAttribute.cs
- SHA1CryptoServiceProvider.cs
- clipboard.cs
- XmlReflectionImporter.cs
- ElementNotEnabledException.cs
- DataPager.cs
- RoutedEventValueSerializer.cs
- InternalCache.cs
- ImageDrawing.cs
- HelloMessage11.cs
- OrthographicCamera.cs
- MethodRental.cs
- TransactionManager.cs
- SqlProviderServices.cs
- WithStatement.cs
- RequestCachePolicy.cs
- CircleHotSpot.cs
- OracleConnectionString.cs
- Stackframe.cs
- InternalResources.cs
- ParsedAttributeCollection.cs
- ConditionalExpression.cs
- BuildResult.cs
- TextServicesLoader.cs
- ImageListDesigner.cs
- IDispatchConstantAttribute.cs
- ItemsControl.cs
- SettingsPropertyValue.cs
- UseLicense.cs
- CodeValidator.cs
- WrapPanel.cs
- EndSelectCardRequest.cs
- SapiAttributeParser.cs
- ProviderConnectionPoint.cs
- ProtectedConfigurationSection.cs
- ArrangedElementCollection.cs
- QilVisitor.cs
- DataContractSerializerOperationBehavior.cs
- EventEntry.cs
- XomlCompilerResults.cs
- SafeFileHandle.cs
- TemplateBaseAction.cs
- CachedRequestParams.cs
- _SslState.cs
- QuaternionKeyFrameCollection.cs
- MutexSecurity.cs
- _NTAuthentication.cs
- EventLogTraceListener.cs
- FormViewInsertedEventArgs.cs
- XPathBuilder.cs
- FontStyleConverter.cs
- XmlMapping.cs
- ICspAsymmetricAlgorithm.cs
- AutoResizedEvent.cs
- IPipelineRuntime.cs
- FastPropertyAccessor.cs
- RefreshInfo.cs
- SqlCommand.cs
- HiddenFieldPageStatePersister.cs
- EditCommandColumn.cs
- PropertyValueChangedEvent.cs
- ApplicationFileParser.cs
- RegexCharClass.cs
- XmlQueryType.cs
- WebSysDisplayNameAttribute.cs
- BevelBitmapEffect.cs
- InvokeMemberBinder.cs
- EdmToObjectNamespaceMap.cs
- ServiceReflector.cs
- GlobalDataBindingHandler.cs
- _Events.cs
- XmlSchemaNotation.cs
- TypeHelpers.cs
- RootBrowserWindowAutomationPeer.cs
- TextSelection.cs
- Predicate.cs
- FixedBufferAttribute.cs
- XmlAttributeCollection.cs
- Win32.cs
- ImmutableAssemblyCacheEntry.cs
- BufferAllocator.cs
- SimpleBitVector32.cs
- validationstate.cs
- XslVisitor.cs