public static IPublishedAction getLog(this BaseMysteryAction action) { if (action == null) { return(null); } var action_type = action.GetType(); if (!publishing_types.ContainsKey(action_type)) { publishing_types[action_type] = isPublishing(action_type); } if (publishing_types[action_type] == null) { return(null); } return(publishing_types[action_type].CreateLog(action)); }
public abstract IPublishedAction CreateLog(BaseMysteryAction action);