Skip to main content
Version: 1.0.0

Class ArchetypeExtensions

Namespace: ReadyM.SDK.Archetypes
Assembly: ReadyM.SDK.dll

What a shape can do, for code that holds one as a type parameter.

public static class ArchetypeExtensions

Inheritance​

object ← ArchetypeExtensions

Inherited Members​

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Methods​

IsValid<T>(T)​

Whether the entity behind the shape is still in the world.

public static bool IsValid<T>(this T shape) where T : struct, IArchetypeQueryable

Parameters​

shape T

Returns​

bool

Type Parameters​

T