コード例 #1
0
 public FunctionMockupMethodCSharpTemplate(ContractABI contractAbi)
 {
     _contractAbi      = contractAbi;
     _typeConvertor    = new ABITypeToCSharpType();
     _commonGenerators = new CommonGenerators();
     _parameterAbiFunctionDtocSharpTemplate = new ParameterABIFunctionDTOCSharpTemplate();
 }
コード例 #2
0
 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();
 }
コード例 #4
0
ファイル: FunctionABIModel.cs プロジェクト: vhnatyk/Nethereum
 public FunctionABIModel(FunctionABI functionABI, ITypeConvertor abiTypeToDotnetTypeConvertor)
 {
     FunctionABI = functionABI;
     this._abiTypeToDotnetTypeConvertor = abiTypeToDotnetTypeConvertor;
 }
コード例 #5
0
 public ParameterABIModelTypeMap(ITypeConvertor typeConvertor)
 {
     _typeConvertor = typeConvertor;
 }
コード例 #6
0
 public FunctionABIModel(FunctionABI functionABI, ITypeConvertor abiTypeToDotnetTypeConvertor, CodeGenLanguage codeGenLanguage)
 {
     FunctionABI     = functionABI;
     CodeGenLanguage = codeGenLanguage;
     this._abiTypeToDotnetTypeConvertor = abiTypeToDotnetTypeConvertor;
 }
コード例 #7
0
 public ParameterABIModelTypeMap(ITypeConvertor typeConvertor, CodeGenLanguage codeGenLanguage)
 {
     CodeGenLanguage = codeGenLanguage;
     _typeConvertor  = typeConvertor;
 }