示例#1
0
文件: Device.cs 项目: k-boyle/Pusharp
        public Task <Push> SendFileAsync(Action <FilePushParameters> parameterOperator)
        {
            var parameters = new FilePushParameters();

            parameterOperator(parameters);

            return(_client.PushFileAsync(parameters, PushTarget.Device, Identifier));
        }
示例#2
0
        public Task <Push> SendFileAsync(Action <FilePushParameters> parameterOperator)
        {
            var parameters = new FilePushParameters();

            parameterOperator(parameters);

            return(_client.PushFileAsync(parameters, PushTarget.Channel, Tag));
        }