コード例 #1
0
    public NativeMotionTransferGroup(INativeMotionInput input, INativeMotionTransferOutput output)
    {
      if (input == null)
        throw new ArgumentNullException("input");
      if (output == null)
        throw new ArgumentNullException("output");

      input.SetParent(this);
      Input = input;
      Output = output;
    }
コード例 #2
0
        public NativeMotionTransferGroup(INativeMotionInput input, INativeMotionTransferOutput output)
        {
            if (input == null)
            {
                throw new ArgumentNullException(nameof(input));
            }
            if (output == null)
            {
                throw new ArgumentNullException(nameof(output));
            }

            input.SetParent(this);
            Input  = input;
            Output = output;
        }