/// <summary> /// 表示テキストへの変換 /// </summary> /// <returns>表示テキスト</returns> public override string ToString() { if (OnGetViewText == null) { return(value.ToString()); } else { return(OnGetViewText(this.value)); } }
public override string ToString() { var sb = new StringBuilder(); var accessor = default(TArrayAccessor); var dim = accessor.Length; var p = Point; for (var i = 0; i < dim; i++) { sb.Append(accessor.At(ref p, i).ToString() + "\t"); } sb.Append(Value?.ToString() ?? "null"); return(sb.ToString()); }
public override string Peek() { string temp = null; if (arrayA != null) { SortCars test_obj = arrayA[0] as SortCars; if (test_obj != null) { temp = "\n[\n "; test_obj = TValue as SortCars; temp = test_obj.Print() + "\n"; return(temp); } } return(TValue.ToString()); }
public IIconOption Convert(TValue?value) => new SelectOption(value?.ToString(), value, null); // TODO: Replace "SelectOption" with something generic
public override string ToString() { return(key.ToString() + "," + value.ToString()); }
/// <inheritdoc/> public override string ToString() { return(value == null ? string.Empty : value.ToString()); }
public override string ToString() { return(BitConverter.ToString(_key).Replace("-", "").ToLower() + ": " + _value.ToString()); }
public override string ToString() { return("const " + val.ToString()); }
public override string ToString() { return(Key.ToString() + " " + Value.ToString()); }
internal string ToString(int count) { return((right != null ? right.ToString(count + 4) : new string(' ', count + 4) + "+ null") + "\n" + new string(' ', count) + (isLeft ? "L" : "R") + " \"" + key.ToString() + "\" : \"" + value.ToString() + "\" (" + balance + " | L" + _depthL + "R" + _depthR + ") \n" + (left != null ? left.ToString(count + 4) : new string(' ', count + 4) + "+ null")); }
public override string ToString() => Key.ToString() + "," + _value?.ToString() ?? "";
protected override string?FormatValueAsString(TValue?value) { return(value?.ToString()); }