public static ApiCollection GetApiCollection() { if (Instance == null) { Instance = new ApiCollection(); } return(Instance); }
public FileStationAPI() { Authentication = APIAuthentication.CreateAPIAuthentication(Session); List <string> FileStationAPIs = new List <string> { FileStationList, FileStationSearch, FileStationUpload }; ApiCollection apiCollection = ApiCollection.GetApiCollection(); APIVersions = apiCollection.RetrieveLatestVersions(FileStationAPIs); SharedFoldersTopLevelData = new TopLevelSharedFolderListInfo(); SharedFolders = new List <FileStationSharedFolder>(); }