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