aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ActionLogs/ViewModelLocator.cs
blob: 29540fa8633a64e1e907382fcad43306074628c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Core.DI;
using Tango.MachineStudio.ActionLogs.ViewModels;

namespace Tango.MachineStudio.ActionLogs
{
    public static class ViewModelLocator
    {
        /// <summary>
        /// Initializes a new instance of the ViewModelLocator class.
        /// </summary>
        static ViewModelLocator()
        {
            TangoIOC.Default.Register<MainViewVM>();
        }

        public static MainViewVM MainViewVM
        {
            get
            {
                return TangoIOC.Default.GetInstance<MainViewVM>();
            }
        }
    }
}
_StartDebugLogResponse { ProtobufCMessage base; protobuf_c_boolean has_category; DebugLogCategory category; char *filename; protobuf_c_boolean has_linenumber; uint32_t linenumber; protobuf_c_boolean has_filter; uint32_t filter; char *message; protobuf_c_boolean has_moduleid; uint32_t moduleid; }; #define START_DEBUG_LOG_RESPONSE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&start_debug_log_response__descriptor) \ , 0, DEBUG_LOG_CATEGORY__Info, NULL, 0, 0, 0, 0, NULL, 0, 0 } /* StartDebugLogResponse methods */ void start_debug_log_response__init (StartDebugLogResponse *message); size_t start_debug_log_response__get_packed_size (const StartDebugLogResponse *message); size_t start_debug_log_response__pack (const StartDebugLogResponse *message, uint8_t *out); size_t start_debug_log_response__pack_to_buffer (const StartDebugLogResponse *message, ProtobufCBuffer *buffer); StartDebugLogResponse * start_debug_log_response__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void start_debug_log_response__free_unpacked (StartDebugLogResponse *message, ProtobufCAllocator *allocator); /* --- per-message closures --- */ typedef void (*StartDebugLogResponse_Closure) (const StartDebugLogResponse *message, void *closure_data); /* --- services --- */ /* --- descriptors --- */ extern const ProtobufCMessageDescriptor start_debug_log_response__descriptor; PROTOBUF_C__END_DECLS #endif /* PROTOBUF_C_StartDebugLogResponse_2eproto__INCLUDED */