Пример #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();
        }
 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;
 }