Show / Hide Table of Contents

Class ApplicationInfoBase<TApplication>

Expone la información de ensamblado de una aplicación de Windows.

Inheritance
object
ApplicationInfoBase<TApplication>
Implements
IExposeExtendedGuiInfo<Icon>
IExposeGuiInfo<Icon>
IExposeExtendedInfo
IExposeInfo
INameable
IDescriptible
IExposeAssembly
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TheXDS.MCART.Component
Assembly: MCART.Windows.dll
Syntax
public abstract class ApplicationInfoBase<TApplication> : IExposeExtendedGuiInfo<Icon?>, IExposeGuiInfo<Icon?>, IExposeExtendedInfo, IExposeInfo, INameable, IDescriptible, IExposeAssembly where TApplication : notnull
Type Parameters
Name Description
TApplication

Tipo de aplicación de Windows para el cual exponer información.

Remarks

Inicializa una nueva instancia de la clase ApplicationInfoBase<TApplication>.

Constructors

| Edit this page View Source

ApplicationInfoBase(Assembly, bool)

Inicializa una nueva instancia de la clase ApplicationInfoBase<TApplication>.

Declaration
protected ApplicationInfoBase(Assembly assembly, bool inferIcon)
Parameters
Type Name Description
Assembly assembly

Ensamblado del cual se mostrará la información.

bool inferIcon

true para intentar determinar el ícono del ensamblado, false para no mostrar un ícono.

| Edit this page View Source

ApplicationInfoBase(Assembly, Icon?)

Expone la información de ensamblado de una aplicación de Windows.

Declaration
protected ApplicationInfoBase(Assembly assembly, Icon? icon)
Parameters
Type Name Description
Assembly assembly

Ensamblado del cual se mostrará la información.

Icon icon

Ícono a mostrar del ensamblado.

Remarks

Inicializa una nueva instancia de la clase ApplicationInfoBase<TApplication>.

| Edit this page View Source

ApplicationInfoBase(TApplication)

Inicializa una nueva instancia de la clase ApplicationInfoBase<TApplication>.

Declaration
protected ApplicationInfoBase(TApplication application)
Parameters
Type Name Description
TApplication application

Aplicación de la cual se mostrará la información.

| Edit this page View Source

ApplicationInfoBase(TApplication, bool)

Inicializa una nueva instancia de la clase ApplicationInfoBase<TApplication>.

Declaration
protected ApplicationInfoBase(TApplication application, bool inferIcon)
Parameters
Type Name Description
TApplication application

Aplicación de la cual se mostrará la información.

bool inferIcon

true para intentar determinar el ícono de la aplicación, false para no mostrar un ícono.

| Edit this page View Source

ApplicationInfoBase(TApplication, Icon?)

Inicializa una nueva instancia de la clase ApplicationInfoBase<TApplication>.

Declaration
protected ApplicationInfoBase(TApplication application, Icon? icon)
Parameters
Type Name Description
TApplication application

Aplicación de la cual se mostrará la información.

Icon icon

Ícono a mostrar de la aplicación.

Properties

| Edit this page View Source

Assembly

Referencia al ensamblado del cual se expone la información.

Declaration
public Assembly Assembly { get; }
Property Value
Type Description
Assembly
| Edit this page View Source

Authors

Devuelve el autor del IExposeInfo

Declaration
public IEnumerable<string>? Authors { get; }
Property Value
Type Description
IEnumerable<string>
| Edit this page View Source

Beta

Obtiene un valor que indica si este IExposeExtendedInfo es considerado una versión beta.

Declaration
public bool Beta { get; }
Property Value
Type Description
bool
| Edit this page View Source

ClsCompliant

Obtiene un valor que indica si este IExposeInfo cumple con el Common Language Standard (CLS)

Declaration
public bool ClsCompliant { get; }
Property Value
Type Description
bool
| Edit this page View Source

Copyright

Devuelve el Copyright del IExposeInfo

Declaration
public string? Copyright { get; }
Property Value
Type Description
string
| Edit this page View Source

