public FAdGroups GetGroups(bool refresh) { if (!refresh && _groups != null) { return(_groups); } // Create _groups = new FAdGroups(); foreach (FAdObject adObject in GetChildren(refresh)) { if (adObject is FAdGroup) { _groups[adObject.Entry.NativeGuid] = (FAdGroup)adObject; } } return(_groups); }
public FAdGroups GetGroups() { _groups = new FAdGroups(); return(_groups); }