public IChannelCapability Detect() { var isEmulator = channel?.ChannelId?.Equals("emulator", StringComparison.OrdinalIgnoreCase); var capability = new ChannelCapability(!(isEmulator.HasValue && isEmulator.Value)); return(capability); }
public IChannelCapability Detect() { var isEmulator = ConnectorClientFactory.IsEmulator(this.address); var capability = new ChannelCapability(supportButtons: !isEmulator); return(capability); }
public IChannelCapability Detect() { var isEmulator = channel?.ChannelId?.Equals("emulator", StringComparison.OrdinalIgnoreCase); var capability = new ChannelCapability(!(isEmulator.HasValue && isEmulator.Value)); return capability; }