Exemplo n.º 1
0
            public PassFailCollectionMethodViewDataForAngular(PassFailObservationTypeSchema passFailObservationTypeSchema)
            {
                PropertiesToObserve = new List <SelectItemSimple>();
                var count = 1;

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