static void Main(string[] args) { UsageExamples.GenerateFirstTagCloud(); UsageExamples.GenerateSecondTagCloud(); UsageExamples.GenerateThirdTagCloud(); UsageExamples.GenerateFourthTagCloud(); }
public bool DeepEquals(ContentTypeDescription?other) { return(other is not null && CType == other.CType && Name == other.Name && ContentDescription == other.ContentDescription && PreviewImage == other.PreviewImage && Priority == other.Priority && Reminder == other.Reminder && Properties.DeepEqualsList(other.Properties) && TagMetadata.DeepEqualsList(other.TagMetadata) && TagMetadataItems.DeepEqualsDictionary(other.TagMetadataItems) && UsageExamples.DeepEqualsListNaive(other.UsageExamples) && ShowInContentEditor == other.ShowInContentEditor && TypeOf == other.TypeOf && BindIdentifierToProperty == other.BindIdentifierToProperty && BoundRegex == other.BoundRegex && ForceIdentifierBinding == other.ForceIdentifierBinding && AllowComments == other.AllowComments && AutoEnglishPropertyFallback == other.AutoEnglishPropertyFallback && BulkUploadable == other.BulkUploadable && Previews.DeepEqualsList(other.Previews) && SuppressCmsPath == other.SuppressCmsPath && PropertySections.DeepEqualsList(other.PropertySections)); }
public bool Equals(ContentTypeDescription input) { if (input == null) { return(false); } return (( CType == input.CType || (CType != null && CType.Equals(input.CType)) ) && ( Name == input.Name || (Name != null && Name.Equals(input.Name)) ) && ( ContentDescription == input.ContentDescription || (ContentDescription != null && ContentDescription.Equals(input.ContentDescription)) ) && ( PreviewImage == input.PreviewImage || (PreviewImage != null && PreviewImage.Equals(input.PreviewImage)) ) && ( Priority == input.Priority || (Priority.Equals(input.Priority)) ) && ( Reminder == input.Reminder || (Reminder != null && Reminder.Equals(input.Reminder)) ) && ( Properties == input.Properties || (Properties != null && Properties.SequenceEqual(input.Properties)) ) && ( TagMetadata == input.TagMetadata || (TagMetadata != null && TagMetadata.SequenceEqual(input.TagMetadata)) ) && ( TagMetadataItems == input.TagMetadataItems || (TagMetadataItems != null && TagMetadataItems.SequenceEqual(input.TagMetadataItems)) ) && ( UsageExamples == input.UsageExamples || (UsageExamples != null && UsageExamples.SequenceEqual(input.UsageExamples)) ) && ( ShowInContentEditor == input.ShowInContentEditor || (ShowInContentEditor != null && ShowInContentEditor.Equals(input.ShowInContentEditor)) ) && ( TypeOf == input.TypeOf || (TypeOf != null && TypeOf.Equals(input.TypeOf)) ) && ( BindIdentifierToProperty == input.BindIdentifierToProperty || (BindIdentifierToProperty != null && BindIdentifierToProperty.Equals(input.BindIdentifierToProperty)) ) && ( BoundRegex == input.BoundRegex || (BoundRegex != null && BoundRegex.Equals(input.BoundRegex)) ) && ( ForceIdentifierBinding == input.ForceIdentifierBinding || (ForceIdentifierBinding != null && ForceIdentifierBinding.Equals(input.ForceIdentifierBinding)) ) && ( AllowComments == input.AllowComments || (AllowComments != null && AllowComments.Equals(input.AllowComments)) ) && ( AutoEnglishPropertyFallback == input.AutoEnglishPropertyFallback || (AutoEnglishPropertyFallback != null && AutoEnglishPropertyFallback.Equals(input.AutoEnglishPropertyFallback)) ) && ( BulkUploadable == input.BulkUploadable || (BulkUploadable != null && BulkUploadable.Equals(input.BulkUploadable)) ) && ( Previews == input.Previews || (Previews != null && Previews.SequenceEqual(input.Previews)) ) && ( SuppressCmsPath == input.SuppressCmsPath || (SuppressCmsPath != null && SuppressCmsPath.Equals(input.SuppressCmsPath)) ) && ( PropertySections == input.PropertySections || (PropertySections != null && PropertySections.SequenceEqual(input.PropertySections)) )); }
public void Update(ContentTypeDescription?other) { if (other is null) { return; } if (CType != other.CType) { CType = other.CType; OnPropertyChanged(nameof(CType)); } if (Name != other.Name) { Name = other.Name; OnPropertyChanged(nameof(Name)); } if (ContentDescription != other.ContentDescription) { ContentDescription = other.ContentDescription; OnPropertyChanged(nameof(ContentDescription)); } if (PreviewImage != other.PreviewImage) { PreviewImage = other.PreviewImage; OnPropertyChanged(nameof(PreviewImage)); } if (Priority != other.Priority) { Priority = other.Priority; OnPropertyChanged(nameof(Priority)); } if (Reminder != other.Reminder) { Reminder = other.Reminder; OnPropertyChanged(nameof(Reminder)); } if (!Properties.DeepEqualsList(other.Properties)) { Properties = other.Properties; OnPropertyChanged(nameof(Properties)); } if (!TagMetadata.DeepEqualsList(other.TagMetadata)) { TagMetadata = other.TagMetadata; OnPropertyChanged(nameof(TagMetadata)); } if (!TagMetadataItems.DeepEqualsDictionary(other.TagMetadataItems)) { TagMetadataItems = other.TagMetadataItems; OnPropertyChanged(nameof(TagMetadataItems)); } if (!UsageExamples.DeepEqualsListNaive(other.UsageExamples)) { UsageExamples = other.UsageExamples; OnPropertyChanged(nameof(UsageExamples)); } if (ShowInContentEditor != other.ShowInContentEditor) { ShowInContentEditor = other.ShowInContentEditor; OnPropertyChanged(nameof(ShowInContentEditor)); } if (TypeOf != other.TypeOf) { TypeOf = other.TypeOf; OnPropertyChanged(nameof(TypeOf)); } if (BindIdentifierToProperty != other.BindIdentifierToProperty) { BindIdentifierToProperty = other.BindIdentifierToProperty; OnPropertyChanged(nameof(BindIdentifierToProperty)); } if (BoundRegex != other.BoundRegex) { BoundRegex = other.BoundRegex; OnPropertyChanged(nameof(BoundRegex)); } if (ForceIdentifierBinding != other.ForceIdentifierBinding) { ForceIdentifierBinding = other.ForceIdentifierBinding; OnPropertyChanged(nameof(ForceIdentifierBinding)); } if (AllowComments != other.AllowComments) { AllowComments = other.AllowComments; OnPropertyChanged(nameof(AllowComments)); } if (AutoEnglishPropertyFallback != other.AutoEnglishPropertyFallback) { AutoEnglishPropertyFallback = other.AutoEnglishPropertyFallback; OnPropertyChanged(nameof(AutoEnglishPropertyFallback)); } if (BulkUploadable != other.BulkUploadable) { BulkUploadable = other.BulkUploadable; OnPropertyChanged(nameof(BulkUploadable)); } if (!Previews.DeepEqualsList(other.Previews)) { Previews = other.Previews; OnPropertyChanged(nameof(Previews)); } if (SuppressCmsPath != other.SuppressCmsPath) { SuppressCmsPath = other.SuppressCmsPath; OnPropertyChanged(nameof(SuppressCmsPath)); } if (!PropertySections.DeepEqualsList(other.PropertySections)) { PropertySections = other.PropertySections; OnPropertyChanged(nameof(PropertySections)); } }