public ServiceContext() { if (this.SdkConfiguration == null) { sdkConfiguration = Translator(SDKConfiguration.GetConfigurationValue("intuit/ipp")); } }
private static IppConfigurationSectionObj Translator(IppConfigurationSection ippConfigSection) { // use reflection to translate IppConfigurationSectionObj ippConfig = new IppConfigurationSectionObj(); // converting configuration class to object model ippConfig.Logger.RequestSettings.RequestResponseLoggingDirectory = ippConfigSection.Logger.RequestSettings.RequestResponseLoggingDirectory; return(ippConfig); }