App1.Data.SampleDataSource.GetGroups C# (CSharp) Method

GetGroups() public method

public GetGroups ( string uniqueId ) : IEnumerable
uniqueId string
return IEnumerable
        public IEnumerable<SampleDataGroup> GetGroups(string uniqueId)
        {
            if (!uniqueId.Equals("AllGroups")) throw new ArgumentException("Only 'AllGroups' is supported as a collection of groups");
            
            return this.AllGroups;
        }