示例#1
0
        public ImageToPost Construct()
        {
            ImageToPostBuilder builder = new ImageToPostBuilder();
            builder.SetCaption(k_DefPhotoCaption);
            builder.SetPhotoFileName(k_DefPhotoFileName);
            builder.SetTitle(k_DefPhotoTitle);

            return builder.GetResult();
        }
示例#2
0
        public ImageToPost Construct(string i_title, string i_caption, string i_photoFileName)
        {
            ImageToPostBuilder builder = new ImageToPostBuilder();
            builder.SetCaption(i_caption);
            builder.SetPhotoFileName(i_photoFileName);
            builder.SetTitle(i_title);

            return builder.GetResult();
        }