Exemple #1
0
 public static PlanUser RandomCreate()
 {
     return(new PlanUser()
     {
         Plan = FactoryPlan.RandomCreate(),
         User = FactoryUser.RandomCreate()
     });
 }
Exemple #2
0
 public static Scene RandomCreate()
 {
     return(new Scene()
     {
         SceneId = Guid.NewGuid(),
         Name = nameof(Scene.Name),
         Description = nameof(Scene.Description),
         ModifyDate = DateTime.Now,
         SceneType = FactorySceneType.RandomCreate(),
         Plan = FactoryPlan.RandomCreate()
     });
 }