Method ToTreeObject<TProps>(IRedbObject)
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()