text stringlengths 13 6.01M |
|---|
using Microsoft.EntityFrameworkCore;
using SkillsGardenApi.Models;
using SkillsGardenApi.Repositories.Context;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SkillsGardenApi.Repositories
{
public class ComponentRepository : IDatabaseRepository<Component>
{
... |
using UnityEngine;
using UnityEngine.SceneManagement;
public class InventoryUI : MonoBehaviour {
public GameObject inventoryUI;
public Transform itemsParent;
private static bool created = false;
Inventory inventory;
// Use this for initialization
void Start()
{
}
void Awake()
... |
using System;
using Platformer.Gameplay;
using UnityEngine;
using static Platformer.Core.Simulation;
namespace Platformer.Mechanics
{
/// <summary>
/// Represebts the current vital statistics of some game entity.
/// </summary>
public class Health : MonoBehaviour
{
GameObject ... |
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using GoalBook.SharedKernel;
using GoalBook.Core.Domain.Entities;
namespace GoalBook.Api.Controllers
{
[ApiController]
[Route("api/[controller]/")]
public class GoalController : ControllerBase
{
private readonly IRep... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MooshakPP.Services;
using MooshakPP.Models.Entities;
namespace MooshakPP.Tests.Services
{
[TestClass]
public class AdminServiceTest
{
private AdminService service;
[TestInitialize]
public void Initialize()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
namespace Hoc... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace CardExample
{
[CreateAssetMenu(fileName = "New Card", menuName = "Card")]
public class Card : ScriptableObject
{
[SerializeField] private new string name;
public string Name
{
get { ... |
using System;
using System.Collections.Generic;
using System.Globalization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace API.Models
{
public partial class Disco
{
[JsonProperty("idDisco", Required = Required.Always)]
public int IdDisco { get; set; }
[JsonProper... |
/** 版本信息模板在安装目录下,可自行修改。
* ROLL_NEWS.cs
*
* 功 能: N/A
* 类 名: ROLL_NEWS
*
* Ver 变更日期 负责人 变更内容
* ───────────────────────────────────
* V0.01 2014/8/6 15:00:47 N/A 初版
*
* Copyright (c) 2012 Maticsoft Corporation. All rights reserved.
*┌──────────────────────────────────┐
*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向... |
using Microsoft.EntityFrameworkCore;
using MyPage.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MyPage.Data.DAL
{
public class AcessoDAL
{
private readonly Contexto _contexto;
public AcessoDAL(Contexto contexto)
{
... |
using System;
using System.Collections.Generic;
using PropertyManager.Interfaces;
using PropertyManager.Models;
namespace PropertyManager.Data
{
// A mocker just creates a class repository where you can quickly set hardcoded values for testing
public class MockCommanderRepo : ICommanderRepo
{
publ... |
using System;
using System.Linq;
using System.Text;
using System.Web;
using Aqueduct.Domain;
using Aqueduct.SitecoreLib.Domain;
namespace Aqueduct.SitecoreLib.Examples.SampleApplication.Web.Classes
{
public static class RenderingExtensions
{
public static string GetImage<T>(this T entity, F... |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class GeneralGame : MonoBehaviour
{
public DetailsPanelHandler targetDetailsPanel;
public LayerMask interactLayer;
Shader generalShader;
Shader outlinedShader;
Renderer targetRenderer;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication2 {
class Day18 {
internal static string input = ".^^..^...^..^^.^^^.^^^.^^^^^^.^.^^^^.^^.^^^^^^.^...^......^...^^^..^^^.....^^^^^^^^^....^^...^^^^..^";
internal static ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Model.DataEntity;
using Model.Security.MembershipManagement;
using Business.Helper;
using System.ComponentModel;
using Model.Locale;
namespace eIVOGo.Module.EIVO
{
publi... |
/*
Description: This file declares the Assignment ViewModel and its properties
for the Assignment Controller and views.
Author: EAS
*/
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Lin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using NSubstitute;
using OmniSharp.Extensions.DebugAdapter.Protocol.Requests;
using OmniSharp.Extensions.DebugAdapter.Testing;
using OmniSharp.Extensions.JsonRpc.Testing;
usin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
namespace COMP476Proj
{
/// <summary>
/// Node for use with pathfinding
/// </summary>
public class Node
{
// IDs should be unique and are only actually used by... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PushBox : MonoBehaviour
{
Rigidbody m_Body;
[SerializeField]
int playerLayerID;
[SerializeField]
float slowMultiplier;
Rigidbody playerBody;
float zDistance;
float xDistance;
Vector3 mo... |
using Calcifer.Engine.Scenegraph;
namespace Calcifer.Engine.Graphics
{
public interface IRenderer
{
void Render(SceneNode rootNode, Camera camera);
void AddRenderPass(RenderPass pass);
}
public class BasicRenderer : IRenderer
{
private RenderPass pass;
public void Render(Scene... |
using Reactive.Bindings;
using System;
namespace MultiCommentCollector.Models
{
[Serializable]
public class WindowRect
{
public ReactiveProperty<double> Width { get; set; } = new();
public ReactiveProperty<double> Height { get; set; } = new();
public ReactiveProperty<double> Left... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
using Autodesk.AutoCAD.Runtime;
using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.Geometry;
using Autodesk... |
using AutoMapper;
using Crt.Data.Database.Entities;
using Crt.Data.Repositories.Base;
using Crt.Model;
using Crt.Model.Dtos.FinTarget;
using Microsoft.EntityFrameworkCore;
using System;
using System.Threading.Tasks;
namespace Crt.Data.Repositories
{
public interface IFinTargetRepository
{
Task<FinTarg... |
// Refrences
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// Where code lives
// Extends (:) UnityLanguage = MonoBehavior
public class Session_1 : MonoBehaviour {
// 1.Variables
// Type - - Name - - Value
// Scope - - Type - - Name - - Value
// Numbers
public i... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BSTest.Models;
namespace BSTest.DAOs
{
public class Repository : IRepository
{
private static Repository instance;
public static Repository Instance
{
... |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices.Services.Configuration;
namespace Microsoft.PowerShell.EditorServices.Services
{
public class ConfigurationService
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebApi.Entities;
using WebApi.Repositories.Contracts.Base;
namespace WebApi.Repositories.Contracts
{
public interface IUserRepository : ICrudBaseRepository<User>
{
User Get(User user);
}
}
|
using System.Collections.Generic;
using RoleTopMVC.Models;
namespace RoleTopMVC.ViewModels
{
public class EventosViewModel : BaseViewModel
{
public List<string> Eventos = new List<string>();
}
}
|
using Domain.Interfaces.InterfaceServices;
using Domain.Interfaces.InterfaceUsuario;
using Entities.Entities;
using Entities.Entities.Enums;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Domain.Services
{
public class ServiceMontaMenu : IServiceMontaMen... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace EdubranApi.Models
{
public class CommentDTO
{
[Required]
public int Id { get; set; }
[Required]
public string comment { get; set; }
... |
using FileNamer.Service.DataTypes;
using NUnit.Framework;
namespace FileNamerTest
{
[TestFixture]
public class FileNameTest
{
[Test]
public void TestGetFilePath()
{
Assert.AreEqual("a\\b", FileName.GetFilePath("a", "b"));
}
}
}
|
using Ornithology.Entity;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ornithology.Data
{
public class OrnithologyDbContext : DbContext
{
public OrnithologyDbContext()
{
AppDo... |
using System;
class Program
{
public static void Main()
{
var n = int.Parse(Console.ReadLine());
var p1 = 0;
var p2 = 0;
var p3 = 0;
var p4 = 0;
var p5 = 0;
for (int i = 1; i <= n; i++)
{
var num = int.Parse(Console.ReadLine());
... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Delaunay.Geo;
using Delaunay;
public class GameMap : MonoBehaviour {
[SerializeField]
private GameObject _graphNodePrefab;
[SerializeField]
private GameObject _graphEdgePrefab;
[SerializeField]
private GameObject _playerPrefab... |
using ReactiveUI;
using ReactiveUI.Fody.Helpers;
using System;
using System.Collections.Generic;
using System.Reactive.Subjects;
using System.Text;
using TableTopCrucible.Core.Models.Sources;
using TableTopCrucible.Data.Models.Views;
using TableTopCrucible.Domain.Models.Sources;
namespace TableTopCrucible.Domain.Li... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Proyek_Informatika.Models;
using Telerik.Web.Mvc;
namespace Proyek_Informatika.Controllers.Koordinator
{
public class BimbinganKoordinatorController : Controller
{
//
// GET: /Bimbin... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Reserva.Domain.Command.Result
{
public class ReservaCommadResultRegister
{
public ReservaCommadResultRegister(int reservaId, DateTime dataInicio, DateTime dataFim)
{
ReservaId = reservaId;
Data... |
using Opbot.Model;
using Opbot.Services;
using Opbot.Utils;
using System;
namespace Opbot.Core.Tasks
{
class JpegTask : BaseCmdTask, IPipelineTask<Message, Message>
{
public JpegTask(Options options, ILogService logService) : base(options, logService)
{
}
public M... |
namespace Web.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class AddAnswers : DbMigration
{
public override void Up()
{
//AddColumn("dbo.Answers", "ScoRecordId", c => c.Int(nullable: false));
//CreateIndex("dbo.Answers", "Sco... |
using System;
using System.Threading.Tasks;
using Fairmas.PickupTracking.Shared.Interfaces;
using Fairmas.PickupTracking.Shared.Models;
using System.Collections.Generic;
namespace Fairmas.PickupTracking.Shared.Services
{
public class PickupDataService : IPickupDataService
{
public async Task<Hotel[]> ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class IndexCameraColliders : MonoBehaviour
{
public int index;
public GameObject camera;
/// <summary>
/// Cuando el jugador entra en el collider la cámara se posiciona según el index asignado
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using System.Text.RegularExpressions;
using System.Net.NetworkInformation;
using System.Threading;
using Syst... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Platformer.Mechanics;
using Platformer.UI;
namespace Platformer.Mechanics
{
public class EnemyDetectShoot : MonoBehaviour
{
public bool facingRight = true;
public float timeTemp = 0f;
public float fireRate = 1f;
... |
using FluentAssertions;
using Moq;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tynamix.ObjectFiller;
using ValidationExperiments.Core.Entities;
using Xunit;
namespace ValidationExperiments.Tests.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EntidadesCompartidas;
namespace Persistencia.interfaces
{
public interface IPersistenciaSolicitud
{
int AltaSolicitud(Solicitud solicitud, Empleado usLog);
void ModificarEs... |
using System.Collections.Generic;
using System.Security.Claims;
namespace DynamicPermission.AspNetCore.Common.Models
{
public class AreaViewModel
{
public Claim Area { get; set; }
public List<ControllerViewModel> ControllerViewModels { get; set; } = new List<ControllerViewModel>();
}
... |
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 RevolutionCAD.Composition;
using RevolutionCAD.Tracing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace RevolutionCAD.Placement
{
public class PlacementResult
{
public List<Matrix<int>> BoardsMatr... |
namespace HCL.Academy.Model
{
public class TrainingAssignment
{
public string TrainingName { get; set; }
public int TrainingId { get; set; }
public int UserId { get; set; }
public string UserName { get; set; }
public string EmailAddress { get; set; }
public int E... |
using System;
namespace OmniGui
{
public interface IRenderSurface
{
void ForceRender();
void ShowVirtualKeyboard();
void SetFocusedElement(Layout textBoxView);
IObservable<Layout> FocusedElement { get; }
}
} |
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 UserProgression : MonoBehaviour {
public bool Emp_6A_01_Locked;
public bool Emp_6A_02_Locked;
public bool Emp_6A_03_Locked;
public bool Quiz_Locked;
public bool Emp_6B_Locked;
public bool Wrapup_Locked... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MGL_API.Model.Entrada
{
public class EntradaAvaliarGame
{
public int IdGame { get; set; }
public string Classificacao { 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.Windows.Forms;
using System.Net;
using System.Net.Sockets;
namespace ICOMSClient
{
public partial class FrmICOMSClient : Form
{
publi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour
{
public float speed = 10f;
public float jumpSpeed = 20;
[SerializeField]
private Stat health;
[SerializeField]
private Stat armor;
private void Awake()
{
hea... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Contoso.Parameters.Expressions
{
public interface IExpressionParameter
{
}
}
|
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System.IO;
public class GameController : MonoBehaviour {
public GameObject ground;
public UIController uiController;
public CarController carController;
public HUDController hudController;
public GameObject redCar;
public GameObject green... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Planning
{
class PredicateListComparer : IEqualityComparer<List<Predicate>>
{
#region IEqualityComparer<List<Predicate>> Members
public bool Equals(List<Predicate> x, List<Predicate> y)
{
... |
using System;
using System.Collections.Generic;
namespace Lncodes.Algorithm.Search.Jump
{
public sealed class JumpSearch
{
/// <summary>
/// Method for jump search
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="data"></param>
/// <param nam... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using DemoStandardProject.Data;
using DemoStandardProject.Services;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Https... |
using System.Linq;
using System.Web;
using System.Web.Mvc;
using LETS.Models;
using MongoDB.Driver;
using LETS.Helpers;
using MongoDB.Bson;
using Microsoft.Owin.Security;
using System.Threading.Tasks;
using System.Net.Mail;
using System.Net;
using System;
using System.Collections.Generic;
using System.IO;
using MongoD... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Team3ADProject.Model;
using Team3ADProject.Code;
using System.Web.Security;
namespace Team3ADProject
{
public partial class Default : System.Web.UI.Page
{
pr... |
using System.Collections;
using UnityEngine;
public class MyCoroutine : MonoBehaviour
{
private bool isRunning = false;
private WaitForFrames myCo = null;
// Use this for initialization
void Start()
{
StartCoroutine(RunInFrames(3));
this.isRunning = true;
}
// Update is called once per frame
void Update(... |
using System;
using System.Collections.Generic;
using System.Data.Linq;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using System.Xml;
using Business... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyController : MonoBehaviour
{
[Header("Stats")]
public float moveSpeed;
public int curHp;
public int maxHp;
public int xpToGive;
[Header("Target")]
public float chaseRange;
pub... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Linq;
using System.Data.SqlClient;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using System.Threading;
using System.Web;
using System.Web.Mvc;
using System.Web.Script.Serialization;
using Busin... |
using System;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics.CodeAnalysis;
namespace ITQJ.Domain.DTOs
{
public class BaseDTO
{
[Required]
[NotNull]
public Guid Value { get; set; }
}
}
|
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
usi... |
namespace HseClass.Api.ViewModels
{
public class TaskLabForm
{
public string CorrectSolution { get; set; }
public string Description { get; set; }
public string Equipment { get; set; }
public string LinkToManual { get; set; }
public st... |
// ----------------------------------------------------------------------------
// <copyright file="CatalogInitializer.cs" company="NanoTaboada">
// Copyright (c) 2013 Nano Taboada, http://openid.nanotaboada.com.ar
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this so... |
using System;
using System.Collections.Generic;
using System.Text;
namespace TQVaultAE.Domain.Entities;
public record ItemClassMapItem<T>(string ItemClass, T Value)
{
public string ItemClassUpper => ItemClass.ToUpper();
}
|
using System.ComponentModel.Composition;
using Microsoft.Practices.Prism.ViewModel;
using Torshify.Radio.Framework;
namespace Torshify.Radio.EightTracks.Views.Tabs
{
[Export(typeof(FavoritesViewModel))]
[PartCreationPolicy(CreationPolicy.NonShared)]
public class FavoritesViewModel : NotificationObject, IH... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ENTITY;
using Openmiracle.BLL;
using Openmiracle.DAL;
using System.Data;
namespace Openmiracle.BLL
{
public class MonthlySalaryBll
{
MonthlySalaryInfo InfoMonthlySalary = new Monthly... |
using System;
using System.Web.Mvc;
using NBTM.Repository;
namespace NBTM.Controllers
{
public class BaseController : Controller
{
#region Members
private UnitOfWork _uow;
#endregion
// Setup the UserContext for Data Inserts and Updates
protected Logge... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BPiaoBao.AppServices.DataContracts.Cashbag
{
/// <summary>
/// 转账记录
/// </summary>
public class TransferAccountsLogDto
{
/// <summary>
/// 流水号
/// </summary>
public strin... |
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 AutoShutDowner
{
public partial class Form1 : Form
{
public Form1()
{
... |
using System;
using System.Web.Mvc;
using Logs.Authentication.Contracts;
using Logs.Services.Contracts;
using Logs.Web.Models.Entries;
using Logs.Web.Models.Logs;
namespace Logs.Web.Controllers
{
public class EntriesController : Controller
{
private readonly IEntryService entryService;
private... |
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
public class InspectorExtensions
{
private const float ZFightPreventionOffset = 0.01f;
[MenuItem("BolekTools/Align With Surface Below %g")]
public static void AlignWithSurfaceBelow()
{
var selecte... |
using Bridge.Entities;
using System;
namespace Bridge
{
class Program
{
static void Main(string[] args)
{
BridgePattern bridge = new BridgePattern();
Random random = new Random();
void Sortear()
{
if (random.Next(2) == 1)
... |
using System;
namespace LV1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
Note prva = new Note();
Note druga = new Note("Mr. Someone");
Note treca = new Note("Ovo je druga biljeska", "Mr. Someon... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BgLayerHorizontalParameters : HorizontalParameters {
[SerializeField]
private GameObject[] _bgImage;
void Start () {
initiateParameters();
}
public override void UpdateParameters()
{
ba... |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Breezy.Sdk.Payloads
{
internal class PrinterListMessage
{
[JsonProperty("printers")]
public List<Printer> Printers { get; set; }
}
} |
using Discord;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WaitingListBot
{
public class Storage
{
public const string GuildDirectory = "guilds";
private ulong guildId;
... |
using System;
using System.IO;
using System.Net;
namespace SplitPdf.UpgradeChecker
{
public class UpgradeRequiredChecker
{
public DateTime GetLastChecked()
{
var path = Path.Combine(Environment.GetFolderPath(
Environment.SpecialFolder.ApplicationData), "GrahamDo");
if (!Directory.Exist... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CTDLGT.Stack___Queue
{
class GenericStack<T>
{
public class StackNode
{
T data; // phần dữ liệu của Node
StackNode next = null;... |
using System.Text.Json.Serialization;
namespace PlatformRacing3.Common.Campaign;
public struct CampaignLevelRecord
{
[JsonPropertyName("timeMS")]
public int Time { get; }
[JsonPropertyName("season")]
public string Season { get; }
[JsonPropertyName("medal")]
public CampaignMedal Medal { get; }
public Campai... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace MyLINQProvider.CoreLINQ
{
// Beta Version Not all Variants Extesion Implemented !
public static class CoreLINQProvider
{
public static IEnumerable<T> CoreWhere<T>(this IEnumerable<T> Src, Func<T,... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class Controlador_HUD : MonoBehaviour
{
private Toggle toque;
private Toggle som;
private Toggle auxilio;
private Canvas botoes;
private Animator fadeAnim;... |
using LogicBuilder.RulesDirector;
using LogicBuilder.Workflow.Activities.Rules;
using System.Collections.Concurrent;
using System.Collections.Generic;
namespace Enrollment.Spa.Flow.Rules
{
public class RulesCache : IRulesCache
{
public RulesCache(ConcurrentDictionary<string, RuleEngine> ruleEngines, C... |
using System.Threading;
using System.Threading.Tasks;
using Dapper;
using MediatR;
using Npgsql;
namespace DDDSouthWest.Domain.Features.Public.ProposedTalkDetail
{
public class ProposedTalkDetail
{
public class Query : IRequest<Response>
{
public readonly int Id;
public... |
namespace Belot.Engine.Cards
{
public enum CardSuit : byte
{
/// <summary>
/// ♣ - Clubs
/// </summary>
Club = 0,
/// <summary>
/// ♦ - Diamonds
/// </summary>
Diamond = 1,
/// <summary>
/// ♥ - Hearts
/// </summary>
... |
public int HammingWeight(uint n) {
int sum = 0;
while (n > 0) {
if ((n & amp; 1) == 1) {
sum++;
}
n >>= 1;
}
return sum;
} |
namespace TPLinCSharpSample.Tests
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Shouldly;
[TestClass]
public class ToDoQueueTest
{
[TestMethod]
public void Ctor_AlwaysReturns_ValidInstance()
{
// Act
var fixture = this.CreateFixture();... |
namespace CarSelector.Contracts
{
using CarSelector.Model;
public interface ICarEvaluatorService
{
/// <summary>
/// Determine completion time for a single Car configuration against a race track
/// </summary>
CarRaceTrackEvaluation Evaluate(RaceTrack raceTrack, CarConfigur... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace COM3D2.SimpleUI
{
public interface ITextArea: IContentControl
{
}
}
|
using System.Net;
using System.Threading.Tasks;
using DotNetty.Buffers;
using DotNetty.Codecs;
using DotNetty.Common.Concurrency;
using DotNetty.Transport.Bootstrapping;
using DotNetty.Transport.Channels;
using DotNetty.Transport.Channels.Sockets;
using log4net;
using Plus.Network.Codec;
using Plus.Network.Handler;
na... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace Intex.Models
{
[Table("Employee")]
public class Employee
{
[Key]
public int EmployeeID { get; set;... |
using CustomerManagement.Domain.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace CustomerManagement.Infrastructure.Data.Mappings
{
public class EnderecoConfiguration : IEntityTypeConfiguration<Endereco>
{
public void Configure(EntityTypeBu... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//AI spawn for Circuit 6
public class c6Aicontrol : MonoBehaviour
{
public GameObject AI1;
public void OnTriggerEnter(Collider other)
{
AI1.SetActive(true);
}
}
|
using SO.Urba.Managers;
using SO.Utility.Models.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace SO.Urba.Web.Controllers
{
[Authorize]
public class DropDownController : Controller
{
private CompanyCategoryTypeManager c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.