text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
public static class Pangram
{
public static bool IsPangram(string input)
{
//Note:
//the input can contain non-letter characters i.e. numbers, special characters and whitespace
//letters can repeat more than once
//Ps... |
using Airbest.Languages;
using Airbest.Products;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
namespace Airbest.Site.Controllers.Api.Products
{
[RoutePrefix("api/product")]
public class ProductController : ApiController
{
private reado... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace St.Eg.M1.Ex4.Events.After
{
internal class Program
{
private static void Main(string[] args)
{
var dog = new Dog();
... |
#region License
/*
* Copyright 2002-2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unl... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "Items/Item")]
public class Item : ScriptableObject {
public Sprite sprite;
}
[Serializable]
public class ItemInstance {
public Item item;
public int amount;
public ItemInstanc... |
using Forca.Dominio.Repositorios;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Forca.Dominio.Servico
{
public class ServicoPalavra
{
private readonly IRepositorioPalavra repositorio;
public ServicoPalavra(IRepos... |
using Epam.Shops.Entities;
using System;
using System.Collections.Generic;
namespace Epam.Shops.DAL.Interfaces
{
public interface IShopDAO
{
bool Add(Shop newShop);
bool Remove(Guid id);
bool Update(Shop shop);
IEnumerable<Shop> GetAll();
IEnumerable<Shop> GetByCategory... |
using Microsoft.EntityFrameworkCore;
using Project.core;
//using System.Data.Entity;
namespace Project.Infrastructure
{
public class TeacherContext : DbContext
{
public DbSet<Teacher> Teachers { get; set; }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Path
{
static public List<Vector2Int> CreatePath(int MatrixSize)
{
List<Vector2Int> resultPath = new List<Vector2Int>();
float minLen = MatrixSize * MatrixSize / 3;
Vector2Int PrevCell=Vector2... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Windows.Forms;
namespace NetOffice.DeveloperToolbox.RegistryEditor
{
partial class ChangeNameDialog : Form
{
public ChangeNameDialog(s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace NippoPaymentsApi.Models
{
public class NippoPaymentsRepository: EfRepository<NippoPaymentsContext>
{
}
} |
using JetBrains.Annotations;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Utilities;
namespace EddiDataDefinitions
{
public class NavRouteInfo
{
[JsonProperty]
private string timestamp { get; }
[JsonProperty]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OE.Service.Configrations
{
public class Config
{
public static List<ConfigKeyValue> unionConfig = new List<ConfigKeyValue>();
public static string ClientID = "";
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
namespace KartExchangeEngine
{
public class ShtrihMTran:Entity
{
public override string FriendlyName
{
get { return "Транзакция выгрузки ШтрихМ кассир"; }
}
pub... |
using Core.IRepositories;
using Core.IServices.IOrderServices;
using Kafka1.Models;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Services.OrderServices
{
public class ProcessOrderServices : IProcessOrderServices
{
pr... |
using GraphSharp.Controls;
using QuickGraph;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace Microsoft.Master2.graph
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.SessionState;
namespace MSTestFramework.Helpers
{
public class DataRandomizer
{
public enum DataType
{
AlphaLower,
AlphaUpper,
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DMOBase
{
public class OutputDMIS
{
ElementFDMIS elementf;
List<ElementTDMIS> elementts;
public ElementFDMIS ElementF
{
get
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.Linq;
public static class ListHelper
{
public static List<CardStoreVO> ShuffleCardStoreList(List<CardStoreVO> list)
{
var sorted = list.OrderBy(a => Guid.NewGuid()).ToList();
list.Clear();... |
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using UBaseline.Core.Node;
using UBaseline.Shared.PageNotFoundPage;
using Uintra.Infrastructure.Extensions;
namespace Uintra.Infrastructure.Helpers
{
public static class TransferRequestHelper
{
public static void ToErrorPage(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FuelRadar.Model
{
/// <summary>
/// Represents a fuel type
/// </summary>
public enum FuelType
{
Diesel = 0,
Super = 1,
E10 = 2
}
public st... |
using System;
using System.Diagnostics;
using System.Linq;
using AForge.Neuro;
using AForge.Neuro.Learning;
using PopulationWars.Map;
using PopulationWars.Mechanics;
namespace PopulationWars.Components.Governments
{
[Serializable]
class AForgeNetwork : IGovernment
{
private static readonly int[]... |
using gView.Framework.UI;
using System.Windows.Forms;
namespace gView.Framework.system.UI
{
public class UIExceptionBox
{
static public void Show(UIException ex)
{
MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
}
|
using System;
using System.Runtime.Serialization;
namespace UKPR.Hermes.NG.Models.DataContract
{
[DataContract(Namespace = "http://services.sp.pas.ng.org")]
public class InstructionMessage
{
[DataMember(IsRequired = true, Order = 0)]
public Enums.ServiceType ServiceType { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Balloon_Cup
{
class HumanPlayer : Player
{
public HumanPlayer(string name, Deck deck, int x, int y, int w, int h)
: base(name, deck, x, y, w, h)
{ }
}
}... |
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;
namespace Tugwell
{
public partial class FormPartsNew : Form
{
public FormPartsNew(strin... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class PlayerDestroy : MonoBehaviour
{
[SerializeField] PlayerMovement PM;
private canvasData playerData;
void start()
{
playerData = GameObject.Find("canvasManager").GetCompo... |
using Codility.PerfectChannel;
using NUnit.Framework;
namespace Codility.Tests.PerfectChannel
{
public class KnightShortestPathShould
{
[TestCase(ExpectedResult = 7)]
public int Should()
{
var inputs = new[]
{
new[] {0,0,0},
new[]... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VnStyle.Services.Data.Enum;
namespace VnStyle.Services.Business.Models
{
public class ArticleListingModel
{
public int Id { get; set; }
public string HeadLine { get; set; }... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace NewsProject.Server.Migrations
{
public partial class CorrectMistake : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_DatabaseImages_Imag... |
/******************************************************************************
* File : pLab_KJPOC_AR_DemoMode.cs
* Lisence : BSD 3-Clause License
* Copyright : Lapland University of Applied Sciences
* Authors : Arto Söderström
* BSD 3-Clause License
*
* Copyright (c) 2019, Lapland University of ... |
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 HookKeyboard;
using HVCheck.Models;
namespace HVCheck
{
public partial class frmKiemTraDuLieu ... |
//Leia um valor inteiro. A seguir, calcule o menor número de notas possíveis (cédulas) no qual o valor pode ser decomposto.
//As notas consideradas são de 100, 50, 20, 10, 5, 2 e 1.
//A seguir mostre o valor lido e a relação de notas necessárias.
using System;
using System.Collections.Generic;
using System.Globalizati... |
using System;
namespace Frameworx
{
/// <summary>
/// Generic helper functions
/// </summary>
public class Tools
{
/// <summary>
/// Converts Integers to enum types
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="value">Enum int value</p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TeamPlayerManager : SingletonObject<TeamPlayerManager>
{
void Awake()
{
CreateInstance(this);
}
// Use this for initialization
void Start ()
{
}
// Update is called once per frame
void Update ()
{
}
public sta... |
using DoGoService.Models;
using Parse;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace DoGoService.Utils
{
public class ParseAdapter
{
public ParseAdapter()
{
ParseClient.Initialize("ClCDxIalYQPR6IrVXUHtHQW99tazxTZOAFUnanLB", "XMg5TpHk... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SceneLoader : MonoBehaviour
{
private void Start()
{
Invoke("LoadScene", .1f);
}
void LoadScene()
{
GameManager.Instance.ChangeState(GameStates.State_MainMenu);
}
}
|
using System;
using System.Linq;
using System.Text;
namespace ConsoleApp18
{
class Program
{
static void Main(string[] args)
{
byte[] payload = Encode("du");
string s = Decode(payload);
Console.WriteLine(s);
foreach (var item in payload)
... |
using SocialWorld.Entities.Concrete;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SocialWorld.DataAccess.Interfaces
{
public interface IJobTypeDal : IGenericDal<JobType>
{
}
}
|
using UnityEngine;
using UnityEngine.SceneManagement;
public class SceneLoader : MonoBehaviour
{
public GameObject pauseOverlay;
public void LoadScene(int sceneIndex)
{
SceneManager.LoadScene(sceneIndex);
// StartCoroutine(LoadAsynchronously(sceneIndex));
}
public void Resume(... |
using System.Text;
namespace TagParsing.Tokens
{
public class EntityReferenceToken : ParseToken
{
private readonly string name;
public EntityReferenceToken(string name)
{
this.name = name;
}
public string Name
{
get { return name; }
... |
namespace PlanetHunters.Data.Store
{
using DTO;
using Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public static class StarStore
{
public static void AddStars(IEnumerable<StarDto> stars)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.Trees
{
class TreeHelperGeneral
{
public static void PrintATree(TreeNode<char> node)
{
Console.WriteLine(PrintANode(node));
}
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Hayaa.UserAuth.Server.Config
{
class DefineTable
{
/// <summary>
/// RemoteServer组件的ID
/// </summary>
public readonly static int ComponetID = 10016;
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Unity.MLAgents;
using Robotsystemcommunication;
public class RemoteAction
{
public RemoteAIRobotAgent remoteAgent;
public int action;
}
[RequireComponent(typeof(GameArena))]
public class RemoteAcademy : MonoBe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Moudou.CodeGenerator.AbstractionClasses
{
/// <summary> Called before every template start. </summary>
public interface IInputValue
{
/// <summary> Author </summary>
string Author { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _3
{
class _4
{
static void Main11(string[] args)
{
for (int j = 0; j <= 10; j++)
{
for (int i = 0; i <= 10; i++)
... |
// File Prologue
// Name: Darren Moody
// CS 1400 Section 005
// Project: CS1400_Project_01
// Date: 9/12/2013
//
// I declare that the following code was written by me or provided
// by the instructor for this project. I understand that copying source
// code from any other source constitutes cheating, and that I... |
using System;
using NUnit.Framework;
using Should;
namespace UtilLib.Extensions.Tests
{
[TestFixture]
public class DateTimeExtensionsTests
{
[Test]
public void ToFormattedDateTimeString_8thJulySevenAmTime_ShouldFormatCorrectly()
{
var date = new DateTime(2015, 07, 08, 0... |
using System;
using System.Runtime.InteropServices;
using Vlc.DotNet.Core.Interops.Signatures;
namespace Vlc.DotNet.Core
{
public sealed partial class VlcMediaPlayer
{
private EventCallback myOnMediaPlayerCorkedInternalEventCallback;
public event EventHandler Corked;
private void OnMe... |
using System.Collections.Generic;
using Vlc.DotNet.Core.Interops;
using Vlc.DotNet.Core.Interops.Signatures;
namespace Vlc.DotNet.Core
{
internal sealed class SubTitlesManagement : ISubTitlesManagement, IEnumerableManagement<TrackDescription>
{
private readonly VlcManager myManager;
private re... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
namespace WCFService
{
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IRestfulService" in both cod... |
using FoodApp.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace FoodApp.ViewModels
{
public class RecipeViewModel
{
public Recipe Recipe { get; set; }
public IEnumerable<SelectListItem> AllTags { get; set; }
pub... |
namespace School.Contracts
{
using System.Collections.Generic;
public interface ISchool
{
string SchoolName { get; }
ICollection<IStudent> StudentsInSchoolList { get; }
ICollection<ICourse> CoursesList { get; }
void AddStudent(IStudent student);
void AddCourse(I... |
using INOTE.View;
using INOTE.View.Pages;
using INOTE.ViewModel.Commands;
using INOTE.ViewModel.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace INOTE.ViewModel
{
public class MainWindowVM : ViewModelB... |
using System;
using System.IO;
namespace GFW
{
public class DBParser
{
private SQLiteDB m_sqlite_db = null;
public bool InitDBFile(string path)
{
bool result;
try
{
this.m_sqlite_db = new SQLiteDB();
this.m_sqlite_db.O... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace pokedex.ViewModels
{
public class RegionesViewModel
{
[Required(ErrorMessage ="Este campo es requerido")]
public string Region { get; set; }
... |
using System.Net.Http;
using OpenMagic.ErrorTracker.WebApi.Infrastructure;
namespace OpenMagic.ErrorTracker.WebApi.Specifications.Helpers
{
public class Actual
{
public HttpResponseMessage Response { get; set; }
public LibLogExceptionLogger LibLogExceptionLogger { get; set; }
public ob... |
using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Threading.Tasks;
using DFC.ServiceTaxonomy.Editor.Module.Drivers;
using DFC.ServiceTaxonomy.GraphSync.Activities;
using DFC.ServiceTaxonomy.GraphSync.CosmosDb;
using DFC.ServiceTaxonomy.GraphSync.CosmosDb.GraphSyncers;
using DFC.ServiceT... |
using System;
using System.Configuration;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Data;
using System.Data.OleDb;
using System.Data.SqlClient;
using System.Drawing;
using System.Drawing.Imaging;
using System.Gl... |
using Alabo.Cloud.People.UserDigitals.Domain.Entities;
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Repositories;
using MongoDB.Bson;
namespace Alabo.Cloud.People.UserDigitals.Domain.Repositories
{
public class UserDigitalRepository : RepositoryMongo<UserDigital, ObjectId>, IUserDigitalRepository
{
... |
using System.Drawing;
using System.Runtime.InteropServices;
namespace AutoClicker
{
class GlobalMouse
{
public const int MOUSEEVENTF_LEFTDOWN = 0x0002; /* left button down */
public const int MOUSEEVENTF_LEFTUP = 0x0004; /* left button up */
public const int MOUSEEVENTF_RIGHTDOWN = 0x0... |
using FluentNHibernate.Mapping;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nhibernate
{
class Program
{
static void Main(string[] args)
{
using (var session = NHibernateHelper.OpenSession())... |
using System;
using Codecs.Interop.Ogg;
using System.IO;
using NVorbisCLI = NVorbis;
using System.Runtime.InteropServices;
using Flettu.Util;
namespace Codecs.Interop.NVorbis
{
public class NVorbisEncoder : OggEncoder
{
private NVorbisCLI.Encoder encoder;
public int Rate { get; p... |
using Model;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Repository
{
public class EmployeeQueryRepository
{
public List<Employee> GetAllEmployees()
{
List<Employee> emplo... |
using System;
using Xunit;
namespace NStandard.Test
{
public class StringExTests
{
public class Simple
{
public int A { get; set; }
public string B { get; set; }
public string C { get; set; }
public string D;
}
[Fact]
pub... |
using Pe.Stracon.SGC.Aplicacion.TransferObject.Request.Contractual;
using Pe.Stracon.SGC.Infraestructura.CommandModel.Contractual;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pe.Stracon.SGC.Aplicacion.Adapter.Contractual
{
/// <summ... |
using Hangfire.Server;
using Microsoft.Extensions.Logging;
namespace Hangfire.Console.LogExtension
{
public interface IHangfireLogger<out T> : IHangfireLogger, ILogger<T>
{
}
public interface IHangfireLogger : ILogger
{
void SetPerformContext(PerformContext performContext);
}
} |
using System;
using System.Diagnostics;
using System.Text.Encodings.Web;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.Routing;
using Microsoft.As... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using static TMPro.TMP_Dropdown;
public class UITitleScreen : MonoBehaviour
{
public GameObject menuConexao;
public GameObject aguarde;
public GameObject iniciandoHost;
public GameObject desconectarBtn;
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProjectGrace.Logic.Business.Business_Models
{
public class RoomDTO
{
public int RoomID {get;set;}
public int RoomNumber { get; set; }
public int CurrentCapacity... |
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
using OpenQA.Selenium.Support.UI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace KeepTeamAutotests.Pages
{
public class PersonalAssetPage : Perso... |
using Xamarin.UITests.POP.PageObjects;
namespace Xamarin.UITests.POP
{
public static class Navigation
{
public static AppPageObject GoToWelcomePage()
{
return new AppPageObject();
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Project_Entity
{
public class Article_Category
{
public int ID { get; set; }
public int? CategoryID { get; set; }
public int? ArticleID { get; set; }
pub... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Scene1 : MonoBehaviour {
[SerializeField]
private AudioSource audioSource;
public GameObject Load_MusicImage;
void Start () {
Load_MusicImage.SetActive (false);
StartCoroutine(showPlay());
}
I... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace ApiGetBooks.Entities {
public class Books {
[JsonPropertyName("id")]
public int Id { get; set; }
[JsonPropertyName("name")]
public stri... |
using System;
using System.Configuration;
namespace VA_ITCMS2000
{
public class Param
{
protected void SaveParam(string key, string value)
{
Configuration config =
ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
if (c... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AbiokaScrum.Api.Entitites.Validation
{
public class ValidationCode
{
public const string EmptyProperty = "EmptyProperty";
}
}
|
using Grpc.Core;
namespace Sentry.AspNetCore.Grpc.Tests;
public class GrpcTestService : TestService.TestServiceBase
{
public override Task<TestResponse> Test(TestRequest request, ServerCallContext context)
{
return Task.FromResult<TestResponse>(null);
}
public override Task<TestResponse> Test... |
using System.Collections;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
namespace DigitRecognition
{
class ImageViewer
{
public int Width { get; }
public int Height { get; }
private Label[][] labels;
publi... |
namespace Cake.Markdown_Pdf
{
public enum MarkdownPdfPaperFormat
{
None,
A3,
A4,
A5,
Legal,
Letter,
Tabloid
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.InputSystem;
using TMPro;
/// <summary>
/// Clase recibe los personajes creados en el menu de seleccion y los conecta a los controles dentro de la escena juego.
/// </summary>
public cl... |
using System;
using System.IO;
using System.Text;
namespace HexDump
{
class Program
{
static void Main(string[] args)
{
var position = 0;
//using (var reader = new StreamReader("textdata.txt"))
using (Stream input = File.OpenRead(args[0]))
{
... |
using NIS.RightSystem.Data.Dao.AccessorInterface;
using NIS.RightSystem.Data.Dao.AccessorInterface.Base;
using NIS.RightSystem.Data.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NIS.RightSystem.Data.Dao.AccessorImplement
{
p... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace GroceryApp.Models.Requests
{
public class ListItemAddRequest
{
public string Product { get; set; }
public int Count { get; set; }
public decimal P... |
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Text;
using UsersLib.DbControllers;
using UsersLib.Entity;
namespace UsersLib.Service.Savers
{
internal class UserSaver : IUserSaver
{
private readonly IDbUserController _dbUserController;
private readonly IDbAu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EmploeeSalary
{
class HourlyEmployee : EmployeeBase
{
public int HourlyRate;
public HourlyEmployee(string firstName, string lastName, string position, int hourlyrate... |
using System.Threading.Tasks;
using System.Web.Http;
using Appmon.Dashboard.Models;
using Newtonsoft.Json;
namespace Appmon.Dashboard.Controllers
{
public class PerformanceController : ApiController
{
//
// GET: /Performance/
public PerformanceResult Get()
{
return ... |
using System;
using System.Collections.Generic;
using System.Text;
using Domain.Data.DataModels;
using Domain.Data.ViewModels;
using LynxMapper;
using LynxMapper.Abstractions;
namespace Services.Abstractions.Transformators
{
public interface IUserTransformator : ILynxTransformator
{
UserFullViewModel ... |
using System;
using System.Security.Cryptography;
using System.Text;
using System.Text.RegularExpressions;
using Crossroads.Utilities.Services.Interfaces;
namespace Crossroads.Utilities.Services
{
public class PasswordService : IPasswordService
{
public string GetNewUserPassword(int length, int numSpe... |
using Common.Business;
using Common.Extensions;
using Common.Log;
using Entity;
using LFP.Common.DataAccess;
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Text;
namespace AsyncClasses.Mappers
{
public static class ClipboardRowMapper
{
#region P... |
using Terraria;
using Terraria.ObjectData;
using Terraria.ModLoader;
using Terraria.ID;
using Terraria.Enums;
using Terraria.DataStructures;
using System;
using Microsoft.Xna.Framework;
using Terraria.Localization;
namespace ReducedGrinding.Tiles
{
public class Marble_Sundial : ModTile
{
public overr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ScoreManager : MonoBehaviour {
public Text ScoreText { get; private set; }
public int Score { get; private set; }
void Awake () {
this.ScoreText = GameObject.Find("ScoreArea").GetComponentInChild... |
using System.Windows;
using System.Windows.Controls;
using Autodesk.Revit.DB;
using NWCBatchExporter.Resources;
namespace NWCBatchExporter.Views {
/// <summary>
/// Interaction logic for ExportOptionsWindow.xaml
/// </summary>
///
public partial class ExportOptionsWindow : Window {
public... |
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using NetEscapades.AspNetCore.SecurityHeaders.Headers;
namespace NetEscapades.AspNetCore.SecurityHeaders.Infrastructure
{
/// <summary>
/// Default implementation of <see cref="ICustomHeaderService"/>.
/// </summary>
pu... |
public class Solution {
public string Reverse( string s ) {
char[] charArray = s.ToCharArray();
Array.Reverse( charArray );
return new string( charArray );
}
public string ShortestPalindrome(string s) {
int i = 0, j = s.Length - 1, r = j;
while (i < j) {
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel.Core;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.ViewManagement;
using Windows.UI.Xaml;... |
using System.ComponentModel;
namespace CarDealer.Models.ViewModels.Supplier
{
public class SupplierAddVm
{
[DisplayName("Name: ")]
public string Name { get; set; }
[DisplayName("Is importer: ")]
public bool isImporter { get; set; }
}
} |
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;
namespace Sistema_de_Vendas
{
public partial class Frm_Menu : Form
{
Form1 login;
... |
using System;
using System.Linq;
using Epam.Shops.Entities;
using FluentValidation;
namespace Epam.Shops.Validation
{
public class CategoryValidator : AbstractValidator<Category>
{
public CategoryValidator()
{
RuleFor(cat => cat.Name)
.NotNull()
.Not... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.