Banshee.Podcasting.PodcastService.OnCommandLineArgument C# (CSharp) Method

OnCommandLineArgument() private method

private OnCommandLineArgument ( string argument, object value, bool isFile ) : void
argument string
value object
isFile bool
return void
        private void OnCommandLineArgument (string argument, object value, bool isFile)
        {
            if (isFile) {
                ProcessFile (argument, null);
            } else if (argument == "podcast") {
                var podcast = Hyena.Json.JsonObject.FromString (value as string);
                if (podcast != null) {
                    ProcessFile ((string)podcast["uri"], (string)podcast["name"]);
                }
            }
        }