Add support for CamelCase Json Serialization ...

This commit is contained in:
2025-11-16 20:37:41 +03:30
parent b683aabece
commit b1cf3bf0a0
+7 -7
View File
@@ -35,7 +35,7 @@ namespace xPushService.Base
.AllExcept(connectionId)
.SendAsync(
XBaseEntityHubAction.Add.GetStringValue(),
entity.ToJSON(),
entity.ToJSON(camelCase: true),
connectionId
);
}
@@ -57,7 +57,7 @@ namespace xPushService.Base
.AllExcept(connectionId)
.SendAsync(
XBaseEntityHubAction.AddOrUpdate.GetStringValue(),
entity.ToJSON(),
entity.ToJSON(camelCase: true),
connectionId
);
}
@@ -79,7 +79,7 @@ namespace xPushService.Base
.AllExcept(connectionId)
.SendAsync(
XBaseEntityHubAction.AddOrUpdate.GetStringValue(),
entities.ToJSON(),
entities.ToJSON(camelCase: true),
connectionId
);
}
@@ -101,7 +101,7 @@ namespace xPushService.Base
.AllExcept(connectionId)
.SendAsync(
XBaseEntityHubAction.Delete.GetStringValue(),
entity.ToJSON(),
entity.ToJSON(camelCase: true),
connectionId
);
}
@@ -123,7 +123,7 @@ namespace xPushService.Base
.AllExcept(connectionId)
.SendAsync(
XBaseEntityHubAction.DeleteMany.GetStringValue(),
entities.ToJSON(),
entities.ToJSON(camelCase: true),
connectionId
);
}
@@ -145,7 +145,7 @@ namespace xPushService.Base
.AllExcept(connectionId)
.SendAsync(
XBaseEntityHubAction.Update.GetStringValue(),
entity.ToJSON(),
entity.ToJSON(camelCase: true),
connectionId
);
}
@@ -167,7 +167,7 @@ namespace xPushService.Base
.AllExcept(connectionId)
.SendAsync(
XBaseEntityHubAction.UpdateMany.GetStringValue(),
entities.ToJSON(),
entities.ToJSON(camelCase: true),
connectionId
);
}