public IDictionary <string, string> ExportTitleValue(TagRefer tagRefer, PayrollName tagName, PayrollTag tagItem, PayrollConcept tagConcept) { return(new Dictionary <string, string>() { { "title", tagName.Title }, { "value", ExportValueResult() } }); }
public void ExportXmlTagRefer(TagRefer tagRefer /*, xmlBuilder*/) { //attributes = {} //attributes[:period_base] = tag_refer.period_base //attributes[:code] = tag_refer.code //attributes[:code_order] = tag_refer.code_order //xml_builder.reference(attributes) }
public override bool Equals(object obj) { if (obj == this) return true; if (obj == null || this.GetType() != obj.GetType()) return false; TagRefer other = obj as TagRefer; return this.isEqualToTagRefer(other); }
public int CompareTo(object obj) { TagRefer other = obj as TagRefer; if (this.PeriodBase != other.PeriodBase) { return this.PeriodBase.CompareTo(other.PeriodBase); } if (this.Code != other.Code) { return this.Code.CompareTo(other.Code); } return (this.CodeOrder.CompareTo(other.CodeOrder)); }
public void ExportXml(TagRefer tagRefer, PayrollName tagName, PayrollTag tagItem, PayrollConcept tagConcept /*, xmlElement*/) { ExportXmlTagRefer(tagRefer /*, xmlElement*/); ExportXmlNames(tagName, tagItem, tagConcept /*, xmlElement*/); }
public bool isEqualToTagRefer(TagRefer other) { return (this.PeriodBase == other.PeriodBase && this.Code == other.Code && this.CodeOrder == other.CodeOrder); }