Esempio n. 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;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 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;
 }
Esempio n. 4
0
 public StringToPathProvider([NotNull] ICacherFactory cacherFactory)
 {
     if (cacherFactory == null) throw new ArgumentNullException(nameof(cacherFactory));
     _cacherFactory = cacherFactory;
 }
Esempio n. 5
0
 /// <summary>
 ///     Инициализирует новый экземпляр класса <see cref="AssemblyInfoRetriever" />.
 /// </summary>
 public AssemblyInfoRetriever([NotNull] ICacherFactory cacherFactory)
 {
     if (cacherFactory == null) throw new ArgumentNullException(nameof(cacherFactory));
     _cacherFactory = cacherFactory;
 }
Esempio n. 6
0
 public PropertyHelper([NotNull] ICacherFactory cacherFactory)
 {
     if (cacherFactory == null) throw new ArgumentNullException(nameof(cacherFactory));
     _cacherFactory = cacherFactory;
 }