public Annotated(Annotated <T> a, IEnumerable <Annotation> tags) { m_value = a.Value; m_tags = a.Tags.Concat(tags.ToArray()); }
public Annotated(Annotated <T> a, string tagKey, object tagValue) { m_value = a.Value; m_tags = a.Tags.Concat(new[] { new Annotation(tagKey, tagValue) }); }
public static Annotated <T> Annotate <T>(this Annotated <T> self, IEnumerable <Annotation> tags) { return(new Annotated <T>(self, tags)); }
public Annotated(Annotated <T> a) { m_value = a.Value; m_tags = a.Tags.ToArray(); }
public static Annotated <T> Annotate <T>(this Annotated <T> self, string key, object value) { return(new Annotated <T>(self, key, value)); }