Beispiel #1
0
 public AttributesReader([NotNull] ICacherFactory cacherFactory,
     [NotNull] IAttributesReaderKeyFactory attributesReaderKeyFactory)
 {
     if (cacherFactory == null) throw new ArgumentNullException(nameof(cacherFactory));
     if (attributesReaderKeyFactory == null) throw new ArgumentNullException(nameof(attributesReaderKeyFactory));
     _cacherFactory = cacherFactory;
     _attributesReaderKeyFactory = attributesReaderKeyFactory;
 }
 public HtmlActionResolver([NotNull] IAttributesReader attributesReader,
                           [NotNull] ICacherFactory cacherFactory)
 {
     if (attributesReader == null) throw new ArgumentNullException(nameof(attributesReader));
     if (cacherFactory == null) throw new ArgumentNullException(nameof(cacherFactory));
     _attributesReader = attributesReader;
     _cacherFactory = cacherFactory;
 }
 public AutoPropertiesSetter([NotNull] IAttributesReader attributesReader,
                             [NotNull] IResolver resolver,
                             [NotNull] IPropertyHelper propertyHelper,
                             [NotNull] ICacherFactory cacherFactory)
 {
     if (attributesReader == null) throw new ArgumentNullException(nameof(attributesReader));
     if (resolver == null) throw new ArgumentNullException(nameof(resolver));
     if (propertyHelper == null) throw new ArgumentNullException(nameof(propertyHelper));
     if (cacherFactory == null) throw new ArgumentNullException(nameof(cacherFactory));
     _attributesReader = attributesReader;
     _resolver = resolver;
     _propertyHelper = propertyHelper;
     _cacherFactory = cacherFactory;
 }
 public StringToPathProvider([NotNull] ICacherFactory cacherFactory)
 {
     if (cacherFactory == null) throw new ArgumentNullException(nameof(cacherFactory));
     _cacherFactory = cacherFactory;
 }
 /// <summary>
 ///     Инициализирует новый экземпляр класса <see cref="AssemblyInfoRetriever" />.
 /// </summary>
 public AssemblyInfoRetriever([NotNull] ICacherFactory cacherFactory)
 {
     if (cacherFactory == null) throw new ArgumentNullException(nameof(cacherFactory));
     _cacherFactory = cacherFactory;
 }
Beispiel #6
0
 public PropertyHelper([NotNull] ICacherFactory cacherFactory)
 {
     if (cacherFactory == null) throw new ArgumentNullException(nameof(cacherFactory));
     _cacherFactory = cacherFactory;
 }