GetInstance() public static method

public static GetInstance ( object obj ) : Challenge
obj object
return Challenge
 public virtual Challenge[] ToChallengeArray()
 {
     Challenge[] array = new Challenge[content.Count];
     for (int i = 0; i != array.Length; i++)
     {
         array[i] = Challenge.GetInstance(content[i]);
     }
     return(array);
 }
Ejemplo n.º 2
0
 public virtual Challenge[] ToChallengeArray()
 {
     Challenge[] result = new Challenge[content.Count];
     for (int i = 0; i != result.Length; ++i)
     {
         result[i] = Challenge.GetInstance(content[i]);
     }
     return(result);
 }
 public virtual Challenge[] ToChallengeArray()
 {
     Challenge[] array = new Challenge[this.content.Count];
     for (int num = 0; num != array.Length; num++)
     {
         array[num] = Challenge.GetInstance(this.content[num]);
     }
     return(array);
 }