text
stringlengths
13
6.01M
using log4net; using System; using System.IO; namespace filter.framework.utility { /// <summary> /// 日志管理 /// </summary> public sealed class LogHelper { private ILog mLog; public void SetLog(string loggerName = "", bool forceSet = false) { if (forceSet || mLog ...
using BookStore.Models; using System.Threading.Tasks; namespace BookStore.Services { public interface IEmailService { Task SendTestEmail(UserEmailOptions userEmailOptions); Task SendEmailForEmailConfirmation(UserEmailOptions userEmailOptions); Task SendEmailForForgotPassword(UserEmai...
namespace Computers.Logic.ComputerType { using HardDrives; public class Server : Computer { public Server( Cpu cpu, Ram ram, HardDrive hardDrives, VideoCard videoCard) : base(cpu, ram, hardDrives, videoCard) { } p...
using System; //For MethodImpl using System.Runtime.CompilerServices; namespace Unicorn { public class Light { public enum Type { DIRECTIONAL = 0, POINT, SPOT, INVALID_TYPE }; // Native handle for this component private IntPtr native_handle = IntPtr.Zero; public b...
// ----------------------------------------------------------------------- // <copyright file="AssemblyInitializer.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root // for license information. // </co...
using System.Collections; using System.Runtime.CompilerServices; using System.Threading; namespace SCII { /* internal class Keyboard { private static readonly Keyboard ThisInstance = new Keyboard(); private readonly VirtialKey[] _keyboardBuffer = new VirtialKey[32]; private int _getPoi...
using FluentAssertions; using NUnit.Framework; using PSPatcher.Core.Storage; namespace PSPatcher.Tests.AstExtensionsTests.PSTests { [TestFixture] public class DisplayExtensions_Tests { private IStorage storage; [SetUp] public void SetUp() { storage = new String...
namespace RokasLog { public class LogHelper { private static LogBase logger = null; public void Log(LogTarget target, string message) { switch(target) { case LogTarget.File: logger = new FileLogger(); logger....
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using doob.Reflectensions; using doob.Reflectensions.Common; using doob.Scripter; using doob.Scripter.Engine.Javascript; using doob.Scripter.Engine.Powershell; using doob.Scripter.Engine.TypeScript; using doob.Scripter.Mod...
using System.Collections.Generic; using UnityEngine; namespace AID { /// <summary> /// Binds and routes Console requirements to DevConsoleUI Gameobjects, UI, and user input. /// </summary> [RequireComponent(typeof(DevConsoleUI))] public class DevConsoleBinding : MonoBehaviour { private...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace GetAllParens { class Program { static void Main(string[] args) { foreach (string paren in GetAllParens(3, 3)) { Console.WriteLine(paren); } ...
namespace WebMarkupMin.Core.Configuration { using System.Configuration; /// <summary> /// Configuration settings of code minification /// </summary> public abstract class CodeMinificationConfigurationBase : ConfigurationElement { /// <summary> /// Gets a name of default code minifier /// </summary> publ...
using System; namespace MZcms.Core { /// <summary> /// 平台不支持异常 /// </summary> public class PlatformNotSupportedException : MZcmsException { public PlatformNotSupportedException(PlatformType platformType) : base("不支持" + platformType.ToDescription() + "平台") { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using DriveMgr.IDAL; using System.Data.SqlClient; using System.Data; namespace DriveMgr.SQLServerDAL { public class VehiclMaintenanceDAL:IVehiclMaintenanceDAL { /// <summary> /// 增加一条数据 /// </summary>...
using System; using System.Dynamic; using System.Net; using System.Net.Http; using doob.Scripter.Module.Http.ExtensionMethods; namespace doob.Scripter.Module.Http { public class HttpResponse : IDisposable { private readonly HttpResponseMessage _httpResponseMessage; public Version Version => ...
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Text; using System.Threading.Tasks; using DataAccess; namespace BusinessLogic { public class Business { static InterfaceForAdoEntity DB; public void getData(int id, string name, string a...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using ws_seta.Models; namespace ws_seta.Controllers { public class VariacaoResource { public List<Variacao> variacoes { get; set; } } }
using iQuest.VendingMachine.PresentationLayer.Views.Interfaces; using iQuest.VendingMachine.Payment.Interfaces; namespace iQuest.VendingMachine.Payment.Services { internal class CardPayment : IPaymentAlgorithm { public ICardPaymentView cardView { get; set; } public string Name { get => "CREDIT...
using System; using System.Collections.Generic; namespace RestApiEcom.Models { public partial class TIaIndicateurAssocie { public int IaIndId { get; set; } public int? IaIndIaId { get; set; } public string IaIndIndCode { get; set; } public virtual TIaIndicateur IaIndIa { get; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Shoot : MonoBehaviour { public float attackRange = 2; public int damage = 0; public GameObject arrowPrefab; public Transform shootPoint; Vector3 mousePositionOnScreen; Vector3 screenPosition; Vecto...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BossWin : MonoBehaviour { [SerializeField] private GameObject boss; [SerializeField] private GameObject winText; [SerializeField] private GameObject reward; [SerializeField] private GameObject ground; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CharacterSelectInputController : MenuInputController { private bool[] m_submitTriggerList = new bool[4]; private bool[] m_previousTriggerList = new bool[4]; private bool[] m_pauseTriggerList = new bool[4]; private bool[] ...
namespace OCP.Group.Backend { /** * @since 17.0.0 */ public interface IGetDisplayNameBackend:IBackend { /** * @since 17.0.0 */ string getDisplayName(string gid); } }
using System; using System.Collections.Generic; using System.Text; namespace Models { public class tb_Reserve { public tb_Reserve() { } #region Models private int _id; private string _ReserveType; private string _ReserveInfo; public int id ...
using System; using System.Collections.Generic; using NHibernate; using Soko.Exceptions; using Soko.Domain; using Soko; namespace Bilten.Dao.NHibernate { /// <summary> /// NHibernate-specific implementation of <see cref="MesecnaClanarinaDAO"/>. /// </summary> public class MesecnaClanarinaDA...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Mime; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using QI.WikiScraping.Api.Application.Services; namespa...
using System; using System.Globalization; using System.IO; using System.Text; using Newtonsoft.Json; using OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities; using OmniSharp.Extensions.LanguageServer.Protocol.Serialization; using ISerializer = OmniSharp.Extensions.JsonRpc.ISerializer; namespace Lsp.Test...
using System; namespace RO { [CustomLuaClass] public class LuaGameObjectClickable : LuaGameObject { public int clickPriority = 999; } }
namespace AthleteBuilder.Model { public class Athlete { public string FirstName { get; set; } public string LastName { get; set; } public int BirthYear { get; set; } public string Club { get; set; } public string Sexe { get; set; } public bool Malus { ge...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ClassSpecDescription : MonoBehaviour { public Text classOrSpecText; public Image icon; public Text _name; public Text description; public static Transform tr; public static Vecto...
using System; namespace Objects { public sealed class Snake : Animal { public Snake() : base(nameof(Snake)) { } public override void Move() { Console.WriteLine("Crawling"); } public override void Sound() { Console.WriteLi...
using NUnit.Framework; using System.Collections.Generic; namespace Logs.Models.Tests.LogEntryTests { [TestFixture] public class PropertiesTests { [TestCase(1)] [TestCase(12)] [TestCase(431)] [TestCase(21311)] [TestCase(1209731)] [TestCase(5665)] [Tes...
using System.Text; namespace ZeroFormatter.Internal { internal static class StringEncoding { public static Encoding UTF8 = new UTF8Encoding(false); } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace Faculty { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Mai...
using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using GalaSoft.MvvmLight.Messaging; using System; using System.Threading; using Tai_Shi_Xuan_Ji_Yi.Classes; using Tai_Shi_Xuan_Ji_Yi.Classes.StepAreaAndLineChart.PresetSequence; namespace Tai_Shi_Xuan_Ji_Yi.ViewModel { public class ViewModelNewCureSetup ...
using System; using System.Collections.Generic; namespace RestApiEcom.Models { public partial class TempZone { public int Id { get; set; } public string CodGeo { get; set; } public string Quartier { get; set; } public string Ilot { get; set; } public string Lot { get; s...
// ----------------------------------------------------------------------- // <copyright file="TsMediaStreamSource.cs" company="Henric Jungheim"> // Copyright (c) 2012-2014. // <author>Henric Jungheim</author> // </copyright> // ----------------------------------------------------------------------- // Copyright (c...
using ManyConsole; using Microsoft.Win32.TaskScheduler; using System; namespace DailyDscovrConsoleApp.Commands { public class ScheduleCommand : ConsoleCommand { private static bool Install = true; private static short RunInterval = 1; public ScheduleCommand() { IsCo...
using JekossTest.Dal.Common; using JekossTest.Dal.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace JekossTest.Dal.Configurations { public class UserConfiguration : DbEntityConfiguration<User> { public override void Configure(EntityTypeBuild...
using AutoMapper; using iCopy.Model.Request; using iCopy.SERVICES.Attributes; using iCopy.SERVICES.IServices; using iCopy.Web.Controllers; using iCopy.Web.Helper; using iCopy.Web.Resources; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Http; using System; using System.Net; using System.Threading.Tasks; us...
using MediatR; using System; namespace JCFruit.WeebChat.Server.Models { public class MessageEnvelope<T> : INotification { public string SourceId { get; set; } public DateTimeOffset Timestamp { get; set; } public T Body { get; set; } } }
using System.Collections.Generic; namespace PDV.DAO.Entidades.MDFe.Tipos { public class TipoEmitente { public decimal IDTipoEmitente { get; set; } public string Descricao { get; set; } public static List<TipoEmitente> GetTipos() { List<TipoEmitente> Tipos = new Lis...
 public class NameFactory : INameFactory { public IName Make(string firstName, string lastName) { return new Name { FirstName = firstName, LastName = lastName, }; } }
using FakeItEasy; using FatCat.Nes.OpCodes.AddressingModes; using FluentAssertions; using Xunit; namespace FatCat.Nes.Tests.OpCodes.AddressModes { public class IndirectYModeTests : AddressModeTests { private const byte HighAddressValue = 0x19; private const byte InitialReadValue = 0xe2; private const byte Lo...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BlockChain { public class TraceingManager { public static void InitializeTraceing() { string path = Directory.Get...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace unidad_3.modelo.championshift { class cancha { //propiedad de la clase protected int id; protected string nombre; protected string tipo; protec...
/* 02. Write a program to traverse the directory C:\WINDOWS and all its subdirectories recursively * and to display all files matching the mask *.exe. Use the class System.IO.Directory. */ using System; using System.Collections.Generic; using System.IO; class FindAllExeFiles { static void Main() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace UsingStructs { // STRUCTS are similar to classes. But, there are some differences: // // 1) Structs don't support inheritance // // 2) Structs are VALUE TYPES not refference types like classes // ...
using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GlobalDevelopment.SocialNetworks.LinkedIn.Models { public class PositionValues { public string ID { get; set; } public bool IsCu...
using System; using System.Collections.Generic; using System.Linq; using SubSonic.Extensions; namespace Pes.Core { public partial class VLessionGroup { public static List<VLessionGroup> GetListLessionGroups() { return All().ToList(); } publ...
using Mosa.External.x86; using Mosa.External.x86.FileSystem; using Mosa.Kernel.x86; using System; using System.Collections.Generic; namespace Mosa.External.x86.FileSystem { public struct PartitionInfo { public bool IsBootable; public uint LBA; public uint Size; } public unsafe...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GenericImplementation { class Mystack<T> { int top = -1; T[] stack = new T[100]; public void push(T x) { if (top == 99) ...
using LibraryAssetsAPI.Model; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace LibraryAssetsAPI.Data { public class LibraryAssetContexSeed { public static async Task SeedAsync(LibraryAssetContex context) { if (!context.Statu...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.SqlClient; using System.Data; namespace qmaster { public partial class add_qus : System.Web.UI.Page { protected void Page_Load(objec...
using System; using Newtonsoft.Json; namespace SnakeEyesGame.Models { [JsonObject(MemberSerialization.OptIn)] public class SnakeEyes { #region fields [JsonProperty] private Dice _eye1; [JsonProperty] private Dice _eye2; #endregion #region properties public int Eye1 { get; } public int Eye2 { get...
using System; using Xamarin.Forms; using City_Center.PopUp; using City_Center.Clases; using Acr.UserDialogs; using City_Center.Helper; using System.Text.RegularExpressions; using City_Center.ViewModels; namespace City_Center.Page { public partial class InicioContent : ContentPage { ...
using System.Collections.Generic; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.Internal; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Serilog; using SSW.DataOnio...
using System.Threading.Tasks; using Psibr.Platform.Logging; using Psibr.Platform.Serialization; using RabbitMQ.Client; using REstate.Services; namespace REstate.Connectors.RabbitMq { public class RabbitMqConnectorFactory : IConnectorFactory { private readonly ConnectionFactory _connectionFact...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data.SqlClient; using System.Configuration; using System.Data; using System.Collections; /// <summary> /// Summary description for MailClass /// </summary> public class MailClass { string connStr = ConfigurationManage...
namespace Triton.Game.Mapping { using ns26; using System; using Triton.Game; using Triton.Game.Mono; [Attribute38("SpecialEventManager")] public class SpecialEventManager : MonoClass { public SpecialEventManager(IntPtr address) : this(address, "SpecialEventManager") { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; /// <summary> /// Summary description for WebServiceFacadeHelper /// </summary> public class WebServiceFacadeHelper { public WebServiceFacadeHelper() { // // TODO: Add constructor logic here // } public PersonService.Pe...
using System.Text; using System; using System.Collections.Generic; using Newtonsoft.Json.Converters; using Newtonsoft.Json; using System.Net.Http; using System.Drawing; using System.Collections.ObjectModel; using System.Xml; using System.ComponentModel; using System.Reflection; namespace LinnworksAPI { public class ...
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace FindSelf.Application.Queries.Users { public interface IUserTranscationQueryService { Task<bool> IsExistTranscationAsync(Guid requestId); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using RPGGame; namespace RPGgame { class Floor : Tile { bool isOccupied; public Floor(int posX, int posY) { this.posX = posX; this.posY = posY; ...
using System.Collections.Generic; using System.Linq; using NUnit.Framework; namespace KataJeuDeLaVie { [TestFixture] public class GrilleTest { private Grille _grille; [SetUp] public void SetUp() { _grille = new Grille(); } [Test] public...
using System; using System.Collections.Generic; using System.Drawing; using Cloo; using KelpNet.Common; using KelpNet.Common.Functions; using KelpNet.Common.Tools; namespace KelpNet.Functions.Connections { [Serializable] public class Deconvolution2D : CompressibleFunction { const string FUNCTION_NA...
using System; namespace ImmedisHCM.Services.Models.Core { public class SalaryServiceModel { public Guid Id { get; set; } public decimal Amount { get; set; } public EmployeeServiceModel Employee { get; set; } public SalaryTypeServiceModel SalaryType { get; set; } public ...
using System; using Micro.Net.Abstractions; namespace Micro.Net.Receive { public interface IReceiveContext<TRequest, TResponse> : IContextBase { Uri Source { get; set; } Uri Destination { get; set; } IRequestContext<TRequest> Request { get; set; } IResponseContext<TResponse> Res...
using System; using Xunit; namespace NMoSql.Test { public class JoinsTests { IQueryBuilder builder; public JoinsTests() { builder = TestNMoSqlFactory.CreateQueryBuilder(); } [Fact(DisplayName = "Joins should build joins from single joins query helper")] ...
using System; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using SprintFour.Utilities; namespace SprintFour.HUD { /// <summary> /// Handles the overlay drawn over the gameplay as well as elements concerning time /// </summary> public class Overlay : DrawableGameComponent ...
/* AGE Copyright (C) 2019 Cups This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is d...
using UnityEngine; namespace VavilichevGD.GameServices.Purchasing.Example { [CreateAssetMenu(fileName = "ProductInfoExample", menuName = "Monetization/Products/New ProductInfoExample")] public class ProductInfoExample : ProductInfo { [SerializeField] private int price; public override object GetPrice() { ...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using MediatR; using Microsoft.Extensions.Configuration; using Newtonsoft.Json.Linq; using OmniSharp.Extensions.LanguageServer.Client.Configuration; using OmniSh...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Roger { public partial class DeviceListBox : UserControl { private List<Devi...
using LuaInterface; using RO; using SLua; using System; public class Lua_RO_CustomTouchUpCall : LuaObject { [MonoPInvokeCallback(typeof(LuaCSFunction))] public static int constructor(IntPtr l) { int result; try { CustomTouchUpCall o = new CustomTouchUpCall(); LuaObject.pushValue(l, true); LuaObject.p...
using Moq; using NUnit.Framework; using System; using System.Collections.Generic; using System.Text; namespace NunitMoq.UnitTest { [TestFixture] public class MockingMethodsExceptionsAndReturnValues { [Test] public void MockingMethodsExceptionsAndReturnValues1() { var mo...
using FastSQL.App.Interfaces; using FastSQL.Core.Events; using Prism.Events; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace FastSQL.App.UserControls.OutputView { ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using CentralitaHerencia; namespace Formulario { public partial class frmMostrar : Form { ...
namespace TLBOT.Optimizator { public interface IOptimizator { string GetName(); void BeforeTranslate(ref string Line, uint ID); void AfterTranslate(ref string Line, uint ID); void AfterOpen(ref string Line, uint ID); void BeforeSave(ref string Line, uint ID); } }
using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Data.SqlClient; using lianda.Component; namesp...
using Business.Abstract; using Business.Constant; using Core.Utilities; using DataAccess.Abstract; using Entities.Concrete; using Entities.DTOs; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Business.Concrete { public class RentalManager : IRentalService { ...
using System; using System.Collections.Generic; namespace Logs.Models { public class Nutrition { public Nutrition() { } public Nutrition(int calories, int protein, int carbs, int fats, double water, int fiber, int sugar, string notes, string userId, DateTime date) ...
namespace Microsoft.DataStudio.Services.Data.Models.Solutions { public class Solution { public string ID { get; set; } //[Key] public string Name { get; set; } public string GraphUrl { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Zelo.Common.CustomAttributes; namespace Zelo.DBModel { [Table(Name = "tconfinfo")] public class Tconfinfo { [Id(Name = "cinfo_id", Strategy = GenerationType.INDENTITY)] public int CinfoId{ get; set; } [Column...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProtobufExample { public class Config { public const string SERVER_ADDR = "127.0.0.1"; public const int SERVER_PORT = 13423; private Config() { } } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Services; using ERP_Palmeiras_RH.Models.Facade; using ERP_Palmeiras_RH.Models; using ERP_Palmeiras_RH.Core; namespace ERP_Palmeiras_RH.WebServices { /// <summary> /// Summary description for UsuariosWS //...
using FindSelf.Domain.SeedWork; using System; using System.Collections.Generic; using System.Text; namespace FindSelf.Infrastructure.Idempotent { public class IdempotentRequest { public Guid Id { get; } public string CommandType { get; } public IdempotentRequest(Guid id, string comma...
using Amesc.Dominio.Contas; using Microsoft.AspNetCore.Identity; using System.Threading.Tasks; namespace Amesc.Data.Identity { public class Autenticacao : IAutenticacao { private readonly SignInManager<ApplicationUser> _signInManager; public Autenticacao(SignInManager<ApplicationUser> signInM...
 namespace HandyControlDemo.UserControl { /// <summary> /// ImageBrowserDemoCtl.xaml 的交互逻辑 /// </summary> public partial class ImageBrowserDemoCtl { public ImageBrowserDemoCtl() { InitializeComponent(); } } }
using UnityEngine; using System.Collections; public class PlayerProperties { public static readonly string team = "Team"; public static readonly string experience = "Experience"; public static readonly string gameResult = "Result"; public static readonly string skin = "Skin"; public static readonl...
using System; using UnityEngine; //using YoukiaUnity.App; namespace YoukiaUnity.Graphics { /// <summary> /// 基于2DSprites的布告板系统 /// </summary> public class PanoramicSprite : MonoBehaviour { /// <summary> /// Sprites /// </summary> public Sprite[] Sprites; //...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigati...
using System; namespace CalculatorApp { class NullableAtShow { static void Main (string[] args) { int? num1 = null; int? num2 = 45; double? num3 = new double?(); double? num4 = 3.1415926; bool? boolval = new bool?(); Console.WriteLine...
namespace CarsDb.XmlQueries { public enum QueryType { Equals, GreaterThan, LessThan, Contains } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DCDC_Manager { /// <summary> /// Class providing auto update maintenence /// </summary> abstract public class WatchDog { private System.Timers.Timer _timer; private bool _autoUpdate; ...
using System; using System.Collections.Generic; using System.Text; namespace Problems.Burrows_Wheeler { public class BW_Encoding { public string Encoding(string _string) { string result = ""; List<string> permutations = new List<string>(); string aux = _st...
using System; using Pchp.Core; namespace OC.Authentication.Token { public interface IToken : JsonSerializable { // const int TEMPORARY_TOKEN = 0; // const int PERMANENT_TOKEN = 1; // const int DO_NOT_REMEMBER = 0; // const int REMEMBER = 1; /** * Get the token ID * ...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using System; using System.Data; using DotNetNuke.Entities.Modules; namespace DotNetNuke.Tests.Integration.Executers.Dto { public class CopyModuleIte...
using System; using System.Net.Http; using System.Threading.Tasks; namespace ZeroIssuesBot { class Program { private static HttpClient Client = new HttpClient(); static async Task Main(string[] args) { // get a new access token from discord api DiscordBotAuthor...