public object Transform(OptimusPrime operatoor, string value) { return Content.Select(x => operatoor.Tranform(x.Trim())); }
/// <summary> /// Tries to convert strings into their respected types. /// </summary> /// <param name="value">Value to convert into object</param> /// <param name="delimiter">Defaults to :: but can be overriden. Default is not a comma as, it will not work with an array of objects (comma separated properties)</param> /// <returns></returns> public static object FromString(string value, string delimiter = "::") { var transformer = new OptimusPrime(); return transformer.Tranform(value); }