Skip to content

Commit 7313981

Browse files
authored
Update 1.md
1 parent 2051280 commit 7313981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class ServiceFactory<TService> : IServiceFactory<TService>
2525
Service = (TService)service.GetService(typeof(TService)) ?? ActivatorUtilities.CreateInstance<TService>(service);
2626
}
2727

28-
public TService Service { get; private set; }
28+
public TService Service { get; }
2929
}
3030
```
3131

0 commit comments

Comments
 (0)