示例#1
0
 public static ToggleDto GetToggleDto1()
 {
     return(new ToggleDto
     {
         Id = "625c3b92-c94e-435a-84e5-66e02c346fb4",
         Name = "isButtonGreen",
         Version = "v1",
         Applications = new List <ApplicationDto>()
         {
             ApplicationFakeData.GetApplicationDtoXPTO()
         }
     });
 }
示例#2
0
 public static ToggleDto GetToggleDto2()
 {
     return(new ToggleDto
     {
         Id = "66e02c346fb4-c94e-435a-84e5--625c3b92",
         Name = "isButtonRed",
         Version = "v1",
         Applications = new List <ApplicationDto>()
         {
             ApplicationFakeData.GetApplicationDtoABC()
         }
     });
 }
示例#3
0
 public static Toggle GetToggle2()
 {
     return(new ToggleBuilder().WithId("66e02c346fb4-c94e-435a-84e5--625c3b92").WithName("isButtonRed-new")
            .AllowedForAllApplications(ApplicationFakeData.GetApplications()).Build());
 }