Exemplo n.º 1
0
 public StringPropertyHandler(
     ISelectOneStrategy selectOneStrategy,
     ISelectManyStrategy selectManyStrategy,
     IContentSerializerSettings contentSerializerSettings)
 {
     _selectOneStrategy         = selectOneStrategy ?? throw new ArgumentNullException(nameof(selectOneStrategy));
     _selectManyStrategy        = selectManyStrategy ?? throw new ArgumentNullException(nameof(selectManyStrategy));
     _contentSerializerSettings = contentSerializerSettings ?? throw new ArgumentNullException(nameof(contentSerializerSettings));
 }
 public StringPropertyHandler(ISelectOneStrategy selectOneStrategy, ISelectManyStrategy selectManyStrategy)
 {
     _selectOneStrategy  = selectOneStrategy ?? throw new ArgumentNullException(nameof(selectOneStrategy));
     _selectManyStrategy = selectManyStrategy ?? throw new ArgumentNullException(nameof(selectManyStrategy));
 }
Exemplo n.º 3
0
 public CustomSelectOneStrategy()
 {
     this._defaultSelectOneStrategy = new DefaultSelectStrategy();
 }