Found 27 packages
This package includes a .NET MVVM library with helpers such as: - ObservableObject: a base class for objects implementing the INotifyPropertyChanged interface. - ObservableRecipient: a base class for observable objects with support for the IMessenger service. - ObservableValidator: a base class for objects implementing the INotifyDataErrorInfo interface. - RelayCommand: a simple delegate command implementing the ICommand interface. - AsyncRelayCommand: a delegate command supporting asynchronous operations and cancellation. - WeakReferenceMessenger: a messaging system to exchange messages through different loosely-coupled objects. - StrongReferenceMessenger: a high-performance messaging system that trades weak references for speed. - Ioc: a helper class to configure dependency injection service containers.
Project is deprecated. Migrate to https://www.nuget.org/packages/CalculationWorks.BusinessModel/
This logging library makes large use of enterprise correlation. In a lot of applications that incorporate various small and large services, it is often important to correlate events that happen across these services. It gives us a business workflow view of the various events that happen in the application, its components and services. This library provide operation and activity ID management and propagation. The main difference with this library over other is that you can configure each type of log separately. You can enable fatal, error, warning, debugging, informational, progress and sensitive data logging all independently of each other. This is more flexible than the concept of minimum level logging, such as that in log4net or serilog e.g. enabling one warning in this libraries will enable error and fatal logging as well. This library allows you to set those settings independently of each other. The SqlLogger maps AdditionalData to table columns, where the key of the dictionary entry is the column name and the value is serialised to JSON as the column value. MetaData is serialised to a single JSON value stored in the MetaData column. This means you can store data such as a User ID or Job ID in a separate column so you can filter more efficiently with indexes and partitions. TraceLogger and ConsoleLogger both seralise and format all information into a single string. The MultiLogger allows you to configure several different loggers to be used at once with different settings for each logger. Usage is in the form of: static void Main() { ICorrelationIdHelper correlationIdHelper = new WebCorrelationIdHelper(); // This value will be set automatically to all logs within this thread... so long as System.Threading.Tasks.Task.Factory.StartNew is used. correlationIdHelper.SetCorrelationId(Guid.NewGuid()); DoSyncWork(); DoAsyncWork(); } static void DoSyncWork() { ILogger logger = new SqlLogger(); logger.LogDebug("Some technical debugging details."); } static void DoAsyncWork() { System.Threading.Tasks.Task.Factory.StartNew(() => { ILogger logger = new ConsoleLogger(); logger.LogInfo("An informative message."); }); } This package installs cdmdotnet.Logging.dll with includes core logging functionality. Other packages depend on cdmdotnet.Logging for specific implementations.
Project is deprecated. Migrate to https://www.nuget.org/packages/CalculationWorks.ViewModel.Windows/
Project is deprecated. Migrate to https://www.nuget.org/packages/CalculationWorks.ViewModel.Forms/
This class library (.Net Standard 2.0) provide a C# bindable component that implements the following .NET Framework interfaces: System.ComponentModel.INotifyPropertyChanged System.ComponentModel.IDataErrorInfo System.ComponentModel.INotifyDataErrorInfo System.ComponentModel.DataAnnotations implements supports for data binding, data changes notifications, error check and notifications, data validation through both validation rules and validation attributes The library is complete and ready to use. It is totally free/open source/modifiable/redistribuable (see MIT licence)
This class library (.Net Standard 2.0) provide a C# bindable component that implements the following .NET Framework interfaces: System.ComponentModel.INotifyPropertyChanged System.ComponentModel.IDataErrorInfo System.ComponentModel.INotifyDataErrorInfo System.ComponentModel.DataAnnotations implements supports for data binding, data changes notifications, error check and notifications, data validation through both validation rules and validation attributes brings classes for wpf integration The library is complete and ready to use. It is totally free/open source/modifiable/redistribuable (see MIT licence)
An out of the box integration for fluent validation framework and INotifyDataErrorInfo interface. just decorate your target class with [NotifyDataErrorInfo(typeof(<FluentValidatorType>))] . Recommended to use with Syncfusion Data Form.
Constrói observables a partir de objetos que implementam INotifyPropertyChanged, INotifyCollectionChanged ou INotifyDataErrorInfo.
This API provides all functionnalities necessary to log text and data to different targets, allowing to select only relevant log items categories, log types and source objects throught appropriate filters. It is possible to choose log items properties from more than 10 ones (including information about the caller: object, type, method / property name,source file name and line number) and to control the formating of log items texts (formating,order and size of columns). Several standard loggers are provided, but new ones can be developped in a very simple way. Each component can also be extended in order to support new functionnalities. The API is designed to run fast. Filters and formating can be controlled in a global way or individualy for each logger. It can store items in real time and delivers it in a deferred way by blocks. It supports multithreading contexts.
An in-memory table with async-validation support. That is, the table row implements INotifyDataErrorInfo
IDataErrorInfo+ComponentModel.DataAnnotations 实现属性验证,WPF中使用 PropertyValidateModelWithIDataErrorInfo
Helper classes to make ViewModels less verbose. It provides a generic ViewModel class that automatically implements INotifyPropertyChanged, IEditableObject and INotifyDataErrorInfo for the wrapped object using Dynamic Proxy method. This class also facilitates configuring validation against some rules using a configuration class with fluent syntax. Find out more at the project website.
Control that allows validation errors to be displayed according to the INotifyDataErrorInfo interface.
Implement ValidateFor control to display errors from the INotifyDataErrorInfo interface.
Form validation for WinUI3 projects. - show validation messages in UI - adds a red border to invalid contents - very similar using like ASP validation forms - just works with DataAnnotation validation attributes - does not requires to implement INotifyDataErrorInfo - supports complex model validation (e.g.: ViewModel.Person.Name) - inherits a submit button which will be disabled on invalid models - form inherits a valid submit command that implements ICommand interface
DoLog is a logging application which helps you to log in a CSV file by just plugged in. Install it through Nuget package and your logging functionality is ready. Steps to Add DoLog: 1. Run the command from Nuget package manager console. 2. Add the namespace using DoLogLibrary; // put it in namespace section 3. For windows applications, you don't need to set the log file location path. For web application write the below code in App_Start method in Global.ascx. DoLog.SetLogLocation(Server.MapPath("~")); // Set the location of log file for web application 4. For Logging use method Log under DoLog class. This is a static method, so you don't need to create any kind of object. Examples: DoLog.Log("Application Starts"); DoLog.Log(ex.Message,"Error"); DoLog.Log("Application Ends", "Info"); "Log" takes two parameters. first one is the message and second one is the level of message(like info, warning, error or anything user puts). Method returns a tuple<bool, string> first items state whether logging operation is successful or not, and second item states the location of log file. In our new version you can also log data in Database. A database table named TBL_DOLOG will be created and all the log data will be stored over there. To access this feature use method LogDB() and SetConnectionString(). Example: // Set the connection string first DoLog.SetConnectionString(@"Data Source=localhost;Integrated Security=True;Initial Catalog=TestDB;"); // Do the logging operation (return true or false) DoLog.LogDB("This is a test data."); DoLog.LogDB(ex.Message,"Error");