protected virtual void AddCharacterVerse(CharacterVerse cv) { m_data.Add(cv); m_lookup = m_data.ToLookup(c => c.BcvRef.BBCCCVVV); m_uniqueCharacterAndDeliveries = null; m_uniqueDeliveries = null; }
protected bool Equals(CharacterVerse other) { return(Equals(m_bcvRef, other.m_bcvRef) && string.Equals(Character, other.Character) && string.Equals(Delivery, other.Delivery) && string.Equals(Alias, other.Alias) && QuoteType == other.QuoteType); }
protected virtual bool AddCharacterVerse(CharacterVerse cv) { if (m_data.Add(cv)) { ResetCaches(); return(true); } return(false); }
public virtual void Add(CharacterVerse cv) { AddCharacterVerse(cv); Analytics.Track("AddCharacter", new Dictionary <string, string> { { "verseReference", cv.BcvRef.AsString }, { "characterId", cv.Character }, { "delivery", cv.Delivery } }); }
protected override bool AddCharacterVerse(CharacterVerse cv) { throw new ApplicationException("The control file cannot be modified programmatically."); }
private string GetTabDelimitedFields(CharacterVerse cv) { return(cv.BookCode + "\t" + cv.Chapter + "\t" + cv.Verse + "\t" + cv.Character + "\t" + cv.Delivery + "\t" + cv.Alias); }
protected virtual void AddCharacterVerse(CharacterVerse cv) { m_data.Add(cv); ResetCaches(); }
public int GetHashCode(CharacterVerse cv) { return(GetHashCode((ICharacterDeliveryInfo)cv)); }
public bool Equals(CharacterVerse x, CharacterVerse y) { return(Equals(x, (ICharacterDeliveryInfo)y)); }
public NarratorOverrideCharacter(string character) { Character = character; LocalizedCharacter = CharacterVerse.GetLocalizedIndividualCharacterString(character); }
protected bool Equals(CharacterVerse other) { return(Equals(BcvRef, other.BcvRef) && base.Equals(other) && m_origQuoteType == other.m_origQuoteType); }