/// <summary> /// Fetches constructor arguments from a <see cref="NewExpression"/>. /// </summary> /// <param name="newExpression">The <see cref="NewExpression"/> used typically to create an actor.</param> /// <returns>The constructor type and arguments</returns> public static object[] GetArguments(this NewExpression newExpression) { return(newExpression.ParseExpressionArgs()); }