Beispiel #1
0
 public static ApiCollection GetApiCollection()
 {
     if (Instance == null)
     {
         Instance = new ApiCollection();
     }
     return(Instance);
 }
Beispiel #2
0
        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>();
        }