Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
added Namespace string property, used by CommandFactory to create the…
… command.
  • Loading branch information
purplecabbage committed Jan 16, 2014
1 parent af80474 commit 7c86b30c77ee4b58cf70f8fb430dd64dd5ac8142
Showing 1 changed file with 3 additions and 1 deletion.
@@ -36,6 +36,7 @@ public class CordovaCommandCall
public String Action { get; private set; }
public String CallbackId { get; private set; }
public String Args { get; private set; }
public String Namespace { get; set; }

/// <summary>
/// Retrieves command call parameters and creates wrapper for them
@@ -60,6 +61,7 @@ public static CordovaCommandCall Parse(string commandStr)
commandCallParameters.Service = split[0];
commandCallParameters.Action = split[1];
commandCallParameters.CallbackId = split[2];
commandCallParameters.Namespace = String.Empty;

try
{
@@ -74,7 +76,7 @@ public static CordovaCommandCall Parse(string commandStr)
}
catch (Exception)
{
return null;
return null;
}
// sanity check for illegal names
// was failing with ::

0 comments on commit 7c86b30

Please sign in to comment.