コード例 #1
0
		public CoreDataPropertiesDto GetDto()
		{
			var dto = new CoreDataPropertiesDto(
				view.NumberOfArguments, view.NumberOfFunctions,
				view.ArgumentsType, view.FunctionsType, view.ArithmeticType);
			return dto;
		}
コード例 #2
0
		public FullDataPropertiesDto(CoreDataPropertiesDto coreDto)
		{
			NumberOfArguments = coreDto.NumberOfArguments;
			NumberOfFunctions = coreDto.NumberOfFunctions;
			ArgumentsType = coreDto.ArgumentsType;
			FunctionsType = coreDto.FunctionsType;
			ArithmeticType = coreDto.ArithmeticType;
		}
コード例 #3
0
		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;
		}
コード例 #4
0
		public DataPropertiesPresenter(IDataPropertiesView view, CoreDataPropertiesDto dtoToLoad)
		{
			this.view = view;
			this.dtoToLoad = dtoToLoad;
		}
コード例 #5
0
		private void LoadFile(string filePath, CoreDataPropertiesDto coreDataPropertiesDto)
		{
			var fullDataPropertiesDto = new FullDataPropertiesDto(coreDataPropertiesDto);
			LoadFile(filePath, fullDataPropertiesDto);
		}
コード例 #6
0
		public CoreDataPropertiesDto GetCoreDto()
		{
			var dto = new CoreDataPropertiesDto(
				NumberOfArguments, NumberOfFunctions,
				ArgumentsType, FunctionsType, ArithmeticType);
			return dto;
		}