コード例 #1
0
 /// <summary>
 /// Divides <paramref name="left"/> by <paramref name="right"/>
 /// </summary>
 /// <param name="left">The left value</param>
 /// <param name="right">The right value</param>
 /// <returns>The <see cref="Current"/> that is the result from the division.</returns>
 public static Current operator /(Energy left, MagneticFlux right)
 {
     return(Current.FromAmperes(left.joules / right.webers));
 }
コード例 #2
0
ファイル: Power.generated.cs プロジェクト: pockees/Gu.Units
 /// <summary>
 /// Divides <paramref name="left"/> by <paramref name="right"/>
 /// </summary>
 /// <param name="left">The left value</param>
 /// <param name="right">The right value</param>
 /// <returns>The <see cref="Current"/> that is the result from the division.</returns>
 public static Current operator /(Power left, Voltage right)
 {
     return(Current.FromAmperes(left.watts / right.volts));
 }