twitter oauth icomparer error -
I am trying to convert this code from csharp to vb. VB Converter used all children of free csharp but an error is occurring, please tell that anyone has already solved this problem.
Error:
Class' QueryPamatorComputer 'should be implemented' Compare to Function '(OAuthBase.QueryParameter as X, y as OAuthBase.QueryParameter) Integer' interface For 'System.Collections.Generic.IComparer (QueryParameter's)' '
from c # code:
protected class question parameter: Component: IComparer & lt; QueryParameter & gt; {Compare public int (query piramator x, query pmmtr y) {if (x.Name == y.Name) {return string. Companion (X. Well, Y. Well); } Else {Return String. Compar (x.Name, y.Name); }}}
vb code
protected class question parameterCompilerIpliancesIcamparer (query of query) #Rule "iceman member" compare public function (bye Valid X as query parameter, ByVal as QueryParameter) if xname = y.Name as integer then return string. Integrate (x.Value, y.Value) or Return Strings. Compile (x.Name, y.Name) and end and function # and field end class
Try OAuthBase
Type each of your parameters?
Or use an OAIT library such that you do not have to worry about it either :)
Comments
Post a Comment