private string SerializeArgumentsIncludingGeneric(ToastArguments arguments) { if (_genericArguments.Count == 0) { return(arguments.ToString()); } foreach (var genericArg in _genericArguments) { if (!arguments.Contains(genericArg.Key)) { arguments.Add(genericArg.Key, genericArg.Value); } } return(arguments.ToString()); }
private string SerializeArgumentsHelper(IDictionary <string, string> arguments) { var args = new ToastArguments(); foreach (var a in arguments) { args.Add(a.Key, a.Value); } return(args.ToString()); }