aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Console/CodeTemplate.cs
blob: 4b307051f15f42374e8485c50fce19d36046b017 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System;
using System.Text;
using System.Linq;
using System.Drawing;
using System.Diagnostics;
using System.Windows.Forms;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Tango.MachineStudio.Common.Notifications;
using Tango.MachineStudio.UI.Console;

public void OnExecute(ConsoleManager manager)
{
    manager.InvokeUI(() =>
    {

        var notification = manager.TangoIOC.GetInstance<INotificationProvider>();
        notification.ShowInfo("Hello world!");

    });
}
s="o">*message = init_value; } size_t stop_debug_log_response__get_packed_size (const StopDebugLogResponse *message) { assert(message->base.descriptor == &stop_debug_log_response__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t stop_debug_log_response__pack (const StopDebugLogResponse *message, uint8_t *out) { assert(message->base.descriptor == &stop_debug_log_response__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t stop_debug_log_response__pack_to_buffer (const StopDebugLogResponse *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &stop_debug_log_response__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } StopDebugLogResponse * stop_debug_log_response__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (StopDebugLogResponse *) protobuf_c_message_unpack (&stop_debug_log_response__descriptor, allocator, len, data); } void stop_debug_log_response__free_unpacked (StopDebugLogResponse *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &stop_debug_log_response__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } #define stop_debug_log_response__field_descriptors NULL #define stop_debug_log_response__field_indices_by_name NULL #define stop_debug_log_response__number_ranges NULL const ProtobufCMessageDescriptor stop_debug_log_response__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "", "", "", "", sizeof(StopDebugLogResponse), 0, stop_debug_log_response__field_descriptors, stop_debug_log_response__field_indices_by_name, 0, stop_debug_log_response__number_ranges, (ProtobufCMessageInit) stop_debug_log_response__init, NULL,NULL,NULL /* reserved[123] */ };