GH_AssemblyInfoStub

GH_AssemblyInfo
public sealed class GH_AssemblyInfoStub : GH_AssemblyInfo
Provides basic properties for a GHA assembly that does not expose a type that derives from GH_AssemblyInfo. This type is created automatically when a GH_AssemblyInfo type is not found in an assembly.

Constructors

GH_AssemblyInfoStub

#
public GH_AssemblyInfoStub(Assembly assembly)
assembly (Assembly)

Properties

Assembly

public Assembly Assembly { get; }
Gets the actual assembly that this info object describes.
inherited fromGH_AssemblyInfo

AssemblyDescription

#
public override string AssemblyDescription { get; }

AssemblyIcon

#
public override Bitmap AssemblyIcon { get; }

AssemblyLicense

[EditorBrowsable(EditorBrowsableState.Never)] public virtual GH_LibraryLicense AssemblyLicense { get; }
inherited fromGH_AssemblyInfo

AssemblyName

#
public override string AssemblyName { get; }

AssemblyVersion

#
public override string AssemblyVersion { get; }

AuthorContact

#
public override string AuthorContact { get; }

AuthorName

#
public override string AuthorName { get; }

Description

public virtual string Description { get; }
Gets the human readable description of this assembly. Return null if you do not wish to associate a description with this assembly.
inherited fromGH_AssemblyInfo

Icon

public virtual Bitmap Icon { get; }
Gets a 24x24 icon that represents this assembly. Return null if you do not wish to associate an icon with this assembly.
inherited fromGH_AssemblyInfo

Id

#
public override Guid Id { get; }

IsCoreLibrary

public bool IsCoreLibrary { get; }
Gets whether this library is a Grasshopper core library. Core libraries are installed along with Grasshopper and thus should always be available anywhere.
inherited fromGH_AssemblyInfo

License

public virtual GH_LibraryLicense License { get; }
Gets the license type for this assembly.
inherited fromGH_AssemblyInfo

LoadingMechanism

public GH_LoadingMechanism LoadingMechanism { get; }
Gets the mechanism used to load this assembly.
inherited fromGH_AssemblyInfo

Location

public string Location { get; }
Gets the location this assembly was loaded from.
inherited fromGH_AssemblyInfo

Name

public virtual string Name { get; }
Gets the human readable name of this assembly. Return null if you do not wish to associate a name with this assembly.
inherited fromGH_AssemblyInfo

Version

public virtual string Version { get; }
Gets the version code for this assembly.
inherited fromGH_AssemblyInfo