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