public ODataUriResolver CreateResolver() { ODataUriResolver resolver; if (UnqualifiedNameCall && EnumPrefixFree) { resolver = new UnqualifiedCallAndEnumPrefixFreeResolver(); } else if (UnqualifiedNameCall) { resolver = new UnqualifiedODataUriResolver(); } else if (EnumPrefixFree) { resolver = new StringAsEnumResolver(); } else { resolver = new ODataUriResolver(); } resolver.EnableCaseInsensitive = CaseInsensitive; return resolver; }
public ODataUriResolver CreateResolver() { ODataUriResolver resolver; if (UnqualifiedNameCall && EnumPrefixFree) { resolver = new UnqualifiedCallAndEnumPrefixFreeResolver(); } else if (UnqualifiedNameCall) { resolver = new UnqualifiedODataUriResolver(); } else if (EnumPrefixFree) { resolver = new StringAsEnumResolver(); } else { resolver = new ODataUriResolver(); } resolver.EnableCaseInsensitive = CaseInsensitive; return(resolver); }