Skip to content

Commit a6b13e0

Browse files
committedJun 22, 2015
Readme
1 parent 77e5037 commit a6b13e0

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed
 

‎JsonDataContextDriver/Inputs/JsonFileInput.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ public override string ToString()
5757
switch (InputType)
5858
{
5959
case JsonInputType.File:
60-
return InputPath;
60+
return String.Format("{1}: {0}", InputPath, Path.GetFileNameWithoutExtension(InputPath));
6161
case JsonInputType.Directory:
62-
return Path.Combine(InputPath, Mask ?? "*.*") + (Recursive ? " + subfolders" : "");
62+
return String.Format("Search Folder: {0}", Path.Combine(InputPath, Mask ?? "*.*") + (Recursive ? " + subfolders" : ""));
6363
default:
6464
return "ERR";
6565
}

‎JsonDataContextDriver/Inputs/JsonUrlInput.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,10 @@ private static string ToLiteral(string input)
203203

204204
public override string ToString()
205205
{
206+
var uri = new Uri(Url);
207+
206208
return GenerateAsMethod
207-
? String.Format("{0}: {1} with parameters ({2})", this.Name, new Uri(this.Url).AbsolutePath,
209+
? String.Format("{0}: {1} with parameters ({2})", this.Name, uri.Host+uri.AbsolutePath,
208210
String.Join(", ", GetUrlQueryStringParameters().Select(p => p.Item1)))
209211
: String.Format("{0}: {1}", this.Name, this.Url);
210212
}

‎README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ This driver allows you to select a set of JSON inputs from which a LINQPad data
1111

1212
####Screenshots
1313

14-
![](http://ryandavis.io/content/images/2015/06/cxn_dialog.png)
15-
![](http://ryandavis.io/content/images/2015/06/json_context-1.png)
14+
![](http://ryandavis.io/content/images/2015/06/json_connection_dialog_updated.png)
15+
![](http://ryandavis.io/content/images/2015/06/json_query-1.png)
1616

1717
####Planned Features:
1818

0 commit comments

Comments
 (0)
Please sign in to comment.