public static void WriteReturnStatement(this ISourceWriter writer, IGeneratedMethod method) { if (method.AsyncMode == AsyncMode.AsyncTask) { writer.WriteLine("return;"); } else { writer.WriteLine(returnCompletedTask); } }
public MethodFrameArranger(IGeneratedMethod method, IGeneratedType type) { _method = method; _type = type; }
public MethodFrameArranger(IGeneratedMethod method, IGeneratedType type, IServiceVariableSource services) : this(method, type) { _services = services; }
public UnResolvableVariableException(Type dependencyType, IGeneratedMethod method) { DependencyType = dependencyType; Method = method; }
public static void WriteReturnStatement(this ISourceWriter writer, IGeneratedMethod method, Variable variable) { writer.WriteLine(method.AsyncMode == AsyncMode.AsyncTask ? $"return {variable.Usage};" : returnFromResult.ToFormat(variable.Usage)); }
public DeepConstructorGuy(IWidget widget, IGeneratedMethod method, IVariableSource source) { }
public DeepConstructorGuy(IWidget widget, IGeneratedMethod method) { }