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

            parameterOperator(parameters);

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

            parameterOperator(parameters);

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