/// <summary> /// Validates this instance and outputs information to the log, if necessary. /// </summary> internal void Validate(ILogger log, string logInfo) { Debug.Assert(log != null); Debug.Assert(logInfo != null); logInfo += string.Format(", QueryField '{0}'", Name); JavaTypes.LogIndirectMappingWarning(_type, log, logInfo); }
/// <summary> /// Validates this instance and outputs information to the log, if necessary. /// </summary> internal void Validate(ILogger log, string logInfo) { Debug.Assert(log != null); Debug.Assert(logInfo != null); logInfo += string.Format(", QueryEntity '{0}:{1}'", _keyTypeName ?? "", _valueTypeName ?? ""); JavaTypes.LogIndirectMappingWarning(_keyType, log, logInfo); JavaTypes.LogIndirectMappingWarning(_valueType, log, logInfo); var fields = Fields; if (fields != null) { foreach (var field in fields) { field.Validate(log, logInfo); } } }