private void addUnderFromPosition(InstPositionWrapperVM instPositionWrapperVM)
        {
            StandardInstBaseViewModel stand = instPositionWrapperVM.InstBaseVM_ as StandardInstBaseViewModel;

            UnderlyingViewModel underlyingVM = stand.InstrumentViewModel_.getUnderlying();

            // inst에서 하던under 로 하던 나중에 결정하자으

            bool pickFlag = this.underlyingPickerViewModel_.pickUnderlying(underlyingVM);

            if (pickFlag)
            {
                GreekUnderlyingResultWrapperViewModel greekWrapperVM = new GreekUnderlyingResultWrapperViewModel(underlyingVM);
                this.greekWrapperVMList_.Add(greekWrapperVM);
            }
        }
 private void setVM()
 {
     this.viewModel_ = new UnderlyingViewModel();
     //this.viewModel_.setUnderlyingVM(this);
 }
Exemplo n.º 3
0
 public GreekUnderlyingResultWrapperViewModel(UnderlyingViewModel underlyingVM)
 {
     // TODO: Complete member initialization
     this.underlyingVM = underlyingVM;
 }
 public bool pickUnderlying(UnderlyingViewModel underlyingVM)
 {
     throw new NotImplementedException();
 }
 private void setVM()
 {
     this.viewModel_ = new UnderlyingViewModel();
     //this.viewModel_.setUnderlyingVM(this);
 }
 public GreekUnderlyingResultWrapperViewModel(UnderlyingViewModel underlyingVM)
 {
     // TODO: Complete member initialization
     this.underlyingVM = underlyingVM;
 }