GetInputValidated() static private method

static private GetInputValidated ( Playable playable, int inputPort, Type typeofPlayable ) : Playable
playable Playable
inputPort int
typeofPlayable System.Type
return Playable
示例#1
0
 public Playable GetInput(int inputPort)
 {
     return(Playables.GetInputValidated(this, inputPort, base.GetType()));
 }
示例#2
0
 public unsafe Playable GetInput(int inputPort) =>
 Playables.GetInputValidated(*((Playable *)this), inputPort, base.GetType());
示例#3
0
 /// <summary>
 /// <para>Returns the Playable connected at the specified index.</para>
 /// </summary>
 /// <param name="inputPort">Index of the input.</param>
 /// <returns>
 /// <para>Playable connected at the index specified, or null if the index is valid but is not connected to anything. This happens if there was once a Playable connected at the index, but was disconnected.</para>
 /// </returns>
 public Playable GetInput(int inputPort) =>
 Playables.GetInputValidated((Playable)this, inputPort, base.GetType());