C# Класс WinLib.IO.Xml

Показать файл Открыть проект

Открытые методы

Метод Описание
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