コード例 #1
0
 public static ActivityDTO TestActivityDTO1()
 {
     return(new ActivityDTO()
     {
         ActivityTemplate = FixtureData.TestActivityTemplateDTO1(),
     });
 }
コード例 #2
0
        public static ActivityDTO TestActivityDTO2()
        {
            ActivityDTO curActionDTO = new ActivityDTO()
            {
                ActivityTemplate = FixtureData.TestActivityTemplateDTO1(),
            };

            using (var crateStorage = ObjectFactory.GetInstance <ICrateManager>().GetUpdatableStorage(curActionDTO))
            {
                crateStorage.Add(CreateStandardConfigurationControls());
            }

            return(curActionDTO);
        }