public CodeRef(Code code, params CodeRef[] children) : this(code) { Contract.AssertNotNull(children, "children"); AddChildren(children); }
public CodeRef(Code code) { Contract.AssertNotNull(code, "code"); CodeId = code.Id; CodeListRef = new CodeListRef(code.CodeList, null); }
public CodeRef(Code code, Func<IEnumerable<Code>> funcCodeRef) : this(code) { Contract.AssertNotNull(funcCodeRef, "funcCodeRef"); var list = CreateList(funcCodeRef()); AddChildren(list); }
public CodeRef(Code code, IEnumerable<Code> children) : this(code) { Contract.AssertNotNull(children, "children"); var list = CreateList(children); AddChildren(list); }