コード例 #1
0
    public RespPing Any(ReqPing request)
    {
        // Add a value to a global list here
        lock (myList) myList.Add(myData);

        RespPing response = new RespPing();

        return(response);
    }
コード例 #2
0
    public RespPing Any(ReqPing request)
    {
        // Add a value to a global list here
        GlobalState.AddData(myData);

        RespPing response = new RespPing();

        return(response);
    }