예제 #1
0
            public PassFailCollectionMethodViewDataForAngular(PassFailObservationTypeSchema passFailObservationTypeSchema)
            {
                PropertiesToObserve = new List <SelectItemSimple>();
                var count = 1;

                passFailObservationTypeSchema.PropertiesToObserve.ForEach(x =>
                {
                    PropertiesToObserve.Add(new SelectItemSimple(count, x));
                    count++;
                });
            }
예제 #2
0
 public ViewPassFailSchemaDetailViewData(PassFailObservationTypeSchema schema)
 {
     PassFailSchema = schema;
     PropertiesToObserveFormatted = string.Join(", ", schema.PropertiesToObserve.OrderBy(x => x));
 }