コード例 #1
0
 public ServiceContext()
 {
     if (this.SdkConfiguration == null)
     {
         sdkConfiguration = Translator(SDKConfiguration.GetConfigurationValue("intuit/ipp"));
     }
 }
コード例 #2
0
        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);
        }