Method ToTreeObject<TProps>(IRedbObject)

Assembly: redb.Core.dll

Convert IRedbObject to TreeRedbObject (creates new instance with Props = new TProps if types don't match).

public static TreeRedbObject<TProps> ToTreeObject<TProps>(IRedbObject source) where TProps : class, new()