コード例 #1
0
        void DisplayPortInputStreamChangeEvent(EndpointInputStream inputStream, EndpointInputStreamEventArgs args)
        {
            Debug.Console(2, "{0} event {1} stream {2}", Tx.ToString(), inputStream.ToString(), args.EventId.ToString());

            switch (args.EventId)
            {
            case EndpointInputStreamEventIds.SyncDetectedFeedbackEventId:
                DisplayPortVideoSyncFeedback.FireUpdate();
                break;
            }
        }
コード例 #2
0
        void InputStreamChangeEvent(EndpointInputStream inputStream, EndpointInputStreamEventArgs args)
        {
            Debug.Console(2, "{0} event {1} stream {2}", Tx.ToString(), inputStream.ToString(), args.EventId.ToString());

            switch (args.EventId)
            {
            case EndpointInputStreamEventIds.HdcpSupportOffFeedbackEventId:
                HdmiInHdcpCapabilityFeedback.FireUpdate();
                break;

            case EndpointInputStreamEventIds.HdcpSupportOnFeedbackEventId:
                HdmiInHdcpCapabilityFeedback.FireUpdate();
                break;

            case EndpointInputStreamEventIds.SyncDetectedFeedbackEventId:
                HdmiVideoSyncFeedback.FireUpdate();
                break;
            }
        }
コード例 #3
0
 public void AddTransaction(Transaction Transaction)
 {
     Transactions.Add(Transaction);
     StringifiedTransactions = Transactions.Map(Tx => Tx.ToString()).Reduce(R.Concat, "");
 }
コード例 #4
0
ファイル: Tile.cs プロジェクト: Alan-Baylis/SpaceW
 public override string ToString()
 {
     return(Level.ToString() + "," + Tx.ToString() + "," + Ty.ToString());
 }