text stringlengths 13 6.01M |
|---|
using System;
using System.IO;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
namespace WebApp.Data.Models
{
public partial class RepositoryContext : DbContext
{
public RepositoryContext(DbContextOptions options): base(options)
{ }
public virtual DbSet<... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebApp.Data.Models
{
public class TiresResponseModel
{
public Guid Id { get; set; }
public string Brand { get; set; }
public string Model { get; set; }
public string Count... |
namespace PatternsCore.FrameWorkStyleFactory.AbstractFactory.AnotherIsolatedExample
{
public interface IBody
{
string Material();
int Weight();
}
public class FerrariBody : IBody
{
public string Material()
{
return "Carbon composite fiber";
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebSiteCkEditor.Models
{
public static class CkFinderIsAuten
{
public static bool Isauthenticate { get; set; } = false;
}
} |
using Unity.Entities;
using Unity.Mathematics;
using static Unity.Mathematics.math;
namespace IzBone.PhysSpring.Core {
using Common.Entities8;
using Common.Field;
/** RootAuthのデータをもとに、Entityを生成するモジュール */
public sealed class EntityRegisterer : EntityRegistererBase<RootAuthoring>
{
// ------------------------... |
using System;
using System.IO;
using System.ComponentModel;
using System.Diagnostics;
using System.Net;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;
using System.Runtime.InteropServices;
using SixLabors.ImageSharp.Processing;
using ColorConverter = System.Converter<Jypeli.Color, Jypeli.Color... |
using System;
using System.Collections;
using Sce.PlayStation.HighLevel.GameEngine2D;
namespace ShootingApp
{
public struct ScreenSize
{
public int Width;
public int Height;
public ScreenSize(int w, int h)
{
Width = w;
Height = h;
}
}
public struct... |
public class Solution {
public int TotalNQueens(int n) {
int res = 0;
bool[] colQ = new bool[n];
bool[] diaQ1 = new bool[2*n - 1];
bool[] diaQ2 = new bool[2*n - 1];
DFSHelper(n, 0, colQ, diaQ1, diaQ2, ref res);
return res;
... |
using System;
using System.Net;
using System.Threading.Tasks;
using Simple.Rest;
using Simple.Rest.Common.Extensions;
using Simple.Wpf.Composition.Workspaces.Weather.Dtos;
using Simple.Wpf.Composition.Workspaces.Weather.Model;
namespace Simple.Wpf.Composition.Workspaces.Weather.Services
{
public sealed ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.SqlClient;
using System.Windows.Forms;
namespace DepartmentOfLabour.connection
{
class ClassConnection
{
public static string stringCo... |
namespace DChild.Gameplay.Player
{
public interface IAirDash : IDash, IPlayerSkillReset
{
}
} |
using System;
using System.Linq;
namespace LadyBugs
{
class Program
{
static void Main(string[] args)
{
int sizeOfField = int.Parse(Console.ReadLine());
int[] ladyBugIndexes = Console.ReadLine()
.Split()
.Select(int.Parse)
... |
using System;
using System.Collections;
using System.Collections.Generic;
using Faker.ValueGenerator.PrimitiveTypes;
using Faker.ValueGenerator.PrimitiveTypes.IntegerTypes;
namespace Faker.ValueGenerator.ReferenceTypes.GenericType
{
public class ListGenerator : IGenericTypeGenerator
{
private static re... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using TopSpotsAPI.Models;
namespace TopSpotsAPI.Controllers
{
public class TopSpotsAPIController : ApiController
{
public IEnumerab... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RecenterPlayer : MonoBehaviour
{
public OVRInput.Controller controller = OVRInput.Controller.Active;
void Update()
{
if (OVRInput.GetDown(OVRInput.Button.One, controller))
{
OVRManager.... |
using Euler_Logic.Helpers;
using System;
namespace Euler_Logic.Problems {
public class Problem193 : ProblemBase {
private ulong _sum = 0;
private PrimeSieve _primes;
/*
I used the inclusion-exclusion principle. The count of all numbers less than 2^50 that are multiples of 2^2 ... |
using Microsoft.Extensions.Configuration;
namespace CoherentSolutions.Extensions.Configuration.AnyWhere.AdapterList
{
public static class ConfigurationBuilderExtensions
{
private const string ANYWHERE_ADAPTER_LIST_PROPERTY = "coherentsolutions.anywhere.adapterlist";
public static IConfigurati... |
using IdentityServer4.EntityFramework.DbContexts;
using IdentityServer4.EntityFramework.Mappers;
using IdentityServer4.Quickstart.UI;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Depende... |
namespace TDDFixture.Test
{
using Moq;
using NUnit.Framework;
[TestFixture]
public class LeagueFixtureManagerTests
{
private ILeagueFixtureManager _leagueFixtureManager;
private Mock<ILeagueFixtureDataProvider> _leagueFixtureDataProvider;
public void Setup()
{
... |
using System;
using System.Collections.Generic;
namespace Algorithms.LeetCode
{
public class TriangleTask
{
public int MinimumTotal(IList<IList<int>> triangle)
{
if (triangle.Count == 1)
return triangle[0][0];
var min = int.MaxValue;
for (int... |
using InvoicingApp.Domain.Contracts.Base;
using InvoicingApp.Domain.Models.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InvoicingApp.Domain.Models.Production
{
/// <summary>
/// Product Entity
/// </summary>
public ... |
using ADOExam.Model;
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.W... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ModelTransformationComponent;
namespace TransformationComponentUnitTest
{
public static class TestUtil
{
public static void AssertReg(RegexRule rule, string expectedName, string expectedPattren)
{
Assert.IsN... |
using System;
class Illuminati
{
static void Main()
{
//A = 65, E = 69, I = 73, O = 79, U = 85
string strIllum = Console.ReadLine();
int iLeeterCount = 0, iLetterSum = 0;
for (int i = 0; i < strIllum.Length; i++)
{
switch (strIllum[i])
{
... |
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using AlohaCorp.UI;
using UnityEngine;
using UnityEngine.UI;
public class RatingRequestHandler : MonoBehaviour
{
[SerializeField] private UIElementGroup _uiElementGroup;
[SerializeField] private Button _sureB... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestWeek6.Assicurazione.Models
{
public abstract class InsurancePolicy
{
public int Number { get; set; }
public DateTime StipulationDate { get; set; }
public fl... |
using UnityEngine;
using UnityEditor;
using UnityEditor.Presets;
using System.Reflection;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
namespace EditorSaveComponent
{
[InitializeOnLoad]
public class MultipleCopy
{
//static string path = "... |
using System.ComponentModel;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Media;
namespace Crystal.Plot2D.Charts
{
public static class LiveToolTipService
{
#region Properties
public static object GetToolTip(Dependenc... |
namespace Sentry;
internal interface ISessionManager
{
bool IsSessionActive { get; }
SessionUpdate? TryRecoverPersistedSession();
SessionUpdate? StartSession();
SessionUpdate? EndSession(DateTimeOffset timestamp, SessionEndStatus status);
SessionUpdate? EndSession(SessionEndStatus status);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PromoServiceCosmos.Models
{
public enum ProductPromoActionType
{
PROMO_GWP,
PROMO_ORDER_AMOUNT,
PROMO_ORDER_PERCENT,
PROMO_PROD_AMDISC,
PROMO_PROD_DISCOUNT,
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class OptionPopup : MonoBehaviour
{
[SerializeField]
private Image BgmImage;
[SerializeField]
private Image EffectImage;
private void OnEnable()
{
UpdateButtonImages();
}
... |
namespace SmartStocksImporter.Models
{
public class ImportFund
{
public string FundName { get; set; }
public Wallet Wallet { get; set; }
public string Type { get; set; }
public string Class { get; set; }
public decimal Variation6Months { get; set; }
}
} |
using DelftTools.Shell.Core;
using DelftTools.Utils;
using DelftTools.Utils.Collections;
using DelftTools.Utils.Collections.Generic;
using NUnit.Framework;
namespace DelftTools.Tests.Core
{
[TestFixture]
public class DataItemsEventedListAdapterTest
{
[Test]
public void CollectionChangedAddT... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace St.Eg.M2.Ex1.INPC
{
class Program
{
static void Main(string[] args)
{
// TODO: Create in... |
using UnityEngine;
using System.Collections;
public class Bridge : MonoBehaviour {
public GameObject[] rope = new GameObject[2];
//private ArrayList collList = new ArrayList();
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnCollisionEnter2D... |
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.SqlClient;
using System.IO;
namespace LibraryManagementSystem
{
public partial cla... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Forms;
using GalaSoft.MvvmLight.Command;
namespace FuelRadar.UI
{
public partial class HomePage : ContentPage
{
public event EventHandler GoSe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Mail;
using System.Net;
namespace UseFul.Uteis
{
public static class EnviarEmail
{
/// <summary>
/// Método de Enviar Email
/// </summary>
/// <param name="host">Host do Email... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TargetSpawner : MonoBehaviour
{
public List<GameObject> Target_List;
public GameObject Target;
// Use this for initialization
void Start()
{
Target_List = new List<GameObject>();
}
// Updat... |
using System.Net;
using UBaseline.Shared.Node;
using Uintra.Features.Links.Models;
namespace Uintra.Core.UbaselineModels.RestrictedNode
{
public class UintraRestrictedNodeViewModel : NodeViewModel
{
public bool RequiresRedirect => StatusCode != HttpStatusCode.OK;
public HttpStatusCode StatusCo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _1.GiftCard
{
class GiftCard
{
static void Main()
{
//maybe faster if string is used
Console.WriteLine("Enter number for a leaf:");
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CRL.Business.TradeType
{
/// <summary>
/// 交易类型
/// </summary>
[CRL.Attribute.Table(TableName = "TradeType")]
public class TradeType : CRL.Category.ICategory
{
/// <summary>
/// 交易方向... |
using System;
using System.Collections.Generic;
using System.Linq;
using Shop.Models.Northwind;
public class ProductRepository : Repository<Product>, IProductRepository
{
private Shop.Models.ApplicationDbContext _context;
public ProductRepository(Shop.Models.Applicatio... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WAP_Aula07parte2
{
public class Pessoa
{
public string Nome, Profissao;
public bool BancoDados, Programacao, Analise, Infra;
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class pages_riMan : System.Web.UI.Page
{
//private DataLayer sqlOperation = new DataLayer("sqlyiyi");
protected void Page_Load(object sender, EventArgs e)
... |
using PatientService.Model;
namespace PatientService.Repository.BackendMapper
{
internal static class BloodTypeMapper
{
internal static BloodType ToBloodType(this Backend.Model.Enums.BloodType bloodType)
{
switch (bloodType)
{
case Backend.Model.Enums.B... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MovAndKick : MonoBehaviour
{
float velocidade = 3.5f;
public Vector3 posicaoInicial;
Vector3 movimento;
public static Quaternion rotacaoSeta;
// Start is called before the first frame update
void Start... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kadastr.Data.Model
{
/// <summary>
/// Иностранное юридическое лицо
/// </summary>
class ForeignOrganization : Organization
{
/// <summary>
/// Наименование... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace EAN.GPD.Domain.Models
{
public class ArvoreModel : BaseModel
{
[NotMapped]
public long? IdArvore { get; set; }
public override long? GetId() => IdArvore;
[Required(Allow... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum Rarity { Common = 0, Uncommon = 1, Rare = 2, Legendary = 3 };
public enum FoodType { Meaty = 0, Veggie = 1 };
public enum EncounterType { Nothing = 0, Item = 1, Character = 2, Goal = 3 };
public enum ThingType { Character = ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace EntityLayer
{
public class CustomerWallet
{
}
}
|
using System;
using System.Timers;
using BootLoader.Interfaces;
namespace BootLoader.Impl
{
public class Timer : ITimer
{
private System.Timers.Timer _timer = new System.Timers.Timer();
private bool _disposed;
public Timer() {
_disposed = false;
_timer.Elapsed ... |
using SimpleRESTChat.Entities;
namespace SimpleRESTChat.DAL.Repository.Interfaces
{
public interface IUserRepository : IRepositoryBase<User>
{
}
}
|
using ArkSavegameToolkitNet.Types;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArkSavegameToolkitNet.Structs
{
[JsonObject(MemberSerialization.OptIn)]
public class StructVector2d : StructBase
{
... |
using System;
using System.Collections.Generic;
namespace DemoApp.Entities
{
public partial class FacilitySettings
{
public FacilitySettings()
{
SchoolFacilities = new HashSet<SchoolFacilities>();
}
public Guid Id { get; set; }
public Guid FacilityTypeId { ... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using LTDemoData;
using LTDemoData.Models;
namespace LTDemoService.Services
{
public class PhotoService : IPhotoService
{
private readonly IWebServiceData _webServiceData;
public PhotoService(IWebServiceData web... |
using AspNetMvcSample.Core.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AspNetMvcSample.Core.StoredProc.Input;
using AspNetMvcSample.Core.StoredProc.Output;
namespace AspNetMvcSample.Core.Services
{
public interface IDepartment... |
using System;
namespace Vlc.DotNet.Core
{
public sealed class VlcMediaPlayerTimeChangedEventArgs : EventArgs
{
public VlcMediaPlayerTimeChangedEventArgs(long newTime)
{
NewTime = newTime;
}
public long NewTime { get; private set; }
}
} |
using FluentNHibernate.Automapping;
using FluentNHibernate.Automapping.Alterations;
using Profiling2.Domain.Scr.PersonRecommendation;
namespace Profiling2.Infrastructure.NHibernateMaps.Overrides
{
public class ScreeningRequestPersonRecommendationMappingOverride : IAutoMappingOverride<ScreeningRequestPersonRecomme... |
using System;
namespace Pe.Stracon.SGC.Aplicacion.TransferObject.Response.Contractual
{
[Serializable]
public class BienRegistroResponse
{
/// <summary>
/// Tipo de contenido
/// </summary>
public string Tipo { get; set; }
/// <summary>
/// Valor del contenid... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
namespace OcenaKlientow.Model.Models
{
public class Benefit
{
[Required]
[Key]... |
namespace Portfolio.Shared
{
public class ProjectTechnology
{
public int Id { get; set; }
public int ProjectId { get; set; }
public Project Project { get; set; }
public int TechnologyId { get; set; }
public Technology Technology { get; set; }
public string Slug {... |
using UnityEngine;
using System;
using Newtonsoft.Json.Linq;
namespace Egret3DExportTools
{
public class BoxColliderSerializer : ComponentSerializer
{
protected override void Serialize(Component component, ComponentData compData)
{
BoxCollider comp = component as BoxCollider;
... |
// Copyright © 2020 Void-Intelligence All Rights Reserved.
using Nomad.Core;
namespace Vortex.Regularization.Utility
{
public interface IRegularization
{
public double CalculateNorm(Matrix input);
public ERegularizationType Type();
}
} |
using StardewModdingAPI;
using StardewValley;
using StardewModdingAPI.Events;
using Modworks = bwdyworks.Modworks;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using System;
namespace Lockpicks
{
public class Mod : StardewModdingAPI.Mod
{
internal static bool Debug = false;
... |
using OpenTK.Mathematics;
using OpenTK.Windowing.GraphicsLibraryFramework;
using System;
using System.Collections.Generic;
using System.Text;
namespace Framework2D.Inputs
{
public static class Input
{
static KeyboardState keyboardState;
static MouseState mouseState;
public static Vec... |
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
namespace ProyectoSCA_Navigation.Clases
{
public... |
using UnityEditor;
using UnityEngine;
public abstract class FlipDrawer : PropertyDrawer
{
protected abstract string FlagField { get; }
protected abstract string Backing1 { get; }
protected abstract string Backing2 { get; }
public override void OnGUI(Rect position, SerializedProperty property, GUICont... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Nono.Engine.Helpers;
namespace Nono.Engine
{
public abstract class Line : IEnumerable<Box>
{
public Line(IEnumerable<Box> boxes)
{
Boxes = boxes.ToArray();
}
protected... |
using Newtonsoft.Json;
using System;
using System.IO;
using System.Reflection;
using Utilities;
namespace EddiConfigService
{
public sealed partial class ConfigService
{
/// <summary> Obtain configuration from a json (for unit testing). </summary>
public static T FromJson<T>(string json) where... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class escudo_rayos_script : MonoBehaviour
{
public float velocidadGiro;
// Use this for initialization
void Start()
{
}
// Update is called once per frame
void Update()
{
this.transform.Rota... |
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 Project2ObjectWCF.DTO;
namespace Project2Client {
public partial class Filters : Form {
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Terraria;
using Terraria.ModLoader;
using Microsoft.Xna.Framework;
namespace StarlightRiver.Items.Overgrow
{
class ExecutionersAxe : ModItem
{
public override string Texture => "St... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Sind.DAL.Infrastructure;
namespace Sind.DAL.Test.Integration
{
[TestClass]
public class NhibernateConnectionTest
{
[TestMethod]
public void EstaFazendoConexaoComOBanco()
{
var session = NHibernateHelper.OpenSessi... |
using NfePlusAlpha.Application.ViewModels.Apoio;
using NfePlusAlpha.Domain.Entities;
using NfePlusAlpha.Infra.Data.Classes;
using NfePlusAlpha.Infra.Data.Retorno;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Linq;
using System.Text;
using Sy... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Solver.Hanidoku
{
public class Board
{
public Board()
{
var id = 0;
Rows = new List<List<Hexa>>();
Enumerable.Range(5, 4).ToList().ForEach(i =>//5 6 7 8
Row... |
namespace TripDestination.Web.MVC.Areas.UserProfile.ViewModels
{
using Infrastructure.HtmlSanitizer;
using System.Collections.Generic;
using TripDestination.Common.Infrastructure.Mapping;
using TripDestination.Data.Models;
public class CarViewModel : IMapFrom<Car>
{
private readonly IS... |
namespace Core
{
public class Work
{
public int WorkId { get; }
public string WorkName { get; }
public double DefaultPrice { get; }
public Work(int workId, string workName, double defaultPrice)
{
WorkId = workId;
WorkName = workName;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
public static class TryParseExtensions
{
private delegate bool ParseDelegate<T>(string s, out T result);
private static T TryParse<T>(this string value, ParseDelegate<T> parse) where T : struct
{
... |
using System;
namespace RockPaperScissors
{
public class Player
{
public string Name { get; }
private int _wins;
public int Wins
{
get
{
return _wins;
}
}
public Player(string name)
{
Na... |
using System;
using System.Linq;
namespace NStandard.Threading
{
public class Cron
{
public CronFieldType SecondType { get; set; }
public int[] Seconds { get; set; } = new int[0];
public CronFieldType MinuteType { get; set; }
public int[] Minutes { get; set; } = new int[0];
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace M1
{
public class Item
{
public static int idCounter = 0;
public int Id { get; set; }
public int Level { get; set; }
public int Durability { get; set; ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using wsApiEPayment.Models.Affipay;
using wsApiEPayment.Classes.Affipay;
using System.IO;
using System.Net;
using Newtonsoft.Json;
using RestSharp;
using System.Configuration;
namespace wsApiEPayment.Services
{
public class Affi... |
using System;
using System.Collections.Generic;
using System.ServiceModel;
using System.ServiceModel.Description;
using System.ServiceModel.Channels;
using CODE.Framework.Core.Configuration;
using CODE.Framework.Core.Utilities;
using CODE.Framework.Services.Server.Contracts;
namespace CODE.Framework.Services.Server
{... |
using Piovra.Ds;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace Piovra.Tests;
public class BinaryHeapTests {
[Fact]
public void Test() {
var heap = new BinaryHeap<int>(3);
heap.Add(10);
heap.Add(5);
heap.Add(15);
var top1 = h... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class BettingPopupController : MonoBehaviour {
// Use this for initialization
int colorIndex;
int betAmountIndex;
public GameObject _betColorIndicator;
public Text _betAmountindicator;
public GameObjec... |
using System;
using Microsoft.Web.Administration;
namespace RecyclingApplicationPool
{
internal class Program
{
private static void Main(string[] args)
{
if (args.Length > 1)
{
foreach (string s in args)
{
... |
using System;
using System.Net.Http.Formatting;
using Umbraco.Core;
using Umbraco.Core.Scoping;
using Umbraco.Web.Models.Trees;
using Umbraco.Web.Mvc;
using Umbraco.Web.Trees;
namespace MediaProtector.App_Plugins.MediaProtector.Controllers {
[PluginController(MediaProtectorSettings.PluginAreaName)]
[Tree(Cons... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Anywhere2Go.DataAccess.AccountEntity
{
public ... |
using BillingApp.Entities;
using BillingApp.Interfaces;
using System;
using System.Collections.Generic;
using Xunit;
namespace BillingApp.Tests
{
public class BillingServiceTests
{
private readonly IBillingService _service;
public BillingServiceTests()
{
_service = new Bill... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace CTMBowling.Models
{
public class Frame
{
public int FrameNumber { get; set; }
public string FirstThrow { get; set; }
public string SecondThrow { get; set; }
public int FrameScore { ge... |
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using MathNet.Numerics.LinearAlgebra;
using MathNet.Numerics.LinearAlgebra.Single;
using UnityEditor;
using UnityEngine.Playables;
// Bar shape is a 1D structure consisting of several bars that can experien... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
public class Money_System : MonoBehaviour
{
public float money; //money variable;
public TextMeshProUGUI money_01;
public TextMeshProUGUI moneyText; //text for ui
public int[] Relics = n... |
using Backend.Model.Pharmacies;
namespace IntegrationAdaptersTenderService.Service.RabbitMqTenderingService
{
public interface IRabbitMqTenderingService
{
public void NotifyParticipants(int tenderId);
public void AddQueue(Tender tender);
public void RemoveQueue(Tender tender);
}
}
|
using AppNotas.Modelo;
using System;
using System.Collections.Generic;
using System.Text;
namespace CarritoCompras
{
public class AppSettings
{
public static string ApiFirebase = "https://proyecto-final-ffc8f-default-rtdb.firebaseio.com/";
private static string KeyAplication = "AIzaSyAKo_qGJyK... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Fuzzing.Fuzzers.Impl
{
public class ReflectionFuzzer : IFuzzer
{
private readonly IFuzzer _fuzzer;
public ReflectionFuzzer(IFuzzer fuzzer)
{
_fuzzer = fuzzer;
}
public Type FuzzedType { get { return n... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Checkpoint : MonoBehaviour
{
CharacterMovement player;
public Text checkpointText;
bool hasAlreadyHit;
bool check;
private void Start()
{
player = FindObjectOfType<Charac... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using EPI.Strings;
using FluentAssertions;
namespace EPI.UnitTests.Strings
{
[TestClass]
public class ReplaceAndRemoveUnitTest
{
[TestMethod]
public void ReplaceRemoveString()
{
ReplaceAndRemove.ReplaceRemove("baacbdb".ToCharArray()).ShouldBeEquivalent... |
using System.Collections.Generic;
namespace BlackKiwi.CodeDiffViewer.FileHelpers
{
public class DiffFile
{
public string FileName { get; set; }
public List<string> RawDiff = new List<string>();
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TrettioEtt;
class StefanAI : Player
{
//Lägg gärna till egna variabler här
public StefanAI() //Skriv samma namn här
{
Name = "Stefan AI"; //Skriv in samma namn här
}
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.