private StiffnessJsonConverter(StiffnessUnit unit) { this.unit = unit; }
/// <summary> /// Initializes a new instance of <see cref="Gu.Units.Wpf.StiffnessConverter"/>. /// </summary> /// <param name="unit"><see cref="Gu.Units.StiffnessUnit"/>.</param> public StiffnessConverter(StiffnessUnit unit) { Unit = unit; }
protected static string CreateSuffix(SymbolFormat format, StiffnessUnit unit) { return default(Stiffness).ToString(unit, format).Trim('0'); }