diff --git a/package.json b/package.json index d4be947..18d618b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hibas123/jrpcgen", - "version": "1.0.20", + "version": "1.0.21", "main": "lib/index.js", "license": "MIT", "packageManager": "yarn@3.1.1", diff --git a/templates/CSharp/JRpcServer.cs b/templates/CSharp/JRpcServer.cs index 0ca16cb..c2e9362 100644 --- a/templates/CSharp/JRpcServer.cs +++ b/templates/CSharp/JRpcServer.cs @@ -29,9 +29,9 @@ public class JRpcServer public class JRpcServerSession { - JRpcServer Server; - JRpcTransport Transport; - TContext Context; + public JRpcServer Server { get; private set; } + public JRpcTransport Transport { get; private set; } + public TContext Context { get; private set; } public JRpcServerSession(JRpcServer server, JRpcTransport transport, TContext context) {