public void LoadSchema(Assembly assembly) { if (assembly == null) { throw new ArgumentNullException("assembly"); } PropertyTreeSchema.FromAssembly(assembly); }
// TODO Allow schema context to limit schemas available to Reader public void LoadSchema(Uri source) { if (source == null) { throw new ArgumentNullException("source"); } PropertyTreeSchema.FromSource(source); }