Stumps.Server.Data.DataAccess.ServerFindAll C# (CSharp) Method

ServerFindAll() public method

Finds a list of all persisted T:Stumps.Server.Data.ServerEntity.
public ServerFindAll ( ) : IList
return IList
        public IList<ServerEntity> ServerFindAll()
        {
            var serverEntities = JsonUtility.DeserializeFromDirectory<ServerEntity>(
                _storagePath, "*" + DataAccess.StumpsServerFileExtension, SearchOption.TopDirectoryOnly);

            return serverEntities;
        }