Exemplo n.º 1
0
 public IDictionary <string, string> ExportTitleValue(TagRefer tagRefer, PayrollName tagName, PayrollTag tagItem, PayrollConcept tagConcept)
 {
     return(new Dictionary <string, string>()
     {
         { "title", tagName.Title }, { "value", ExportValueResult() }
     });
 }
Exemplo n.º 2
0
 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)
 }
Exemplo n.º 3
0
        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);
        }
Exemplo n.º 4
0
        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));
        }
Exemplo n.º 5
0
 public void ExportXml(TagRefer tagRefer, PayrollName tagName, PayrollTag tagItem, PayrollConcept tagConcept /*, xmlElement*/)
 {
     ExportXmlTagRefer(tagRefer /*, xmlElement*/);
     ExportXmlNames(tagName, tagItem, tagConcept /*, xmlElement*/);
 }
Exemplo n.º 6
0
 public bool isEqualToTagRefer(TagRefer other)
 {
     return (this.PeriodBase == other.PeriodBase && this.Code == other.Code && this.CodeOrder == other.CodeOrder);
 }