Exemple #1
0
        internal Internal.FaxIdItem ToFaxIdItem()
        {
            var ret = new Internal.FaxIdItem();

            ret.Id        = this.Id;
            ret.Direction = this.Direction.ToString();
            ret.Date      = this.DateUTC;
            ret.Tag       = this.Tag;
            return(ret);
        }
Exemple #2
0
        internal FaxDesc(Internal.FaxIdItem item)
            : this()
        {
            this.Id        = item.Id;
            this.Direction = (Direction)Enum.Parse(typeof(Direction), item.Direction, true);
            this.DateUTC   = item.Date;
            this.Tag       = item.Tag;

            //Cache Control
            this.HydrationFlag          = HydrationFlag.Id;
            this.HydrationUTC           = DateTime.UtcNow;
            this.RequiresTimeExpiration = true;
        }