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