コード例 #1
0
ファイル: ScoreLoader.cs プロジェクト: weinyzhou/alphaTab
        /// <summary>
        /// Loads a score synchronously from the given datasource
        /// </summary>
        /// <param name="path">the source path to load the binary file from</param>
        /// <returns></returns>
        public static Score LoadScore(string path)
        {
            IFileLoader loader = Environment.FileLoaders["default"]();
            var         data   = loader.LoadBinary(path);

            return(LoadScoreFromBytes(data));
        }