public object Read(IInputData input, Stream stream) { object postObject = UseConstructor ? ObjectUtil.CreateObjectWithCtor(fObjectType) : ObjectUtil.CreateObject(fObjectType); postObject.ReadFromStream("Json", ModelName, stream, ObjectUtil.ReadSettings, QName.ToolkitNoNS); return(postObject); }
public virtual object CreateEmptyData() { return(ObjectUtil.CreateObjectWithCtor(typeof(T))); }