Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultModelBuilder"/> class that can be used to construct a model for a data object.
 /// </summary>
 /// <param name="modelContainer"></param>
 public DefaultModelBuilder(ModelContainer modelContainer)
 {
     ModelContainer    = modelContainer;
     PrimitiveTypes    = new List <Type>();
     AvailableCommands = new List <INodeCommand>();
     ContentFactory    = new DefaultContentFactory();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultModelBuilder"/> class that can be used to construct a model for a data object.
 /// </summary>
 /// <param name="modelContainer"></param>
 public DefaultModelBuilder(ModelContainer modelContainer)
 {
     ModelContainer = modelContainer;
     PrimitiveTypes = new List<Type>();
     AvailableCommands = new List<INodeCommand>();
     ContentFactory = new DefaultContentFactory();
 }