Welcome to mirror list, hosted at ThFree Co, Russian Federation.

MtaRawValueString.cs « Mono.Debugging.Win32 - github.com/mono/debugger-libs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: af7cf36d4751e9c4227c651352880128918057db (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 Mono.Debugging.Backend;

namespace Mono.Debugging.Win32
{
	class MtaRawValueString : IRawValueString
	{
		readonly IRawValueString source;

		public MtaRawValueString (IRawValueString s)
		{
			source = s;
		}

		public int Length
		{
			get { return MtaThread.Run (() => source.Length); }
		}

		public string Substring (int index, int length)
		{
			return MtaThread.Run (() => source.Substring (index, length));
		}

		public string Value
		{
			get { return MtaThread.Run (() => source.Value); }
		}
	}
}