コード例 #1
0
        public static NGWebsite ToNGWebsite(this ContactWebsite website)
        {
            var ngWebsite = new NGWebsite()
            {
                Raw         = website.RawValue,
                Description = website.Description
            };

            return(ngWebsite);
        }
コード例 #2
0
        public static ContactWebsite ToContactWebsite(this NGWebsite website)
        {
            var winWebsite = new ContactWebsite()
            {
                RawValue    = website.Raw,
                Uri         = website.GetUri(),
                Description = website.Description
            };

            return(winWebsite);
        }