< Summary

Class:Akka.DependencyInjection.PropsFactory`1
Assembly:SeungYongShim.Akka.DependencyInjection
File(s):/home/runner/work/SeungYongShim.Akka/SeungYongShim.Akka/src/SeungYongShim.Akka.DependencyInjection/PropsFactory.cs
Covered lines:2
Uncovered lines:0
Coverable lines:2
Total lines:15
Line coverage:100% (2 of 2)
Covered branches:0
Total branches:0
Tag:81_945672945

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
.ctor(...)0%110100%
Create(...)0%110100%

File(s)

/home/runner/work/SeungYongShim.Akka/SeungYongShim.Akka/src/SeungYongShim.Akka.DependencyInjection/PropsFactory.cs

#LineLine coverage
 1using Akka.Actor;
 2using SeungYongShim.Akka.DependencyInjection.Abstractions;
 3
 4namespace Akka.DependencyInjection
 5{
 6    public class PropsFactory<T> : IPropsFactory<T> where T : ActorBase
 7    {
 308        public PropsFactory(ActorSystem actorSystem) => ActorSystem = actorSystem;
 9
 10        public ActorSystem ActorSystem { get; }
 11
 12        public Props Create(params object [] args) =>
 1513            DependencyResolver.For(ActorSystem).Props<T>(args);
 14    }
 15}