public IServiceRepository Get(IServiceRepository parameter)
 => parameter.DecorateContent <DefaultCollectionSpecification, ClassicCollections>()
 .DecorateContent <DictionaryContentSpecification, ClassicDictionaryContents>();
 public IServiceRepository Get(IServiceRepository parameter)
 => parameter.DecorateContent <Content>(IsAssignableSpecification <string> .Default);
Beispiel #3
0
 public IServiceRepository Get(IServiceRepository parameter)
 => parameter.DecorateContent <ImmutableArrays>(new IsAssignableGenericSpecification(typeof(ImmutableArray <>)))
 .Decorate <IGenericTypes, ImmutableArrayAwareGenericTypes>();