aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Popups/ParameterDescription.cs
blob: 6650f76ec978b6130687a08c9e3cd6c64e530bf7 (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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.Scripting.Editors.Popups
{
    public class ParameterDescription
    {
        public ParameterDescription(MethodDescription method)
        {
            Method = method;
        }

        public MethodDescription Method { get; set; }
        public String Type { get; set; }
        public String Name { get; set; }
        public String Description { get; set; }

        public bool IsLast
        {
            get { return Method.Parameters.Last() == this; }
        }
    }
}
size_t try_thread_loading_response__pack (const TryThreadLoadingResponse *message, uint8_t *out) { assert(message->base.descriptor == &try_thread_loading_response__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t try_thread_loading_response__pack_to_buffer (const TryThreadLoadingResponse *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &try_thread_loading_response__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } TryThreadLoadingResponse * try_thread_loading_response__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (TryThreadLoadingResponse *) protobuf_c_message_unpack (&try_thread_loading_response__descriptor, allocator, len, data); } void try_thread_loading_response__free_unpacked (TryThreadLoadingResponse *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &try_thread_loading_response__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } #define try_thread_loading_response__field_descriptors NULL #define try_thread_loading_response__field_indices_by_name NULL #define try_thread_loading_response__number_ranges NULL const ProtobufCMessageDescriptor try_thread_loading_response__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "", "", "", "", sizeof(TryThreadLoadingResponse), 0, try_thread_loading_response__field_descriptors, try_thread_loading_response__field_indices_by_name, 0, try_thread_loading_response__number_ranges, (ProtobufCMessageInit) try_thread_loading_response__init, NULL,NULL,NULL /* reserved[123] */ };