Sofu Documentation
GetEnumerator Method
NamespacesSofu.SofuMapGetEnumerator()()()
Emumerator for foreach
Declaration Syntax
C#
public IEnumerator<KeyValuePair<string, SofuObject>> GetEnumerator()
Return Value
The Enmurator
Examples
CopyC#
Sofu.Sofu.Map file = SofuReader.LoadFile("file.sofu");
foreach (KeyValuePair<string,Sofu.SofuObject> entry in file) {
    Console.Out.Write(entry.Key); //Splits one .sofu into Sub Trees.
    Console.Out.Write(" is a ");
    Console.Out.WriteLine(entry.Value.TypeString());

}

Assembly: Sofu (Module: Sofu) Version: 0.2.1.0 (0.2.1.0)