Beispiel #1
0
        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));
        }
Beispiel #2
0
 public abstract IPublishedAction CreateLog(BaseMysteryAction action);