private static string ToConciseString(IAttributesUpdate update) { if (update.ChangeSize() == 0) { return "{}"; } var b = new StringBuilder(); b.Append("{ "); for (int i = 0; i < update.ChangeSize(); ++i) { if (i > 0) { b.Append(", "); } b.Append(update.GetChangeKey(i)); b.Append(": "); b.Append(LiteralString(update.GetOldValue(i))); b.Append(" -> "); b.Append(LiteralString(update.GetNewValue(i))); } b.Append(" }"); return b.ToString(); }
public void UpdateAttributes(IAttributesUpdate attributesUpdate) { throw new System.NotImplementedException(); }
public UpdateAttributes(IAttributesUpdate attributesUpdate) { _attributesUpdate = attributesUpdate; }
public void UpdateAttributes(IAttributesUpdate attributesUpdate) { throw new NotSupportedException("UpdateAttributes"); }
public void UpdateAttributes(IAttributesUpdate attributesUpdate) { _sb.Append("u@ " + ToConciseString(attributesUpdate) + "; "); }
public override void UpdateAttributes(IAttributesUpdate attributesUpdate) { throw new NotImplementedException(); }
public UpdateAttributesPostTarget(IAttributesUpdate attributesUpdate) { throw new NotImplementedException(); }
public abstract void UpdateAttributes(IAttributesUpdate attributesUpdate);
public override void UpdateAttributes(IAttributesUpdate attributesUpdate) { throw new ComposeException("Illegal composition"); }
public override void UpdateAttributes(IAttributesUpdate attributesUpdate) { _target = new UpdateAttributesPostTarget(attributesUpdate); }