use sdk project
This commit is contained in:
1 parent
be21771a17
commit
5861666e1b
36 files changed
+759
-2228
No files matched your search
@@ -43,7 +43,7 @@ namespace HandyControlDemo.ViewModel
|
||||
public string ChatString
|
||||
{
|
||||
get => _chatString;
|
||||
#if netle40
|
||||
#if NET40
|
||||
set => Set(nameof(ChatString), ref _chatString, value);
|
||||
#else
|
||||
set => Set(ref _chatString, value);
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace HandyControlDemo.ViewModel
|
||||
public string Result
|
||||
{
|
||||
get => _result;
|
||||
#if netle40
|
||||
#if NET40
|
||||
set => Set(nameof(Result), ref _result, value);
|
||||
#else
|
||||
set => Set(ref _result, value);
|
||||
@@ -26,7 +26,7 @@ namespace HandyControlDemo.ViewModel
|
||||
public string Message
|
||||
{
|
||||
get => _message;
|
||||
#if netle40
|
||||
#if NET40
|
||||
set => Set(nameof(Message), ref _message, value);
|
||||
#else
|
||||
set => Set(ref _message, value);
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace HandyControlDemo.ViewModel
|
||||
public int Count
|
||||
{
|
||||
get => _count;
|
||||
#if netle40
|
||||
#if NET40
|
||||
set => Set(nameof(Count), ref _count, value);
|
||||
#else
|
||||
set => Set(ref _count, value);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
using System.Windows;
|
||||
using GalaSoft.MvvmLight;
|
||||
using GalaSoft.MvvmLight.Command;
|
||||
#if !netle40
|
||||
#if !NET40
|
||||
using System.Threading.Tasks;
|
||||
#endif
|
||||
using HandyControl.Controls;
|
||||
@@ -20,7 +20,7 @@ namespace HandyControlDemo.ViewModel
|
||||
public string DialogResult
|
||||
{
|
||||
get => _dialogResult;
|
||||
#if netle40
|
||||
#if NET40
|
||||
set => Set(nameof(DialogResult), ref _dialogResult, value);
|
||||
#else
|
||||
set => Set(ref _dialogResult, value);
|
||||
@@ -42,7 +42,7 @@ namespace HandyControlDemo.ViewModel
|
||||
}
|
||||
}
|
||||
|
||||
#if netle40
|
||||
#if NET40
|
||||
public RelayCommand<bool> ShowInteractiveDialogCmd => new Lazy<RelayCommand<bool>>(() =>
|
||||
new RelayCommand<bool>(ShowInteractiveDialog)).Value;
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace HandyControlDemo.ViewModel
|
||||
public ShowAnimation ShowAnimation
|
||||
{
|
||||
get => _showAnimation;
|
||||
#if netle40
|
||||
#if NET40
|
||||
set => Set(nameof(ShowAnimation) ,ref _showAnimation, value);
|
||||
#else
|
||||
set => Set(ref _showAnimation, value);
|
||||
@@ -29,7 +29,7 @@ namespace HandyControlDemo.ViewModel
|
||||
public bool StaysOpen
|
||||
{
|
||||
get => _staysOpen;
|
||||
#if netle40
|
||||
#if NET40
|
||||
set => Set(nameof(StaysOpen) ,ref _staysOpen, value);
|
||||
#else
|
||||
set => Set(ref _staysOpen, value);
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace HandyControlDemo.ViewModel
|
||||
public string Content
|
||||
{
|
||||
get => _content;
|
||||
#if netle40
|
||||
#if NET40
|
||||
set => Set(nameof(Content), ref _content, value);
|
||||
#else
|
||||
set => Set(ref _content, value);
|
||||
@@ -32,7 +32,7 @@ namespace HandyControlDemo.ViewModel
|
||||
get => _contextMenuIsShow;
|
||||
set
|
||||
{
|
||||
#if netle40
|
||||
#if NET40
|
||||
Set(nameof(ContextMenuIsShow), ref _contextMenuIsShow, value);
|
||||
#else
|
||||
Set(ref _contextMenuIsShow, value);
|
||||
@@ -52,7 +52,7 @@ namespace HandyControlDemo.ViewModel
|
||||
public bool ContextMenuIsBlink
|
||||
{
|
||||
get => _contextMenuIsBlink;
|
||||
#if netle40
|
||||
#if NET40
|
||||
set => Set(nameof(ContextMenuIsBlink), ref _contextMenuIsBlink, value);
|
||||
#else
|
||||
set => Set(ref _contextMenuIsBlink, value);
|
||||
@@ -66,7 +66,7 @@ namespace HandyControlDemo.ViewModel
|
||||
get => _contextContentIsShow;
|
||||
set
|
||||
{
|
||||
#if netle40
|
||||
#if NET40
|
||||
Set(nameof(ContextContentIsShow), ref _contextContentIsShow, value);
|
||||
#else
|
||||
Set(ref _contextContentIsShow, value);
|
||||
@@ -86,7 +86,7 @@ namespace HandyControlDemo.ViewModel
|
||||
public bool ContextContentIsBlink
|
||||
{
|
||||
get => _contextContentIsBlink;
|
||||
#if netle40
|
||||
#if NET40
|
||||
set => Set(nameof(ContextContentIsBlink), ref _contextContentIsBlink, value);
|
||||
#else
|
||||
set => Set(ref _contextContentIsBlink, value);
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace HandyControlDemo.ViewModel
|
||||
public int PageIndex
|
||||
{
|
||||
get => _pageIndex;
|
||||
#if netle40
|
||||
#if NET40
|
||||
set => Set(nameof(PageIndex), ref _pageIndex, value);
|
||||
#else
|
||||
set => Set(ref _pageIndex, value);
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace HandyControlDemo.ViewModel
|
||||
public int StepIndex
|
||||
{
|
||||
get => _stepIndex;
|
||||
#if netle40
|
||||
#if NET40
|
||||
set => Set(nameof(StepIndex), ref _stepIndex, value);
|
||||
#else
|
||||
set => Set(ref _stepIndex, value);
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace HandyControlDemo.ViewModel
|
||||
public IList<T> DataList
|
||||
{
|
||||
get => _dataList;
|
||||
#if netle40
|
||||
#if NET40
|
||||
set => Set(nameof(DataList), ref _dataList, value);
|
||||
#else
|
||||
set => Set(ref _dataList, value);
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace HandyControlDemo.ViewModel
|
||||
{
|
||||
public ItemsDisplayViewModel(Func<List<AvatarModel>> getDatAction)
|
||||
{
|
||||
#if netle40
|
||||
#if NET40
|
||||
Task.Factory.StartNew(() => DataList = getDatAction?.Invoke());
|
||||
#else
|
||||
Task.Run(() => DataList = getDatAction?.Invoke());
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace HandyControlDemo.ViewModel
|
||||
|
||||
DemoInfoCollection = new ObservableCollection<DemoInfoModel>();
|
||||
|
||||
#if netle40
|
||||
#if NET40
|
||||
Task.Factory.StartNew(() =>
|
||||
{
|
||||
DataList = dataService.GetDemoDataList();
|
||||
@@ -101,7 +101,7 @@ namespace HandyControlDemo.ViewModel
|
||||
public object SubContent
|
||||
{
|
||||
get => _subContent;
|
||||
#if netle40
|
||||
#if NET40
|
||||
set => Set(nameof(SubContent), ref _subContent, value);
|
||||
#else
|
||||
set => Set(ref _subContent, value);
|
||||
@@ -114,7 +114,7 @@ namespace HandyControlDemo.ViewModel
|
||||
public object ContentTitle
|
||||
{
|
||||
get => _contentTitle;
|
||||
#if netle40
|
||||
#if NET40
|
||||
set => Set(nameof(ContentTitle), ref _contentTitle, value);
|
||||
#else
|
||||
set => Set(ref _contentTitle, value);
|
||||
|
||||
Reference in new issue
Block a user