Artemis.Engine.Utilities.UriTree.UriUtilities.GetParts C# (CSharp) Метод

GetParts() публичный статический Метод

Get the separate parts of a Uri name. Example: GetParts("a.b.c") returns {"a", "b", "c"}
public static GetParts ( string name ) : string[]
name string
Результат string[]
        public static string[] GetParts(string name)
        {
            return name.Split(URI_SEPARATOR).ToArray();
        }

Usage Example

 public void InsertObservedNode(
     Dictionary <string, U> observedNodes, string name, U node,
     UriTreeNode <U> .UriTreeNodeDelegate onNodeAdded, bool disallowDuplicates = true)
 {
     InsertObservedNode <U>(
         observedNodes, new Queue <string>(UriUtilities.GetParts(name)),
         node, onNodeAdded, disallowDuplicates);
 }
All Usage Examples Of Artemis.Engine.Utilities.UriTree.UriUtilities::GetParts