Removed old #if WIN8 statements
This commit is contained in:
Родитель
2b389ad5db
Коммит
ee8a7ab10e
|
@ -13,9 +13,7 @@
|
|||
// </license>
|
||||
// ****************************************************************************
|
||||
|
||||
// TODO Win8
|
||||
|
||||
#if !WIN8
|
||||
#if !NETFX_CORE
|
||||
|
||||
using System;
|
||||
using System.Windows;
|
||||
|
|
|
@ -594,17 +594,6 @@ namespace GalaSoft.MvvmLight.Messaging
|
|||
{
|
||||
List<WeakActionAndToken> list = null;
|
||||
|
||||
#if WIN8
|
||||
if (messageType == type
|
||||
|| type.GetTypeInfo().IsAssignableFrom(messageType.GetTypeInfo())
|
||||
|| Implements(messageType, type))
|
||||
{
|
||||
lock (_recipientsOfSubclassesAction)
|
||||
{
|
||||
list = _recipientsOfSubclassesAction[type].Take(_recipientsOfSubclassesAction[type].Count()).ToList();
|
||||
}
|
||||
}
|
||||
#else
|
||||
if (messageType == type
|
||||
|| messageType.IsSubclassOf(type)
|
||||
|| type.IsAssignableFrom(messageType))
|
||||
|
@ -614,7 +603,6 @@ namespace GalaSoft.MvvmLight.Messaging
|
|||
list = _recipientsOfSubclassesAction[type].Take(_recipientsOfSubclassesAction[type].Count()).ToList();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
SendToList(message, list, messageTargetType, token);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче