Skip to content

ArgumentGuards multiple versions #22

@visschersm

Description

@visschersm

There are and where different ways of doing this.
I want to support the previous versions as well.

// resolve parameter automatically with extension
foo.NotNull();

// resolve parameter automatically with method
ArgumentGuard.NotNull(foo);

// resolve manually with method
ArgumentGuard.NotNull(foo, nameof(foo));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions