Skip to content

Instantly share code, notes, and snippets.

@jsanjuan2016
Last active January 24, 2021 09:48
Show Gist options
  • Save jsanjuan2016/3267663518c8323057ece3fb479a33db to your computer and use it in GitHub Desktop.
Save jsanjuan2016/3267663518c8323057ece3fb479a33db to your computer and use it in GitHub Desktop.
private readonly IShape<Rectangle> _rectangle;
private readonly IShape<Circle> _circle;
public WindowManager(IShape<Rectangle> rectangle, IShape<Circle> circle)
{
this._rectangle = rectangle ?? throw new ArgumentNullException(nameof(rectangle));
this._circle = circle ?? throw new ArgumentNullException(nameof(circle));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment