Sofu Documentation
AsValue Method
NamespacesSofu.SofuValueAsValue()()()
Overriden from SofuObject.
Declaration Syntax
C#
public override Value AsValue()
Return Value
Returns just itself
Examples
CopyC#
Sofu.Sofu.Map file = SofuReader.LoadFile("file.sofu");
try {
    foreach (KeyValuePair<string,Sofu.SofuObject> entry in file) {
        Console.Out.WriteLine(entry.Value.AsValue().ToString());
    }
}
catch (SofuNotValueException e) {
    Console.Out.WriteLine("That was no Value");
}

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