示例#1
0
文件: Context.cs 项目: kersny/manos
        public override IPrepareWatcher CreatePrepareWatcher(Action cb)
        {
            var result = new PrepareWatcher(this, cb);

            prepares.Add(result);
            return(result);
        }
示例#2
0
文件: Context.cs 项目: kersny/manos
 internal void Remove(PrepareWatcher prepare)
 {
     prepares.Remove(prepare);
 }