internal void LoadByHydration(StreamContext inputSource, object instance) { var copyFrom = Load(inputSource, instance.GetType()); Template.Copy(copyFrom, instance); }
protected virtual IEnumerable <PropertyInfo> GetTemplateProperties(object obj) { return(Template.GetProperties(obj)); }