public static SSObject GetSolutionItems() { if (solutionItems == null) { solutionItems = TestModel.GetSolutionItems(); } /** * Could use Calebs help here. * This is one way to build the objects. * The name and file type can be self assigned if that makes it easier. * new SSObject * { * Name = "Test Project", * FileType = SSObjectType.Project * Items = * { * new SSObject * { * Name="Testclass.cs", * FileType = SSObjectType.SSClass * }, * }; * **/ return(solutionItems); }
public SolutionObjectData() { solutionItems = TestModel.GetSolutionItems(); }