public bool DependsOn(DocumentTypeDiffgram y) { var dependencies = GetDependencies().ToArray(); var dependsOn = dependencies.Contains(y.Key); return(dependsOn); }
private DocumentTypeDiffgram AddDocumentType(DocumentTypeConfiguration documentTypeConfiguration) { var docTypeDiffgram = new DocumentTypeDiffgram(this, documentTypeConfiguration, serviceContext); DocumentTypes.Add(documentTypeConfiguration.Alias, docTypeDiffgram); return(docTypeDiffgram); }
public DocumentTypeEnsurer(DocumentTypeDiffgram diff, ServiceContext serviceContext) { this.diff = diff; this.serviceContext = serviceContext; }