C# Class RedBlueGames.NotNull.NotNullViolation

Not null violation represents data for objects that do not have their required (NotNull) fields assigned.
Afficher le fichier Open project: redbluegames/unity-notnullattribute

Méthodes publiques

Méthode Description
NotNullViolation ( FieldInfo fieldInfo, MonoBehaviour sourceMB ) : System

Initializes a new instance of the RedBlueGames.NotNull.NotNullViolation class.

ToString ( ) : string

Returns a System.String that represents the current RedBlueGames.NotNull.NotNullViolation.

Method Details

NotNullViolation() public méthode

Initializes a new instance of the RedBlueGames.NotNull.NotNullViolation class.
public NotNullViolation ( FieldInfo fieldInfo, MonoBehaviour sourceMB ) : System
fieldInfo System.Reflection.FieldInfo Field info that describes the NotNull field.
sourceMB UnityEngine.MonoBehaviour Source MonoBehavior that contains the field.
Résultat System

ToString() public méthode

Returns a System.String that represents the current RedBlueGames.NotNull.NotNullViolation.
public ToString ( ) : string
Résultat string