protected void SerializeChangeset(ChangesetInfoBase changesetInfo, IJsonWriter writer)
 {
     writer.Write(changesetInfo.Id, JsonNames.Id);
     writer.Write(changesetInfo.Username, JsonNames.Username);
     writer.Write(changesetInfo.Timestamp, JsonNames.Timestamp);
     writer.Write(changesetInfo.CalculationId, JsonNames.CalcualtionId);
 }
        public static String Render(this ChangesetInfoBase info)
        {
            var resolver = new Renderer_Resolver();

            info.Accept(resolver);
            return(resolver.Result);
        }
Exemplo n.º 3
0
 public CommentModel(IChangeInfoBase changeInfo, ChangesetInfoBase changesetInfo)
 {
     this.ChangeInfo    = changeInfo;
     this.ChangesetInfo = changesetInfo;
 }