a
This commit is contained in:
@ -59,6 +59,7 @@ public partial class DragDropSetPropertyItem : Form
|
||||
Log.Logger = loggerConfiguration.CreateLogger();
|
||||
logger = Log.ForContext<DragDropSetPropertyItem>();
|
||||
Property.Models.Configuration propertyConfiguration = Property.Models.Binder.Configuration.Get(isEnvironment, configurationRoot);
|
||||
Property.Models.Configuration.Verify(propertyConfiguration, requireExist: false);
|
||||
_PropertyConfiguration = propertyConfiguration;
|
||||
logger.Information("Complete");
|
||||
_Logger = logger;
|
||||
@ -169,7 +170,7 @@ public partial class DragDropSetPropertyItem : Form
|
||||
{
|
||||
if (record.PropertyItemType is not null && record.PropertyItemType.Value != type)
|
||||
throw new NotSupportedException();
|
||||
if ((record.DateTimeOriginal is null || !string.IsNullOrEmpty(record.Value) || record.Value == setTo) && !_AppSettings.IgnoreRulesKeyWords.Contains(setTo))
|
||||
if ((record.DateTimeOriginal is null || !string.IsNullOrEmpty(record.Value) || record.Value == setTo) && !_PropertyConfiguration.IgnoreRulesKeyWords.Contains(setTo))
|
||||
continue;
|
||||
checkFile = $"{record.FileHolder.FullName}.exif";
|
||||
propertyItem = Property.Models.Stateless.IProperty.GetPropertyItem(constructorInfo, tagId, type, setTo);
|
||||
|
Reference in New Issue
Block a user