Skip to content

BH.oM.Base.Attributes.InputFromDescription

Attribute to define an input parameter for a method or constructor, using the description of a member (Type, MemberInfo, ParameterInfo or Enum).

Class structure

Implemented interfaces and base types

The InputFromDescription is inheriting from the following base type(s) and implements the following interfaces:

Properties

Defining properties

The following properties are defined on the class

Name Type Description Quantity
InputName string Name of the method parameter this attribute corresponds to. -
Member object Member to grab the description from. Should be a Type, MemberInfo, ParameterInfo or Enum. -
Classification ClassificationAttribute Classification of the correspondent input parameter, e.g. folder path, quantity etc. -

Inherited properties

The following properties are inherited from the base class of the object

Name Type Description Quantity
TypeId object - -

Code and Schema

C# implementation

C#
public class InputFromDescription : System.Attribute, BH.oM.Base.IImmutable, BH.oM.Base.IObject

Assembly: BHoM.dll

The C# class definition is available on github:

All history and changes of the class can be found by inspection the history.