Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gmich authored Feb 5, 2018
1 parent 7f34070 commit c09d848
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ Create, configure and register the classes that are marked with the GinetPackage
//via reflection
builder.RegisterPackages(Assembly.Load("Packages.Assembly.Name"));
//or manually
builder.RegisterPackage<MyPackage>();
}
builder.Register<MyPackage>();
},
cfg =>
{
cfg.Port = 1234;
Expand Down Expand Up @@ -158,7 +158,7 @@ Create, configure and register the classes that are marked with the GinetPackage
```
var client = new NetworkClient("Chat",
builder=>
builder.RegisterPackages(Assembly.Load("Packages.Assembly.Name"));
builder.RegisterPackages(Assembly.Load("Packages.Assembly.Name")),
cfg =>
{
//client configuration
Expand Down

0 comments on commit c09d848

Please sign in to comment.