Пример #1
0
        public static FieldMismatch[] FindClientFieldMismatches <TServerData>(ResponseSpecification clientResponseSpecification)
        {
            var serverTree = ObjectTreeTraverser.Traverse <TServerData>();

            return(FindClientFieldMismatches(clientResponseSpecification.Fields, serverTree, "root").ToArray());
        }
Пример #2
0
 public string Serialize(ResponseSpecification specification)
 {
     return(string.Join(";", specification.Fields.Select(Serialize)));
 }