/// <summary> /// Receives a singleton that adheres to the ISiteInterface interface. /// </summary> private void CustomMethod(ISiteInterface interfaceObject) { // Use the singleton by its interface. }
/// <summary> /// Receives a singleton that adheres to the ISiteInterface interface. /// </summary> private void CustomMethod(ISiteInterface interfaceObject) { // Use the singleton by its interface. }