public void TestGeneric<TSource,TDestination>(IOverride<TSource,TDestination> override)
{
   do something
}
public void calling_method<TLValue, TRValue>(TLValue leftValue, TRValue rightValue)
{
     Type Source = leftValue.GetProperies().firstOrDefault();
     Type Destination = rightValue.GetProperies().firstOrDefault();
     var override = some method;
     TestGeneric<Source,Destination>(override);
} 
I am having generic method which is having TSource and TDestination. On the basis of this two it do some operations.
In calling method i can get the type which i have to pass. I want do like
TestGeneric<Source,Destination>();
How to do that
 
    