Description

Obtiene la descripción del elemento.

Declaration
public string Description { get; }
Property Value
Type Description
string
| Edit this page View Source

Has3rdPartyLicense

Obtiene un valor que indica si este IExposeInfo contiene información de licencias de terceros.

Declaration
public bool Has3rdPartyLicense { get; }
Property Value
Type Description
bool
| Edit this page View Source

HasLicense

Obtiene un valor que determina si este IExposeInfo contiene información de licencia.

Declaration
public bool HasLicense { get; }
Property Value
Type Description
bool
| Edit this page View Source

Icon

Obtiene un ícono opcional a mostrar que describe al elemento.

Declaration
public virtual Icon? Icon { get; }
Property Value
Type Description
Icon
| Edit this page View Source

InformationalVersion

Obtiene la versión informacional de este IExposeInfo.

Declaration
public string? InformationalVersion { get; }
Property Value
Type Description
string
| Edit this page View Source

License

Devuelve la licencia del IExposeInfo

Declaration
public License? License { get; }
Property Value
Type Description
License
| Edit this page View Source

Name

Obtiene el nombre del elemento.

Declaration
public string Name { get; }
Property Value
Type Description
string
| Edit this page View Source

ThirdPartyLicenses

Obtiene una colección con el contenido de licencias de terceros para el objeto.

Declaration
public IEnumerable<License>? ThirdPartyLicenses { get; }
Property Value
Type Description
IEnumerable<License>
| Edit this page View Source

Unmanaged

Obtiene un valor que indica si este IExposeExtendedInfo podría contener código utilizado en contexto inseguro.

Declaration
public bool Unmanaged { get; }
Property Value
Type Description
bool
| Edit this page View Source

Version

Devuelve la versión del IExposeInfo

Declaration
public Version? Version { get; }
Property Value
Type Description
Version

Methods

| Edit this page View Source

GetIconFromOS(Assembly)

Obtiene el ícono provisto por Windows para el ensamblado especificado.

Declaration
protected static Icon? GetIconFromOS(Assembly asm)
Parameters
Type Name Description
Assembly asm

Ensamblado para el cual obtener el ícono.

Returns
Type Description
Icon

Una instancia de la clase Icon que contiene al ícono provisto por el sistema operativo para el ensamblado, o null si el sistema operativo no ha provisto de un ícono válido.

Implements

IExposeExtendedGuiInfo<TIcon>
IExposeGuiInfo<TIcon>
IExposeExtendedInfo
IExposeInfo
INameable
IDescriptible
IExposeAssembly

Extension Methods

Objects.ShallowCopyTo(object, object, Type)
ObjectExtensions.FieldsOf<T>(object)
ObjectExtensions.GetAttribute<T>(object)
ObjectExtensions.GetAttributes<T>(object)
ObjectExtensions.HasAttrValue<TAttribute, TValue>(object, out TValue)
ObjectExtensions.HasAttribute<T>(object)
ObjectExtensions.HasAttribute<T>(object, out T?)
ObjectExtensions.HasAttributes<T>(object, out IEnumerable<T>?)
ObjectExtensions.Is(object?, object?)
ObjectExtensions.IsEither(object, IEnumerable)
ObjectExtensions.IsEither(object, params object[])
ObjectExtensions.IsNeither(object, IEnumerable)
ObjectExtensions.IsNeither(object, params object[])
ObjectExtensions.IsNot(object?, object?)
ObjectExtensions.PropertiesOf<T>(object)
ObjectExtensions.WhichAre(object, IEnumerable<object>)
ObjectExtensions.WhichAre(object, params object[])
Common.IfNotNull<T>(T?, Action<T>)
Objects.Itself<T>(T)
Objects.ShallowCopyTo<T>(T, T)
CollectionExtensions.PushInto<TItem, TCollection>(TItem, ICollection<TCollection>)
DictionaryExtensions.PushInto<TKey, TValue>(TValue, TKey, IDictionary<TKey, TValue>)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX