OpenAsync() public method

public OpenAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task
コード例 #1
0
 public Task<IMidiOutput> OpenOutputAsync(string portId)
 {
     var p = new RtMidiOutput ((RtMidiPortDetails) Outputs.First (i => i.Id == portId));
     return p.OpenAsync ().ContinueWith (t => (IMidiOutput) p);
 }
コード例 #2
0
        public Task <IMidiOutput> OpenOutputAsync(IMidiPortDetails port)
        {
            var p = new RtMidiOutput(port);

            return(p.OpenAsync().ContinueWith(t => (IMidiOutput)p));
        }
コード例 #3
0
        public Task <IMidiOutput> OpenOutputAsync(string portId)
        {
            var p = new RtMidiOutput((RtMidiPortDetails)Outputs.First(i => i.Id == portId));

            return(p.OpenAsync().ContinueWith(t => (IMidiOutput)p));
        }