text stringlengths 13 6.01M |
|---|
using Microsoft.Azure.Functions.Worker;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Sentry.Extensions.Logging.Extensions.DependencyInjection;
namespace Sentry... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Web;
using WebApiDemo.DataModels;
using WebApiDemo.Extensions;
namespace WebApiDemo.Repositories
{
public class DemoRepository : BaseRepository<EmpDataModel>
{
public override void Delete(Emp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EssentialLesson16Task2
{
class Block
{
public int A { get; private set; }
public int B { get; private set; }
public int C { get; private set; }
public ... |
using System.Net;
using System.Web.Configuration;
using ServiceStack.Text;
namespace Boxofon.Web.Mailgun
{
public class MailgunClient : IMailgunClient
{
private readonly string _apiKey;
private readonly string _domain;
public MailgunClient()
{
// TODO Inject settin... |
using System;
using Xunit;
using Library;
using Library.Model;
namespace Test
{
public class RaceTest
{
[Fact]
public void RaceTestConstructor()
{
int id = 1;
int authorId = 2;
string title = "My Race";
string type = "Timed";
... |
using UnityEngine;
using System.Collections;
public class WarheadNothing : Warhead {
protected override IEnumerator InternalResolveRoutine() {
yield return animator.PlayAnimationRoutine(anim, actor.doll, actor.doll);
}
}
|
using UnityEngine;
public class CtrlMove : BaseMove
{
public float v = 0;
public float h = 0;
public float speed = 2;
public bool walk = false;
public GameObject gameObject;
private void Awake()
{
}
private void Update()
{
v = Input.GetAxis("Vertical");
h = I... |
using System;
using System.Collections.Generic;
using System.Linq;
using EPiServer;
using EPiServer.Core;
using EPiServer.Framework;
using EPiServer.Framework.Initialization;
using EPiServer.Security;
namespace PageStructureBuilder
{
public class PageStructureBuilderModule : IInitializableModule
{... |
using Alabo.Industry.Shop.Orders.Domain.Services;
using Alabo.Industry.Shop.Orders.Dtos;
using Alabo.Test.Base.Attribute;
using Alabo.Test.Base.Core;
using Alabo.Test.Base.Core.Model;
using Xunit;
namespace Alabo.Test.Shop.Order.Domain.Service
{
public class IOrderBuyServcieTests : CoreTest
{
[Fact]
... |
using System;
using TomKlonowski.Api.Data.Repository;
using TomKlonowski.Model;
namespace TomKlonowski.Api.Business
{
public class NoteManager : INoteManager
{
INoteRepository _NoteRepository = null;
public NoteManager(INoteRepository noteRepository)
{
this._NoteRepository... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ELearning.Model
{
public class TestModel
{
public int TestId { get; set; }
public string Question { get; set; }
public byte[] Image { get; set; }
public string Answer { get; set; }
public Modul... |
using XH.Domain.Exceptions;
namespace XH.Domain.Tenants
{
public class TenantNotActiveException : DomainException
{
public TenantNotActiveException(string tenantId) : base($"租户:{tenantId}未激活")
{
}
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace SimpleSpace.Data
{
[CreateAssetMenu(fileName = "PawnData", menuName = "SimpleSpace/PawnData", order = 1)]
public class PawnData : ShipData
{
public int ScorePoint = 100;
public float MyDamage = 50;
... |
using GardenControlCore.Enums;
using GardenControlCore.Models;
using GardenControlServices.Interfaces;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Device.Gpio;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GardenControlServices
{
... |
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.Xml;
namespace CoffeeShop
{ public partial class CoffeeShop : Form
{ public CoffeeShop(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace CRL
{
public partial class DBExtend
{
#region update
ParameCollection GetUpdateField<T>(T obj) where T : IModel, new()
{
var c = new ParameCollecti... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace ToChange.Models
{
public class Exchange
{
[Key]
[Required]
public int ID { get; set; }
[Required]
public string FirstCustomerID {... |
using UnityEngine;
using UnityEngine.UI;
using TMPro;
namespace Project.DialogueSystem
{
public class CanvasSetup : MonoBehaviour
{
public Canvas canvas;
public Text speakerName;
public TextMeshProUGUI sentenceText;
public Image speakerImage;
public Image next;
... |
using SistemasBR.SerializadorTx2.Atributos;
using SistemasBR.SerializadorTx2.Configuracao;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace SistemasBR.SerializadorTx2.Resolvedores
{
internal static partial class Resolvedor
{
inter... |
using MediatR;
using Projeto.Domain.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace Projeto.Application.Notifications
{
/*
* Classe que irá conter as informações do Aluno
* quando uma açao for realizada pelo Meaditor
*/
public class AlunoNotification : INoti... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SumConsecutives
{
class Program
{
static void Main(string[] args)
{
var test = new List<int>{1, 4, 4, 4, 0, 4, 3, 3, 1};
//Replace your values i... |
using System;
using System.Runtime.CompilerServices;
using System.Web.Http.ModelBinding;
namespace DanialProject.Models
{
[ModelBinder(typeof(DataTableModelBinder))]
public class DataTableRequest
{
public DataTableColumn[] Columns
{
get;
set;
}
public int Draw
{
get;
set;
}
public int Le... |
/*
ChatBubble.xaml.cs
Copyright (C) 2015 Belledonne Communications, Grenoble, France
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later ve... |
using eTicaretProjesi.BL.Repository;
using eTicaretProjesi.ENT.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace eTicaretProjesi.Controllers
{
public class UrunController : Controller
{
KategoriRepo kr = new KategoriRepo();
... |
using System.Threading;
using System.Data;
namespace HTB.v2.intranetx.progress.atlas
{
public class SalesData
{
public string Employee;
public decimal Amount;
}
public class SalesDataCollection : System.Collections.ObjectModel.Collection<SalesData>
{
}
public class F... |
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 ByteClubGroupTicketSystem
{
public partial class AddTimeSlotForm : Form
{
publ... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _20200621_While_For_Continue_Break
{
class Program
{
static void Main(string[] args)
{
int n = 1;
int sum = 0;
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Domain.Entity
{
public class Location
{
public Nullable<double> Accuracy { get; set; }
public Nullable<double> Altitude { get; set; }
public Nullable<double> Course { get; set; }
public double Latitude... |
/***************************************************************
*
* add by OceanHo 2015/8/26 11:59:15
*
****************************************************************/
using AimaTeam.WebFormLightAPI.httpCore.ReqKernal;
using AimaTeam.WebFormLightAPI.httpEntity;
using System;
using System.Collections.Generic... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Common.Entities
{
[Table("Records")]
public class Record : IAppEntity
{
public Record()
{
CategoryRecords = new List<Catego... |
using System.Collections.Generic;
using System.Linq;
using Aranda.Users.BackEnd.Models;
using Aranda.Users.BackEnd.Repositories.Definition;
using Microsoft.EntityFrameworkCore;
namespace Aranda.Users.BackEnd.Repositories.Implementation
{
public class RoleRepository : IRoleRepository
{
private readonly... |
using System;
using MySql.Data.MySqlClient;
namespace MyFinances.AppStart
{
class DatabaseConnection : IDisposable
{
//properties
private MySqlConnection _connection;
public MySqlConnection Connection { get { return _connection; } }
public AccountLogin AccountCredentials { get;... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Hayaa.UserAuth.Service.Core.Config
{
class DefineTable
{
/// <summary>
/// SecurityService组件的ID
/// </summary>
public const int ComponetID = 10017;
public const String DatabaseName = "HayaaSecu... |
using iSukces.Code.Interfaces;
using JetBrains.Annotations;
namespace EqualityGeneratorSample
{
[Auto.EqualityGeneratorAttribute]
public partial class VerySimpleClassOwner
{
public VerySimpleClass A { get; set; }
public ClassWithNullables B { get; set; }
[NotNull]
public... |
using System.Collections.Generic;
using ReactMusicStore.Core.Domain.Entities.Foundation;
using ReactMusicStore.Core.Domain.Entities.Validations;
using ReactMusicStore.Core.Domain.Interfaces.Validation;
using ReactMusicStore.Core.Domain.Validation;
namespace ReactMusicStore.Core.Domain.Entities
{
public class Genr... |
using System.Linq;
namespace Euler_Logic.Problems {
public class Problem121 : ProblemBase {
private bool[] _win;
private ulong _count;
/*
The total number of ways to win is the total ways to win all
15 draws, plus the total ways to win 14 draws, plus the total
... |
using Newtonsoft.Json;
using System.Collections.Generic;
namespace WebShop.Contracts.v1.Requests
{
public class RequestOrderDto
{
public List<int> Items { get; set; }
public string OrderInfo { get; set; }
public string UserId { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace kidd.software.dotnet.shop.model
{
interface IRowVersion
{
byte[] RowVersion { get; set; }
}
interface IIdentity
{
Guid Id { get; set; }
}
public class EntityBase : IRowVersion, IIdentity
{
public Guid... |
using buildingEnergyLoss.Model;
using System.Collections.Generic;
namespace buildingEnergyLoss.Repository
{
public class TypeOfCountryRepository : ITypeOfCountryRepository
{
private List<TypeOfCountry> _defautlTypeOfCountries = new List<TypeOfCountry>(new TypeOfCountry[]
{
... |
using System.Threading.Tasks;
using API.DTOs;
using API.Entities;
using API.Helpers;
using API.Interfaces;
using AutoMapper;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace API.Controllers
{
[ServiceFilter(typeof(LogUserActivity))]
[ApiControl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
namespace DocGen.ObjectModel
{
[XmlRoot("text")]
public class Text : Element
{
//For serialization
public Text()
: base()
{
F... |
using System;
using FluentMigrator;
namespace Profiling2.Migrations.Migrations
{
[Migration(201505081556)]
public class DeduplicateEventViolations : Migration
{
public override void Down()
{
Delete.UniqueConstraint("UQ_EventViolation").FromTable("PRF_EventViolation");
}... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EasyDev.EPS.BusinessObject;
using System.Data;
using EasyDev.EPS.Portal;
namespace EasyDev.EPS.Portal
{
public class SchemaBO : GenericBO<Schema>
{
/// <summary>
/// 根据方案编号取得区域设置
/... |
using System;
using System.Collections.Generic;
namespace Beeffective.Data.Entities
{
public class Entity : IEquatable<Entity>
{
public int Id { get; set; }
public bool Equals(Entity other)
{
if (ReferenceEquals(null, other)) return false;
if (ReferenceEquals(t... |
using System;
namespace RockPaperScissors.Utilities
{
public interface IConsoleWrapper
{
ConsoleColor ForegroundColor { get; set; }
ConsoleKeyInfo ReadKey(bool intercept);
string? ReadLine();
void Write(string value);
void WriteLine();
void WriteLine(string... |
using Ricky.Infrastructure.Core;
using Ricky.Infrastructure.Core.Generic;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VnStyle.Services.Business.Models;
namespace VnStyle.Services.Business
{
public interface IVideoService
{
I... |
using UnityEngine;
using System.Collections;
namespace DynamicFogAndMist {
[ExecuteInEditMode]
public class DynamicFogOfWar : MonoBehaviour {
public int fogOfWarTextureSize = 512;
Material fogMat;
static DynamicFogOfWar _instance;
Texture2D fogOfWarTexture;
Color32[... |
using Model.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model.DatabaseViews
{
[Table("ViewSaleInvoicePendingForCustomDet... |
using Alabo.Data.Things.Brands.Domain.Entities;
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Repositories;
using Alabo.Domains.Services;
using MongoDB.Bson;
namespace Alabo.Data.Things.Brands.Domain.Services
{
public class BrandService : ServiceBase<Brand, ObjectId>, IBrandService
{
public BrandS... |
// ===============================
// AUTHOR : Guillaume Vachon Bureau
// CREATE DATE : 2018-08-29
//==================================
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BlackBoardKey : MonoBehaviour {
static public string TargetKey = "Target";
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using System.Web;
using Saato.Models;
using System.Web.Script.Serialization;
using System.IO;
using Newtonsoft.Json;
using System.Security.Cryptography;
using System.Te... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Description;
using HotelManagerWithNET_F.Models;
namespace HotelManagerWithNET_... |
/// Simple Product class to make it easy to import products from zendesk when the application is ran.
using System;
using Newtonsoft.Json;
using ZendeskSell.Models;
namespace ZendeskSell.Products
{
public class ProductResponse : ProductRequest
{
[JsonProperty("id")]
public int ID { get; set; ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Game.Utils;
using Game.Facade;
using System.Data;
namespace Game.Web.Themes.Standard
{
public partial class Shop_Sidebar : System.Web.UI.UserControl
{
protec... |
using System;
using System.Xml;
using System.Xml.Linq;
namespace BugunNeYesem.Data.Entity
{
public class RequestHistory : BaseEntity
{
public string Query { get; set; }
public string QueryResult { get; set; }
public XElement XmlValueWrapper
{
get { return XElement.P... |
using EasyConsoleNG.Menus;
using System;
namespace EasyConsoleNG.Demo.Pages
{
public class InputEnumDemoPage : Page
{
public InputEnumDemoPage(Menu menu) : base(menu)
{
}
public override void Display()
{
var value = Console.Input.ReadEnum<Fruit>("Select a f... |
using CrossCutting;
using Cs_Gerencial.Aplicacao.Interfaces;
using Cs_Gerencial.Dominio.Entities;
using Cs_Gerencial.WindowsAguarde;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Boss1Behavior : MonoBehaviour {
private float boundary;
private bool lowerBoundReached = false;
private bool rightBoundReached = false;
private bool leftBoundReached = true;
... |
using System.Collections.Generic;
using Profiling2.Domain.Prf.Careers;
namespace Profiling2.Domain.Contracts.Queries
{
public interface ICommandersQuery
{
IList<Career> GetCommanders();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.Diagnostics;
using Microsoft.WindowsAzure.ServiceRuntime;
namespace WCFServiceWebRole
{
public class WebRole : RoleEntryPoint
{
public static List<Produto> produtos = new List<P... |
using UnityEngine;
using UnityEngine.AI;
public class NavMeshSender : MonoBehaviour
{
public Transform target;
public NavMeshAgent agent;
public void SendAgentTo()
{
agent.SetDestination(target.position);
}
}
|
using System;
using System.Collections.Generic;
namespace NeuralNetwork
{
class Program
{
static void Main()
{
//Создания сета тренировочных данных на основе изображений, названных в формате "цифраНаИзображении_номерИзображения.png" и лежащих по пути path
(List<List<dou... |
using LibModels;
using LibModels.common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TrungTamTienDat.Models;
namespace TrungTamTienDat.Controllers
{
public class LopHocController : Controller
{
//
// GET: /LopHoc/
pu... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using IRAP.Client.Global.Enums;
using DevExpress.XtraVerticalGrid;
namespace IRAP.Client.GUI... |
namespace ReactMusicStore.Core.Data.Context.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class InitialDb : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Album",
c => new
{... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Report_ClassLibrary
{
public class AllCashDailyPL
{
public int PK { get; set; }
public DateTime DocDate { get; set; }
public string BranchID { get; set; }
public string VANID { ge... |
using IdentityServer4.AccessTokenValidation;
using Library.Extensions;
using Microsoft.AspNetCore.Authorization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using RC = Library.DataTransferObjects.Enum.AppRoleCode;
namespace Library.Authorization
{
public class P... |
using Microsoft.AspNetCore.Hosting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection.Extensions;
... |
using Devil_Cookies_3D.Models;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Devil_Cookies_3D.Logics._2DLogics
{
public class Triangle
{
private readonly Vector<PixelC> first_vector;
... |
using AspNetCoreGettingStarted.Model;
namespace AspNetCoreGettingStarted.Features.Security
{
public class UserApiModel
{
public int UserId { get; set; }
public string UserName { get; set; }
public static TModel FromUser<TModel>(User user) where
TModel : UserApiModel... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace RoadMap_DB.Models
{
public class Entrance
{
[Key,Column(Order =0)]
public int ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace MyNurserySchool.Models
{
public class Note
{
public int Id { get; set; }
public string Title { get; set; }
public string Text ... |
using AssemblyCSharp;
using UnityEngine;
public class JefeMundo1 : Enemigo
{
private float tiempo;
public GameObject naceBala;
public GameObject prefabBala;
public float Azucar = 50f;
// TODO: Mirar por que el jefazo no salta!
void Start ()
{
SetAzucarProporcionada (Azucar);
tiempo = Time.time;
}
publ... |
namespace MyMovies.Domain.Enums
{
public enum JobType
{
Actor,
Director,
Scenarist,
Light
}
} |
using Leprechaun.Configuration;
using Leprechaun.InputProviders.Rainbow.Modules;
using Rainbow.Settings;
namespace Leprechaun.InputProviders.Rainbow
{
public class RainbowInputProvider : IInputProvider
{
public void Initialize(LeprechaunConfigurationBuilder config)
{
// configure Rainbow
RainbowSettings.C... |
using System.Windows.Forms;
using System.Configuration;
namespace IRAP.Client.Global.GUI.Dialogs
{
public class ShowMessageBox
{
public static DialogResult Show(
string text,
string caption = "",
MessageBoxButtons buttons = MessageBoxButtons.OK,
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace CEMAPI.Models
{
public class InvoicePostSAPResponse
{
public InvoicePostSAPResponse()
{
this.SAPInvoiceID = "";
this.SAPReferenceDocumentNo = "";
}
public stri... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace TrashCollectorV2.Data.Migrations
{
public partial class addedNextPickupDayVariableToAccount : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DeleteData(
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class DisplayHelmetStats : MonoBehaviour
{
public CharacterObject character;
public Image spriteImage;
public Text helmetStats;
void Update()
{
if (character.helmetEquipped == true)... |
using System;
using System.Windows.Forms;
namespace kursach
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
public int _current;
#region
public int Current
{
get { return _current; }
... |
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 Clock
{
public partial class Form2 : Form
{
public DateTime alarm1form2 = Date... |
using System;
using System.Threading;
using System.Threading.Tasks;
using FluentValidation;
using MediatR.Sandbox.CustomerServiceApi.Data;
using MediatR.Sandbox.CustomerServiceApi.Entities;
namespace MediatR.Sandbox.CustomerServiceApi.MediatR.Commands
{
public record CreateCustomerCommand(string Name) : IRequest<... |
using UnityEngine;
using UnityEditor;
using System.IO;
using UnityQuickSheet;
///
/// !!! Machine generated code !!!
///
public partial class GoogleDataAssetUtility
{
[MenuItem("Assets/Create/Google/ParticleTable")]
public static void CreateParticleTableAssetFile()
{
ParticleTable asset = CustomAs... |
namespace T4WFI.App.Handlers
{
using System.Web;
public class HandlerExcluded : IHttpHandler
{
public bool IsReusable => false;
public void ProcessRequest(HttpContext context)
{
context.Response.ContentType = "text/plain";
context.Response.Write("Hello Worl... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WeaponManager : MonoBehaviour
{
[SerializeField]
public WeaponHandler[] weapons;
private int curWeapon;
// Start is called before the first frame update
void Start()
{
curWeapon = 0;
wea... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Task_TradePath_Amol
{
class Program
{
static void Main(string[] args)
{
string[] files = { };
string[] directory;
s... |
using System.Reflection;
using iSukces.Code;
using iSukces.Code.AutoCode;
using iSukces.Code.Interfaces;
using JetBrains.Annotations;
namespace EqualityGeneratorSample
{
internal class Program
{
private static void Main(string[] args)
{
#if DEBUG
WriteAutoCode();
#endif
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameManager : MonoBehaviour {
public Animator transitionAnim;
private AssetBundle myLoadedAssetBundle;
public string[] scenePaths;
private int nLevel;
public stat... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace SuiviCompresseur.GestionCompresseur.Domain.Models
{
public class FilialeDup
{
[Key]
public Guid FilialeID { get; set; }
public string Nom { get; set; }
p... |
using Alabo.App.Kpis.GradeKpis.Domain.Entities;
using Alabo.App.Kpis.GradeKpis.Domain.Services;
using Alabo.Domains.Entities;
using Alabo.Domains.Query.Dto;
using Alabo.Framework.Core.WebApis.Controller;
using Alabo.Framework.Core.WebApis.Filter;
using Microsoft.AspNetCore.Mvc;
using MongoDB.Bson;
using System.Componen... |
namespace AssessmentApp.Data.Models
{
using AssessmentApp.Data.Common.Models;
public class Email : BaseDeletableModel<int>
{
public string Name { get; set; }
public string Emails { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebAPI.Infrastructure.EF.Seeding;
namespace WebAPI.Infrastructure.EF
{
public static class DBContextExtensions
{
public static void EnsureSeeded(this AssignmentDbContext context)
{
... |
using System;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Security.Principal;
using S = TaskScheduler;
namespace WindowsUpdateNotifier
{
public class TaskSchedulerWrapper : IDisposable
{
private const string APP_NAME = "WindowsUpdateNotifie... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace WebAppMedOffices.Models
{
[Table("ObrasSociales")]
public class ObraSocial
{
[Key]
public int Id {... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraController : MonoBehaviour
{
private Transform plane;
public Vector3 initTransform = new Vector3(0f, 13.26f, -19.54f);
private Vector3 planePos;
private Vector3 planeDist;
public Transform me... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PieceAnimation : MonoBehaviour
{
public BoxCollider2D collider;
public float duration = 3;
public bool used = false;
public float speed = 5;
private bool side = false; //left = false, right = true;
pri... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour
{
[SerializeField] AudioSource jumpSFX = null;
[SerializeField] Collider2D myFeet = null;
[SerializeField] float runSpeed = 5f;
[SerializeField] float jumpSpeed = 5f;
Rigid... |
using ICSharpCode.SharpZipLib.Zip;
using ICSharpCode.SharpZipLib.Core;
using ICSharpCode.SharpZipLib.Checksums;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Web;
using System.Data.SqlClient;
using System.Configuration;
us... |
using EFCrudDEMO.Model;
using System.Data.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EFCrudDEMO.DAL
{
public class CallRepo
{
public void Create(Call call)
{
using (CallContext db = new CallC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BusinessLayer.Interfaces;
using DomainModels;
using DomainModels.SharedModels;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace POCAPIProject.Controllers
{
[Route("api/[controller]")]
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.