Design Pattern Examples
Overview of object-oriented design patterns
proxy_interface.py
Go to the documentation of this file.
1
6
7
from
abc
import
ABC, abstractmethod
8
9
10
14
class
IWorkByProxy
(ABC):
15
16
22
@abstractmethod
23
def
DoWork
(self, someArgument : str) -> str:
24
pass
25
DesignPatternExamples_python.proxy.proxy_interface.IWorkByProxy
Represents what can be done on the proxy object.
Definition:
proxy_interface.py:14
DesignPatternExamples_python.proxy.proxy_interface.IWorkByProxy.DoWork
str DoWork(self, str someArgument)
Does some work on the given argument and returns a new string.
Definition:
proxy_interface.py:23
python
DesignPatternExamples_python
proxy
proxy_interface.py
Generated on Tue Aug 29 2023 19:47:44 for Design Pattern Examples by
1.9.6