public void IsGuid(string value) { if (!Ensure.IsActive) { return; } if (!StringUtility.IsGuid(value)) { throw new ArgumentException(ExceptionMessages.Strings_IsGuid_Failed.Inject(value), paramName); } }