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; } }
public TFilterResourceNameController(TelemetryScopedLogger logger, IMapper mapper, EmbeddedResourceLogic embeddedResourceLogic) : base(logger) { this.logger = logger; this.mapper = mapper; this.embeddedResourceLogic = embeddedResourceLogic; }