mirror of
https://github.com/kethily-daniel/Kirin-Tool.git
synced 2026-12-02 13:59:57 +02:00
102 lines
4.2 KiB
C#
102 lines
4.2 KiB
C#
/*
|
|
* Kirin-Tool Read-Only Reference License
|
|
*
|
|
* Licensor:
|
|
* Kethily Daniel & NDX
|
|
*
|
|
* Licensed Work:
|
|
* All files and contents of the Kirin-Tool repository, including source code, documentation, assets, configuration files, build scripts, and associated materials.
|
|
*
|
|
* Contact Information:
|
|
* https://kirintool.cfd
|
|
*
|
|
*
|
|
* Copyright (c) 2026 Kethily Daniel & NDX. All rights reserved.
|
|
*
|
|
* This source code and all associated resources (collectively, the "Work") are
|
|
* published strictly for human review and reference purposes.
|
|
*
|
|
* 1. READ-ONLY ACCESS
|
|
* You are permitted only to view and read the Work as published in this
|
|
* repository. No license is granted to download, clone, fork, mirror, cache,
|
|
* or store the Work for any purpose beyond transient viewing, except where
|
|
* strictly necessary for standard, incidental operation of the hosting
|
|
* platform (e.g., your browser's normal rendering of the page).
|
|
*
|
|
* 2. PROHIBITED USES
|
|
* You are strictly prohibited from:
|
|
* - Copying, reproducing, or duplicating any part of the Work.
|
|
* - Modifying, altering, or creating derivative works based on the Work.
|
|
* - Distributing, publishing, sublicensing, or selling the Work or any
|
|
* portion or derivative of it.
|
|
* - Using the Work in any commercial or non-commercial product or project.
|
|
* - Using any automated means (scripts, scrapers, crawlers, or bots) to
|
|
* access, index, or extract the Work.
|
|
*
|
|
* 3. ARTIFICIAL INTELLIGENCE / MACHINE LEARNING RESTRICTION
|
|
* You may not use the Work, in whole or in part, to train, fine-tune,
|
|
* evaluate, prompt, augment (e.g., retrieval-augmented generation), or
|
|
* otherwise develop any artificial intelligence or machine learning model,
|
|
* including large language models ("LLMs"), whether by direct ingestion,
|
|
* automated scraping, dataset inclusion, or any other method. This includes,
|
|
* without limitation:
|
|
* - Submitting the Work as input/context to an AI system or LLM.
|
|
* - Including the Work in any training, fine-tuning, or evaluation corpus.
|
|
* - Using the Work to generate embeddings, summaries, or derived training
|
|
* signals of any kind.
|
|
*
|
|
* TEXT AND DATA MINING RESERVATION: To the extent any applicable law
|
|
* (including, without limitation, Article 4 of Directive (EU) 2019/790)
|
|
* provides an exception or limitation permitting text and data mining absent
|
|
* an express reservation, the rights holder hereby expressly reserves all
|
|
* such rights and opts out of any such exception with respect to the Work.
|
|
*
|
|
* 4. NO IMPLIED LICENSE
|
|
* Nothing in this license shall be construed as granting any license or
|
|
* right, by implication, estoppel, or otherwise, to any intellectual
|
|
* property rights in the Work beyond the limited viewing right expressly
|
|
* stated in Section 1.
|
|
*
|
|
* 5. ENFORCEMENT
|
|
* Any use of the Work in violation of this license immediately terminates
|
|
* any permission granted herein and may subject the violator to legal
|
|
* action for copyright infringement and any other applicable claims.
|
|
*
|
|
* THE WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
* FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR
|
|
* OR COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY
|
|
* ARISING FROM THE WORK OR THE USE OR OTHER DEALINGS IN THE WORK.
|
|
*/
|
|
|
|
using System.ComponentModel;
|
|
using System.Runtime.CompilerServices;
|
|
|
|
namespace Kirin_Tool.Models
|
|
{
|
|
public class ProgressItemViewModel : INotifyPropertyChanged
|
|
{
|
|
private double _progressValue;
|
|
private string _statusText;
|
|
|
|
public string FileName { get; set; }
|
|
|
|
public double ProgressValue
|
|
{
|
|
get => _progressValue;
|
|
set { _progressValue = value; OnPropertyChanged(); }
|
|
}
|
|
|
|
public string StatusText
|
|
{
|
|
get => _statusText;
|
|
set { _statusText = value; OnPropertyChanged(); }
|
|
}
|
|
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
protected void OnPropertyChanged([CallerMemberName] string name = null)
|
|
{
|
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name));
|
|
}
|
|
}
|
|
} |