aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.UsersAndRoles/Navigation/UsersAndRolesNavigationManager.cs
blob: b56962df75105ce5d28f21605f73a301c413fb9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Logging;
using Tango.MachineStudio.Common.Navigation;
using Tango.MachineStudio.UsersAndRoles.Views;

namespace Tango.MachineStudio.UsersAndRoles.Navigation
{
    public class UsersAndRolesNavigationManager
    {
        private LogManager LogManager = LogManager.Default;

        public void NavigateTo(UsersAndRolesNavigationView view)
        {
            LogManager.Log(String.Format("Navigating to view {0}...", view.ToString()));
            MainView.Instance.TransitionControl.NavigateTo(view.ToString());
        }
    }
}
class="n">validate_version_response__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t validate_version_response__pack (const ValidateVersionResponse *message, uint8_t *out) { assert(message->base.descriptor == &validate_version_response__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t validate_version_response__pack_to_buffer (const ValidateVersionResponse *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &validate_version_response__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } ValidateVersionResponse * validate_version_response__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (ValidateVersionResponse *) protobuf_c_message_unpack (&validate_version_response__descriptor, allocator, len, data); } void validate_version_response__free_unpacked (ValidateVersionResponse *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &validate_version_response__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } #define validate_version_response__field_descriptors NULL #define validate_version_response__field_indices_by_name NULL #define validate_version_response__number_ranges NULL const ProtobufCMessageDescriptor validate_version_response__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "", "", "", "", sizeof(ValidateVersionResponse), 0, validate_version_response__field_descriptors, validate_version_response__field_indices_by_name, 0, validate_version_response__number_ranges, (ProtobufCMessageInit) validate_version_response__init, NULL,NULL,NULL /* reserved[123] */ };