/// <summary> /// When EngineBlockManager() stumbles with a "namespace" block /// </summary> /// <param name="line"></param> private void NamespaceBlock(string line) { string[] intermediateArray; intermediateArray = line.Split(' '); currentFileNamespace = new FileNamespaces(intermediateArray[1]); secondaryIgnition("}"); result.AddNamespace(currentFileNamespace); currentFileNamespace = null; }
public void AddNamespace(FileNamespaces namespaceName) { fileNamespaces.Add(namespaceName); }