コード例 #1
0
        public void Bind(IComponentProvider provider)
        {
            Debug.Log($"Provider of type {provider.GetType().Name} binded");

            var keyType = provider.GetType();

            _bindings[keyType] = provider;
        }
コード例 #2
0
        public void Unbind(IComponentProvider provider)
        {
            var keyType = provider.GetType();

            _bindings.Remove(keyType);
        }