Ejemplo n.º 1
0
        public static MessageChainBuilder AddQuote(this MessageChainBuilder builder, long target)
        {
            Quote quote = new Quote(target);

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

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

            return(builder.Add(poke));
        }
Ejemplo n.º 5
0
 public static MessageChainBuilder AddFlash(this MessageChainBuilder builder, Uri url)
 {
     return(AddFlash(builder, null, url));
 }
Ejemplo n.º 6
0
 public static MessageChainBuilder AddFace(this MessageChainBuilder builder, FaceType type)
 {
     return(AddFace(builder, (int)type));
 }
Ejemplo n.º 7
0
        public static MessageChainBuilder AddFace(this MessageChainBuilder builder, int faceId)
        {
            Face face = new Face(faceId);

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

            return(builder.Add(image));
        }
        public static MessageChainBuilder AddPlain(this MessageChainBuilder builder, string text)
        {
            var plain = new Plain(text);

            return(builder.Add(plain));
        }
        public static MessageChainBuilder AddAtAll(this MessageChainBuilder builder)
        {
            var atall = new AtAll();

            return(builder.Add(atall));
        }
        public static MessageChainBuilder AddAt(this MessageChainBuilder builder, long who)
        {
            var 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));
        }