Пример #1
0
 public GenericSPXmlSerializer(Common.NamingMappingHandler namingMappingHandler, SPMiddlewareOptions options,
                               IEnumerable <Error.IResponseExceptionHandler> errorHandlers,
                               ILogger <GenericSPXmlSerializer> logger)
 {
     this.namingMappingHandler = namingMappingHandler;
     this.options       = options;
     this.errorHandlers = errorHandlers;
     this.logger        = logger;
 }
Пример #2
0
 public ParameterProvider(IEnumerable <Filter.IParameterInterceptor> parameterInterceptors,
                          SPParametersProvider sPParametersProvider,
                          Common.NamingMappingHandler namingMappingHandler,
                          SqlHelper sqlHelper)
 {
     this.parameterInterceptors = parameterInterceptors;
     this.sPParametersProvider  = sPParametersProvider;
     this.namingMappingHandler  = namingMappingHandler;
     this.sqlHelper             = sqlHelper;
 }
 public GenericSPJsonSerializerBase(Common.NamingMappingHandler namingMappingHandler, SPMiddlewareOptions options,
                                    ILogger <GenericSPJsonSerializerBase> logger,
                                    IEnumerable <Error.IResponseExceptionHandler> responseExceptions,
                                    CodeConvention convention)
 {
     this.namingMappingHandler = namingMappingHandler;
     this.options        = options;
     this.logger         = logger;
     this.errorHandlers  = responseExceptions;
     this.codeConvention = convention;
 }
 public GenericSPJsonSerializerJsonNet(Common.NamingMappingHandler namingMappingHandler, SPMiddlewareOptions options,
                                       ILogger <GenericSPJsonSerializerBase> logger,
                                       IEnumerable <Error.IResponseExceptionHandler> responseExceptions,
                                       CodeConvention convention) : base(namingMappingHandler, options, logger, responseExceptions, convention)
 {
 }