Here are the examples of the csharp api class Ability.GetCastDelay(Unit, Unit, bool, bool, string, bool) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
public static double GetCastDelay(
this Ability ability,
bool usePing = false,
bool useCastPoint = true,
string abilityName = null,
bool useChannel = false)
return ability.GetCastDelay(source as Unit, target, usePing, useCastPoint, abilityName, useChannel);