static GridVm() { var finder = new FakeFinder(FindOfFakeFinder, CheckOfFakeFinder); VmLinkVm.RegisterFindFakeSourceVm(finder); }
/// <summary> /// 注册可以类似SourceVm查找的委托 /// </summary> /// <param name="finder"></param> internal static void RegisterFindFakeSourceVm(FakeFinder finder) { finders.Add(finder); }
static NodeContainerVm() { var finder = new FakeFinder(FindOfFakeFinder, CheckOfFakeFinder); VmLinkVm.RegisterFindFakeSourceVm(finder); }