Remove unnecessary field from TVContext
This commit is contained in:
@@ -8,7 +8,6 @@ namespace StatePattern.TVExample
|
|||||||
{
|
{
|
||||||
public class TVContext : ITVState
|
public class TVContext : ITVState
|
||||||
{
|
{
|
||||||
ITVState initialState;
|
|
||||||
public TVContext(ITVState initialState)
|
public TVContext(ITVState initialState)
|
||||||
{
|
{
|
||||||
State = initialState;
|
State = initialState;
|
||||||
|
|||||||
Reference in New Issue
Block a user