示例#1
0
文件: Add.cs 项目: mainr/Soapbox_SNAP
        protected override void Run()
        {
            var driverItem = Context as IDriverSolutionItem;

            if (driverItem != null)
            {
                var factory = new UserStatusMonitor();
                driverItem.Driver = driverItem.Driver.NodeDeviceChildren.Append(factory.Build());
            }
        }
示例#2
0
 protected override void Run()
 {
     var driverItem = Context as IDriverSolutionItem;
     if (driverItem != null)
     {
         var factory = new UserStatusMonitor();
         driverItem.Driver = driverItem.Driver.NodeDeviceChildren.Append(factory.Build());
     }
 }