コード例 #1
0
        public IActionResult Index()
        {
            var viewModel = new IpAddressViewModel(_getIpAddressService.GetIpAddress(_accessor));

            return(View(viewModel));
        }
コード例 #2
0
 public MainWindowViewModel()
 {
     IpAddressViewModel1 = new IpAddressViewModel();
     IpAddressViewModel2 = new IpAddressViewModel();
 }