public void SetData(StatefulClassDto dto) { TheInt = dto.TheInt; TheString = dto.TheString; }
public void GetData(out StatefulClassDto dto) { dto = new StatefulClassDto { TheInt = TheInt, TheString = TheString }; }