public override List <KeyValuePair <string, object> > CreateFromObject(Type cardType, IFullTextSearchObject obj) { if (cardType != null && typeof(IEmailMessageFullTextSearchObject) == cardType) { var emailMessagesFullTextSearchObject = obj as IEmailMessageFullTextSearchObject; if (emailMessagesFullTextSearchObject != null) { var list = WebData.CreateFromObject(obj).ToKeyValueList().ToList(); return(list); } } return(new List <KeyValuePair <string, object> >()); }