/// <summary> /// Casts an arbitrary value to a sequence of type <code>Object</code>. /// </summary> /// <param name="config">The for clause to which the step is added.</param> /// <returns></returns> public static IForClause <IEnumerable <object> > AsSeq(this IForClause config) { return(config.Attach(ProcessingStep.As <IEnumerable <object> >())); }
/// <summary> /// Casts the value from one type to another. /// </summary> /// <typeparam name="TOut">The type of the cast.</typeparam> /// <param name="config">The for clause to which the step is added.</param> /// <returns></returns> public static IForClause <TOut> As <TOut>(this IForClause config) { return(config.Attach(ProcessingStep.As <TOut>())); }