Beispiel #1
0
        public IDictionary <string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                { "name", Name },
                { "disabled", Disabled },
                { "sort", Sort },
                { "keywords", WxTools.TryGetKeywords(Keywords) },
                { "newsjson", NewsJson },
                { "ruleid", RuleId }
            };

            return(parameters);
        }
Beispiel #2
0
        public IDictionary <string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                { "name", Name },
                { "disabled", Disabled },
                { "sort", Sort },
                { "keywords", WxTools.TryGetKeywords(Keywords) },
                { "content", Content },
                { "accountid", AccountId }
            };

            return(parameters);
        }
        public IDictionary <string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                { "name", Name },
                { "disabled", Disabled },
                { "sort", Sort },
                { "keywords", WxTools.TryGetKeywords(Keywords) },
                { "accountid", AccountId },
                { "remoteurl", RemoteUrl },
                { "defaulttext", DefaultText },
                { "accesstoken", AccessToken }
            };

            return(parameters);
        }