From 16865ee8ec9c5b91328f27717cede02dfb345541 Mon Sep 17 00:00:00 2001 From: Raghav-Sudhakar Date: Tue, 22 Nov 2022 16:49:16 +0530 Subject: [PATCH 1/4] WPF-62104-Updated ReadMe file. --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 53d19a5..8b815ad 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,15 @@ # Working with WPF DockingManager and MVVM light -This repository contains a sample that shows the WPF DockingManager in an application that uses MVVMLight. +## MVVM light +This section explains how to create MVVMLight sample with DockingManager. Since DockingManager is not an Items Control, it is not possible to have a traditional ItemsSource binding to a collection of objects in the view model. It can be achieved using DockingAdapter from the above MVVM sample creation section. + +The following steps explains how to create sample project with MVVMLight templates. + +1. Download MVVMLight toolkit and install it to avail the predefined MVVMLight templates for all platforms MMVMLight extension can be install from Tools and Extension. + +2. Create a new WPF project and select MVVMLight WPF template. + +3. Template for MVVMLight sample will be created with required assemblies, Simple IOC container and ViewModelLocator. + +4. Attach DockingAdapter project to the DockingManagerMVVMLight project from MVVM sample. Create necessary ViewModels and Views with perfect naming conventions. Once the ItemsSource has been set to DockingAdapter children will be populate. -https://help.syncfusion.com/wpf/docking/pattern-and-practices#mvvmlight From cc0731ae4ef712be565171cf8c750345b1c44abe Mon Sep 17 00:00:00 2001 From: Raghav-Sudhakar Date: Tue, 22 Nov 2022 16:50:42 +0530 Subject: [PATCH 2/4] WPF-62104-Made changes in ReadMe. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 8b815ad..9cf7a28 100644 --- a/README.md +++ b/README.md @@ -13,3 +13,5 @@ The following steps explains how to create sample project with MVVMLight templat 4. Attach DockingAdapter project to the DockingManagerMVVMLight project from MVVM sample. Create necessary ViewModels and Views with perfect naming conventions. Once the ItemsSource has been set to DockingAdapter children will be populate. +For more detail please refer [DockingManager MVVMLight](https://help.syncfusion.com/wpf/docking/pattern-and-practices#mvvm) + From 09be159eefe4093f4d481d214c383e32b4017844 Mon Sep 17 00:00:00 2001 From: Raghav-Sudhakar Date: Tue, 22 Nov 2022 16:53:01 +0530 Subject: [PATCH 3/4] WPF-62104-Updated the link. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9cf7a28..0123d3a 100644 --- a/README.md +++ b/README.md @@ -13,5 +13,5 @@ The following steps explains how to create sample project with MVVMLight templat 4. Attach DockingAdapter project to the DockingManagerMVVMLight project from MVVM sample. Create necessary ViewModels and Views with perfect naming conventions. Once the ItemsSource has been set to DockingAdapter children will be populate. -For more detail please refer [DockingManager MVVMLight](https://help.syncfusion.com/wpf/docking/pattern-and-practices#mvvm) +For more detail please refer [DockingManager MVVMLight](https://help.syncfusion.com/wpf/docking/pattern-and-practices#mvvmlight) From 87f81bd2bb8dfb96de8c169e87efc43fbc304eaa Mon Sep 17 00:00:00 2001 From: VinothKumar-Ganesan <121218063+VinothKumar-Ganesan@users.noreply.github.com> Date: Mon, 6 Feb 2023 15:35:10 +0530 Subject: [PATCH 4/4] Gitleaks action file added --- .github/workflows/gitleaks.yaml | 38 +++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/gitleaks.yaml diff --git a/.github/workflows/gitleaks.yaml b/.github/workflows/gitleaks.yaml new file mode 100644 index 0000000..d9a8e36 --- /dev/null +++ b/.github/workflows/gitleaks.yaml @@ -0,0 +1,38 @@ +name: Secret Value found! +on: + push: + public: +jobs: + scan: + name: gitleaks + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Install the gitleaks + run: wget https://github.com/zricethezav/gitleaks/releases/download/v8.15.2/gitleaks_8.15.2_linux_x64.tar.gz + shell: pwsh + - name: Extract the tar file + run: tar xzvf gitleaks_8.15.2_linux_x64.tar.gz + - name: Generate the report + id: gitleaks + run: $GITHUB_WORKSPACE/gitleaks detect -s $GITHUB_WORKSPACE -f json -r $GITHUB_WORKSPACE/leaksreport.json + shell: bash + continue-on-error: true + - name: Setup NuGet.exe + if: steps.gitleaks.outcome != 'success' + uses: nuget/setup-nuget@v1 + with: + nuget-version: latest + - name: Install the dotnet + if: steps.gitleaks.outcome != 'success' + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '3.1.x' + - name: Install the report tool packages + if: steps.gitleaks.outcome != 'success' + run: | + nuget install "Syncfusion.Email" -source "https://nexus.syncfusion.com/repository/nuget-hosted/" + dir $GITHUB_WORKSPACE/Syncfusion.Email.1.0.0/lib/netcoreapp3.1 + dotnet $GITHUB_WORKSPACE/Syncfusion.Email.1.0.0/lib/netcoreapp3.1/Email.dll "citeam@syncfusion.com" "$GITHUB_REF_NAME" ${{ secrets.NETWORKCREDENTIALS }} ${{ secrets.NETWORKKEY }} "$GITHUB_WORKSPACE" + exit 1 \ No newline at end of file