コード例 #1
0
 void Receive(UnInitializeComponentMessage message)
 {
     if (message.ComponentId != null)
     {
         PlatformComponent component = GetComponentByIdentification(message.ComponentId.Value, false);
         if (component != null)
         {
             UnInitializeComponent(component);
         }
         else
         {
             SystemMonitor.OperationError("Component not initialized.");
         }
     }
 }
コード例 #2
0
 void Receive(UnInitializeComponentMessage message)
 {
     if (message.ComponentId != null)
     {
         PlatformComponent component = GetComponentByIdentification(message.ComponentId.Value, false);
         if (component != null)
         {
             UnInitializeComponent(component);
         }
         else
         {
             SystemMonitor.OperationError("Component not initialized.");
         }
     }
 }