コード例 #1
0
ファイル: Node.cs プロジェクト: mikeblakeuk/MNP
        private void GetResultFromCache(IPAddress source, string tag)
        {
            if (source == null)
            {
                throw new ArgumentNullException("source");
            }

            if (String.IsNullOrEmpty(tag))
            {
                throw new ArgumentNullException("tag");
            }

            if (ResultCache.Contains(tag))
            {
                SendToNode(source, ClientResultMessageSerialiser.Serialise(ResultCache[tag]));
            }
        }