public License(v1_1.License license) { Id = license.Id; Name = license.Name; if (license.Text != null) { Text = license.Text.Content; } Url = license.Url; }
public License(v1_1.License license) { Id = license.Id; Name = license.Name; if (license.Text != null) { Text = new AttachedText { Content = license.Text.Content, ContentType = license.Text.ContentType, Encoding = license.Text.Encoding }; } Url = license.Url; }