text stringlengths 13 6.01M |
|---|
using System.Collections.Generic;
using thedailypost.Context;
using thedailypost.Service.Models;
namespace thedailypost.Service.Interfaces
{
public interface IUserSubredditService
{
List<Subreddit> GetUserSubreddit(int userId);
Subreddit AddNewUserSubreddit(UserSubredditModel userSubModel);
... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Repository.Enums;
namespace Repository.Interfaces
{
public interface IRepository<T> where T : class
{
List<T> GetAllAsync();
Task<T> GetAsync(int identifier);
Task<bool> AddAsync(T entity);
Task<bool> UpdateA... |
using Backend.Model.DTO;
using Backend.Model.Pharmacies;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace IntegrationAdapters.MicroserviceComunicator
{
public interface ITenderService
{
public Task<Tender> GetTender(int tenderId);
public Task<Tender> GetTenderByMessage... |
using System;
using System.Collections.Generic;
using CotizacionesApp.Models;
namespace CotizacionesApp.DAL
{
public class CotizacionInitializer : System.Data.Entity.DropCreateDatabaseIfModelChanges<CotizacionContext>
{
protected override void Seed(CotizacionContext context)
{
var ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GeradorZumbis : MonoBehaviour
{
public GameObject zumbiPrefab;
[Range(0.1f, 10f)]
public float delayZumbi = 2f;
private void Start()
{
}
private void Update()
{
}
public void IniciarGeradorZumbis(GameObject spawn... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Serilog.Core;
using Titan.Account;
using Titan.Account.Impl;
using Titan.Json;
using Titan.Logging;
using Titan.Meta;
using ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI.WebControls;
using System.Data;
using System.IO;
using System.Drawing;
/// <summary>
/// Summary description for CommonUtilities
/// </summary>
public class OperationResult
{
public OperationResult()
{
... |
namespace iSukces.Code.Interfaces
{
/*
public interface ICodeWriter
{
void AppendText(string text);
[NotNull]
string GetCode();
int Indent { get; set; }
}
public static class CodeWriterExtensions
{
[NotNull]
public static T AppendTextFo... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using UnityEngine;
namespace Microsoft.MRDL
{
[Serializable]
public struct InnerBubble
{
public InnerBubble(Transform transform, ... |
using System;
using System.Collections.Generic;
using System.Linq;
using Alquileres_Video_Juego.ENT;
using Alquiler_Video_Juegos.DAL;
using Alquiler_Video_Juegos.DAL.Model;
using System.Text;
using System.Threading.Tasks;
namespace Alquiler_Video_Juegos.BL
{
public class HistorialBL
{
DALHistorial His... |
using System;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Runtime.Serialization;
using System.Collections.Generic;
namespace Northwind
{
public partial class OrderCollection : List<Order>
{
}
}
namespace Northwind
{
[KnownType(typeof(Customer))]
[KnownT... |
using EPI.PrimitiveTypes;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EPI.UnitTests.PrimitiveTypes
{
[TestClass]
public class PowerUnitTest
{
[TestMethod]
public void PowerXbyY()
{
Power.XPowerY(1, 1).Should().Be(1);
Power.XPowerY(2, 0).Should().Be(1);
Power... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
namespace TetrisProject
{
class FormInfo
{
int[,]tableNumber = new int[22, 12];
int j = 0;
public void MakeWall()
{
//벽... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class MagicMenuMouseEvents : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler
{
//Facilitates mouse cursor interaction with magic menu panel objects
/// <summary>
/// Displays bord... |
using System;
using System.Text;
using System.Reflection;
using System.Collections;
using System.Data;
namespace HTB.Database
{
public class Record
{
private static int xmlTabs;
#region Property Declaration
private string _tableName;
[MappingAttribute(FieldType = MappingAttrib... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Modulus2D.Entities
{
class EntityAllocator
{
private int nextId = 0;
private List<int> recycled = new List<int>();
public int Create()
{
//... |
// Name: Colin Campbell
// Class: Graded Unit
// Project description: A stock system to be used within the clothing department of Sainsburys (Tu Clothing)
// Version: 1.00
// Date: 07/02/2018
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
u... |
using DgKMS.Cube.Models;
using System;
using System.Collections.Generic;
namespace DgKMS.Cube
{
public class PartyListDto
{
/// <summary>
/// Id
/// </summary>
public long Id { get; set; }
public decimal Cost { get; set; }
/// <summary>
/// 操作人
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Web.UserControl
{
public partial class sidebar : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
... |
namespace Airelax.Infrastructure.Map.GoogleResponses.GeocodingResponses
{
public interface GoogleApiStatus
{
public string status { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _02_Entertrain
{
public class _02_Entertrain
{
public static void Main()
{
var locomotivePower = int.Parse(Console.ReadLine());
var result = new... |
using System.IO;
using System.Text.RegularExpressions;
using CAPCO.Infrastructure.Data;
using CAPCO.Infrastructure.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace CAPCO.Areas.Admin.Controllers
{
public class SliderController ... |
using System.Collections.Generic;
using LightingBook.Tests.Api.Product.V10;
using LightingBook.Test.Api.Common;
namespace LightingBook.Tests.Api.Product.Login
{
public class Login
{
private readonly Dictionary<string, string> _appConfigDetails;
private readonly TokenProxy _tokenProxy;
... |
using System;
using System.Collections.Generic;
namespace POSServices.Models
{
public partial class ClosingStore
{
public int Id { get; set; }
public string ClosingStoreId { get; set; }
public string StoreCode { get; set; }
public DateTime? OpeningTimeStamp { get; set; }
... |
using Microsoft.EntityFrameworkCore;
using TaxiService.Discount.Models;
namespace TaxiService.Discount.DbContexts
{
public class DiscountDbContext : DbContext
{
public DiscountDbContext(DbContextOptions<DiscountDbContext> options) : base(options)
{
}
public DbSet<Coupon> Coupo... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Jypeli
{
/// <summary>
/// Rakenne, joka pitää fysiikkaoliot kiinteän matkan päässä toisistaan.
/// </summary>
public class PhysicsStructure : GameObjects.GameObjectBase, IPhysicsObjectInternal, GameObjectContainer
{
... |
using FluentMigrator;
namespace Profiling2.Migrations.Migrations
{
// Creates a copy of PRF_SP_Search_SearchForPerson stored procedure for use with Profiling2:
// MilitaryID is stripped of certain characters in order to do pure-digit comparison.
[Migration(201303221727)]
public class SearchPersonNHibe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cs_Notas.Dominio.ValuesObject
{
public class JustificativaCpf
{
public int Codigo { get; set; }
public string Descricao { get; set; }
public List<Justificati... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class ColorC
{
public void TestFrame()
{
Console.Write("Name a color: ");
string color = Console.ReadLine();
ConsoleC... |
namespace QuestSystem
{
public interface IQuestIdentfier
{
int _sourceID { get; } // Could of been hexdecimal as a data type
int _chainQuestID { get; } // If a quest is linked to another quest
int _questID { get; }
}
}
|
using HowLeaky.Tools;
using HowLeaky.Tools.DataObjects;
using HowLeaky.Models;
using System;
namespace HowLeaky.ModelControllers
{
public class ModelOptionsController : HLObject
{
public bool in_ResetResidueAtDate { get; set; }
public DayMonthData in_ResetDateFo... |
/*
* + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
*
* == AUCTION MASTER ==
*
* Author: Henrique Fantini
* Contact: contact@henriquefantini.com
*
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
*
* Auction Master is a software with ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using IdentityS4.Data;
using IdentityS4.Services;
using IdentityServer4.Services;
using IdentityServer4.Stores;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
n... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class BackpackUIToggle : Toggle
{
private ItemsData itemsData;
private string label;
private float m_HangTime = 0f;
private bool m_IsHang = false;
private bo... |
/*
Option Group control
*/
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace Com.Colin.Win.Customized
{
/// <summary>
/// OptionGroup Control
/// </summary>
[ToolboxBitmap(typeof(OptionGroup))]
[DefaultProperty("Value"), DefaultEvent("ValueChang... |
namespace FreezyFood_Profit_Calculator.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class AddedBuyAndSellPriceInProductTable : DbMigration
{
public override void Up()
{
AddColumn("dbo.Products", "PricePerKGBuy", c => c.Decimal(nullable: ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SawControls : MonoBehaviour
{
private GameObject sawBlade;
private float currentSpeed;
private bool start_stop_coroutine_running = false;
[Tooltip("The maximum rotation speed of the saw blade")]
public float s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cs_Gerencial.Dominio.Entities
{
public class Parametros
{
public int ParametrosId { get; set; }
public string PathSelosNaoImportados { get; set; }
public stri... |
// <copyright file="AssetService.cs" company="Morten Larsen">
// Copyright (c) Morten Larsen. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
// </copyright>
using System;
using System.ComponentModel;
using System.IO;
using System.Threading... |
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
using System.Linq;
public class Pointer_Menu : MonoBehaviour
{
public enum Hands { left = 0, right = 1 };
[SerializeField]
Hands currentHand;
[Header("Visualization")]
[SerializeField]
... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Middleware.Business.Models
{
public class DataBusinessModel
{
[JsonProperty("data")]
public List<DeviceBusinessModel> DeviceBusinessModels { get; set; }
}
}
|
using System;
using System.Linq;
using System.Net;
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
namespace Enyim.Caching.Memcached
{
/// <summary>
/// Represents the statistics of a Memcached node.
/// </summary>
public sealed class ServerStats
{
const int OpAllowsSum = 1;
readonly ILo... |
using BHLD.Services;
using System;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace BHLD.Web.Controllers
{
[RoutePrefix("api/title")]
public class TitleController : ApiController
{
Ihu_titleServices _ihu_TitleServices;
public TitleController(IErrorService errorServic... |
using System;using Alabo.Domains.Repositories.EFCore;using Alabo.Domains.Repositories.Model;
using System.Linq;
using MongoDB.Bson;
using Alabo.Domains.Services;
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Repositories;
using Alabo.Cloud.Wikis.Settings.Domain.Entities;
namespace Alabo.Cloud.Wikis.Settings.Domai... |
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Routing;
using FluentHibernate.Common.Helper;
using FluentHibernate.Sample.App_Start;
using Microsoft.Practices.Unity;
namespace FluentHibernate.Sample
{
// Note: For instructions on enabling IIS6 or IIS7 classic mode,
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using CJ_Job_Scheduler.App_Code.Helper;
using CJ_Job_Scheduler.App_Code.Bll;
namespace CJ_Job_Scheduler
{
partial class CJ_Jo... |
namespace PrettyLink.Api.Controllers
{
using System.Collections.Generic;
using System.Threading.Tasks;
using AutoMapper;
using Fenris.Validation.ArgumentValidation;
using Microsoft.AspNetCore.Mvc;
using PrettyLink.Api.ComplexTypes;
using PrettyLink.Api.ComplexTypes.Requests;
using Prett... |
using Chloe.Models;
using System.Linq;
namespace Chloe.Data.Migrations
{
public class PageConfiguration
{
public static void Seed(ChloeContext context)
{
if (context.Pages.Where(x => x.RouteName == "Default").FirstOrDefault() == null)
{
var page = new Pa... |
using UnityEngine;
using System.Collections;
using System;
using System.Collections.Generic;
public class Pathfinding : MonoBehaviour
{
PathRequestManager requestManager;
Grid grid;
void Awake()
{
requestManager = GetComponent<PathRequestManager>();
grid = GetComponent<Grid>();
}
public void StartFindPath... |
namespace SnowDAL.Repositories.Concrete
{
internal interface IRoutePointEntity
{
}
} |
using System;
namespace Alchohol_Market
{
class Program
{
static void Main(string[] args)
{
double priceOfWhisky = double.Parse(Console.ReadLine());
double quantityOfBeer = double.Parse(Console.ReadLine());
double quantityOfWine = double.Parse(Console.ReadLi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public enum GameState {Playing, Paused, GameOver, Secret}
public class GameController : MonoBehaviour
{
GameState state = GameState.Playing;
int score = 0;
public float timeLimit; //In seconds
public ... |
using System;
using ManaMist.Controllers;
using ManaMist.Managers;
using ManaMist.Processors;
using ManaMist.Commands;
using ManaMist.Utility;
using ManaMist.Models;
using ManaMist.Actions;
namespace ManaMistEngine
{
class Program
{
static void Main(string[] args)
{
TurnController ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace N26.Models
{
public class Address
{
public string addressLine1 { get; set; }
public string streetName { get; set; }
public string houseNumberBlock { get; set; }
public str... |
using System;
using System.Windows.Forms;
namespace yty_MDI_01
{
public partial class MainForm : Form
{
public MainForm()
{
InitializeComponent();
}
private void newToolStripMenuItem_Click(object sender, EventArgs e)
{
SubForm sf = new SubForm()... |
using UnityEngine;
using System.Collections;
public class mobAi : MonoBehaviour {
//health
public int mobHealth = 50;
//target && attack
public GameObject atkDmg;
public Transform target;
public float dir;
//getting dist
public Transform mobLoc;
public float dist;
public float maxDistance = 2.0f;
public... |
using System;
using System.Collections.Generic;
using System.Text;
using lsc.Model.Enume;
using System.ComponentModel.DataAnnotations;
namespace lsc.Model
{
/// <summary>
/// 考题
/// </summary>
[Serializable]
public class Questions
{
[Key]
public int Id { get; set; }
[St... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
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.Windows.Shapes;
... |
using Uintra.Core.Search.Helpers;
namespace Uintra.Core.Search.Entities.Mappings
{
public class SearchableActivityMap : SearchableBaseMap<SearchableActivity>
{
public SearchableActivityMap()
{
Text(t => t.Name(n => n.Description).Analyzer(ElasticHelpers.ReplaceNgram));
... |
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 Hackathon_3_Advance
{
public partial class Form1 : Form
{
public Form1()
... |
using Alabo.Domains.Entities;
namespace Alabo.Domains.Services.Column {
public interface IColumn<TEntity, in TKey> where TEntity : class, IAggregateRoot<TEntity, TKey> {
/// <summary>
/// 获取字段的值
/// </summary>
/// <param name="id">主键Id</param>
/// <param name="field">... |
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "Mineshaft", menuName = "MS49/Structure/Mineshaft", order = 1)]
public class StructureMineshaft : StructureBase {
[SerializeField]
private CellData _support = null;
[SerializeField]
private CellData _chest = null;
[S... |
using gView.Framework.Globalisation;
using gView.Framework.system;
using gView.Framework.UI;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace gView.Plugins.MapTools
{
[RegisterPlugInAttribute("9AADD17B-CDD0-4111-BBC5-E31E060CE210")]
public class QueryThemeText : gView.Framework.UI.ITool, gV... |
using System;
using kRPCUtilities;
using KRPC.Client;
using KRPC.Client.Services.SpaceCenter;
namespace kRPC.Programs
{
public class LaunchSequence
{
private bool spoolUpEngines = false;
public void BeginLaunchSequence(Connection connection, bool spoolEngines)
{
... |
using System;
using System.Collections.Generic;
namespace DFC.ServiceTaxonomy.JobProfiles.DataTransfer.Models.ServiceBus
{
public class SocCodeItem
{
public Guid Id { get; set; }
public string? SOCCode { get; set; }
public string? Description { get; set; }
public string? ON... |
namespace HCore.Identity.Database.SqlServer.Models.Impl
{
public class ReservedEmailAddressModel
{
public string Uuid { get; set; }
public string NormalizedEmailAddress { get; set; }
}
}
|
using System;
using Newtonsoft.Json;
using SQLite;
namespace iPadPos
{
public class Customer : BaseModel, iDirty
{
public Customer()
{
State = "AK";
}
public int RecordId { get; set; }
public bool IsDirty {get;set;}
[PrimaryKey]
public string CustomerId { get; set; }
string company;
public st... |
using UnityEngine;
using System.Collections;
public class GameLogic : MonoBehaviour {
public DATACORE _dataCore = null;
public GameObject backStoryItem = null;
public bool waitForAudio = false;
// Use this for initialization
void Start () {
if(_dataCore == null) {
_dataCore = GameOb... |
using UnityEngine;
using System.Collections;
/*
* This is a generic component that can be attached to any object, such as a light sensor, button, etc., that gives it switch functionality.
*/
public class SwitchBehavior : MonoBehaviour {
[SerializeField]
bool isOn;
// Use this for initialization
v... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace MeeToo.Domain
{
public class Question
{
[Required]
public string Id { get; set; }
public string Title { get; set; }
public IList<Option> Options { get; set; }
p... |
using System.Net;
using System.Web.Mvc;
using AutoMapper;
using Profiling2.Domain.Contracts.Tasks;
using Profiling2.Domain.Prf;
using Profiling2.Domain.Prf.Actions;
using Profiling2.Domain.Prf.Events;
using Profiling2.Web.Mvc.Areas.Profiling.Controllers.ViewModels;
using Profiling2.Web.Mvc.Controllers;
using SharpArch... |
using API.Interfaces;
using API.Services;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace API.Extensions
{
public static class SeviceCollectionExtension
{
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DogApplication
{
internal class Dog
{
//access modifiers
//public acces - everyone can see
//internal - everyone in the same assembly (project) can see.
//protected - everyone who is a subclass of Dog ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SignalrData.Models
{
public class UnionFeeEventArgs : EventArgs
{
public string FName { get; set; }
public string ID { get; set; }
public string StudentID { get... |
using System.Text;
using System.Text.RegularExpressions;
using System.Web.Mvc;
using Newtonsoft.Json;
using VnStyle.Web.Infrastructure.Helpers;
namespace VnStyle.Web.Controllers
{
public class PortalController : Controller
{
// GET: Portal
public ActionResult Index()
{
ToUr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Web.Http;
using Autofac;
using Autofac.Integration.WebApi;
using Integer.Api.Infra.AutoMapper;
using Integer.Domain.Acesso;
using Integer.Domain.Agenda;
using Integer.Domain.Paroquia;
using Integer.Infrastructure.E... |
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace FightGame
{
public partial class Buy : Form
{
private int _money;
private Items.Item SelectedItem;
private List<Items.Item> _bougth;
public Buy()
{
InitializeComponent();
_bougth = new List<Items.Item>();
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using MongoDB.Driver;
using MongoDB.Bson;
namespace LunchTime.Controllers{
[ApiController]
[Route("[controller]")]
public class Di... |
using UnityEngine;
using System.Collections;
using System;
using Mio.Utils;
//using UnityParseHelpers;
using System.Collections.Generic;
using MovementEffects;
namespace Mio.TileMaster {
public class MainGameSceneController : SSController {
private enum UIState {
Initialized,
Downl... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Btf.Utilities.Configuration
{
public class EmailConfig
{
public string EmailVerificationAddressAdmin { get; set; }
public string EmailVerificationAddressWeb { get; set; }
public string SenderAddress { get; set... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using KhanaKhajana.Models;
using KhanaKhajana.Services;
namespace KhanaKhajana
{
public partial class OrderHistory : System.Web.UI.Page
{
#region globalVariables
... |
namespace P03CombinationsWithRepetition
{
using System;
using System.Linq;
public class EntryPoint
{
public static void Main()
{
int n = 4;//int.Parse(Console.ReadLine());
int k = 3;//int.Parse(Console.ReadLine());
var sequence = Enumerable.Range(1, ... |
using System.Collections;
using RulesEngine.Interfaces;
namespace RulesEngine.Conditions
{
public class IsNotEmptyCondition : ICondition
{
private readonly string _string;
private readonly ICollection _collection;
private readonly bool _isStringComparison;
public IsNotEmptyCon... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace assigment1
{
public class testIndexer
{
Dictionary<string, List<string[]>> reveseIndex... |
using System;
using System.Globalization;
namespace OpenOracle
{
public static class ExtensionMethods
{
public static Coordinates Add(this Coordinates coordinate1, Coordinates coordinate2)
{
return (coordinate1.X + coordinate2.X, coordinate1.Y + coordinate2.Y);
}
p... |
//using IClips.Domain.Context.Entities;
//using System;
//using System.Collections.Generic;
//using System.Data.Entity;
//using System.Linq;
//using System.Text;
//using System.Threading.Tasks;
//namespace IClips.Domain.Context
//{
// public class DbInitializer : DropCreateDatabaseAlways<IClipsDbContext>
// {
/... |
using System;
using System.Data;
using System.Data.Common;
using System.Threading.Tasks;
using System.Xml;
namespace gView.Framework.Db
{
public interface ICommonDbConnection : IDisposable
{
void CloseConnection();
System.Data.Common.DbConnection OpenConnection();
DbConnectionString Db... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IPTables.Net.NfTables.DataTypes
{
interface INfDataType
{
}
}
|
using FluentAssertions;
using Microsoft.AspNetCore.Mvc;
using Xunit;
using Xunit.Sdk;
namespace Atc.Rest.FluentAssertions.Tests.Assertions
{
public class ResultAssertionsTests
{
[Fact]
public void BeContentResult_Throws_When_Subject_Isnt_ContentResult()
{
// Arrange
... |
using UnityEngine;
using System.Collections;
public class SelectMapControl : SelectControl
{
public override void Initialization()
{
base.Initialization();
}
}
|
using UnityEngine;
public class SpeedContuGame : ContuGame
{
private float playerStartTime;
private float moveIncrement;
private float p1TimeLeft;
private float p2TimeLeft;
private float lastTimeStamp;
public static SpeedContuGame NormalGame(float time, float increment)
{
SpeedC... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Raiding.Models
{
public abstract class Hitting : BaseHero
{
public Hitting(string name, int power) : base(name, power)
{
}
public override string CastAbility()
{
return $"{this.Get... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using Salle.Model.Salle;
namespace Salle.Controler
{
class SocketCommande
{
public SocketCommande()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using CountryProject.MODEL;
using CountryProject.DAL;
namespace CountryProject.BLL
{
public class CityManager
{
CityGateway aCityGateway = new CityGateway();
public bool Save(City aCity)
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using KartObjects;
namespace KartLib
{
/// <summary>
/// Список наименований настроек для обмена
/// </summary>
public enum AxiCloudSettingName
{
[EnumDescription("Цены")]
... |
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.Threading;
namespace LoginScreen
{
public partial class FrmLogin : Form
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public enum PlayerState
{
walk,
attack,
stagger,
idle
}
public class PlayerController : MonoBehaviour {
//Player variables
public PlayerState currentState;
[SerializeF... |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Antiforgery;
using Microsoft.AspNetCore.Http;
namespace CodingMilitia.PlayBall.WebFrontend.BackForFront.Web.Security
{
public class ValidateAntiForgeryTokenMiddleware : IMiddleware
{
private readonly IAntiforgery _antiforgery;
public Val... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using lsc.Dal;
using lsc.Model;
namespace lsc.Bll
{
public class EmailTemplateBll
{
public async Task<int> AddAsync(EmailTemplate emailTemplate)
{
return await EmailTemplateDal.Ins.AddA... |
using System;
using System.Configuration;
namespace BloombergFLP.CollectdWin
{
internal class CollectdWinConfig : ConfigurationSection
{
[ConfigurationProperty("GeneralSettings", IsRequired = true)]
public GeneralSettingsConfig GeneralSettings
{
get { return (Gene... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.