@@ -5,64 +5,64 @@ namespace Nest
5
5
public interface IMappingVisitor
6
6
{
7
7
int Depth { get ; set ; }
8
- void Visit ( TypeMapping mapping ) ;
8
+ void Visit ( ITypeMapping mapping ) ;
9
9
#pragma warning disable 618
10
- void Visit ( StringProperty property ) ;
10
+ void Visit ( IStringProperty property ) ;
11
11
#pragma warning restore 618
12
- void Visit ( TextProperty property ) ;
13
- void Visit ( KeywordProperty property ) ;
14
- void Visit ( DateProperty property ) ;
15
- void Visit ( BooleanProperty property ) ;
16
- void Visit ( BinaryProperty property ) ;
17
- void Visit ( ObjectProperty property ) ;
18
- void Visit ( NestedProperty property ) ;
19
- void Visit ( IpProperty property ) ;
20
- void Visit ( GeoPointProperty property ) ;
21
- void Visit ( GeoShapeProperty property ) ;
22
- void Visit ( AttachmentProperty property ) ;
23
- void Visit ( NumberProperty property ) ;
24
- void Visit ( CompletionProperty property ) ;
25
- void Visit ( Murmur3HashProperty property ) ;
26
- void Visit ( TokenCountProperty property ) ;
12
+ void Visit ( ITextProperty property ) ;
13
+ void Visit ( IKeywordProperty property ) ;
14
+ void Visit ( IDateProperty property ) ;
15
+ void Visit ( IBooleanProperty property ) ;
16
+ void Visit ( IBinaryProperty property ) ;
17
+ void Visit ( IObjectProperty property ) ;
18
+ void Visit ( INestedProperty property ) ;
19
+ void Visit ( IIpProperty property ) ;
20
+ void Visit ( IGeoPointProperty property ) ;
21
+ void Visit ( IGeoShapeProperty property ) ;
22
+ void Visit ( IAttachmentProperty property ) ;
23
+ void Visit ( INumberProperty property ) ;
24
+ void Visit ( ICompletionProperty property ) ;
25
+ void Visit ( IMurmur3HashProperty property ) ;
26
+ void Visit ( ITokenCountProperty property ) ;
27
27
}
28
28
29
29
public class NoopMappingVisitor : IMappingVisitor
30
30
{
31
31
public virtual int Depth { get ; set ; }
32
32
33
- public virtual void Visit ( TypeMapping mapping ) { }
33
+ public virtual void Visit ( ITypeMapping mapping ) { }
34
34
35
35
#pragma warning disable 618
36
- public virtual void Visit ( StringProperty property ) { }
36
+ public virtual void Visit ( IStringProperty property ) { }
37
37
#pragma warning restore 618
38
- public virtual void Visit ( TextProperty property ) { }
38
+ public virtual void Visit ( ITextProperty property ) { }
39
39
40
- public virtual void Visit ( KeywordProperty property ) { }
40
+ public virtual void Visit ( IKeywordProperty property ) { }
41
41
42
- public virtual void Visit ( DateProperty property ) { }
42
+ public virtual void Visit ( IDateProperty property ) { }
43
43
44
- public virtual void Visit ( BooleanProperty property ) { }
44
+ public virtual void Visit ( IBooleanProperty property ) { }
45
45
46
- public virtual void Visit ( BinaryProperty property ) { }
46
+ public virtual void Visit ( IBinaryProperty property ) { }
47
47
48
- public virtual void Visit ( NumberProperty property ) { }
48
+ public virtual void Visit ( INumberProperty property ) { }
49
49
50
- public virtual void Visit ( ObjectProperty property ) { }
50
+ public virtual void Visit ( IObjectProperty property ) { }
51
51
52
- public virtual void Visit ( NestedProperty property ) { }
52
+ public virtual void Visit ( INestedProperty property ) { }
53
53
54
- public virtual void Visit ( IpProperty property ) { }
54
+ public virtual void Visit ( IIpProperty property ) { }
55
55
56
- public virtual void Visit ( GeoPointProperty property ) { }
56
+ public virtual void Visit ( IGeoPointProperty property ) { }
57
57
58
- public virtual void Visit ( GeoShapeProperty property ) { }
58
+ public virtual void Visit ( IGeoShapeProperty property ) { }
59
59
60
- public virtual void Visit ( AttachmentProperty property ) { }
60
+ public virtual void Visit ( IAttachmentProperty property ) { }
61
61
62
- public virtual void Visit ( CompletionProperty property ) { }
62
+ public virtual void Visit ( ICompletionProperty property ) { }
63
63
64
- public virtual void Visit ( Murmur3HashProperty property ) { }
64
+ public virtual void Visit ( IMurmur3HashProperty property ) { }
65
65
66
- public virtual void Visit ( TokenCountProperty property ) { }
66
+ public virtual void Visit ( ITokenCountProperty property ) { }
67
67
}
68
68
}
0 commit comments