C# 클래스 RedBlueGames.NotNull.NotNullViolation

Not null violation represents data for objects that do not have their required (NotNull) fields assigned.
파일 보기 프로젝트 열기: redbluegames/unity-notnullattribute

공개 메소드들

메소드 설명
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.

메소드 상세

NotNullViolation() 공개 메소드

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.
리턴 System

ToString() 공개 메소드

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