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; }
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); }