Esempio n. 1
0
 /// <summary>
 /// Gets the current menu text field: the localized field if using localization and the
 /// localized field exists; otherwise the default field.
 /// </summary>
 /// <returns>
 /// The current menu text field.
 /// </returns>
 private Field GetCurrentMenuTextField()
 {
     return(Field.AssignedField(fields, Field.LocalizedTitle("Menu Text")) ?? Field.Lookup(fields, "Menu Text"));
 }
Esempio n. 2
0
 /// <summary>
 /// Gets the current response menu sequence field: the localized field if using localization
 /// and the localized field exists; otherwise the default field.
 /// </summary>
 /// <returns>
 /// The current response menu sequence field.
 /// </returns>
 private Field GetCurrentResponseMenuSequenceField()
 {
     return(Field.AssignedField(fields, Field.LocalizedTitle("Response Menu Sequence")) ?? Field.Lookup(fields, "Response Menu Sequence"));
 }
Esempio n. 3
0
 /// <summary>
 /// Gets the current sequence field: the localized field if using localization and the
 /// localized field exists; otherwise the default field.
 /// </summary>
 /// <returns>
 /// The current sequence field.
 /// </returns>
 private Field GetCurrentSequenceField()
 {
     return Field.AssignedField(fields, Field.LocalizedTitle("Sequence")) ?? Field.Lookup(fields, "Sequence");
 }