Struct RegisteredComponentInfo
- Namespace
- KeenEyes.Capabilities
- Assembly
- KeenEyes.Abstractions.dll
Contains metadata about a registered component type.
public readonly record struct RegisteredComponentInfo : IEquatable<RegisteredComponentInfo>
- Implements
- Inherited Members
Constructors
RegisteredComponentInfo(Type, string, int, bool)
Contains metadata about a registered component type.
public RegisteredComponentInfo(Type Type, string Name, int Size, bool IsTag)
Parameters
TypeTypeThe CLR type of the component.
NamestringThe name of the component type.
SizeintThe size of the component in bytes.
IsTagboolWhether this is a tag component (zero-size).
Properties
IsTag
Whether this is a tag component (zero-size).
public bool IsTag { get; init; }
Property Value
Name
The name of the component type.
public string Name { get; init; }
Property Value
Size
The size of the component in bytes.
public int Size { get; init; }
Property Value
Type
The CLR type of the component.
public Type Type { get; init; }