Creates a new List, copies its elements from another Sofu.List;
Declaration Syntax
C# |
public List( List copyFrom )
Parameters
- copyFrom (List)
- Other List to copy from
Examples
CopyC#
Sofu.Sofu.Map config = SofuReader.LoadFile("Config.Sofu"); Sofu.Sofu.List donetargets = new Sofu.Sofu.List(config.list("BuildTargets")); donetargets.AppendElement("x64"); //Won't change config.list("BuildTargets")