private static string translateTypeToLongName(DisposalTypeEnum type) { switch (type) { case DisposalTypeEnum.Sale: return("Sale"); case DisposalTypeEnum.Abandonment: return("Abandonment"); case DisposalTypeEnum.LikeKindExchange_Pre_Mar_2000: return("Like-Kind Exchange: Pre-1/3/2000"); case DisposalTypeEnum.TaxableExchange: return("Taxable Exchange"); case DisposalTypeEnum.InvoluntaryConversion_Pre_Mar_2000: return("Involuntary Conversion: Pre-1/3/2000"); case DisposalTypeEnum.Transfer: return("Transfer"); case DisposalTypeEnum.Casualty: return("Casualty"); case DisposalTypeEnum.Other: return("Other Disposal"); case DisposalTypeEnum.LikeKindExchange_Post_Feb_2000: return("Like-Kind Exchange: Post-1/2/2000"); case DisposalTypeEnum.InvoluntaryConversion_Post_Feb_2000: return("Involuntary Conversion: Post-1/2/2000"); default: return(null); } }
protected static char translateTypeToShortName(DisposalTypeEnum type) { switch (type) { case DisposalTypeEnum.Sale: return('S'); case DisposalTypeEnum.Abandonment: return('A'); case DisposalTypeEnum.LikeKindExchange_Pre_Mar_2000: return('L'); case DisposalTypeEnum.LikeKindExchange_Post_Feb_2000: return('K'); case DisposalTypeEnum.TaxableExchange: return('E'); case DisposalTypeEnum.InvoluntaryConversion_Pre_Mar_2000: return('I'); case DisposalTypeEnum.InvoluntaryConversion_Post_Feb_2000: return('V'); case DisposalTypeEnum.Transfer: return('T'); case DisposalTypeEnum.Casualty: return('C'); case DisposalTypeEnum.Other: return('R'); default: return('\0'); } }
public virtual void defaults() { Type = (DisposalTypeEnum.Sale); }
public DisposalMethod(DisposalTypeEnum method) { _type = method; }
public DisposalMethod() { _type = DisposalTypeEnum.Sale; }