text stringlengths 13 6.01M |
|---|
using System.Windows;
using CaveDwellers.Core;
using CaveDwellers.Positionables.Monsters;
using CaveDwellers.Utility;
namespace CaveDwellersTest.MonstersForTest
{
public class Monster1x1 : Monster
{
public Monster1x1(IWorldMatrix worldMatrix, IRnd rnd)
: base(worldMatrix, rnd)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TravelerZeppelinMVC.Types;
namespace TravelerZeppelinMVC.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
Utilities.Utilities.nodes... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Euler_Logic.Problems.AdventOfCode.Y2021 {
public class Problem09 : AdventOfCodeBase {
private Dictionary<int, Dictionary<int, Point>> _heights;
private List<int> _basinCounts;
public override string ProblemName {... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace School.Website.Models
{
public class ClassMasterModel
{
[Key]
public int ClassId { get; set; }
[Display(Name = "C... |
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 project
{
public partial class Bar_mitzvaf : Eventsf
{
public Bar_mitzvaf(Dat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EasyDev.EPS.Portal;
using EasyDev.EPS.Attributes;
namespace EasyDev.EPS.Portal
{
[DatabaseName("Oracle")]
public class Part : AbstractModel
{
/// <summary>
//... |
using System.Collections.Generic;
using Morales.CompulsoryPetShop.Core.Models;
namespace Morales.CompulsoryPetShop.Core.IServices
{
public interface IInsuranceService
{
Insurance GetById(int Id);
}
} |
using System.Drawing;
using Aria.Core.Graphics;
using Aria.Engine.Entities;
namespace Aria.Engine.Components
{
public class SpriteRenderer : Renderer
{
/// <summary>
/// Constructor: Create a new emtpy sprite renderer.
/// </summary>
/// <param name="owner"></param>
... |
using System.Collections.Generic;
using Properties.Core.Objects;
namespace Properties.Core.Interfaces
{
public interface IAmenityRepository
{
List<Amenity> GetAmenitiesForSubmittedProperty(string landlordReference, string submittedPropertyReference);
Amenity GetAmenityForSubmittedProperty(stri... |
using UnityEngine;
using System.Collections;
using IsoTools;
public class Water : MonoBehaviour {
public bool canGetThisWater = false;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
/*
if(canGetThisWater)
Debug.Log("Posicao da ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AttackNode : Decorator {
Transform destination;
public AttackNode(BehaviorTreeController btController) : base(btController) { }
public override NodeStatus Tick()
{
Debug.Log("In Attack node tick");
... |
using NUnit.Framework;
using System;
using System.Linq.Expressions;
using FluentValidation.TestHelper;
using SFA.DAS.ProviderCommitments.Web.Validators.Apprentice;
using SFA.DAS.ProviderCommitments.Web.Models.Apprentice;
namespace SFA.DAS.ProviderCommitments.Web.UnitTests.Validators.Apprentice
{
[TestFixture]
... |
using Uintra.Features.Links.Models;
namespace Uintra.Features.Groups.Models
{
public class GroupLinksModel
{
public UintraLinkModel GroupRoomPage { get; set; }
public UintraLinkModel GroupDocumentsPage { get; set; }
public UintraLinkModel GroupMembersPage { get; set; }
public U... |
using UnityEngine;
using UnityAtoms.MonoHooks;
namespace UnityAtoms.MonoHooks
{
/// <summary>
/// Variable of type `Collision2DGameObject`. Inherits from `EquatableAtomVariable<Collision2DGameObject, Collision2DGameObjectPair, Collision2DGameObjectEvent, Collision2DGameObjectPairEvent, Collision2DGameObject... |
using LegacyApp.Core.Models;
namespace LegacyApp.Core.Dao
{
public class UserDao
{
public static User GetByName(string name)
{
// stinking SQL query here
return new User { Name = name };
}
}
} |
using Cosmos.HAL;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
namespace FrameOS.Systems.Sound
{
public class Note
{
public string note { get; set; }
public int duration { get; set; }
public double frequency {... |
using System;
using System.Linq.Expressions;
using System.Reflection;
using System.Reflection.Emit;
using Castle.DynamicProxy.Contributors;
namespace SimpleConfigSections
{
internal static class ReflectionHelpers
{
private static FieldInfo GetPrivateField(this Type type, string fieldName)
... |
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Pacman
{
public class Timer : AutoScaleButton // not an actual button and isn't treated as such, but creates a box to accomodate the timer
{
protected double multiply = 1;//multiplyer used by the pickups to ... |
/*
* + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
*
* == AUCTION MASTER ==
*
* Author: Henrique Fantini
* Contact: contact@henriquefantini.com
*
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
*
* Auction Master is a software with... |
namespace ACTTimeline
{
using System;
using System.Reflection;
using System.Speech.Synthesis;
using System.Windows.Forms;
using Advanced_Combat_Tracker;
public class TtsSpeaker : IDisposable
{
private dynamic ttsYukkuriPlugin;
private SynthesizerWrapper synthesizer;
... |
namespace Ofl.Atlassian.Jira.V3
{
public class RemoteIssueLink
{
public string? GlobalId { get; set; }
public Application? Application { get; set; }
public string? Relationship { get; set; }
public RemoteObject? Object { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI.WebControls;
namespace SQMS.Application.HtmlHelper
{
public class HtmlExtension
{
#region Calendar
/// <summary>
/// 创建日历
/// </summary>
/// <... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Game.Entity.NativeWeb
{
public class NewsReader
{
public int Id { get; set; }
public int NewsId { get; set; }
public int UserId { get; set; }
public D... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Wall : MonoBehaviour {
Player player;
// Use this for initialization
void Start () {
player = FindObjectOfType<Player> ();
}
void OnTriggerEnter2D(Collider2D col){
if(col.GetComponent<Player>()){
player.HitWall (... |
namespace Crystal.Plot2D.Common
{
internal static class ResourcePoolExtensions
{
public static T GetOrCreate<T>(this ResourcePool<T> pool) where T : new()
{
T instance = pool.Get();
if (instance == null)
{
instance = new T();
}
return instance;
}
}
}
|
using System;
namespace XNode.Odin
{
/// <summary>
/// Apply to a dynamic port list in order to hide the connection names in the list
/// </summary>
public class HideConnectionLabelAttribute : NodePortAttribute { }
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace AspCoreBl.ModelDTO
{
public class PaymentDetailDTO
{
public int PMID { get; set; }
public string CardOwnerName { get; set; }
public string CardNumber { get; set; }
public str... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Xml.Serialization;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading;
namespace Plarium9__10
{
public class BD
{
private s... |
//using System;
//using System.Diagnostics;
//using HexapiBackground.Enums;
//using HexapiBackground.IK;
//using Microsoft.AspNet.SignalR.Client;
//// ReSharper disable PrivateFieldCanBeConvertedToLocalVariable
//namespace HexapiBackground.SignalR
//{
// internal class HexapiLeapMotionClient
// {
// pri... |
using System;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Threading;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using Imazen.WebP;
using Microsoft.VisualBasic;
using Shell32;
namespace Image_Manager
{
partial ... |
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 IRAP.Interface.OPC;
using IRAP.OPC.Entity;
using IRAP.Global;
using OPCClient.Classes;
using DevExpress.XtraEditors.C... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class CharacterItemCollider : MonoBehaviour
{
public bool sendInteractableCollider = false;
public delegate void SendInterActibleItem(IInteract iInteract);
public SendInterActibleItem SendInteractibleItem;... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using DevExpress.XtraBars;
usi... |
using EPI.Recursion;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EPI.UnitTests.Recursion
{
[TestClass]
public class TowersOfHanoiUnitTest
{
[TestMethod]
public void TowersOfHanoiSorting()
{
TowersOfHanoi.TransferPegs(4);
TowersOfHanoi.pegs[0].Count.Should().Be(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WEB_Aula02
{
public partial class Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBa... |
using System;
using System.Linq;
using UnityEngine;
using UnityEngine.UI;
using VRUI;
namespace TwitchIntegrationPlugin.UI
{
public class LevelRequestNavigationController : VRUINavigationController
{
private Button _backButtonObject;
private TwitchIntegrationUi _ui;
public event Actio... |
using ISE.Framework.Common.CommonBase;
using ISE.SM.Common.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ISE.SM.Common.DTOContainer
{
public class PermissionDtoContainer:DtoContainer
{
public PermissionDtoContainer()
... |
using System;
namespace gView.Framework.LinAlg
{
public class Vector3d
{
private double[] _v = new double[3];
public Vector3d() { }
public Vector3d(double[] v)
{
if (v == null)
{
return;
}
for (int i = 0; i < Math... |
using UnityEngine;
using System.Collections;
public class wreck_timer : MonoBehaviour {
bool small=false;
public Vector3 s;
// Use this for initialization
void Start () {
s=GetComponent<BoxCollider>().size;
float mass=s.x*s.y*s.z;
if (mass<100) {small=true;}
GetComponent<Rigidbody>().mass=mass;
StartCor... |
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 UnityEngine;
using System.Collections.Generic;
public class TommieLevelSection : MonoBehaviour
{
// base components
[HideInInspector] public GameObject myGameObject;
// type
[Header("type")]
public TommieLevelGenerator.SectionType mySectionType;
// sections
[Header("sections")]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CAPCO.Infrastructure.Domain;
using CAPCO.Infrastructure.Data;
using CAPCO.Areas.Admin.Models;
using PagedList;
namespace CAPCO.Areas.Admin.Controllers
{
public class ProductSeriesControll... |
using PatientService.DTO;
using PatientService.Mapper;
using PatientService.Model;
using PatientService.Model.Memento;
using PatientService.Model.Specification;
using PatientService.Repository;
using System.Collections.Generic;
namespace PatientService.Service
{
public class PatientService : IPatientService
{... |
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 MySql.Data.MySqlClient;
namespace Projets_MDL
{
public partial class Form2 : Form
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StringCalculatorGraph.Models
{
public class GraphVariableGenerator
{
public List<double> GenerateIndependentVariables(double start, double end, double interval)
{
... |
using BankAppCore.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BankAppCore.Data.Repositories
{
public class UserActionLogRepository
{
private EFContext.EFContext.ShopContext context;
pr... |
using ManaMist.Controllers;
using ManaMist.Models;
using ManaMist.Players;
using ManaMist.Utility;
namespace ManaMist.Actions
{
public class BuildAction : Action
{
public CanBuildFunction CanBuild;
public BuildAction(CanBuildFunction canBuildFunction) : base(ActionType.BUILD)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Auxiliary class used to store a scene as an asset.
/// By using this ScriptableObject, you can change any scene name and by changing only this asset's name/index, every asset changes accordingly.
/// </summary>
[CreateAss... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace SplatEngine
{
public class Entity
{
public Texture2D Texture { get; set; }
public Color Color { get; set; }
protected V... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Util;
using Android.Views;
using Android.Widget;
namespace Goosent.Fragments
{
public class AddSetDialogFragment : DialogFragment
... |
using UnityEngine;
using UnityEngine.UI;
using System;
using System.Collections.Generic;
using System.Collections;
using LuaInterface;
/*
[ExecuteInEditMode, RequireComponent(typeof(UIPanel))]
public class UIBase : MonoBehaviour
{
public bool beKeepDepth = false;
public bool beUseLua = true;
public bool be... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace lsc.Common
{
public enum LogerType
{
DEBUG,
ERROR,
INFO,
FAIL
}
/// <summary>
/// Log 记录类 默... |
using System;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using FIMMonitoring.Common;
using FIMMonitoring.Domain;
using FIMMonitoring.Domain.Enum;
namespace FIMMonitoring.Web.Extensions
{
public static class HtmlExtensions
{
public static string AsDate(this DateTime item, bool withHours... |
using UnityEngine;
using System.Collections;
using System;
public class Attack : MonoBehaviour {
// Use this for initialization
void getAttack() {
}
void Start () {
string cardName = "";
getAttack(cardName);
}
private void getAttack(object cardName)
{
throw new Not... |
using System;
namespace ControleFinanceiro.Domain.Entities
{
public class Receita
{
public int ID { get; set; }
public string Descricao { get; set; }
public decimal Valor { get; set; }
public DateTime Data { get; set; }
public int UsuarioID { get; set; }
public... |
using System;
using System.IO;
namespace ACS
{
public class Log
{
//软件本身异常信息,便于程序调试
public string Path_Error { get; set; }
//日志信息:记录详细的信息流过程
public string Path_Log { get; set; }
//自动导出的excel路径
public string Path_Excel { get; set; }
//设备异... |
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Text;
namespace Model.Migrations
{
public class Users
{
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public string Id { get; set; }
/// <summary>
... |
using System;
using System.Collections;
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 learn_180320
{
public partial class Form1 : Form
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Timers;
namespace ThreadProgram
{
class Program
{
//static bool done = false;
//static readonly object locker = new object();
static System.Timers.Timer timer = n... |
namespace _02.Topological_Sorting
{
using System;
using System.Collections.Generic;
using System.Linq;
public static class EnumerableExtensions
{
public static IEnumerable<T> Apply<T>(this IEnumerable<T> source, Func<T, bool> predicate = null)
{
var array = predicate !=... |
#define _PATCH
using System;
using System.IO;
using UnityEngine;
using System.Collections;
public class CSVReader
{
static public string[] ReadFile(string path, bool loadAssetBundle = true)
{
try
{
TextAsset RF = null;
//if (loadAssetBundle)
// RF = (TextAsset)_Resources.Load(path, typeof... |
using ThunderRoad;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using RealisticBleeding.Components;
namespace RealisticBleeding
{
public static class MouthBleed
{
private static readonly Vector3 LowerLipOffset = new Vector3(-0.12f, 0, 0.045f);
private static readonly Quaternion ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Autofac;
using Autofac.Core;
using Autofac.Extensions.DependencyInjection;
using Autofac.Extras.DynamicProxy;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Mic... |
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using Docller.Core.Common;
using Docller.Core.Models;
using StructureMap;
using File = Docller.Core.Models.File;
namespace Docller.Core.Services
{
public class MultipleFileDownloadProvider : IDownloadP... |
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 MasterLIO.Forms
{
public partial class UserMenuForm : Form
{
public UserMenuFo... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/* Helper.
* GameState - state
* Ships are arriving at planets. Planets change their owner. The fight evaluation is done by each player individually
*/
public class GameState_FightEvaluation {
Map map;
ShipMovementHandler s... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Ionic.Zlib;
using Newtonsoft.Json;
namespace SocketClient
{
class Program
{
private static System.Net.Sockets.Tcp... |
namespace Infrostructure.Enums
{
/// <summary>
/// نوع صفحه نمایش
/// </summary>
public enum DisplayType
{
LCD = 1 ,
ELED = 2 ,
OLED = 3 ,
QLED = 4
}
}
|
using FeedbackAndSurveyService.CustomException;
using System;
namespace FeedbackAndSurveyService.FeedbackService.Model
{
public class Content
{
public DateTime DateOfCreation { get; }
public string Comment { get; }
public Content(DateTime dateOfCreation, string comment)
{
... |
using MISA.Common.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace MISA.DataAccess.Interface
{
public interface IDatabaseContext<T>
{
IEnumerable<T> Get();
T GetById(object id);
int Insert(T entity);
int Update(T entity, object id);
i... |
using Abp.Application.Services;
namespace Dg.Fifth
{
/// <summary>
/// Derive your application services from this class.
/// </summary>
public abstract class FifthAppServiceBase : ApplicationService
{
protected FifthAppServiceBase()
{
LocalizationSourceName = FifthConst... |
namespace BettingSystem.Web.Common
{
using System;
using System.IO;
using System.Threading.Tasks;
using Application.Common;
using Extensions;
using MediatR;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using Mic... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using 北京工艺文件管理MVC.Database;
using 北京工艺文件管理MVC.Models;
namespace 北京工艺文件管理MVC.Controllers
{
public class CraftDesignController : Controller
{
//
// GET: /CraftDesign/
... |
using System.IO;
namespace DelftTools.Utils.Serialization
{
/// <summary>
/// Interface to implement on specialized compressor classes to compress a passed-in memory stream
/// </summary>
public interface IMemoryStreamByteCompressor: IByteCompressor
{
/// <summary>
/// Compresses the specified memory stream.... |
using System.Collections.Generic;
namespace CollaborativeFiltering
{
public interface IRatingService
{
IEnumerable<Pair> GetCommonRatings(IRater firstRater, IRater secondRater);
}
public class Pair
{
public IRating FirstRating { get; set; }
public IRating SecondRating { g... |
using XH.Infrastructure.Command;
namespace XH.Commands.Hazards
{
public class DeleteHazardLevelCommand : CommandBase
{
public string Id { get; set; }
}
}
|
using System;
namespace GitIoSharp
{
public class GitIo
{
private readonly GitIoService _gitIoService;
public GitIo()
{
_gitIoService = new GitIoService();
}
public Uri Shorten(Uri url)
{
return _gitIoService.Execute(String.Format("url={0}", url));
}
public Uri Shorten(Uri url, string code)... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class groundweb : MonoBehaviour
{
private void OnTriggerEnter2D(Collider2D col)
{
if (col.CompareTag("Player"))
{
col.GetComponent<Unit>().speed = col.GetComponent<Unit>().spdmng.ChangeSpeed(-3f)... |
using System.Web.Mvc;
namespace DevExpress.Web.Demos {
public partial class GridViewController : DemoController {
public ActionResult Export() {
return DemoView("Export", NorthwindDataProvider.GetInvoices());
}
public ActionResult ExportPartial() {
return PartialView... |
namespace Inventory.Models.Enums
{
/// <summary>
/// Название настроек <see cref="VariableModel"/>
/// </summary>
public static class VariableStrings
{
/// <summary>
/// Признак согласия Гостя на использование его номера телефона для рассылки информационных сообщений
/// </s... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Interaction : MonoBehaviour
{
//max boxcount should be 5 or somethin?
private int BoxCount;
//each string will show up in its own box
public Dialog[] dialog;
private int Boxnum = 0;
pub... |
using System.Diagnostics.CodeAnalysis;
namespace System.ComponentModel.DataAnnotations.Schema
{
/// <summary>
/// Denotes that the class is a complex type.
/// Complex types are non-scalar properties of entity types that enable scalar properties to be organized within entities.
/// Complex typ... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Uintra.Core.Member.Abstractions
{
public interface ICacheableIntranetMemberService
{
void UpdateMemberCache(Guid memberId);
void UpdateMemberCache(int memberId);
void UpdateMemberCache(IEnumerable<G... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Http;
using Microsoft.AspNetCore.Http;
using OnlineShopping.Models;
namespace OnlineShopping.Controllers
{
public class ImageController : ApiController
{
Dbproonline... |
using RoleManagement.Model;
using RoleManagement.Service;
using System;
using System.Collections.Generic;
using System.Linq;
namespace RoleManagement.Utils
{
public class InitializeDatabase
{
public InitializeDatabase()
{
InitializeMenu();
InitializeActionModule();
... |
using System;
namespace Profiling2.Domain.Prf.Sources
{
/// <summary>
/// Contains immediate members of Source entity, barring potentially OutOfMemoryError-inducing binary columns.
/// </summary>
public abstract class BaseSourceDTO
{
public int SourceID { get; set; }
public string ... |
namespace CameraBazaar.App.Controllers
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Models.EntityModels;
using Models.ViewModels.Camera;
using Services;
[Authorize]
public class CameraController : Controller
... |
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.IdentityModel.Tokens;
using Sitecore.Framework.Runtime.Configuration;
using A... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Numerics;
namespace One
{
class Program
{
static void Main(string[] args)
{
int numberOfCommands = int.Parse(Console.ReadLine());
List<int> houseNumbers = Console.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TinhLuong.Models;
using TinhLuongBLL;
using TinhLuongINFO;
namespace TinhLuong.Controllers
{
public class BangLuongDonViController : BaseController
{
SaveLog sv = new SaveLog();
// ... |
using System;
using System.Threading;
namespace unitTest
{
public class User
{
public string First { get; set; }
public string Last { get; set; }
public string Email { get; set; }
public string Name { get; set; }
public int Uid { get; }
public User(S... |
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Entities;
namespace DataAccessLayer.Mapping
{
public class EmployeeMap: EntityTypeConfiguration<Employee>
{
public EmployeeMap()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RimWorld;
using Verse;
using UnityEngine;
namespace DontShaveYourHead
{
public static class BodyPartGroupDefOfDSYH
{
public static BodyPartGroupDef Teeth;
}
}
|
using System;
using static System.Console;
using System.IO;
using System.Text.Json;
using System.Collections.Generic;
static class Utilities
{
/// <summary>
/// Makes sure Message strings are not empty
/// </summary>
public static bool IsValidString(string str)
{
return (string... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Common.Utils;
namespace Common.DataModel
{
/// <summary>
/// Petite class outils permettant de partager des champs de recherche entre divers view model
/// .... je suis pas super fier de moi mais j'ai pas envie de ... |
namespace AgendaTelefonica.Console.Extensions;
public static class StringExtensions
{
public static bool IsValidEmail(this string email)
{
var trimmedEmail = email.Trim();
if (trimmedEmail.EndsWith("."))
{
return false; // suggested by @TK-421
}
try... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Prime.Services;
namespace Tests
{
[TestClass]
public class PrimeService_IsPrimeShould
{
private readonly PrimeService _primeService;
public PrimeService_IsPrimeShould()
{
_primeService = new PrimeService();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml;
using System.IO;
using System.Net;
/// <summary>
/// Summary description for WorkItemPriority
/// </summary>
public class WorkItemRank
{
public WorkItemRank()
{
}
private static Dictionary<string, int> _work... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CustomMonsters.Framework;
using StardewModdingAPI;
namespace CustomMonsters
{
public class CustomMonsters : Mod
{
private IList<MonsterData> monsters;
/// ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameHandler : MonoBehaviour {
[SerializeField] private int _MaxHealth;
[SerializeField] private int _CurrentHealth;
[Header("Set")]
[SerializeField] pr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.