Skip to content

Instantly share code, notes, and snippets.

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