Deveel.Data.SessionTableContainer.GetTable C# (CSharp) Method

GetTable() public method

public GetTable ( int offset ) : ITable
offset int
return ITable
        public ITable GetTable(int offset)
        {
            switch (offset) {
                case 0:
                    return new StatisticsTable(session);
                case 1:
                    return new SessionInfoTable(session);
                case 2:
                    return new OpenSessionsTable(session);
                default:
                    throw new ArgumentOutOfRangeException("offset");
            }
        }