Exemplo n.º 1
0
 public static Acceleration2D WithAcceleration(this Velocity2D velocity)
 {
     return(new Acceleration2D(velocity));
 }
Exemplo n.º 2
0
 public Acceleration2D(Velocity2D velocity)
 {
     this.Velocity = velocity ?? throw new ArgumentException(nameof(velocity));
 }