예제 #1
0
        public async Task <bool> AddNodeNotify(ILayer cur)
        {
            Console.WriteLine(await GetName() + "Received request of adding new node from Layer " + cur.GetPrimaryKeyLong());
            await PauseAllPrevNodes(cur);

            await cur.AddInNode();

            await ResumeAllPrevNodes(cur);

            return(true);
        }