/// <summary> /// /// </summary> /// <param name="frequency"></param> /// <returns></returns> public static CompoundingFrequency Parse(string frequency) { var result = new CompoundingFrequency { Value = frequency }; return(result); }
/// <summary> /// /// </summary> /// <param name="frequency"></param> /// <returns></returns> public static CompoundingFrequency Create(CompoundingFrequencyEnum frequency) { var result = new CompoundingFrequency { Value = CompoundingFrequencyScheme.GetEnumString(frequency) }; return(result); }