/// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="model"></param>
 /// <param name="bag"></param>
 public GenericUserInterfaceModelBuilder(TModel model, GenericUserInterfaceBag bag) : base(typeof(TModel), Tool.JsonConverter.Serialize(model), bag.Options)
 {
     Bag = bag;
 }
 /// <summary>
 /// Конструктор
 /// </summary>
 internal GenericUserInterfaceModelBuilder(GenerateGenericUserInterfaceModel model, GenericUserInterfaceBag bag) : base(model)
 {
     Bag = bag;
 }
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="opts"></param>
 /// <param name="bag"></param>
 public GenericUserInterfaceModelBuilder(GenericInterfaceOptions opts, GenericUserInterfaceBag bag) : base(typeof(TModel), null, opts)
 {
     Bag = bag;
 }
 /// <summary>
 /// Конструктор
 /// </summary>
 public GenericUserInterfaceModelBuilder(GenericUserInterfaceBag bag) : base(typeof(TModel))
 {
     Bag = bag;
 }