public static readonly TheoryData<Dictionary<string, string>, TwitterApiAccessLevel?> ParseAccessLevel_TestCase = new TheoryData<Dictionary<string, string>, TwitterApiAccessLevel?>
{
{
- new Dictionary<string, string> { {"X-Access-Level", "read"} },
+ new Dictionary<string, string> { { "X-Access-Level", "read" } },
TwitterApiAccessLevel.Read
},
{
- new Dictionary<string, string> { {"X-Access-Level", "read-write"} },
+ new Dictionary<string, string> { { "X-Access-Level", "read-write" } },
TwitterApiAccessLevel.ReadWrite
},
{
- new Dictionary<string, string> { {"X-Access-Level", "read-write-directmessages"} },
+ new Dictionary<string, string> { { "X-Access-Level", "read-write-directmessages" } },
TwitterApiAccessLevel.ReadWriteAndDirectMessage
},
{
- new Dictionary<string, string> { {"X-Access-Level", ""} }, // 何故かたまに出てくるやつ
+ new Dictionary<string, string> { { "X-Access-Level", "" } }, // 何故かたまに出てくるやつ
null
},
{
"https://twitter.com/Favstar_LM/status/249493863826350080"
},
{
- new PostClass { StatusId = 216033842434289664L, ScreenName = "haru067", RetweetedId = 200245741443235840L, RetweetedBy = "re4k"},
+ new PostClass { StatusId = 216033842434289664L, ScreenName = "haru067", RetweetedId = 200245741443235840L, RetweetedBy = "re4k" },
"https://twitter.com/haru067/status/200245741443235840"
},
};
BindingFlags.CreateInstance,
null,
_connector,
- new object[] {AppName,
- notificationName,
- id,
- title,
- text,
- res,
- false,
- priority,
- "aaa"},
+ new object[]
+ {
+ AppName,
+ notificationName,
+ id,
+ title,
+ text,
+ res,
+ false,
+ priority,
+ "aaa",
+ },
CultureInfo.InvariantCulture);
}
else
BindingFlags.CreateInstance,
null,
_connector,
- new object[] {AppName,
- notificationName,
- id,
- title,
- text},
+ new object[]
+ {
+ AppName,
+ notificationName,
+ id,
+ title,
+ text,
+ },
CultureInfo.InvariantCulture);
}
var cc = _connector.GetType("Growl.Connector.CallbackContext").InvokeMember(