static ParseClient()
 {
     Type platformHookType = GetParseType("PlatformHooks");
       if (platformHookType == null) {
     throw new InvalidOperationException("You must include a reference to a platform-specific Parse library.");
       }
       platformHooks = Activator.CreateInstance(platformHookType) as IPlatformHooks;
       commandRunner = new ParseCommandRunner(platformHooks.HttpClient);
       versionString = "net-" + platformHooks.SDKName + Version;
 }
Example #2
0
 internal ParseObjectController(IParseCommandRunner commandRunner)
 {
     this.commandRunner = commandRunner;
 }
 public ParseFileController(IParseCommandRunner commandRunner) => Runner = commandRunner;
 public ParseAnalyticsController(IParseCommandRunner commandRunner)
 {
     this.commandRunner = commandRunner;
 }
Example #5
0
 public ParseCloudCodeController(IParseCommandRunner commandRunner, IParseDataDecoder decoder) => (CommandRunner, Decoder) = (commandRunner, decoder);
 public ParseObjectController(IParseCommandRunner commandRunner) => CommandRunner = commandRunner;
 internal ParseObjectController(IParseCommandRunner commandRunner) {
   this.commandRunner = commandRunner;
 }
 public ParseFileController(IParseCommandRunner commandRunner) {
   this.commandRunner = commandRunner;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ParseConfigController"/> class.
 /// </summary>
 public ParseConfigController(IParseCommandRunner commandRunner, IStorageController storageController) {
   this.commandRunner = commandRunner;
   CurrentConfigController = new ParseCurrentConfigController(storageController);
 }
Example #10
0
 public ParseUserController(IParseCommandRunner commandRunner)
 {
     _commandRunner = commandRunner;
 }
Example #11
0
 public ParseCloudCodeController(IParseCommandRunner commandRunner)
 {
     this.commandRunner = commandRunner;
 }
 public ParseSessionController(IParseCommandRunner commandRunner)
 {
     this.commandRunner = commandRunner;
 }
Example #13
0
 public ParseQueryController(IParseCommandRunner commandRunner) => this.commandRunner = commandRunner;
Example #14
0
 public ParsePushController(IParseCommandRunner commandRunner, IParseCurrentUserController currentUserController)
 {
     this.commandRunner         = commandRunner;
     this.currentUserController = currentUserController;
 }
 public ParseObjectController(IParseCommandRunner commandRunner) {
   this.commandRunner = commandRunner;
 }
Example #16
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ParseConfigurationController"/> class.
 /// </summary>
 public ParseConfigurationController(IParseCommandRunner commandRunner, ICacheController storageController, IParseDataDecoder decoder)
 {
     CommandRunner = commandRunner;
     CurrentConfigurationController = new ParseCurrentConfigurationController(storageController, decoder);
     Decoder = decoder;
 }
 public ParseObjectController(IParseCommandRunner commandRunner, IParseDataDecoder decoder, IServerConnectionData serverConnectionData) => (CommandRunner, Decoder, ServerConnectionData) = (commandRunner, decoder, serverConnectionData);
 public ParseAnalyticsController(IParseCommandRunner commandRunner) {
   this.commandRunner = commandRunner;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ParseConfigController"/> class.
 /// </summary>
 public ParseConfigController(IParseCommandRunner commandRunner, IStorageController storageController)
 {
     this.commandRunner      = commandRunner;
     CurrentConfigController = new ParseCurrentConfigController(storageController);
 }
Example #20
0
 internal ParseUserController(IParseCommandRunner commandRunner)
 {
     this.commandRunner = commandRunner;
 }
Example #21
0
 public ParseQueryController(IParseCommandRunner commandRunner)
 {
     _commandRunner = commandRunner;
 }
Example #22
0
 public ParseFileController(IParseCommandRunner commandRunner)
 {
     this.commandRunner = commandRunner;
 }
 public ParseSessionController(IParseCommandRunner commandRunner) => CommandRunner = commandRunner;
Example #24
0
 public ParseObjectController(IParseCommandRunner commandRunner)
 {
     this.commandRunner = commandRunner;
 }
 internal ParseSessionController(IParseCommandRunner commandRunner)
 {
     this.commandRunner = commandRunner;
 }
 internal ParseSessionController(IParseCommandRunner commandRunner) {
   this.commandRunner = commandRunner;
 }
 public ParseCloudCodeController(IParseCommandRunner commandRunner) => Runner = commandRunner;
Example #28
0
 internal ParseCloudCodeController(IParseCommandRunner commandRunner)
 {
     this.commandRunner = commandRunner;
 }
 public ParseSessionController(IParseCommandRunner commandRunner) {
   this.commandRunner = commandRunner;
 }
 internal ParseUserController(IParseCommandRunner commandRunner) {
   this.commandRunner = commandRunner;
 }
 public ParsePushController(IParseCommandRunner commandRunner, IParseCurrentUserController currentUserController) {
   this.commandRunner = commandRunner;
   this.currentUserController = currentUserController;
 }