Beispiel #1
0
        private object CreateInstance()
        {
            var obj = _implementationType.IsSubclassOf(typeof(MonoBehaviour))
                ? DependencyInjectionUtils.CreateMonoBehaviorSingleton(_implementationType)
                : Activator.CreateInstance(_implementationType);

            return(obj);
        }
Beispiel #2
0
 public Workflow(params Profile[] profiles)
 {
     DependencyInjectionUtils.Initialize(profiles);
 }