public Receive ( |
||
value | ||
Результат | void |
public void FileDropMonitorShouldOnlyUseUiElement() { var monitor = new FileDropMonitor(); monitor.Receive(new DependencyObject()); monitor.Dropped.Should().BeOfType<Subject<FileInfo>>(); ((Subject<FileInfo>)monitor.Dropped).HasObservers.Should().Be(false); }
public void FileDropMonitorShouldHandleNull() { var monitor = new FileDropMonitor(); monitor.Receive(null); }