public static DetailColumnCollection GetDetails(MyBusinessObject businessObj) { var columns = new DetailColumnCollection(); var column = new DetailColumn(); var group = new DetailGroup("Computer Information"); group.Add("Computer Name", businessObj.ComputerName); group.Add("Network Name", businessObj.NetworkName); column.Add(group); columns.Add(column); return (columns); }
private static ListGroup<MyBusinessObject> GetObjectListGroup(MyBusinessObject businessObj) { var group = new ListGroup<MyBusinessObject>(businessObj.NetworkName); return (group); }