2 using System.Collections.Generic;
5 using System.Threading.Tasks;
6 using SiliconStudio.Paradox.Framework.MicroThreading;
7 using SiliconStudio.Paradox.Extensions;
8 using System.Windows.Input;
10 using SiliconStudio.Presentation;
12 namespace SiliconStudio.
Paradox.DebugTools.ViewModels
19 private readonly
string typeName;
24 throw new ArgumentNullException(
"typeName");
26 if (scriptEntries == null)
27 throw new ArgumentNullException(
"scriptEntries");
30 throw new ArgumentNullException(
"parent");
33 this.typeName = typeName;
38 public string[] Namespaces
42 string ns = Namespace;
43 return ns != null ? ns.Split(
'.') : null;
47 public string Namespace
51 string[] elements = typeName.Split(
'.');
53 if (elements.Length == 1)
56 return string.Join(
".", elements.Take(elements.Length - 1));
60 public string[] TypeNames
64 return TypeName.Split(
'+');
68 public string TypeName
72 return typeName.Split(
'.').Last();
76 public string FullName