public UserInformation(IPersonLocalStorage personLocalStorage, IContextMappingLocalStorage contextMappingLocalStorage, IRestSharp restSharpHelper) { PersonLocalStorage = personLocalStorage; ContextMappingLocalStorage = contextMappingLocalStorage; RestSharpHelper = restSharpHelper; }
/// <summary> /// Construct /// </summary> /// <param name="myRestSharp">外部注入呼叫API的實體</param> public PTX(IRestSharp restSharp) { //改由外部注入呼叫API的實體 this._myRestSharp = restSharp; }