Exemplo n.º 1
0
        public static ArrayOfInt OneDimensionArrayGenrator()
        {
            //SOAP call ederken List'i ArrayOfInt'e çevirmen gerekti.
            ServiceReference1.ArrayOfInt arrayOfInt = new ServiceReference1.ArrayOfInt();

            Console.WriteLine("Array size ne olsun?");
            int sizeOfArray = Convert.ToInt16(Console.ReadLine());
            //int[] arr = new int[sizeOfArray];

            List <int> list = new List <int>();

            string allItems = Console.ReadLine();

            string[] itemsArray = allItems.Split(' ');

            for (int i = 0; i < sizeOfArray; i++)
            {
                list.Add(Convert.ToInt16(itemsArray[i]));
            }

            /*for (int i = 0; i < sizeOfArray; i++)
             * {
             *  int value = Convert.ToInt16(Console.ReadLine());
             *  arr.Add(value);
             *  Console.WriteLine(i+1 + ".nci eleman = " + value);
             * }*/

            arrayOfInt.AddRange(list);

            return(arrayOfInt);
        }
Exemplo n.º 2
0
 public System.Threading.Tasks.Task <ServiceReference1.GetSkillsProfileResponse> GetSkillsProfileAsync(ServiceReference1.ArrayOfInt SkillsList)
 {
     ServiceReference1.GetSkillsProfileRequest inValue = new ServiceReference1.GetSkillsProfileRequest();
     inValue.Body            = new ServiceReference1.GetSkillsProfileRequestBody();
     inValue.Body.SkillsList = SkillsList;
     return(((ServiceReference1.wsTestPlayPublicSoap)(this)).GetSkillsProfileAsync(inValue));
 }
Exemplo n.º 3
0
 public GetSkillsProfileRequestBody(ServiceReference1.ArrayOfInt SkillsList)
 {
     this.SkillsList = SkillsList;
 }