Revenj.DatabasePersistence.Postgres.PostgresObjectFactory.GetSerializationFactory C# (CSharp) Method

GetSerializationFactory() public method

public GetSerializationFactory ( Type type ) : string>.Func
type System.Type
return string>.Func
        public Func<object, string> GetSerializationFactory(Type type)
        {
            IPostgresTypeConverter converter;
            if (TypeConverters.TryGetValue(type, out converter))
                return converter.CreateRecord;
            return null;
        }