View on GitHub
Clean Architecture Toolkit for .NET
Clean Architecture Toolkit is a clean, modular architecture foundation for .NET applications.
It embraces SOLID principles and focuses on maintainability, testability, and scalability through clear boundaries and pluggable design.

|   HOME   |   MODULE OVERVIEW   |   DEMO   |   CAT.EXTENSIONS   |

Code Reference

» Cat.Object.Extensions Assembly » System.Diagnostics.CodeAnalysis Namespace » MemberNotNullWhenAttribute Class

MemberNotNullWhenAttribute Constructors

Overloads  
MemberNotNullWhenAttribute(bool, string) Initializes the attribute with the specified return value condition and a field or property member.
MemberNotNullWhenAttribute(bool, string[]) Initializes the attribute with the specified return value condition and list of field and property members.

MemberNotNullWhenAttribute(bool, string) Constructor

Initializes the attribute with the specified return value condition and a field or property member.

public MemberNotNullWhenAttribute(bool returnValue, string member);

Parameters

returnValue System.Boolean

The return value condition. If the method returns this value, the associated parameter will not be null.

member System.String

The field or property member that is promised to be not-null.

MemberNotNullWhenAttribute(bool, string[]) Constructor

Initializes the attribute with the specified return value condition and list of field and property members.

public MemberNotNullWhenAttribute(bool returnValue, params string[] members);

Parameters

returnValue System.Boolean

The return value condition. If the method returns this value, the associated parameter will not be null.

members System.String[]

The list of field and property members that are promised to be not-null.