/// <summary> /// Human readable /// </summary> /// <returns></returns> public override string ToString() { var Types = Kinds.Count() == 0 ? String.Empty : ":" + String.Join("|:", Kinds); var RangeLiteral = Range is null ? String.Empty : "*" + (Range.Item1.HasValue ? Range.Item1.Value.ToString() : String.Empty) + ".." + (Range.Item2.HasValue ? Range.Item2.Value.ToString() : String.Empty); return($"[{Alias}{Types}{RangeLiteral}]"); }
partial void AantalKinderen_Compute(ref int result) { // Set result to the desired field value result = Kinds.Count(); }