示例#1
0
 internal SourceItemEmptyBinding(
     [NotNull] ItemReference <TItem> itemReference,
     [NotNull] Type sourceItemBindingType,
     [CanBeNull] LambdaExpression itemValue,
     [NotNull] Exception ex)
     : base(itemReference, () => LogFormatter.FormatExpression(itemValue))
 {
     Log($"\"{LogFormatter.FormatException(ex)}\" exception occurred while creating " +
         $"\"{LogFormatter.FormatTypeName(sourceItemBindingType)}\" instance.");
 }