public static TestCaseProxy Prompt(AreaProxy relatedArea)
        {
            TestCaseDialog inst = new TestCaseDialog(relatedArea);
            inst.ShowDialog();

            return testCase;
        }
Exemplo n.º 2
0
        public static AreaProxy AreaModelToProxy(Area model)
        {
            AreaProxy proxyObject = new AreaProxy();
            proxyObject.ID = model.ID;
            proxyObject.Title = model.Title;
            proxyObject.CreatedBy = model.CreatedBy;
            proxyObject.UpdatedBy = model.UpdatedBy;

            return proxyObject;
        }
Exemplo n.º 3
0
        public static Area AreaProxyToModel(AreaProxy proxy)
        {
            Area area = new Area();
            area.ID = proxy.ID;
            area.Title = proxy.Title;
            area.CreatedBy = proxy.CreatedBy;
            area.UpdatedBy = proxy.UpdatedBy;

            return area;
        }
 public TestCaseDialog(AreaProxy area)
     : this()
 {
     this.relatedArea = area;
     this.TestStepList.ItemsSource = this.stepDefinitionList;
 }