public FunctionMockupMethodCSharpTemplate(ContractABI contractAbi)
 {
     _contractAbi      = contractAbi;
     _typeConvertor    = new ABITypeToCSharpType();
     _commonGenerators = new CommonGenerators();
     _parameterAbiFunctionDtocSharpTemplate = new ParameterABIFunctionDTOCSharpTemplate();
 }
 public FunctionServiceMethodCSharpTemplate(ServiceModel model)
 {
     _model            = model;
     _typeConvertor    = new ABITypeToCSharpType();
     _commonGenerators = new CommonGenerators();
     _parameterAbiFunctionDtocSharpTemplate = new ParameterABIFunctionDTOCSharpTemplate();
 }
 public FunctionServiceMethodFSharpTemplate(ServiceModel model)
 {
     _model            = model;
     _typeConvertor    = new ABITypeToFSharpType();
     _commonGenerators = new CommonGenerators();
 }
Esempio n. 4
0
 public FunctionABIModel(FunctionABI functionABI, ITypeConvertor abiTypeToDotnetTypeConvertor)
 {
     FunctionABI = functionABI;
     this._abiTypeToDotnetTypeConvertor = abiTypeToDotnetTypeConvertor;
 }
 public ParameterABIModelTypeMap(ITypeConvertor typeConvertor)
 {
     _typeConvertor = typeConvertor;
 }
Esempio n. 6
0
 public FunctionABIModel(FunctionABI functionABI, ITypeConvertor abiTypeToDotnetTypeConvertor, CodeGenLanguage codeGenLanguage)
 {
     FunctionABI     = functionABI;
     CodeGenLanguage = codeGenLanguage;
     this._abiTypeToDotnetTypeConvertor = abiTypeToDotnetTypeConvertor;
 }
Esempio n. 7
0
 public ParameterABIModelTypeMap(ITypeConvertor typeConvertor, CodeGenLanguage codeGenLanguage)
 {
     CodeGenLanguage = codeGenLanguage;
     _typeConvertor  = typeConvertor;
 }