Example #1
0
        public Aisino.FTaxBase.PZSQType this[InvoiceType invoiceType_0]
        {
            get
            {
                Aisino.FTaxBase.PZSQType type = null;
                if (this.PZSQType.Count > 0)
                {
                    using (List <Aisino.FTaxBase.PZSQType> .Enumerator enumerator = this.PZSQType.GetEnumerator())
                    {
                        Aisino.FTaxBase.PZSQType current;
                        while (enumerator.MoveNext())
                        {
                            current = enumerator.Current;
                            if (current.invType == invoiceType_0)
                            {
                                goto Label_003D;
                            }
                        }
                        return(type);

Label_003D:
                        type = current;
                    }
                }
                return(type);
            }
        }
Example #2
0
        internal Aisino.FTaxBase.PZSQType method_0(string string_6)
        {
            Aisino.FTaxBase.PZSQType type = null;
            if (this.PZSQType.Count > 0)
            {
                using (List <Aisino.FTaxBase.PZSQType> .Enumerator enumerator = this.PZSQType.GetEnumerator())
                {
                    Aisino.FTaxBase.PZSQType current;
                    while (enumerator.MoveNext())
                    {
                        current = enumerator.Current;
                        if (((int)current.invType).ToString() == string_6)
                        {
                            goto Label_0048;
                        }
                    }
                    return(type);

Label_0048:
                    type = current;
                }
            }
            return(type);
        }