Beispiel #1
0
        /// <summary>
        /// To Initialize SDK with configuration property values through app.config.
        /// </summary>

        /* public static void Initialize()
         * {
         *   Initialize(true);
         * }
         *
         * public static void Initialize(bool handleAuthentication)
         * {
         *   ZCRMConfigUtil.Initialize(handleAuthentication, null, null);
         * }
         *
         * /// <summary>
         * /// To Initialize SDK with configuration property values through text file like stream data.
         * /// </summary>
         * /// <param name="inputStream">File stream data.(Stream)</param>
         * public static void Initialize(Stream inputStream)
         * {
         *   ZCRMConfigUtil.CustomInitialize(inputStream);
         * }*/

        /// <summary>
        /// To Initialize SDK with configuration property values through Dictionary.
        /// </summary>
        /// <param name="config">Is the Dictionary contains C#SDK configuration key values.</param>
        public static void Initialize(Dictionary <string, string> config)
        {
            ZCRMConfigUtil.CustomInitialize(config);
        }
 /// <summary>
 /// To Initialize SDK with configuration property values through text file like stream data.
 /// </summary>
 /// <param name="inputStream">File stream data.(Stream)</param>
 public static void Initialize(Stream inputStream)
 {
     ZCRMConfigUtil.CustomInitialize(inputStream);
 }