|
1 | 1 | usingConverto; |
2 | 2 | usingSystem; |
3 | 3 | usingSystem.Linq; |
4 | | -usingstaticConverto.Main; |
5 | 4 |
|
6 | 5 | namespaceReduxSimple |
7 | 6 | { |
@@ -37,7 +36,7 @@ Func<TState, TFeatureState> selectFeature |
37 | 36 | varfeatureState=selectFeature(state); |
38 | 37 | varreducerResult=r.Reduce(featureState,action); |
39 | 38 |
|
40 | | -if(IsDeepEqual(featureState,reducerResult)) |
| 39 | +if(featureState.IsDeepEqual(reducerResult)) |
41 | 40 | { |
42 | 41 | returnstate; |
43 | 42 | } |
@@ -97,7 +96,7 @@ public static On<TState>[] CreateSubReducers<TState, TFeatureState>( |
97 | 96 |
|
98 | 97 | varreducerResult=r.Reduce(featureState,action); |
99 | 98 |
|
100 | | -if(IsDeepEqual(featureState,reducerResult)) |
| 99 | +if(featureState.IsDeepEqual(reducerResult)) |
101 | 100 | { |
102 | 101 | returnstate; |
103 | 102 | } |
|