Пример #1
0
 public static SecureMessage Instance(PNConfiguration pubnubConfig, IJsonPluggableLibrary jsonPluggableLibrary)
 {
     secureMessage         = new SecureMessage();
     secureMessage.config  = pubnubConfig;
     secureMessage.jsonLib = jsonPluggableLibrary;
     return(secureMessage);
 }
Пример #2
0
        public static SecureMessage Instance(PNConfiguration pubnubConfig, IJsonPluggableLibrary jsonPluggableLibrary, IPubnubLog log)
        {
            SecureMessage secureMessage = new SecureMessage();

            secureMessage.config    = pubnubConfig;
            secureMessage.jsonLib   = jsonPluggableLibrary;
            secureMessage.pubnubLog = log;
            return(secureMessage);
        }