예제 #1
0
 public static CallCoder AddCode(Coder coder, BuilderType builderType)
 {
     if (Builder.Current.IsUWP)
     {
         return(coder.Call(getTypeInfo, builderType.Import()).Call(getAssembly));
     }
     else
     {
         return(coder.Load(builderType).Call(getAssembly));
     }
 }
예제 #2
0
 public static CallCoder AddCode(Coder coder, ParametersCodeBlock parameter)
 {
     if (Builder.Current.IsUWP)
     {
         return(coder.Call(getTypeInfo, parameter).Call(getAssembly));
     }
     else
     {
         return(coder.Load(parameter).Call(getAssembly));
     }
 }