Esempio n. 1
0
        public static MessageChainBuilder AddPlain(this MessageChainBuilder builder, string text)
        {
            Plain plain = new Plain(text);

            builder.Add(plain);
            return(builder);
        }
Esempio n. 2
0
        public static MessageChainBuilder AddQuote(this MessageChainBuilder builder, long target)
        {
            Quote quote = new Quote(target);

            builder.Add(quote);
            return(builder);
        }
Esempio n. 3
0
        public static MessageChainBuilder AddFlash(this MessageChainBuilder builder, string imageId, Uri url)
        {
            Flash image = new Flash(imageId, url);

            builder.Add(image);
            return(builder);
        }
Esempio n. 4
0
        public static MessageChainBuilder AddPoke(this MessageChainBuilder builder, PokeType type)
        {
            Poke poke = new Poke(type);

            builder.Add(poke);
            return(builder);
        }
Esempio n. 5
0
        public static MessageChainBuilder AddFace(this MessageChainBuilder builder, int faceId)
        {
            Face face = new Face(faceId);

            builder.Add(face);
            return(builder);
        }
Esempio n. 6
0
        public static MessageChainBuilder AddImage(this MessageChainBuilder builder, string imageId, Uri url)
        {
            Image image = new Image(imageId, url);

            builder.Add(image);
            return(builder);
        }
Esempio n. 7
0
        public static MessageChainBuilder AddAtAll(this MessageChainBuilder builder)
        {
            AtAll atall = new AtAll();

            return(builder.Add(atall));
        }
Esempio n. 8
0
        public static MessageChainBuilder AddAt(this MessageChainBuilder builder, long who)
        {
            At at = new At(who);

            return(builder.Add(at));
        }
        public static MessageChainBuilder AddFlash(this MessageChainBuilder builder, string imageId, IImageSource source)
        {
            var image = new Flash(imageId, source);

            return(builder.Add(image));
        }