C# Class RedBlueGames.NotNull.NotNullViolation

Not null violation represents data for objects that do not have their required (NotNull) fields assigned.
ファイルを表示 Open project: redbluegames/unity-notnullattribute

Public Methods

Method 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 method

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.
return System

ToString() public method

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