public void Initialize(IComponentConfigurator componentConfigurator) { componentConfigurator.WithConverter <TestConverter>(); }
public void Initialize(IComponentConfigurator componentConfigurator) { if (componentConfigurator == null) { throw new ArgumentNullException(nameof(componentConfigurator)); } componentConfigurator.WithConverter <Base64BinaryConverter>(); componentConfigurator.WithConverter <BooleanConverter>(); componentConfigurator.WithConverter <DateTimeConverter>(); componentConfigurator.WithConverter <DecimalConverter>(); componentConfigurator.WithConverter <DurationConverter>(); componentConfigurator.WithConverter <FloatingPointLiteralConverter>(); componentConfigurator.WithConverter <GuidConverter>(); componentConfigurator.WithConverter <IntegerConverter>(); componentConfigurator.WithConverter <StringConverter>(); componentConfigurator.WithConverter <UntypedLiteralConverter>(); componentConfigurator.WithConverter <UriConverter>(); }