コード例 #1
0
        public static void Main(string[] args)
        {
            string getTextureUrl = args[0];
            string texturesPath = args[1];

            List<string> textureIds = new List<string>();

            using (StreamReader sr = new StreamReader(texturesPath))
            {
                string line;

                while ((line = sr.ReadLine()) != null)
                    textureIds.Add(line);
            }

            TextureLoadTest test = new TextureLoadTest(getTextureUrl, textureIds);
            test.Execute();
        }
コード例 #2
0
        public static void Main(string[] args)
        {
            string getTextureUrl = args[0];
            string texturesPath  = args[1];

            List <string> textureIds = new List <string>();

            using (StreamReader sr = new StreamReader(texturesPath))
            {
                string line;

                while ((line = sr.ReadLine()) != null)
                {
                    textureIds.Add(line);
                }
            }

            TextureLoadTest test = new TextureLoadTest(getTextureUrl, textureIds);

            test.Execute();
        }
コード例 #3
0
 public GetTextures(TextureLoadTest test, string getTextureUrl, List<string> textureIds)
 {
     m_test = test;
     m_getTextureUrl = getTextureUrl;
     m_textureIds = textureIds;
 }
コード例 #4
0
 public GetTextures(TextureLoadTest test, string getTextureUrl, List <string> textureIds)
 {
     m_test          = test;
     m_getTextureUrl = getTextureUrl;
     m_textureIds    = textureIds;
 }