Example #1
0
        public static bool DefaultToSingleVoice(string bookCode, out SingleVoiceReason singleVoiceReason)
        {
            Book book;

            if (s_defaultToSingleVoice.TryGetValue(bookCode, out book))
            {
                singleVoiceReason = book.SingleVoiceReason;
                return(true);
            }
            singleVoiceReason = SingleVoiceReason.NotSpecified;
            return(false);
        }
Example #2
0
 public Book(SingleVoiceReason singleVoiceReason)
 {
     SingleVoiceReason = singleVoiceReason;
 }