public CoreDataPropertiesDto GetDto() { var dto = new CoreDataPropertiesDto( view.NumberOfArguments, view.NumberOfFunctions, view.ArgumentsType, view.FunctionsType, view.ArithmeticType); return dto; }
public FullDataPropertiesDto(CoreDataPropertiesDto coreDto) { NumberOfArguments = coreDto.NumberOfArguments; NumberOfFunctions = coreDto.NumberOfFunctions; ArgumentsType = coreDto.ArgumentsType; FunctionsType = coreDto.FunctionsType; ArithmeticType = coreDto.ArithmeticType; }
private void LoadDto(CoreDataPropertiesDto dto) { view.NumberOfArguments = dto.NumberOfArguments; view.NumberOfFunctions = dto.NumberOfFunctions; view.ArgumentsType = dto.ArgumentsType; view.FunctionsType = dto.FunctionsType; view.ArithmeticType = dto.ArithmeticType; }
public DataPropertiesPresenter(IDataPropertiesView view, CoreDataPropertiesDto dtoToLoad) { this.view = view; this.dtoToLoad = dtoToLoad; }
private void LoadFile(string filePath, CoreDataPropertiesDto coreDataPropertiesDto) { var fullDataPropertiesDto = new FullDataPropertiesDto(coreDataPropertiesDto); LoadFile(filePath, fullDataPropertiesDto); }
public CoreDataPropertiesDto GetCoreDto() { var dto = new CoreDataPropertiesDto( NumberOfArguments, NumberOfFunctions, ArgumentsType, FunctionsType, ArithmeticType); return dto; }