public virtual void Load(TextReader reader, object instance) { if (reader == null) { throw new ArgumentNullException("reader"); } var copyFrom = Load(reader, instance.GetType()); Template.Copy(copyFrom, instance); }
internal void LoadByHydration(StreamContext inputSource, object instance) { var copyFrom = Load(inputSource, instance.GetType()); Template.Copy(copyFrom, instance); }