Пример #1
0
        public static BuildMessageInfo GetPhaseMessageInfo(BuildMessage messages, BuildPhase phase)
        {
            if (messages == null)
            {
                return(null);
            }

            if (!messages.TryGetValue(phase, out BuildMessageInfo message))
            {
                messages[phase] = message = new BuildMessageInfo();
            }
            return(message);
        }
        private static BuildMessageInfo GetPhaseMessageInfo(BuildMessage messages)
        {
            if (messages == null)
            {
                return null;
            }

            BuildMessageInfo message;
            if (!messages.TryGetValue(BuildPhase.PreBuildBuild, out message))
            {
                messages[BuildPhase.PreBuildBuild] = message = new BuildMessageInfo();
            }
            return message;
        }
Пример #3
0
        private static BuildMessageInfo GetPhaseMessageInfo(BuildMessage messages)
        {
            if (messages == null)
            {
                return(null);
            }

            BuildMessageInfo message;

            if (!messages.TryGetValue(BuildPhase.PreBuildBuild, out message))
            {
                messages[BuildPhase.PreBuildBuild] = message = new BuildMessageInfo();
            }
            return(message);
        }