예제 #1
0
 public object DeserializeState()
 {
     return(ServerStateSerializer.Deserialize(StateTypeName, SerializedState));
 }
예제 #2
0
 public void SerializeState(object state)
 {
     StateTypeName   = state.GetType().AssemblyQualifiedName;
     SerializedState = ServerStateSerializer.Serialize(state);
 }