コード例 #1
0
        protected string CreateMapFor(Type t)
        {
            var type   = new TypeNameResolver().GetTypeNameFor(t);
            var writer = new TypeMappingWriter(t, type);

            return(writer.MapFromAttributes());
        }
コード例 #2
0
        protected string CreateMapFor(Type t)
        {
            var type   = new TypeNameResolver().GetTypeNameFor(t);
            var writer = new TypeMappingWriter(t, type, TestElasticClient.Settings, 10);

            return(writer.MapFromAttributes());
        }