コード例 #1
0
        public ConventionBasedServiceConfiguration Merge(ConventionBasedServiceConfiguration other)
        {
            AllowGet.Merge(other.AllowGet);
            RequestHeaders.Merge(other.RequestHeaders);
            RequestHeaderProcessors.Merge(other.RequestHeaderProcessors);
            ResponseHeaders.Merge(other.ResponseHeaders);
            ResponseHeaderValue.Merge(other.ResponseHeaderValue);
            ExceptionResult.Merge(other.ExceptionResult);

            return(this);
        }
コード例 #2
0
 bool IServiceConfiguration.GetAllowGet(ObjectModel objectModel, OperationModel operationModel) => AllowGet.Get(new OperationWithObjectModel(objectModel, operationModel));