public void RegisterTypeResolver(ISterlingTypeResolver interceptor) { if (interceptor == null) { throw new ArgumentNullException("interceptor"); } if (!_typeResolvers.Contains(interceptor)) { _typeResolvers.Add(interceptor); } }
/// <summary> /// Register a class responsible for type resolution. /// </summary> /// <param name="typeResolver">The typeResolver</param> public void RegisterTypeResolver(ISterlingTypeResolver typeResolver) { TableTypeResolver.RegisterTypeResolver(typeResolver); }
/// <summary> /// Register a class responsible for type resolution. /// </summary> /// <param name="typeInterceptor"></param> protected void RegisterTypeResolver(ISterlingTypeResolver typeInterceptor) { this.Database.RegisterTypeResolver(typeInterceptor); }
/// <summary> /// Register a class responsible for type resolution. /// </summary> /// <param name="typeInterceptor"></param> protected void RegisterTypeResolver(ISterlingTypeResolver typeInterceptor) { TableTypeResolver.RegisterTypeResolver(typeInterceptor); }