示例#1
0
 public static void SetServices(ICheatImpl cheat)
 {
     if (_cheat != null)
     {
         throw new NotSupportedException("Not supposed to set this twice");
     }
     _cheat = cheat;
 }
示例#2
0
 public static void SetServices(ICheatImpl cheatImpl) => _cheat = cheatImpl;
示例#3
0
 public static void SetServices(ICheatImpl cheat) {
     _cheat = cheat;
 }
示例#4
0
 public static void SetServices(ICheatImpl cheatImpl) => _cheat = cheatImpl;