Class ICatExtension
It's the class that contains ICat interface's extension method.
This class must be public and static.
Also it shouldn't be a geneic class
Inherited Members
Namespace: CatLibrary
Assembly: CatLibrary.dll
Syntax
public static class ICatExtension
Methods
| Improve this Doc View SourcePlay(ICat, String)
Extension method to let cat play
Declaration
public static void Play(this ICat icat, string toy)
Parameters
| Improve this Doc View SourceSleep(ICat, Int64)
Extension method hint that how long the cat can sleep.
Declaration
public static void Sleep(this ICat icat, long hours)