AppActs.API.Model.Item.Item C# (CSharp) Method

Item() public method

public Item ( NameValueCollection keyValues ) : System
keyValues System.Collections.Specialized.NameValueCollection
return System
        public Item(NameValueCollection keyValues)
        {
            this.DateCreated = DateTime.UtcNow;
            this.DateCreatedOnDevice = DateTime.SpecifyKind(DateTime.Parse(keyValues[Keys.DATE_CREATED]), DateTimeKind.Utc);
            this.Date = this.DateCreatedOnDevice.Date;
            this.SessionId = Guid.Parse(keyValues[Keys.SESSION_ID]);
            this.Version = keyValues[Keys.VERSION];
            this.ApplicationId = new Guid(keyValues[Keys.APPLICATION_GUID]);
            this.DeviceId = new Guid(keyValues[Keys.DEVICE_GUID]);
        }

Same methods

Item::Item ( ) : System
Item