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

NotNullWhenAttribute Class

Specifies that when a method returns ReturnValue, the parameter will not be null even if the corresponding type allows it.

internal sealed class NotNullWhenAttribute : System.Attribute

Inheritance System.Object → System.Attribute → NotNullWhenAttribute

Constructors  
NotNullWhenAttribute(bool) Initializes the attribute with the specified return value condition.
Properties  
ReturnValue Gets the return value condition. If the method returns this value, the associated parameter will not be null.