예제 #1
0
 public DerivedUnit(UnitTerms terms, string name = null, string symbol = null)
 {
     terms       = terms ?? new UnitTerms();
     name        = name ?? terms.Formula(true);
     symbol      = symbol ?? terms.Formula();
     this.terms  = terms;
     this.name   = name;
     this.symbol = symbol;
     definition  = name;
     uniqueId    = name;
 }