text stringlengths 13 6.01M |
|---|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
using UnityEngine.Animations.Rigging;
public class EnemyBehaviour : MonoBehaviour
{
public Vector2 distanceFromPlayer;
public float activationDelay;
public Animator animator;
private NavMeshAgent... |
using Cs_Gerencial.Dominio.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cs_Gerencial.Aplicacao.Interfaces
{
public interface IAppServicoSeries: IAppServicoBase<Series>
{
IEnumerable<Series> ConsultarPorIdCompraS... |
public enum EnumNumbers
{
Hands = 2,
Monsters = 5,
Cards = 8,
PlayerHP = 12,
FullCards = 8,
}
|
using System.Linq;
using UBaseline.Core.Node;
using UBaseline.Core.RequestContext;
using UBaseline.Shared.Node;
using UBaseline.Shared.PanelContainer;
using UBaseline.Shared.SearchPage;
using Uintra.Core.Search.Entities;
using Uintra.Features.Search.Web;
using Uintra.Infrastructure.Extensions;
using Uintra.Infrastruct... |
using Chloe.Metal.Contracts;
using System.Collections.Generic;
using System.Web;
using System;
namespace Chloe.Metal
{
public class RouteParamsProvider : IRouteParamsProvider
{
public Dictionary<string, object> Get()
{
return (HttpContext.Current.Items["RouteParams"] ??
... |
using System;
using System.Threading.Tasks;
namespace Szogun1987.EventsAndTasks.Callbacks.NeverCalledback
{
public class FixedTaskAdapter : ITaskAdapter
{
private readonly Func<CallbacksApi> _callbacksApiFactory;
public FixedTaskAdapter(Func<CallbacksApi> callbacksApiFactory)
{
... |
using System;
class Number100_200
{
static void Main()
{
int a = int.Parse(Console.ReadLine());
if (a > 200)
{
Console.WriteLine("Greater than 200");
}
else if (a<100)
{
Console.WriteLine("Less than 100");
}
else
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElevatorSim
{
class Converters
{
public static double UserStringToDouble(string userString) //Laver en string om til double og return double
{
double res;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SystemMagement : MonoBehaviour
{
public AudioClip[] audios;
private AudioSource source;
private int index;
private void Start()
{
index = Random.Range(0, 5);
source = GetComponent<AudioSour... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Extract_Quotations
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(Execute());
}
... |
using EPI.Sorting;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EPI.UnitTests.Sorting
{
[TestClass]
public class TeamPhotoDayUnitTest
{
[TestMethod]
public void IsTeamPhotoPossible()
{
TeamPhotoDay.IsPhotoPlacementPossible(
new int[] { 5,1,3,8,9,1,4,8,6,5,6},
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Time_Table_Generator.RandomizerNamespace;
namespace Time_Table_Generator.model
{
public class Module
{
private int moduleId;
private String moduleCode;
private St... |
using System.Diagnostics;
using UnityEngine;
using UnityEditor;
public static class CheckoutLatest
{
public static void EditorXR ()
{
// if you want your Cloud Build target's branch to checkout a different EditorXR branch,
// just change the branch variable here - this way we can have CI on any branch
const ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CursorController : MonoBehaviour {
public GameObject eye;
public GameObject hand;
public Player player;
Objects curObject;
Transform myTransform;
// Use this for initialization
void Start () {
//We don't want to se... |
using BankApp.Models;
using BankApp.Services;
using System;
using System.Collections.Generic;
namespace BankApp
{
class Program
{
// one bank, multiple accounts
static ValidationService validationService = new ValidationService();
static Bank bankOne = InitBankOne();
static Acc... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using POSServices.Models;
using POSServices.WebAPIModel;
namespace POSServices.Controllers
{
[Route("api/[controller]")]
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace SOLIDPrinciples.ValidationClass.Example02.BestSolution
{
public class Funcionario
{
public Cargo Cargo { get; set; }
public double Salario { get; set; }
public double AplicarRegraDeCalculoParaCargo()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Windows.Forms;
namespace Dentistry
{
class XmlClass
{
public static Boolean ReadXML()
{
try
{
string sStartupPath = Application.StartupPat... |
using UnityEngine;
namespace Assets.Scripts.Controllers.UsableObjects
{
public class TorchOnWallInteractive : UsableObject, IConverter
{
public GameObject FireObject;
public ParticleSystem FireParticles;
public AudioSource Sound;
public bool IsBurning { get; private set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using EnergyController.Services;
using EnergyController.Models;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
namespace Ene... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyManager : MonoBehaviour
{
public static EnemyManager instance;
List<Enemy> m_enemies = new List<Enemy>();
int m_enemyCount;
public List<Enemy> Enemies { get { return m_enemies; } set { m_enemies = value; } ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Ex03.GarageLogic
{
public class NewObj
{
public static Vehicle NewVehicle(string i_typeOfvehicle) // this function Creates a new vehicle according to the type the user typed
{
Vehicle newVhicle;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ColorWarp : MonoBehaviour {
Material mat;
float x;
void Start(){
mat = GetComponent<SpriteRenderer>().material;
//mat = GetComponent<MeshRenderer>().material;
}
void Update(){
// 0 = not moving
// 1 = player... |
namespace BattleEngine.Utils
{
public class Point
{
public double x;
public double y;
public void offset(double x, double y)
{
this.x += x;
this.y += y;
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace assesment_00
{
class Program
{
static void Main(string[] args)
{
int arraySize = 100;
int []sortArray = new int[arraySize ];
... |
namespace FamilyAccounting.Web.Models
{
public enum TransactionTypeViewModel
{
Income,
Transfer,
Expense,
Initial
}
}
|
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Aquamonix.Mobile.Lib.Extensions;
namespace Aquamonix.Mobile.Lib.Domain
{
[DataContract]
public class StationGroup : IDomainObjectWithId, ICloneable<StationGroup>, IMergeable<StationGroup>
{
[DataMember(Name = Propert... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using AutoMapper;
using Mvc.JQuery.Datatables;
using Profiling2.Domain.Contracts.Tasks;
using Profiling2.Domain.Contracts.Tasks.Screenings;
using Profiling2.Domain.Prf;
using Profiling2.Domain.Prf.Units;
using Profiling2.Infrastru... |
using Microsoft.AspNetCore.Authorization;
using Zitadel.Authentication;
namespace Zitadel.Authorization
{
/// <summary>
/// Extensions for <see cref="AuthorizationOptions"/>.
/// </summary>
public static class AuthorizationOptionsExtensions
{
/// <summary>
/// Add a policy to the o... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace StateCorrelations
{
delegate IReadOnlyDictionary<TIdentity, Folded<TState>>
LoadMatchingStates<TState, TIdentity>(IEnumerable<TIdentity> identities);
static partial class F
{
public static IReadOnlyDictionary<TI... |
using System;
using System.Collections.Generic;
using System.Text;
using DBDiff.Schema.Model;
namespace DBDiff.Schema.MySQL.Model
{
public abstract class MySQLSchemaBase:SchemaBase
{
public MySQLSchemaBase(StatusEnum.ObjectTypeEnum objectType)
: base("`", "`", objectType)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace V50_IDOMBackOffice.AspxArea.MasterData.Models
{
public class LayoutDatenViewModel
{
public int MaxPersons { get; set; }
public int MaxAdults { get; set; }
public DateTime OpenDate { get; set;... |
namespace Egret3DExportTools
{
using System.Collections.Generic;
using UnityEngine;
public class PhongParser : DiffuseParser
{
public override void CollectUniformValues()
{
base.CollectUniformValues();
var source = this.source;
var shininess = 30.0f;
... |
using System;
using System.ComponentModel.DataAnnotations;
using com.Sconit.Entity.ORD;
namespace com.Sconit.Entity.SCM
{
[Serializable]
public partial class FlowMaster : EntityBase, IAuditable
{
#region O/R Mapping Properties
[Required(AllowEmptyStrings = false, ErrorMessageResourceName =... |
using FrbaOfertas.AbmCliente;
using FrbaOfertas.Helpers;
using FrbaOfertas.Model;
using FrbaOfertas.Model.DataModel;
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.Win... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LynxMapper.Configs;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
namespace LynxMapper
{
public class LynxMapperServiceProvider
{
internal static IServiceCollection Collect... |
using Accessor;
using Modules;
using UnityEngine;
namespace Updater {
public class TargetEdibleUpdater : IUpdater {
public override void DoUpdate() {
if (!GameManager.Instance.GameIsRunning) return;
for (int i = TAccessor<TargetEdibleModule>.Instance.Modules.Count - 1; i >= 0; --i)... |
using System;
using System.Text;
using System.IO;
using Flettu.Util;
namespace Codecs.Interop.Wave
{
public class WaveEncoder : IDisposable
{
private const int HEADER_SIZE = 36;
private static readonly byte[] RIFF_BYTES = Encoding.ASCII.GetBytes("RIFF");
private static reado... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MIDIDotNet
{
public delegate void HandleDataDelegate(IntPtr dwParam1, IntPtr dwParam2);
public interface IInDevice
{
string DeviceName { get; }
bool IsOpen { get; }
bool Is... |
using System;
using System.Collections.Generic;
using System.Linq;
using DependencyInjectionNinject.Models;
using System.Data.Entity;
using System.Linq.Expressions;
namespace DependencyInjectionNinject.Repository
{
public class Repository<TEntity>: IRepository<TEntity> where TEntity : class
{
//intern... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
/**
* AUTHOR: jancsiba5
*
*/
namespace TestGame1
{
public abstract class Entity
{
// Entity szuperosztály minden élő dologhoz a játékban
// Ilyen lesz az ellenség, a Playe... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using IRAP.Client.Global.Enums;
namespace IRAP_FVS_LSSIVO.UserControls
{
public par... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MyHotel.Business.Entity;
using MyHotel.Utils;
using System.Globalization;
using MyHotel.Business.Entity.Booking;
namespace MyHotel.Business.WebControls.Booking
{... |
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace SovcombankTest.Models
{
public class Invitation
{
public int Id { get; set; }
public string phone { get; s... |
using System;
using System.Collections.Generic;
using Compiler.Exceptions;
using System.Data;
using System.Linq;
using Compiler.FrontendPart.SemanticAnalyzer.Visitors;
using Compiler.TreeStructure;
using Compiler.TreeStructure.Expressions;
using Compiler.TreeStructure.Statements;
using Compiler.TreeStructure.Visitors;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Microsoft.PointOfService;
using WebApplication1.Models;
using WebApplication1.Printing;
using WebApplication1.Tasks;
namespace WebApplication1.Controllers
{
public class PrintIn... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Swish.Models
{
public class UserClaim
{
[Key]
public int Id { get; set; }
public int UserId { get; set; }
[ForeignKey("UserId")]
public VerifUser User { get; set; ... |
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Action of type `QuaternionPair`. Inherits from `AtomAction<QuaternionPair>`.
/// </summary>
[EditorIcon("atom-icon-purple")]
public abstract class QuaternionPairAction : AtomAction<QuaternionPair> { }
}
|
using System.Web.Script.Serialization;
namespace AppStore.Infra.CrossCutting.Serialization
{
public static class JavaScriptSerializerExtension
{
private static readonly JavaScriptSerializer Serializer = new JavaScriptSerializer();
public static string Serialize(this object value)
{
... |
namespace gView.Framework.Carto
{
public interface IRefreshSequences
{
void RefreshSequences();
}
} |
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
public class Information : MonoBehaviour {
public Helper.Faction faction = Helper.Faction.None;
public Helper.Category category = Helper.Category.None; //By default all units are warships
public Helper.Team team {get; pri... |
using UnityEngine;
using System.Collections;
public abstract class PrefixNothing : Prefix {
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Serialization.Providers;
namespace Serialization
{
public interface ISerializer
{
IList<T> Deserialize<T>(string filepath, ISerializationProvider provider, bool includeHeader) where T : new();
... |
using JetBrains.Annotations;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Threading;
using Utilities;
namespace EddiDataDefinitions
{
public class MarketInfo
{
[JsonProperty]
public DateTime timestamp { get; }
[JsonProperty]
publi... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Numerics;
namespace _01._Day_of_Week
{
class Program
{
static void Main(string[] args)
{
;
Cat cat = new Cat("Maca");
Console.WriteLine(cat.Age);
}
}
}
|
namespace Alunos
{
public class Juridica
{
}
} |
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;
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 AForge.Video;
using AForge.Video.DirectShow;
using System.IO;
using DAL_QLBaiXe;
using BUS_QLBaiXe;... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Friends.Domain.Friend.Models
{
public class FriendModel
{
public int Id { get; set; }
public string Name { get; set; }
public int Latitude { get; set; }
public int Longitude { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml;
/// <summary>
/// Summary description for TaskServiceCatalog
/// </summary>
public class TaskServiceCatalog : Task
{
public TaskServiceCatalogStatus Status { get; set; }
public TaskServiceCatalog()
{
}
... |
namespace Traffic_Light_Simulator
{
class LaneSensor : Sensor
{
public override void Scan(Lane laneToScan)
{
//
}
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class JumpButton : MonoBehaviour
{
GameObject obj_character;
Character character;
void Start()
{
obj_character = GameObject.Find("Character");
character = obj_character.GetComponent<Character>();
}
public void characterJu... |
using System.Collections.Generic;
using System.Threading.Tasks;
using OnlineClinic.Core.DTOs;
using OnlineClinic.Data.Repositories;
namespace OnlineClinic.Core.Services
{
public interface IDoctorService
{
IEnumerable<DoctorGetDto> GetAllPhysicians();
Task<int> CreateAsync(DoctorCreateDto creat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EBS.Domain.ValueObject
{
public class FormType
{
/// <summary>
/// 采购合同
/// </summary>
public static string PurchaseContract { get {
return "Purch... |
using surfnsail.Code;
using System;
using System.Collections.Generic;
using System.Text;
using Xamarin.Forms;
namespace surfnsail.Views.Windsurfing
{
[Sport(3)]
public class SailingPage : SportPage
{
public SailingPage()
{
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
namespace _07_Balanced_Parentheses
{
public class _07_Balanced_Parentheses
{
public static void Main()
{
var input = Console.ReadLine();
var openBrackets = new char[] { '[', '(', '{' };
var c... |
using ScriptableObjectFramework.Events.Handlers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ScriptableObjectFramework.Events
{
public interface IEventBacking<T>
{
void Fire(T arg);
void SelfFire();
void ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace caiJi
{
class Program
{
static void Main(string[] args)
{
caiJiDll.Class1.sURL = "https://www.sephora.cn/?rsour=sephoraUS&rmeth=test";
string s ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Aloha.Currency;
using UniRx;
using UnityEngine.UI;
public class CoinManager : SingletonComponent<CoinManager>
{
[SerializeField] CurrencyManager currencyManager;
[SerializeField] CurrencyType currencyType;
[SerializeField] ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RendezesiTetelgyak
{
class Program
{
static int[] GyakorloTMB = new int[12];
static string[] Nevek = new string[4];
static int[] Fizetesek = new int... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _3_Hornet_Assault
{
public class _3_Hornet_Assault
{
public static void Main()
{
var beeHives = Console.ReadLine().Split().Select(long.Parse).ToList();
... |
namespace Marco.Caching
{
public enum StorageType
{
Memory,
SqlServer,
Redis
}
} |
using System;
namespace Customer
{
public class Payment : ICloneable
{
//• Define a class Payment which holds a product name and price.
//private string prodName;
//private decimal prodPrice;
public Payment(string prodName, decimal prodPrice)
{
this.ProdNa... |
namespace ApartmentApps.Api.Modules
{
public static class LeaseExtensions
{
public static UserLeaseInfoBindingModel ToUserLeaseInfoBindingModel(this UserLeaseInfo lease, PaymentsConfig config, IBlobStorageService blobStorage)
{
return null;
}
public... |
using aural_library.Model.Api;
using aural_server_console_weather.Network;
using aural_server_console_weather.Network.Handler;
using FluentScheduler;
using System;
using System.Collections.Generic;
using System.Text;
namespace aural_server_console_weather.Job
{
public class GetWeather : IJob
{
public ... |
using System;
// Ai for connect 4
public class AI : Player
{
public AI( bool p, Random r ) : base( p, r ){}
// Node that represents a move in the tree
private class GameNode
{
// gamestate this node represents
public GameBoard Gamestate;
// this node's score
public double Score;
// Constructor
public ... |
using System.Collections.Generic;
using Microsoft.OpenApi.Models;
namespace Atc.OpenApi.Tests.XUnitTestData
{
public static class TestMemberDataForOpenApiParameterExtensions
{
public static IEnumerable<object[]> HasFormatTypeOfUuidItemData =>
new List<object[]>
{
... |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or or http://www.opensource.org/licenses/mit-license.php.
using System;
using System.Collections.Generic;
using System.Text;
namespace FiiiChain.DTO
{
public class PaymentOM
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AngularSPAWebAPI.Models.DatabaseModels.Inventory
{
public class Product : IProduct
{
public Product()
{
Creation = DateTime.Now;
}
public int ProductID { get; set; }
public string ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace website
{
public partial class ResetPassword : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
... |
using iSukces.Code.Interfaces;
namespace iSukces.Code
{
public class CsLangInfo : ILangInfo
{
private CsLangInfo()
{
}
public static ILangInfo Instance => InstanceHolder.SingleInstance;
/// <summary>
/// Dodaj BOM dla UTF-8
/// </summary>
p... |
using System.Net.Http;
using System.Threading.Tasks;
namespace Svenkle.SitecoreSolrOnStartup
{
public static class HttpClientHelper
{
public static string GetXmlString(HttpClient httpClient, string requestUri)
{
return Task.Run(() => httpClient.GetStringAsync(requestUri)).Result;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LightBoxRectSubForm.data {
public class CanDataWithInfo : BytesWithInfo{
public uint canId;
public CanDataWithInfo(uint canId, byte[] bytes, string info) : base(bytes, in... |
/*
* Author: Generated Code
* Date Created: 24.02.2011
* Description: Represents a row in the tblTarifeABG table
*/
using System.Data.SqlClient;
using System.Data;
using System;
namespace HTB.Database
{
public class tblTarifeABG : Record
{
#region Property Declaration
private int _tarifeABGID;
private int... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _07.LabyrinthPath
{
class PathFinder
{
//not counting properly sequence length
static int counter;
static int row;
static int col;
static int [... |
using System;
namespace Sejalan.Framework.Preferences.Data.DbLinq.Sqlite
{
public class PreferencesDataContext
{
public PreferencesDataContext ()
{
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Web.student
{
public partial class Password : System.Web.UI.Page
{
ITCastOCSS.Model.Student stu;
protected void Page_Load(object sender, EventArg... |
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace ConsoleApp2
{
class Profile
{
private const int OMOKCOUNT = 5;
public static void Main()
{
int[,] omok = new[,] {
{-1, 0, 0, 0, 0},
{-1... |
using System;
using System.Linq;
using App.Core.Extensions;
using App.Core.Interfaces.Dto;
using App.Core.Interfaces.Dto.Responses;
using App.Data.Models;
using Microsoft.EntityFrameworkCore;
namespace App.Core.Providers
{
public class ChatProvider : BaseEntityProvider<Chat>
{
public ChatProvider(DbCon... |
using Microsoft.EntityFrameworkCore;
using Btf.Data.Contracts.Interfaces;
namespace Btf.Data.Contracts.Base
{
public class BaseDbContext<T> : DbContext, IDbContext where T : DbContext
{
public BaseDbContext(DbContextOptions<T> options) : base(options)
{
}
public DbContext GetC... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class cameraFollow : MonoBehaviour
{
Transform target;
public static bool followPlayer = true;
public float smoothSpeed = 0.125f;
public Vector3 offset;
public Vector3 offsetLookAt;
float limit;
void Sta... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using API.Model;
using API.BL;
namespace coucheAPI.Controllers
{
[Route("api/[controller]")]
public class CatalogueController : Controller
{
[HttpGet]
public ... |
using HelperCore.Optional;
using OrbCore.Logger;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrbCore.Core.Cache {
internal class DiscordObjectsCache<T> {
private ConcurrentDictionary<ulon... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using Foolproof;
namespace Integer.Api.Models
{
public class UsuarioTrocarSenhaModel
{
public string Id { get; set; }
public Guid Token { get; set; }
[Requ... |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
#nullable disable
namespace rent_a_car
{
public partial class rentacarContext : DbContext
{
public rentacarContext()
{
}
public rentacarContext(DbContextOptions<rentacarContext> o... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AngularWebApplication.Models
{
public class BlogViewModel
{
public int BlogId { set; get; }
public int PostId { set; get; }
public string Url { get; set; }
public string T... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Text;
namespace PingoSnake
{
class Animator
{
private Texture2D Texture;
private int Columns;
private int Rows;
private IDictionary<string, Animation> Animations = new Dictio... |
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using ParrisConnection.DataLayer.DataAccess;
using ParrisConnection.DataLayer.Entities.Profile;
using ParrisConnection.DataLayer.Repositories;
using ParrisConnection.ServiceLayer.Data;
using ParrisConnection.... |
#if GAIA_PRESENT && UNITY_EDITOR
using UnityEngine;
using System.Collections;
using System;
using System.Reflection;
using VolumetricFogAndMist;
using UnityEditor;
namespace Gaia.GX.Kronnect
{
/// <summary>
/// Volumetric Fog & Mist extension for Gaia.
/// </summary>
public class VolumetricFogGaiaExtens... |
using Alabo.Data.Targets.Targets.Domain.Entities;
using Alabo.Data.Targets.Targets.Domain.Services;
using Alabo.Framework.Core.WebApis.Controller;
using Alabo.Framework.Core.WebApis.Filter;
using Microsoft.AspNetCore.Mvc;
using MongoDB.Bson;
namespace Alabo.Data.Targets.Targets.Controllers
{
[ApiExceptionFilter]
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.