public static SerializableStateElement ToSerialize <TState>(this TState state, bool isProperty = true) { return(StateReflection.Serialize(state, isProperty)); }
public static string ToJson <TState>(this TState state) { return(ToJson(StateReflection.Serialize(state))); }