AdsDialogKit 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package AdsDialogKit --version 1.0.1
NuGet\Install-Package AdsDialogKit -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AdsDialogKit" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AdsDialogKit --version 1.0.1
#r "nuget: AdsDialogKit, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AdsDialogKit as a Cake Addin
#addin nuget:?package=AdsDialogKit&version=1.0.1

// Install AdsDialogKit as a Cake Tool
#tool nuget:?package=AdsDialogKit&version=1.0.1

<a name="readme-top"></a>

Contributors Forks Stargazers Issues NuGet MIT License

<br /> <div align="center"> <img src="https://github.com/CihanCakir/AdsDialogKit/blob/main/logo.PNG" alt="AdsDialogKit" width="200" height="200">

<h3 align="center">AdsDialogKit</h3>

<p align="center"> Dialog Kit is a user interface solution that provides fast and customizable dialog boxes. <br /> <a href="https://github.com/CihanCakir/AdsDialogKit/blob/main/README.md"><strong>Explore the docs »</strong></a> <br /> <br /> <a href="https://github.com/CihanCakir/AdsDialogKit/tree/main/sample/AdsDialogKit.Console">View Demo</a> · <a href="https://github.com/CihanCakir/AdsDialogKit/issues">Report Bug</a> · <a href="https://github.com/CihanCakir/AdsDialogKit/issues">Request Feature</a> </p> </div>

<details> <summary>Table of Contents</summary> <ol> <li> <a href="#about-the-project">About The Project</a> <ul> <li><a href="#built-with">Built With</a></li> </ul> </li> <li> <a href="#getting-started">Getting Started</a> <ul> <li><a href="#prerequisites">Prerequisites</a></li> <li><a href="#installation">Installation</a></li> <li><a href="#usage">Usage</a></li> </ul> </li> <li><a href="#roadmap">Roadmap</a></li> <li><a href="#contributing">Contributing</a></li> <li><a href="#license">License</a></li> <li><a href="#contact">Contact</a></li> </ol> </details>

About The Project

Dialog Kit is a useful and customizable dialog box solution for user interfaces. This NuGet package allows you to quickly and easily add dialog box features to your applications. By supporting various types of dialogs, Dialog Kit can be used for communication purposes such as informative messages, alerts, confirmations and user logins. It also offers theme and style options that can be easily integrated and customized into the user interface. Dialog Kit helps you improve the user experience while speeding up your development process

This description highlights the key features and user benefits of the Dialog Kit NuGet package you have created. You can help users understand and use the package by adding this description to the NuGet package's documentation, the package's description section, or the GitHub repository. Of course, you may also want to add customization options or other noteworthy details.

<p align="right">(<a href="#readme-top">back to top</a>)</p>

Built With

.Net

<p align="right">(<a href="#readme-top">back to top</a>)</p>

Getting Started

Prerequisites

Installation

  • Add AdsDialogKit NuGet package to your project
dotnet add package AdsDialogKit

Usage

Create The SampleStaticDialogBoxHelperMethods
using AdsDialogKit;

public static class SampleBasicDialogBoxExtensions
{
    public static IAdsBasicDialogBox BasicDialogError(this IAdsDialogBox AdsDialogBox)
    {
        return AdsDialogBox.Basic
            .Header
                .SetTitle("Example Title For the BasicDialogError")
                .Next()
            .Body
                .SetText("Example Description For the BasicDialogError")
                .Next()
            .Footer
                .Button
                    .SetText("Agree")
                    .SetAction(AdsDialogKitButtonAction.GoToDeepLink)
                    .SetLink("")
                    .Next()
                .Button
                    .SetText("Disagree")
                    .SetAction(AdsDialogKitButtonAction.GoToDeepLink)
                    .SetLink("")
                    .Next()
                .Next()
            .Create();
    }
}
Dependency Injection
using AdsDialogKit;

builder.Services.AddAdsDialogBox()
Call the DialogBox
using AdsDialogKit;

public class DialogBoxController : ControllerBase
{
    readonly IAdsDialogBox _adsDialogBox;

    public DialogBoxController(IAdsDialogBox adsDialogBox)
    {
        _adsDialogBox = adsDialogBox;
    }

    [HttpGet(Name = "BasicDialogInformation")]
    public AdsDialogBox Get()
    {
        var model = SampleBasicDialogBoxExtensions.BasicDialogInformation(_adsDialogBox);
        var serializerSettings = new JsonSerializerSettings
        {
            NullValueHandling = NullValueHandling.Include,
        };
        var serializedDialogBox = JsonConvert.SerializeObject(model, serializerSettings);
        return JsonConvert.DeserializeObject<AdsDialogBox>(serializedDialogBox, serializerSettings);
    }
}

For more examples, please refer to the Sample Project

<p align="right">(<a href="#readme-top">back to top</a>)</p>

Roadmap

  • Add basic dialog box
  • Add examples
  • Add license file
  • Add NuGet package
  • Add Changelog
  • Add structral comments for methods
  • Add tests

See the open issues for a full list of proposed features (and known issues).

<p align="right">(<a href="#readme-top">back to top</a>)</p>

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

<p align="right">(<a href="#readme-top">back to top</a>)</p>

License

Distributed under the MIT License. See LICENSE.md for more information.

<p align="right">(<a href="#readme-top">back to top</a>)</p>

Contact

LinkedIn

Cihan Çakır - dev.cihancakir@gmail.com

Project Link: https://github.com/CihanCakir/AdsDialogKit

<p align="right">(<a href="#readme-top">back to top</a>)</p>

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.2.4 187 7/18/2023
1.0.2.3 142 7/18/2023
1.0.2.1 144 6/28/2023
1.0.2 122 6/28/2023
1.0.1 131 6/28/2023
1.0.0 128 6/28/2023