示例#1
0
 /// <exception cref="ApiException"></exception>
 protected static void EnsureLogined()
 {
     if (!UserPreferences.IsLogined)
     {
         throw ApiExceptions.NoAuthority();
     }
 }