Show / Hide Table of Contents

Class ApplicationInfoBase<TApplication>

Exposes the assembly information of a Windows application.

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

Windows application type for which to expose information.

Remarks

Initializes a new instance of the ApplicationInfoBase<TApplication> class.

Constructors

| Edit this page View Source

ApplicationInfoBase(Assembly, bool)

Initializes a new instance of the ApplicationInfoBase<TApplication> class.

Declaration
[RequiresAssemblyFiles]
[RequiresUnreferencedCode("The method dynamically loads resources from the assembly, so it is not compatible with trimming.")]
protected ApplicationInfoBase(Assembly assembly, bool inferIcon)
Parameters
Type Name Description
Assembly assembly

Assembly from which information will be displayed.

bool inferIcon

true to attempt to determine the assembly's icon, false to not display an icon.

| Edit this page View Source

ApplicationInfoBase(Assembly, Icon?)

Exposes the assembly information of a Windows application.

Declaration
[RequiresAssemblyFiles]
[RequiresUnreferencedCode("The method dynamically loads resources from the assembly, so it is not compatible with trimming.")]
protected ApplicationInfoBase(Assembly assembly, Icon? icon)
Parameters
Type Name Description
Assembly assembly

Assembly from which information will be displayed.

Icon icon

Icon to display from the assembly.

Remarks

Initializes a new instance of the ApplicationInfoBase<TApplication> class.

| Edit this page View Source

ApplicationInfoBase(TApplication)

Initializes a new instance of the ApplicationInfoBase<TApplication> class.

Declaration
[RequiresAssemblyFiles]
[RequiresUnreferencedCode("The method dynamically loads resources from the assembly, so it is not compatible with trimming.")]
protected ApplicationInfoBase(TApplication application)
Parameters
Type Name Description
TApplication application

Application whose information will be displayed.

| Edit this page View Source

ApplicationInfoBase(TApplication, bool)

Initializes a new instance of the ApplicationInfoBase<TApplication> class.

Declaration
[RequiresAssemblyFiles]
[RequiresUnreferencedCode("The method dynamically loads resources from the assembly, so it is not compatible with trimming.")]
protected ApplicationInfoBase(TApplication application, bool inferIcon)
Parameters
Type Name Description
TApplication application

Application whose information will be displayed.

bool inferIcon

true to attempt to determine the application's icon, false to not display an icon.

| Edit this page View Source

ApplicationInfoBase(TApplication, Icon?)

Initializes a new instance of the ApplicationInfoBase<TApplication> class.

Declaration
[RequiresAssemblyFiles]
[RequiresUnreferencedCode("The method dynamically loads resources from the assembly, so it is not compatible with trimming.")]
protected ApplicationInfoBase(TApplication application, Icon? icon)
Parameters
Type Name Description
TApplication application

Application whose information will be displayed.

Icon icon

Icon to display for the application.

Properties

| Edit this page View Source

Assembly

Gets a reference to the assembly from which information is exposed.

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

Authors

Gets the author(s) of the IExposeInfo.

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

Beta

Gets a value that indicates whether this IExposeExtendedInfo is considered a beta version.

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

ClsCompliant

Gets a value that indicates whether this IExposeInfo is CLS compliant.

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

Copyright

Gets the copyright of the IExposeInfo.

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

Description

Gets the description of the element.

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

Has3rdPartyLicense

Gets a value that indicates whether this IExposeInfo contains third‑party license information.

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

HasLicense

Gets a value that indicates whether this IExposeInfo contains license information.

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

Icon

Gets an optional icon that describes the element.

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

InformationalVersion

Gets the informational version of this IExposeInfo.

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

License

Gets the license of the IExposeInfo.

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

Name

Gets the name of the element.

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

ThirdPartyLicenses

Gets a collection of third‑party license contents for the object.

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

Unmanaged

Gets a value that indicates whether this IExposeExtendedInfo may contain unsafe code.

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

Version

Gets the version of the IExposeInfo.

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

Methods

| Edit this page View Source

GetIconFromOS(Assembly)

Retrieves the icon provided by Windows for the specified assembly.

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

Assembly for which to retrieve the icon.

Returns
Type Description
Icon

An instance of Icon containing the icon provided by the operating system for the assembly, or null if the OS did not provide a valid icon.

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