public static SOSLBuilder GetInstanceWithSearchTerm(string searchTerm) { _soslBuilder = SDK.SmartSync.Manager.SOSLBuilder.GetInstanceWithSearchTerm(searchTerm); var nativeBuilder = _soslBuilder; var hybridBuilder = JsonConvert.SerializeObject(nativeBuilder); return JsonConvert.DeserializeObject<SOSLBuilder>(hybridBuilder); }
public static SOSLBuilder GetInstanceWithSearchTerm(string searchTerm) { _soslBuilder = SDK.SmartSync.Manager.SOSLBuilder.GetInstanceWithSearchTerm(searchTerm); var nativeBuilder = _soslBuilder; var hybridBuilder = JsonConvert.SerializeObject(nativeBuilder); return(JsonConvert.DeserializeObject <SOSLBuilder>(hybridBuilder)); }