EPiServerServiceAPI.EpiApi.EpiApi C# (CSharp) 메소드

EpiApi() 공개 메소드

public EpiApi ( HttpClient httpClient ) : System
httpClient System.Net.Http.HttpClient
리턴 System
        public EpiApi(HttpClient httpClient)
        {
            if (httpClient.BaseAddress == null)
                throw new InvalidOperationException("You must set the BaseAddress property of the HttpClient instance");


            client = httpClient;

            SchemaValidation = new SchemaValidationSettings
            {
                Enabled = true,
                RaiseExceptions = true
            };
        }

Same methods

EpiApi::EpiApi ( string endpointUrl ) : System