Пример #1
0
 public static NameObject getInstance(string name)
 {
     if (instance == null)
     {
         instance = new NameObject(name);
     }
     return(instance);
 }
Пример #2
0
 public void Launch(string osName)
 {
     Nameobject = NameObject.getInstance(osName);
     check      = true;
 }