.NET Format Style Fixes

This commit is contained in:
refringe
2025-06-18 17:09:20 +00:00
committed by Format Bot
parent ca0a7d6345
commit 6e01428b2b
774 changed files with 23507 additions and 40003 deletions
@@ -32,12 +32,14 @@ public class NotifierCallbacks(
* Take our array of JSON message objects and cast them to JSON strings, so that they can then
* be sent to client as NEWLINE separated strings... yup.
*/
_notifierController.NotifyAsync(tmpSessionID)
.ContinueWith(messages => messages.Result.Select(message => string.Join("\n", jsonUtil.Serialize(message))))
_notifierController
.NotifyAsync(tmpSessionID)
.ContinueWith(messages =>
messages.Result.Select(message => string.Join("\n", jsonUtil.Serialize(message)))
)
.ContinueWith(text => httpServerHelper.SendTextJson(resp, text.Result));
}
/// <summary>
/// TODO: removed from client?
/// Handle push/notifier/get
@@ -55,7 +57,9 @@ public class NotifierCallbacks(
/// <returns></returns>
public ValueTask<string> CreateNotifierChannel(string url, EmptyRequestData _, string sessionID)
{
return new ValueTask<string>(_httpResponseUtil.GetBody(_notifierController.GetChannel(sessionID)));
return new ValueTask<string>(
_httpResponseUtil.GetBody(_notifierController.GetChannel(sessionID))
);
}
/// <summary>
@@ -64,12 +68,9 @@ public class NotifierCallbacks(
/// <returns></returns>
public ValueTask<string> SelectProfile(string url, UIDRequestData info, string sessionID)
{
return new ValueTask<string>(_httpResponseUtil.GetBody(
new SelectProfileResponse
{
Status = "ok"
}
));
return new ValueTask<string>(
_httpResponseUtil.GetBody(new SelectProfileResponse { Status = "ok" })
);
}
/// <summary>