C# 클래스 AutoCompare.Compilation.NullChecked

Only because it's cleaner than using Tuples
파일 보기 프로젝트 열기: StevenGilligan/AutoCompare 1 사용 예제들

공개 메소드들

메소드 설명
NullChecked ( Context ctx, Type propType ) : System

Wraps PropA and PropB from the context into ternary operators (ex : a == null ? (PropType)null : a.Prop)

메소드 상세

NullChecked() 공개 메소드

Wraps PropA and PropB from the context into ternary operators (ex : a == null ? (PropType)null : a.Prop)
public NullChecked ( Context ctx, Type propType ) : System
ctx Context
propType System.Type
리턴 System