text stringlengths 13 6.01M |
|---|
using KeHenUI.Social.Common.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KeHenUI.Social.Common.Services
{
public class LuckyDrawListService : BaseService<LuckyDrawList, int>
{
public IList<LuckyDrawList> GetLuckyD... |
using Entidades.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
#pragma warning disable CS0661
/// <summary>
/// Clase producto que representa los objetos a vender el en petshop
/// </summary>
public clas... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YzkSoftWare.Data.Sql.MsSql
{
public class DteMsSqlExpressForTable<T> : MsSqlExpressBase
where T : class
{
public DteMsSqlExpressForTable()
: b... |
using AutoMapper;
using Enrollment.Bsl.Business.Requests;
using Enrollment.Bsl.Business.Responses;
using Enrollment.Bsl.Utils;
using Enrollment.Repositories;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace Enrollment.Bsl.Controllers
{
[Route("api/[controller]")]
[ApiController]
pub... |
namespace Oldest_Family_Member
{
using System;
using System.Collections.Generic;
public class Family
{
private List<Person> persons;
public Family()
{
this.persons = new List<Person>();
}
public List<Person> Persons { get; set; }
public voi... |
using Livet;
using Livet.EventListeners;
using LivetSample.Models;
namespace LivetSample.ViewModels
{
class MainWindowViewModel : ViewModel
{
private SampleModel SampleModel = new SampleModel();
public int Counter { get => SampleModel.ButtonCount; }
#region InputFile
private... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TamagotchiBL.Models;
namespace TamagotchiWebService.DataTransferObjects
{
public class AnimalDTO
{
public int AnimalId { get; set; }
public string AnimalName { get; set; }
public Date... |
using Renting.Domain.Agreements;
using Renting.Domain.Offers;
namespace Renting.Domain.Drafts
{
public interface IDraftNumberGenerator
{
AgreementNumber GetNextAvailable(TenantId tenantId, OfferId offerId);
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class PieceData : IComparable<PieceData> {
public enum Type { Normal, Hook };
public int direction, range;
public int value;
public readonly Player.PlayerColour colour;
public Type type;
priv... |
using System.Collections.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Operations;
namespace Meziantou.Analyzer.Rules;
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public sealed class UseEventArgsEmptyAnalyzer : DiagnosticAnalyzer
{
private static r... |
using cryptoprime;
using vinkekfish;
using main_tests;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Text;
using System.IO;
using System.Security.AccessControl;
namespace permutationsTest
{
/*... |
using System;
using System.Collections.Generic;
using Modelo;
using Persistencia;
using System;
using System.Collections.Generic;
using System.Text;
namespace Servico
{
public class MedicamentoConsultaServico
{
private MedicamentoConsultaDAL medicamentoConsultaDal = new MedicamentoConsultaDAL();
... |
using System;
using System.Collections.Immutable;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Edit... |
using System;
using System.Linq;
using UnityEngine.Networking;
using BepInEx;
using RoR2;
using UnityEngine;
using RoR2.CharacterAI;
using UnityEngine.Events;
using System.Reflection;
using System.Collections.Generic;
namespace HerosNeverDie
{
[BepInPlugin("HerosNeverDie", "Respawn", "0.1")]
pub... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace Domain
{
public class DBconn
{
// For local database
String connectionStrin... |
using AutoMapper;
using Microsoft.AspNetCore.SignalR.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Whale.DAL;
using Whale.DAL.Models;
using Whale.DAL.Models.Poll;
using Whale.Shared.Exceptions;
using Whale.Shared.Models.Meeting;
using Whale.Shared.Models... |
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 AgendaEscolar
{
public partial class Mostrar : Form
{
DataSet dsResultados = n... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Net;
using System.Text;
namespace Microsoft.Azure.SignalR
{
internal sealed class PreviewServiceEndpointGenerator : IServiceEndpointGenerator
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static NADD.Usuario;
namespace NADD
{
class Program
{
static void Main(string[] args)
{
Area Exatas = new Area(1, "Exatas");
Curso SI = new Curso(1,... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.ResponseCompression;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using System;
using System.Linq;
namespace BlazorSignalR.Server
{
public... |
using System;
class Program {
public static void Main (string[] args) {
Console.WriteLine ("Insira o tempo em segundos:");
int s = int.Parse(Console.ReadLine());
int horas,minutos,segundos, resto;
horas = s/3600;
resto = s%3600;
minutos = resto/60;
segundos = resto%60;
Console.... |
namespace Bindable.Linq.Operators
{
/// <summary>
/// Represents an instance of a case in a switch statement.
/// </summary>
/// <typeparam name="TInput">The type of the input.</typeparam>
/// <typeparam name="TResult">The type of the result.</typeparam>
public interface ISwitchCase<TInpu... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using CIS420Redux.Models;
namespace CIS420Redux.Controllers
{
public class ClincalComplianceController : Controller
{
... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace SoftwareDeveloperIO.Collections.Generic.Test
{
[TestClass]
public class FindTests
{
[TestMethod]
public void Should_ReturnTrue_When_NodeExists()
{
var list = new LinkedList<int>();
list... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
#endregion
namespace DotNetNuke.Collections.Internal
{
internal class LockingStrategyFactory
{
public stat... |
using System.Web;
namespace app.web.core.aspnet
{
public class ASPHandler : IHttpHandler
{
IProcessRequests front_controller;
ICreateRequests request_factory;
public ASPHandler(IProcessRequests front_controller, ICreateRequests request_factory)
{
this.front_controller = front_controller;
... |
using System;
using System.Collections.Generic; //ua für die Liste
using System.Linq; //ua für range
namespace Task2
{
interface IGambling
{
string Name { get; }
void get_instructions();
List<int> generate_rand();
void print_list<T>(IEnumerable<T> list, string heading);
... |
namespace SoSmartTv.TheMovieDatabaseApi.JsonConverters
{
public class NameJsonConverter : AbstractJsonConverter<string>
{
public override string PropertyPath => "name";
public override object ConvertResult(string value)
{
return value;
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using SqlServerDocumentator;
using SqlServerDocumentator.DocumentedDatabaseObjects;
namespace WebSqlServerDocumentator.Controllers.api
{
public class TableController : Controller
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Text;
using System.Windows.Forms;
using System.Xml;
namespace FinanceApp
{
public partial class ContactView : Form
{
public ContactView()
{
... |
using RestauranteHotel.Domain.Base;
using RestauranteHotel.Domain.Entity;
namespace RestauranteHotel.Domain.Contracts
{
public interface IProductoCompuestoRepository : IGenericRepository<ProductoCompuesto>
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SecondProject.Controllers.Services.Model.Domain.DTOs
{
public class ApplicationResult
{
public ScopeName ScopeName { get; set; }
public IsCore IsCore { get; set; }
public Applica... |
// Accord Machine Learning Library
// The Accord.NET Framework
// http://accord-framework.net
//
// Copyright © César Souza, 2009-2015
// cesarsouza at gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as publ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IoCContainer.ValueObjects
{
//tells the container that the type has other types injected, so they need to be resolved before
[AttributeUsage(AttributeTargets.Constructor, Inherited = f... |
using System;
using System.Net;
using System.Data;
using System.Linq;
using Microsoft.Data.SqlClient;
using System.Collections.Generic;
using Newtonsoft.Json.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNet.OData;
using Microsoft.AspNet.OData.Routing;
using Microsoft.AspNet.OData.Query;
using Microsoft.En... |
/*
* Copyright 2019 Samsung Electronics Co., Ltd. All rights reserved.
*
* Licensed under the Flora License, Version 1.1 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://floralicense.org/license
*
* Unless required by appli... |
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Webcorp.Model.Quotation
{
public class Fournisseur:Entity
{
[BsonId(IdGenerator = typeof(EntityIdGenerator))]
public overri... |
using System;
using System.Collections.Generic;
using System.Linq;
using Kers.Models.Repositories;
using System.Threading.Tasks;
using Kers.Models;
using Kers.Models.Data;
using Kers.Models.Contexts;
using Kers.Models.Abstract;
using Kers.Models.Entities.KERScore;
using System.Linq.Expressions;
using Microsoft.EntityFr... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Text;
using Karkas.Core.DataUtil;
namespace Karkas.Ornek.Dal.Ornekler
{
public partial class StoredProcedures
{
public static int ToplaOutputParam
(
int? @SAYI1
,int? @SAYI2
,out ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class MenuButton : MonoBehaviour
{
public Sprite normal, highlight;
public MenuButton up, down, right, left;
public Image target;
public void OnClick()
{
}
public void OnSellect(... |
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace IssueLog_Api.Models
{
public class ApplicationUser:IdentityUser
{
[Required]
public string FName { get; ... |
using System;
using UnityEngine;
using UnityEngine.Animations;
public class PowerUpController : MonoBehaviour
{
public PowerUpType powerUpType;
/// <summary>
/// For ammo means the number of bullets, for medkit means the health unit recoverd
/// </summary>
public int power;
private GameObject ... |
namespace Acco.Calendar.Location
{
public interface ILocation
{
string Name { get; set; }
int? Longitude { get; set; }
int? Latitude { get; set; }
}
public class GenericLocation : ILocation
{
public string Name { get; set; }
public int? Longitude { get; s... |
using UnityEngine;
using System.Collections;
public class ObjectTweener : MonoBehaviour {
// Use this for initialization
public GameObject obj;
public float time;
public int dir;
public float corridorSize = 18;
public float ySize = -1;
public ScreenData data;
public TextMesh corridorState;
void Start () {
... |
using System;
using DialogSystem.ScriptObject;
using UnityEngine;
namespace DialogSystem.Model
{
[Serializable]
public class BoolVarChooser
{
#pragma warning disable 649
[SerializeField] private int selectedIndex;
#pragma warning restore 649
public bool Value => DialogVarAsset.Instance.varI... |
using System;
using Xamarin.Forms;
using tryfsharplib;
namespace tryfsharpforms
{
public class UnitsOfMeasurePage : BasePage
{
DataEntry rateEntryEur = new DataEntry { Placeholder = ".91" };
DataEntry valueEntryUsd = new DataEntry { Placeholder = "1000" };
GetDataButton calculateButton = new GetDataButton (... |
using Portal.repo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Portal
{
public partial class cityPriceAdd : System.Web.UI.Page
{
protected CitiesRepo CitiesRepo;
public cityPriceAdd()
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEditor;
using UnityEngine;
public class GenerateObfuscatedCode
{
private const string TargetCodeDir = "Assets/Script/ObfuscatedCode/Code";
private const string CodeInvokeClassName = "CodeInvoke";
private ... |
using Microsoft.EntityFrameworkCore;
using PlankCooking.Models;
namespace PlankCooking.Models {
public class JStanleyContext: DbContext {
public JStanleyContext(DbContextOptions<JStanleyContext> options):base(options){}
public virtual DbSet<Website> Website {get; set;}
public virtual DbSet<C... |
using Contoso.Forms.Configuration.Directives;
using Contoso.Forms.Configuration.Validation;
using System.Collections.Generic;
namespace Contoso.Forms.Configuration.DataForm
{
public class DataFormSettingsDescriptor : IFormGroupSettings
{
public string Title { get; set; }
public FormRequestDeta... |
using System.Collections.Generic;
namespace Framework.Commands
{
public class CommandManager
{
private readonly Dictionary<string, Command> registeredCommands = new Dictionary<string, Command>();
public void RegisterCommand(string commandName, Command command)
{
if (regist... |
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace City_Center.Page.SlideMenu
{
public partial class MasInformacion : ContentPage
{
public MasInformacion()
{
InitializeComponent();
NavigationPage.SetTitleIcon(this, "logo@2x.png");
}... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Angular_NetCore_Test.Data;
using Angular_NetCore_Test.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace... |
using Logica;
using Logica.Entidades;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Contactos_WindowsForm.Pantallas
{
public class menuContactos
{
#region ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NapierBank.Database;
using NapierBank.Models;
using System.Collections.ObjectModel;
using System.Windows.Input;
using NapierBank.Commands;
using System.Windows;
/// <summary>
/// ViewSingleEmailVi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
using Ninject;
using Dao.Mercadeo;
namespace Blo.Mercadeo
{
public class MarcaBlo : GenericBlo<InvMarca>, IMarcaBlo
{
private IMarcaDao _marcaDao;
public Marca... |
using LRB.Lib.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LRB.Lib.Repositories
{
public class LandApplicationRepository:GenericRepository<Application>
{
public LandApplicationRepository(LandsContext context) : ba... |
using System;
using System.Linq.Expressions;
using System.Reflection;
namespace ODataQuery.Nodes
{
sealed class MathNode : Node
{
private readonly string methodName;
private readonly Node arg;
public MathNode(string methodName, Node arg)
{
this.methodName = methodName;
th... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
namespace BookManageSystem.Service
{
public class CodeService
{
BookManageSystem.dao.CodeDao codeDao = new BookManageSystem.dao.CodeDao();
public List<Selec... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CCActionManager : SSActionManager, ISSActionCallback,IActionManager {
public FirstSceneController sceneController;
public List<CCMoveToAction> seq = new List<CCMoveToAction>();
public UserClickAction userClickAction;
publi... |
using DebugTools;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SupercapContro... |
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 System.Data.OleDb;
namespace BDinterface
{
public partial class Form1 : Form
{
... |
using PyFarmaceutica.acceso_a_datos.interfaces;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PyFarmaceutica.acceso_a_datos.implementaciones
{
public class ReporteStockDao : IReporteStoc... |
using System.Collections.Generic;
using Web.Models;
namespace Web.ViewModels.Meetings
{
public class PickMeetingsVm
{
public PickMeetingsVm()
{
this.PickMeetingsList = new List<PickMeeting>();
}
public List<PickMeeting> PickMeetingsList { get; set; }
}
} |
using System.Collections.Generic;
using System.Threading;
namespace Torshify.Radio.Framework
{
public interface ITrackStream
{
bool SupportsTrackSkipping
{
get;
}
string Description
{
get;
}
TrackStreamData Data
... |
using Microsoft.Data.SqlClient;
using Microsoft.EntityFrameworkCore;
using SPDataRepository.Data.Entities;
using SPDataRepository.Domain.Dtos;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace SPDataRepository.Data
{
#nullable disable
public class ProductDbContext :... |
/*
DotNetMQ - A Complete Message Broker For .NET
Copyright (C) 2011 Halil ibrahim KALKAN
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option)... |
//====================================================================
// 文件: c_TaskDetailsInfo.cs
// 创建时间:2017/11/8
// ===================================================================
using System;
using Dapper;
namespace SimpleCrawler
{
/// <summary>
///
/// </summary>
[Table("c_TaskDetails")]
public par... |
using System;
namespace Veeqo.Api
{
public class Class1
{
}
}
|
using System;
using AVFoundation;
using Foundation;
using System.IO;
using Xamarin.Forms;
using App1.iOS.Services;
using App1.Services;
[assembly: Dependency(typeof(CAudioPlayer))]
namespace App1.iOS.Services
{
public class CAudioPlayer : AudioPlayer
{
public AVAudioPlayer Player { get; set; }
... |
using System;
public class Relatorio
{
/*Listar todos os quartos ocupados e seus devidos gastos.*/
public void Relatorio_Diario(Gerenciamento_de_reservas gr)
{
gr.Listar_Gastos_Atuais();
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class gameMaster : MonoBehaviour {
public GameObject Spikes;
public GameObject Enemy;
public GameObject Space;
float Space_Width;
float Space_Height;
float Spikes_Width;
float Spikes_Height... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FinalliziedProject
{
public class WordProcess
{
public string kelimeAyır(string applicantext)
{
return applicantext.Replace(" ", "+");
... |
using System.Data.Entity.ModelConfiguration;
using Diligent.BOL;
namespace Diligent.DAL.EntityCongfigurations
{
public class ReviewMissionConfiguration : EntityTypeConfiguration<ReviewMission>
{
public ReviewMissionConfiguration()
{
ToTable("ReviewMission");
HasRequire... |
using System;
namespace BlockBusterLab
{
class Program
{
static void Main(string[] args)
{
bool runProgram = true;
BlockBuster bb = new BlockBuster();
while (runProgram)
{
Console.Clear();
Console.WriteLine("Welc... |
namespace LocadoraVeiculoSI.Servicos
{
class ImpostoBrasilServico
{
public double Imposto(double quantia)
{
if (quantia <= 100)
{
return quantia * 0.2;
}
else
{
return quantia * 0.15;
}
... |
using Hayalpc.Library.Common.Helpers;
using Hayalpc.Library.Common.Helpers.Interfaces;
using Hayalpc.Library.Log;
using Microsoft.Extensions.DependencyInjection;
using Hayalpc.Fatura.Vezne.External.Helpers;
namespace Hayalpc.Fatura.Vezne.External.Extensions
{
public static class ScopeExtension
{
publi... |
namespace Bridge.RealWorld
{
/// <summary>
/// The device interface.
/// </summary>
interface IDevice
{
/// <summary>
/// Gets a value indicating whether this instance is enabled.
/// </summary>
/// <value>
/// <c>true</c> if this instance is enabled; otherwise, <c>false</c>.
/// </value>
bool IsE... |
//using System;
//using Microsoft.VisualStudio.TestTools.UnitTesting;
//using OpenQA.Selenium;
//using OpenQA.Selenium.Firefox;
//using OpenQA.Selenium.Support.UI;
//using OpenQA.Selenium.Chrome;
//using OpenQA.Selenium.Interactions;
//using System.Threading;
//using System.Threading.Tasks;
//using System.Collections.... |
using System;
using UnityEngine;
using System.Collections.Generic;
namespace Dcl
{
[ExecuteInEditMode]
public class DclSceneMeta : MonoBehaviour
{
[SerializeField] [HideInInspector] public List<ParcelCoordinates> parcels = new List<ParcelCoordinates>
{
new ParcelCoordinates(57,... |
using Cinema.Data.Models;
using Cinema.Data.Models.Contracts;
using System;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
namespace Cinema.Data.Contracts
{
public interface ICinemaDbContext : IDisposable
{
int SaveChanges();
IDbSet<User> Users { get; set; }
IDbSe... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DAL.Models
{
public class Author
{
public Guid AuthorId { get; set; }
public string FullName { get; set; }
}
}
|
namespace Phonebook.Repositories
{
using System;
using System.Collections.Generic;
using System.Linq;
using Phonebook.Entities;
using Wintellect.PowerCollections;
public class PhonebookRepository : IPhonebookRepository
{
private readonly OrderedSet<PhonebookEntry> sorted =... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using OCP.AppFramework.Utility;
using Quartz;
namespace OCP.BackgroundJob
{
abstract class Job : IJob
{
/** @var int id */
protected int id;
/** @var int lastRun */
protected int lastRun;
/** ... |
using System;
using System.Numerics;
public class Program
{
public static void Main()
{
var centuries = int.Parse(Console.ReadLine());
var years = centuries * 100;
var days = (int)(years * 365.2422);
var hours = days * 24;
ulong minutes = (ulong)hours * 60;
ulo... |
using JKMServices.BLL.Interface;
using JKMServices.DTO;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Utility;
using Utility.Logger;
namespace JKMServices.BLL
{
public class DocumentDetails : ServiceBase, IDocumentDetails
{
private readonly DAL.CRM.IDocument... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class SaveDataPots
{
public bool s_p1, s_p2, s_p3, s_p4, s_p5, s_p6, s_p7, s_p8, s_p9, s_p10; //pot places activated
public int s_sp1, s_sp2, s_sp3, s_sp4, s_sp5, s_sp6, s_sp7, s_sp8, s_sp9, s_sp10; //s... |
using CoreFrameWork.EventBus.Storage;
using CoreFrameWork.EventBus.Transaction;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using System;
using System.Collections.Generic;
using System.Text;
namespace CoreFrameWork.EventBus.PostgreSql
{
/// <summary>
... |
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class Plant : MonoBehaviour
{
public void Start()
{
_nutritionTimer = GameManager.Instance.GetPlantMinNutritionCooldown();
}
public enum Personality
{
Cute = 0,
Happy = 1,
Sad = 2... |
namespace JPAssets.Binary
{
/// <summary>
/// Indicates the order ("endianness") in which data may be stored.
/// </summary>
public enum Endianness
{
// Denotes little-endianness order (least significant byte comes first)
Little = 0,
// Denotes big-endianness order (most si... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class UISelectCareer : MonoBehaviour {
CLASS m_SelectClass = CLASS.None;
public GameObject[] m_CheckImage;
public UpgradesPage m_UpgradePage;
private static string[] m_ClassText = {
"Medical",
"Scie... |
//-----------------------------------------------------------------------
// <copyright file="Form1.cs" company="VillageIdiot">
// Copyright (c) Village Idiot. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using ArzExplorer.Models;
using ArzExplorer.P... |
using System;
using System.Collections.Generic;
using BirthdayGreetings;
public interface IEmployeeRepository
{
IEnumerable<Employee> Get(Func<Employee, bool> func);
} |
using SchoolDiary.Data.Entities;
using Microsoft.EntityFrameworkCore;
namespace SchoolDiary.Data
{
public class SchoolDiaryDbContext : DbContext
{
public SchoolDiaryDbContext(DbContextOptions<SchoolDiaryDbContext> options) : base(options)
{
}
public virtual DbSet<Teacher> Teac... |
using CrawlerSelenium.CrawlerSelenium;
namespace CrawlerSelenium
{
public class RequestManager
{
public static string GetHtmlContent(string url)
{
try
{
DriverContext context = new DriverContext();
context.Start();
//conte... |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Text;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using OmniSharp.Extensions.JsonRpc.Generators.Contexts;
using... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HackerrankSolutionConsole
{
class mark_and_toys : Challenge
{
public override void Main(string[] args)
{
string[] inputs = Console.ReadLine().Split(' ');
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RotateBlade : MonoBehaviour {
public int fanSpeed = 120;
//speed of rotation
void Update() {
//rotate around the local Y axis
transform.Rotate(Vector3.up * fanSpeed * Time.deltaTime, Space.Self);
}
}
|
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
namespace JisalimuOnline.Models
{
public class JisalimuContext: DbContext
{
public JisalimuContext():base("JisalimuContext")
{
}
public DbSet<User> User { get; set; ... |
using System;
using System.Diagnostics.CodeAnalysis;
namespace NetFabric.Hyperlinq
{
[ExcludeFromCodeCoverage]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method)]
public sealed class GeneratorIgnoreAttribute : Attribute
{
public bool Value { get; }
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.