コード例 #1
0
        private void HandleViewModelPropertyChanged(object sender, PropertyChangedEventArgs e)
        {
            switch (e.PropertyName)
            {
            case nameof(MainViewModel.ShowRuntimeControls):
                if (mainViewModel.ShowRuntimeControls)
                {
                    // regenerate code to show it

                    EmbeddedResourceLogic.SaveAllRfses();
                }

                break;
            }
        }
コード例 #2
0
 public TFilterResourceNameController(TelemetryScopedLogger logger, IMapper mapper, EmbeddedResourceLogic embeddedResourceLogic) : base(logger)
 {
     this.logger = logger;
     this.mapper = mapper;
     this.embeddedResourceLogic = embeddedResourceLogic;
 }