public ModelBase[] GetList(string modelType, int startRid, int count) { lock (s_ServiceLocker) { ModelCollection colleciton = ModelAccessManager.CacheManager[modelType]; if (colleciton != null) { return(colleciton.ToArray <TraceModel>(startRid, count)); } return(new TraceModel[0]); } }