Exemple #1
0
        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);
        }
Exemple #3
0
 public DocumentTypeEnsurer(DocumentTypeDiffgram diff, ServiceContext serviceContext)
 {
     this.diff           = diff;
     this.serviceContext = serviceContext;
 }