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);
 }
Ejemplo n.º 2
0
        public static String Render(this ChangesetInfoBase info)
        {
            var resolver = new Renderer_Resolver();

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