Example #1
0
        public static ICacheProvider Create()
        {
            if (null != _InnerCacheProvider)
            {
                return(_InnerCacheProvider);
            }
            string ConfigName = "CacheProvider";

            var Instance = InstanceBuilder.CreateInstance <ICacheProvider>(ConfigName);

            _InnerCacheProvider = Instance;
            return(Instance);
        }
Example #2
0
 public T CreateSimpleSeachCondition()
 {
     return(InstanceBuilder.CreateInstance <T>());
 }
Example #3
0
 public T CreateNewEntity()
 {
     return(InstanceBuilder.CreateInstance <T>());
 }