Esempio n. 1
0
                public override string ToString()
                {
                    List <string> slug = new List <string>();

                    slug.Add(@"--" + OPT_TIMETOLIVE + "=" + BaconArgs.Escape(TimeToLive.ToString()));
                    slug.Add(@"--" + OPT_TIMECREATED + "=" + BaconArgs.Escape(DateTimeToTimestamp(TimeCreated).ToString()));
                    slug.Add(@"--" + OPT_TYPE + "=" + BaconArgs.Escape(Type));
                    slug.Add(@"--" + OPT_SENDER + "=" + BaconArgs.Escape(Sender));
                    slug.Add(@"--");
                    slug.Add(Content);
                    return(string.Join(" ", slug));
                }