protected override void FillObject(XmlDescriptor d, RuleElement container) { base.FillObject(d, container); if (Enum.TryParse(d.GetElementName(), true, out WorshipSequenceKind kind)) { (container as WorshipSequence).Kind = kind; } }
protected override void FillObject(XmlDescriptor d, RuleElement container) { base.FillObject(d, container); if (Enum.TryParse(d.GetElementName(), true, out YmnosStructureKind kind)) { (container as YmnosStructureRule).Kind = kind; } XmlAttribute attr = d.Element.Attributes[RuleConstants.TotalCountAttribute]; if (int.TryParse(attr?.Value, out int count)) { (container as YmnosStructureRule).TotalYmnosCount = count; } }
protected override RuleElement CreateObject(XmlDescriptor d) => new ModifyDay(d.GetElementName());
protected override RuleElement CreateObject(XmlDescriptor d) { return(new TheotokionRule(d.GetElementName(), SerializerRoot.BookStorage.TheotokionApp)); }
protected override RuleElement CreateObject(XmlDescriptor d) { return(new KKatavasiaRule(d.GetElementName(), SerializerRoot.BookStorage.Katavasia)); }
protected override RuleElement CreateObject(XmlDescriptor d) { return(new IsCelebrating(d.GetElementName())); }
protected override RuleElement CreateObject(XmlDescriptor d) { return(new MoreEquals(d.GetElementName())); }
protected override RuleElement CreateObject(XmlDescriptor d) => new KAfterRule(d.GetElementName());
protected override RuleElement CreateObject(XmlDescriptor d) => new KSedalenTheotokionRule(d.GetElementName());
protected override RuleElement CreateObject(XmlDescriptor d) { return(new IsTwoSaints(d.GetElementName())); }
protected override RuleElement CreateObject(XmlDescriptor d) { return(new KanonasRule(d.GetElementName(), SerializerRoot, new KanonasRuleVMFactory(SerializerRoot))); }
protected override RuleElement CreateObject(XmlDescriptor d) { return(new WorshipRule(d.GetElementName())); }
protected override RuleElement CreateObject(XmlDescriptor d) => new PsalmRule(d.GetElementName(), SerializerRoot.BookStorage.Psalter, new PsalmRuleVMFactory(SerializerRoot));
protected override RuleElement CreateObject(XmlDescriptor d) { return(new GetDayOfWeek(d.GetElementName())); }
protected override RuleElement CreateObject(XmlDescriptor d) => new KKanonasItemRule(d.GetElementName());
protected override RuleElement CreateObject(XmlDescriptor d) { return(new AinoiRule(new AinoiRuleVMFactory(SerializerRoot), SerializerRoot, d.GetElementName())); }
protected override RuleElement CreateObject(XmlDescriptor d) { return(new ExecContainer(d.GetElementName())); }
protected override RuleElement CreateObject(XmlDescriptor d) { return(new TextHolder(new TextHolderVMFactory(SerializerRoot), d.GetElementName())); }
protected override RuleElement CreateObject(XmlDescriptor d) { return(new DateByDaysFromEaster(d.GetElementName(), SerializerRoot.BookStorage.Easters)); }
protected override RuleElement CreateObject(XmlDescriptor d) => new WorshipSequence(SerializerRoot, d.GetElementName());
protected override RuleElement CreateObject(XmlDescriptor d) => new KontakionRule(d.GetElementName(), new KontakionRuleVMFactory(SerializerRoot));
protected override RuleElement CreateObject(XmlDescriptor d) => new ModifyReplacedDay(d.GetElementName(), SerializerRoot.BookStorage.Easters);