C# 클래스 WinLib.IO.Xml

파일 보기 프로젝트 열기: SortByte/Network-Manager

공개 메소드들

메소드 설명
CheckIfNull ( Type type, object targetObj, object defaultObj ) : object

Recursively checks each object's fields if they are null, and if they are, it assigns to them a value form the dafault object

메소드 상세

CheckIfNull() 공개 정적인 메소드

Recursively checks each object's fields if they are null, and if they are, it assigns to them a value form the dafault object
public static CheckIfNull ( Type type, object targetObj, object defaultObj ) : object
type System.Type Object type
targetObj object Target object to check
defaultObj object Default object from which to extract the default values (must be of the same type as the target)
리턴 object