Class S57S101Mapping.Builder
Builder for composing custom mapping tables.
public sealed class S57S101Mapping.Builder
- Inheritance
-
S57S101Mapping.Builder
- Inherited Members
Methods
AddAttribute(ushort, string)
Convenience overload that adds a 1:1 attribute mapping by S-101 code only. Use when the S-57 acronym is not relevant for the test being constructed.
public S57S101Mapping.Builder AddAttribute(ushort attl, string s101Code)
Parameters
Returns
AddAttribute(ushort, string, string)
Convenience overload that adds a 1:1 attribute mapping.
public S57S101Mapping.Builder AddAttribute(ushort attl, string s57Acronym, string s101Code)
Parameters
Returns
AddAttributeRule(S57AttributeRule)
Adds or replaces an attribute rule.
public S57S101Mapping.Builder AddAttributeRule(S57AttributeRule rule)
Parameters
ruleS57AttributeRule
Returns
AddFeature(ushort, string)
Convenience overload that adds a 1:1 feature-class mapping by S-101 code only. Use when the S-57 acronym is not relevant for the test being constructed.
public S57S101Mapping.Builder AddFeature(ushort objl, string s101Code)
Parameters
Returns
AddFeature(ushort, string, string)
Convenience overload that adds a 1:1 feature-class mapping.
public S57S101Mapping.Builder AddFeature(ushort objl, string s57Acronym, string s101Code)
Parameters
Returns
AddFeatureRule(S57FeatureRule)
Adds or replaces a feature-class rule.
public S57S101Mapping.Builder AddFeatureRule(S57FeatureRule rule)
Parameters
ruleS57FeatureRule
Returns
Build()
Builds an immutable mapping.
public S57S101Mapping Build()
Returns
WithDefaults()
Pre-populates the builder with the default mapping.
public S57S101Mapping.Builder WithDefaults()