Add support for CamelCase Json Serialization ...
This commit is contained in:
@@ -35,7 +35,7 @@ namespace xPushService.Base
|
|||||||
.AllExcept(connectionId)
|
.AllExcept(connectionId)
|
||||||
.SendAsync(
|
.SendAsync(
|
||||||
XBaseEntityHubAction.Add.GetStringValue(),
|
XBaseEntityHubAction.Add.GetStringValue(),
|
||||||
entity.ToJSON(),
|
entity.ToJSON(camelCase: true),
|
||||||
connectionId
|
connectionId
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -57,7 +57,7 @@ namespace xPushService.Base
|
|||||||
.AllExcept(connectionId)
|
.AllExcept(connectionId)
|
||||||
.SendAsync(
|
.SendAsync(
|
||||||
XBaseEntityHubAction.AddOrUpdate.GetStringValue(),
|
XBaseEntityHubAction.AddOrUpdate.GetStringValue(),
|
||||||
entity.ToJSON(),
|
entity.ToJSON(camelCase: true),
|
||||||
connectionId
|
connectionId
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -79,7 +79,7 @@ namespace xPushService.Base
|
|||||||
.AllExcept(connectionId)
|
.AllExcept(connectionId)
|
||||||
.SendAsync(
|
.SendAsync(
|
||||||
XBaseEntityHubAction.AddOrUpdate.GetStringValue(),
|
XBaseEntityHubAction.AddOrUpdate.GetStringValue(),
|
||||||
entities.ToJSON(),
|
entities.ToJSON(camelCase: true),
|
||||||
connectionId
|
connectionId
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -101,7 +101,7 @@ namespace xPushService.Base
|
|||||||
.AllExcept(connectionId)
|
.AllExcept(connectionId)
|
||||||
.SendAsync(
|
.SendAsync(
|
||||||
XBaseEntityHubAction.Delete.GetStringValue(),
|
XBaseEntityHubAction.Delete.GetStringValue(),
|
||||||
entity.ToJSON(),
|
entity.ToJSON(camelCase: true),
|
||||||
connectionId
|
connectionId
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -123,7 +123,7 @@ namespace xPushService.Base
|
|||||||
.AllExcept(connectionId)
|
.AllExcept(connectionId)
|
||||||
.SendAsync(
|
.SendAsync(
|
||||||
XBaseEntityHubAction.DeleteMany.GetStringValue(),
|
XBaseEntityHubAction.DeleteMany.GetStringValue(),
|
||||||
entities.ToJSON(),
|
entities.ToJSON(camelCase: true),
|
||||||
connectionId
|
connectionId
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -145,7 +145,7 @@ namespace xPushService.Base
|
|||||||
.AllExcept(connectionId)
|
.AllExcept(connectionId)
|
||||||
.SendAsync(
|
.SendAsync(
|
||||||
XBaseEntityHubAction.Update.GetStringValue(),
|
XBaseEntityHubAction.Update.GetStringValue(),
|
||||||
entity.ToJSON(),
|
entity.ToJSON(camelCase: true),
|
||||||
connectionId
|
connectionId
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -167,7 +167,7 @@ namespace xPushService.Base
|
|||||||
.AllExcept(connectionId)
|
.AllExcept(connectionId)
|
||||||
.SendAsync(
|
.SendAsync(
|
||||||
XBaseEntityHubAction.UpdateMany.GetStringValue(),
|
XBaseEntityHubAction.UpdateMany.GetStringValue(),
|
||||||
entities.ToJSON(),
|
entities.ToJSON(camelCase: true),
|
||||||
connectionId
|
connectionId
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user