Пример #1
0
 public static void SetDecor <T>(this Entity entity, string propertyName, T value) where T : struct => EntityDecor.Set(entity, propertyName, value);
Пример #2
0
 public static T GetDecor <T>(this Entity entity, string propertyName) where T : struct => EntityDecor.Get <T>(entity, propertyName);
Пример #3
0
 public static bool HasDecor(this Entity entity, string propertyName) => EntityDecor.Has(entity, propertyName);