text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hoofdstuk_7_Facade
{
public class Projector
{
public void On()
{
Console.WriteLine("Projector has turned on");
}
public void WideScreenMode... |
using System;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Event Reference of type `float`. Inherits from `AtomEventReference<float, FloatVariable, FloatEvent, FloatVariableInstancer, FloatEventInstancer>`.
/// </summary>
[Serializable]
public sealed class FloatEventReference : AtomEven... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
// Code scaffolded by EF Core assumes nullable reference types (NRTs) are not used or disabled.
// If you have enabled NRTs for your project, then un-comment the following l... |
namespace API.Repositories
{
using System.Collections.Concurrent;
using System.Collections.Generic;
using API.Models;
public class ValueRepository : IValueRepository
{
private readonly ConcurrentDictionary<int, Value> store = new ConcurrentDictionary<int, Value>();
public IEnumerab... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Globalization;
using System.Xml.Serialization;
using DBDiff.Schema.Model;
namespace DBDiff.Schema.Sybase.Model
{
public class Column : SybaseSchemaBase
{
private Boolean identity;
private string type;
privat... |
using DrugMgmtSys.codes;
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 DrugMgmtSys
{
public partial class Main : Form
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MethodsExercise
{
class Program
{
static void Main(string[] args)
{
////Method One
ClassNum Dog = new ClassNum();
//int input1 = 8... |
namespace DataLayer
{
using System;
using System.Data;
using System.Data.SqlClient;
public class TravelManager
{
public DataSet SearchTravelDetails(string tr_no)
{
SqlParameter[] parameterArray = new SqlParameter[] { new SqlParameter("@tr_no", tr_no) };
retu... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace FileIO
{
class Program
{
static void Main(string[] args)
{
string input = ""; // nuskaityk failą į input kintamąjį
FindSportsmenWithLongestFullname(input);
FindSpo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AtendimentoProntoSocorro.Data;
using AtendimentoProntoSocorro.Models;
using AtendimentoProntoSocorro.Repositories;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace AtendimentoProntoSocorro.... |
#if UNITY_EDITOR
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using BP12;
using DChild.Gameplay.Objects;
using DChild.Gameplay.Objects.Characters.Enemies;
using Sirenix.OdinInspector;
using UnityEngine;
namespace DChildDebug
{
public class DebugMinionSpawner : Singl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DelftTools.Controls.Swf.Test.Table.TestClasses
{
public class ClassWithTwoProperties
{
public string Property1 { get; set; }
public string Property2 { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Threading.Tasks;
using cyrka.api.common.events;
using MongoDB.Driver;
using MongoDB.Driver.Linq;
namespace cyrka.api.infra.stores.events
{
public c... |
using System;
using System.Runtime.InteropServices.ComTypes;
using System.Security.Cryptography.X509Certificates;
namespace assign_cab301
{
class Program
{
//Create objects of the class that we have written
private static MovieCollection movieCollectionObj;
private static MemberCollect... |
using System;
namespace CameraClassTest
{
public class Program
{
static void Main(string[] args)
{
ActionResult result;
Console.WriteLine("**************************************************************************************************");
Cons... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OcTur.Model;
namespace OcTur.Control
{
class ControlePermissaoControl
{
public List<string> CarregarPapeis()
{
return new List<string>();
}
pub... |
using UnityEngine;
using System;
using System.Collections;
using GoogleMobileAds.Api;
using GoogleMobileAds.Common;
public class GoogleAdController : MonoBehaviour {
public static GoogleAdController instance;
public int instancesBetweenInterstitialAds = 3;
public PhaseDelayedEventScheduler phaseDelayedEventSched... |
using UnityEngine;
using System.Collections;
using System;
using System.Security;
using System.Security.Permissions;
using System.IO;
using System.Runtime.Serialization;
using stSaveFileInfo = CSaveAndLoadTypes.stSaveFileInfo;
[System.Serializable]
public sealed class _SALContainer : ISaveAndLoadContainer {
#re... |
using System;
namespace lab2
{
interface IPrint
{
void Print();
}
abstract class GeomFigure
{
public abstract double Area();
}
class Rectangle : GeomFigure, IPrint
{
public double height { get; set; }
public double width { get; set; }
public... |
using System;
namespace twpx.Model
{
class SadminModel
{
public int id
{
get;
set;
}
public string username
{
get;
set;
}
public string password
{
get;
set;
}
... |
using UnityEngine;
/// <summary>
/// A GUI control for configuring the solid color shader.
/// This class encapsulates the underlying GUI controls
/// needed to configure the shader, allowing it to present
/// a simplified interface to receive the shader's configuration.
/// </summary>
public class SolidColorShaderCo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using gMediaTools.Services;
using gMediaTools.Services.AviSynth;
using gMediaTools.Services.AviSynth.VideoSource;
namespace gMediaTools.Factories
{
public class AviSynthSourceFactory
{
p... |
using Common.Data;
using Common.Exceptions;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
namespace Entity
{
/// <summary>
/// Class for performing operations on the Staging table.
/// </summary>
public partial class Staging
{
#region Public Method... |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or http://www.opensource.org/licenses/mit-license.php.
using System;
using System.Collections.Generic;
using System.Text;
namespace FiiiChain.Node
{
public class NodeConfig
{
... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Extensions.Logging;
using Microsoft.WindowsAzure.Storage.Table;
using Newtonsoft.Json;
using System;
using System.IO;
using System.Linq;
using System.Net.Http;
u... |
using System;
namespace DoublePermutationMethod.Command
{
class HelpCommand : BaseCommand
{
public override string Name => "help";
public override void Execute()
{
Console.WriteLine("<encode> - Command to encrypt a sentence with a custom key");
Console.WriteLin... |
using System;
using System.Linq;
using VetClinicPublic.Web.Models;
namespace VetClinicPublic.Web.Interfaces
{
public interface ISendConfirmationEmails
{
void SendConfirmationEmail(AppointmentDTO appointment);
}
}
|
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LibreriaClases
{
public class EjecutarQuery
{
static string connectionString = @"Server = YouServerName; Database=Usuarios;Trus... |
using Microsoft.AspNet.Http;
using SciVacancies.WebApp.ViewModels.Base;
namespace SciVacancies.WebApp.ViewModels
{
public class ResearcherEditPhotoViewModel: PageViewModelBase
{
public IFormFile PhotoFile { get; set; }
public string ImageName { get; set; }
public long? ImageSize { get... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class PlayerHealth : MonoBehaviour {
public int player1Health;
public int player2Health;
// Access to LastManStanding script
public GameObject lastManStandingGameObj;
public LastManStanding lastManStandingScript;
// Di... |
using mec.Database.Presentees;
using mec.Model;
using mec.Model.Processes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace mec.Cleint.Portal.Controllers
{
public class ProcessController : ApiController
{
[Htt... |
using MediaProtector.App_Plugins.MediaProtector.Controllers;
using Umbraco.Core;
using Umbraco.Core.Composing;
namespace MediaProtector.App_Plugins.MediaProtector.Components {
public class Composer:IUserComposer {
public void Compose(Composition composition) {
//Append our component to the col... |
*** Start programmer edit section *** (EduProgram.Number CustomAttributes)
*** End programmer edit section *** (EduProgram.Number CustomAttributes)
*** Start programmer edit section *** (EduProgram.Number Get)
return null;
*** End programmer edit section *** (EduProgram.Number Get)
*** Start programm... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace isukces.code.vssolutions
{
public sealed class FrameworkVersion : IComparable<FrameworkVersion>, IComparable
{
public FrameworkVersion(string shortName, string version, string profile)
... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using VeterinariaT1.BD;
using VeterinariaT1.Modelo;
namespace VeterinariaT1.Controller
{
class ControladorTratamiento
{
public List<Mod... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Fram... |
using Niusys.WebAPI.Common.Security;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Niusys.WebAPI.Models
{
public class SessionObject
{
public string SessionKey { get; set; }
public User LogonUser { get; set; }
}
public class User : IUse... |
namespace _09._UserLogs
{
using System;
using System.Collections.Generic;
public class Startup
{
public static void Main()
{
string input = Console.ReadLine();
SortedDictionary<string, Dictionary<string, int>> users = new SortedDictionary<string, Dictionary<stri... |
using PopulationFitness.Models.FastMaths;
using PopulationFitness.Models.Genes.BitSet;
using System;
namespace PopulationFitness.Models.Genes.LocalMinima
{
public class AckleysGenes : NormalizingBitSetGenes
{
private class NormalizationRatioCalculator : IValueCalculator<Double> {
public do... |
public class Solution {
public IList<string> FindWords(char[][] board, string[] words) {
var res = new List<string>();
Trie t = new Trie();
foreach(string word in words) {
t.Insert(word);
}
int m = board.Length, n = board[0].Length;
... |
using System;
using System.Runtime.Serialization;
namespace Phenix.Business
{
/// <summary>
/// 校验限制保存时异常
/// </summary>
[Serializable]
public class CheckSaveException : Exception
{
/// <summary>
/// 校验限制保存时异常
/// </summary>
public CheckSaveException()
: base() { }
/// <summary>... |
namespace SOLIDPrinciples.OCP.Example1.Good
{
public class CalculadoraDePrecos
{
private readonly ITabelaDePreco tabela;
private readonly IServicoDeEntrega entrega;
public CalculadoraDePrecos(
ITabelaDePreco tabela,
IServicoDeEntrega entrega) =>
(thi... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using DelftTools.Functions.Filters;
using DelftTools.Functions.Generic;
using DelftTools.Units;
using DelftTools.Utils.Aop.NotifyPropertyChange;
namespace DelftTools.Functions.Conversion
{
/// <summary>
/// Convert a c... |
using System;
using System.Collections.Generic;
using System.Text;
namespace CarRental.API.BL.Models.Reservations
{
public class CreateReservationModel
{
public Guid ClientId { get; set; }
public Guid CarId { get; set; }
public DateTime RentalStartDate { get; set; }
public ... |
using System;
using System.Data;
using System.Data.SqlClient;
using System.Collections.Generic;
using System.Text;
using System.Web;
using System.Configuration;
using System.Security.Cryptography;
using System.IO;
namespace CIPMSBC
{
public class CamperApplication
{
//AG 1/27/2009
//to fill gen... |
using Common.Data;
using Common.Exceptions;
using Common.Extensions;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Runtime.Serialization;
namespace Entity
{
[DataContract]
public class LTO : IMappable
{
#region Constructors
public LTO()
{ }
#en... |
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 WebApp9CronScheduledBackgroudService.Server.BGService.CronExtension;
namespace WebApp9CronScheduledBackgroudService.Server.BGService.Repository
{
public class Promotions
{
public int Id { get; internal set; }
public string ClientId { get; set; }
//public virtual Cl... |
using System;
using System.Collections.Generic;
using System.Text;
using EQS.AccessControl.Application.ViewModels.Input;
using EQS.AccessControl.Application.ViewModels.Output;
using EQS.AccessControl.Application.ViewModels.Output.Base;
using EQS.AccessControl.Application.ViewModels.Output.Register;
using EQS.AccessCon... |
using Xunit;
using Xunit.Abstractions;
public partial class WithScalpelConstantTests :
XunitLoggingBase
{
[Fact]
public void ApprovalTestsIsRemoved()
{
Assert.DoesNotContain(result.Assembly.GetReferencedAssemblies(), x => x.Name == "ApprovalTests");
}
[Fact]
public void ApprovalUt... |
namespace FormulaBuilder
{
using System;
public class Field : IField
{
private Guid id;
public Field (Guid id)
{
this.id = id;
}
public Guid GetId ()
{
return this.id;
}
public override string ToString ()
{
... |
using Chess.v4.Models;
using Chess.v4.Models.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Chess.v4.Engine.Extensions
{
public static class SquareExtensions
{
public static List<T> Clone<T>(this IList<T> listToClone) where T : ICloneable
{
retu... |
using System;
using System.Collections.Generic;
namespace Tools
{
public static class Methods
{
public static void ShuffleArray<T>(this T[] arr)
{
var rnd = new Random();
int n = arr.Length;
int index;
while (n > 1)
{
... |
using Ibit.Core.Serial;
using Ibit.Core.Util;
using UnityEngine;
namespace Ibit.CakeGame
{
public class Player : MonoBehaviour
{
public Candles candle;
public Stat flow;
public float picoExpiratorio;
public Stars score;
public ScoreMenu scoreMenu;
public float s... |
using System.Collections.Generic;
using System.Linq;
using Profiling2.Domain.Contracts.Queries;
using Profiling2.Domain.Contracts.Tasks;
using Profiling2.Domain.Prf.Persons;
namespace Profiling2.Tasks
{
public class WantedTasks : IWantedTasks
{
protected readonly IPersonTasks personTasks;
prot... |
namespace LikDemo.Models
{
public class Debtor
{
public RelationshipIdentification Data { get; set; }
}
}
|
using ApiTemplate.Infrastructure.Extensions.Startup;
using Autofac;
using Autofac.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace ApiTemplate
{
public class St... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class WormController : MonoBehaviour
{
public GameObject bazooka;
public GameObject canon;
public Transform canonPosition;
public Vector3 shootSpeed;
public Rigidbody rb;
public Vecto... |
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 Core.BIZ;
using Core.DAL;
namespace WinForm.Views
{
public partial class frmChiTietHoaDonNXB :... |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Media;
namespace AsteroidsGame
{
public class Music
{
static Song introMusic;
static Song[] musicList = new Song[4];
st... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Caching.Memory;
using ReflectionIT.Mvc.Paging;
using System;
using System.Diagnostics;
using System.Linq;
using Trendyol.Case.Models;
using Trendyol.Case.Service;
namespace Trendyol.Case.Controllers
{
public class HomeController : BaseController
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraMove : MonoBehaviour
{
public Transform player;
private Vector3 lastPosition;
private Vector3 newFocusPos;
public bool cameraLocked = true;
public bool cameraFocused = false;
[Range(0, 2.0f)] [Se... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
namespace MyWebshopContract
{
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "Service1" in both code and config file toget... |
using CapaDatos;
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 Tulpep.NotificationWindow;
namespace CapaUsuario.Compras.Cuenta_corriente
{
p... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace collectionsPractice
{
class Program
{
static void Main(string[] args)
{
// Create an array to hold integer values 0 through 9.
int[] arr1 = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
... |
using System.ComponentModel.DataAnnotations;
using Profiling2.Domain.Prf;
namespace Profiling2.Web.Mvc.Areas.Profiling.Controllers.ViewModels
{
public class TagViewModel
{
public int Id { get; set; }
[Required]
public string TagName { get; set; }
public string Notes { get; set;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace iGarson_App.Security
{
class Encryption
{
private int i = 0, TOR = 0;
private Int64 sum = 0;
public void ChangeintoAscii(s... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class TowerLevel {
public int cost;
public GameObject visualization;
public GameObject bullet;
public float attackSpeed; //fireRate;
public float attackDamage;
public float... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Task1_NewtonMethod
{
/// <summary>
/// Class for work with user
/// </summary>
class Input
{
public double Value { get; set; }
public double Root { get; set... |
using System.Runtime.Serialization;
using DiffMatchPatch;
namespace GraderBot.ProblemTypes
{
public class DiffProxy
{
private readonly Diff _diff;
public DiffProxy(Diff diff)
{
_diff = diff;
}
[DataMember(Name = "text")]
public string Text => _diff... |
using System;
using System.ComponentModel;
using System.Globalization;
using System.Windows;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using Microsoft.Kinect;
using System.Threading;
namespace Bubble_Bash
{
public partial class MainWindow : Window
{
#region Propertie... |
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 JobDatabase;
namespace JobMon
{
public partial class EditorForm : Form
{
JobDatabase.JobDatabase iJobDb;
... |
using System;
namespace Roog
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World, my student number is 17N9007!");
}
}
}
|
using PopulationFitness.Models.FastMaths;
using PopulationFitness.Models.Genes.BitSet;
using System;
namespace PopulationFitness.Models.Genes.LocalMinima
{
public class RastriginGenes : NormalizingBitSetGenes
{
private const long RastriginTermA = 10; // The A term in f{x}=sum _{i=1}^{n}[t[x_{i}^{2}-A\co... |
using PhotonInMaze.Common;
using PhotonInMaze.Common.Controller;
using UnityEngine;
namespace PhotonInMaze.Provider {
public class MazeObjectsProvider : SceneSingleton<MazeObjectsProvider> {
[SerializeField]
private GameObject maze = null;
[SerializeField]
private GameObject flo... |
using Aria.Core.Interfaces;
namespace Aria.Engine.Interfaces
{
public interface ISceneManager : IDisposableServiceProvider, IUpdatable
{
IScene ActiveScene { get; }
void ChangeScene(IScene scene);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using System.Windows;
namespace MyAlgorithmStudy
{
class Program
{
static void Main(string[] args)
{
//string addStr = addString("10",3,'0... |
namespace MeeToo.Services.MessageSending.Email.Options
{
public class EmailOptions
{
public string UserName { get; set; }
public string Password { get; set; }
public TemplateSource TemplateSource { get; set; }
}
public class TemplateSource
{
public BlobSource Blob {... |
using System.Collections;
using System.Collections.Generic;
using Assets.Scripts;
using UnityEngine;
using UnityStandardAssets.Water;
public class WorldController : MonoBehaviour
{
public Gradient TreesGradient;
public List<Material> TreesMaterials;
public Gradient WaterGradient;
public Gradient Wate... |
using System;
using System.Xml;
using Microsoft.Xna.Framework;
using SuperMario.Entities.Blocks;
using SuperMario.Entities.Mario;
namespace SuperMario
{
public class LevelLoading
{
public LevelData LevelObjectsData { get; private set; }
public void LoadLevel()
{
using (Xml... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Ricky.Infrastructure.Core;
using Ricky.Infrastructure.Core.Caching;
using Ricky.Infrastructure.Core.Configuration;
using VnStyle.Services.Data;
using VnStyle.Services.Data.Domain;
namespace ... |
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class SignPost : MonoBehaviour
{
public void ResetScene()
{
// Reset the scene when the user clicks the sign post
SceneManager.LoadScene("Maze");
//reset key
Key.keyCollected = false;
/... |
using System;
using System.Linq;
namespace Spool.Harlowe
{
partial class BuiltInMacros
{
public Number abs(double x) => new Number(Math.Abs(x));
public Number cos(double x) => new Number(Math.Cos(x));
public Number exp(double x) => new Number(Math.Exp(x));
public Number log(doub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LightBoxRectSubForm.data {
public class ModelWaitTime {
private double waitMM;
private double waitSS;
public ModelWaitTime() {
}
/// <summary>
... |
using DapperExtensions;
using System.Collections.Generic;
namespace AbiokaScrum.Api.Data.Transactional
{
public interface IRepository
{
/// <summary>
/// Add an entity
/// </summary>
/// <typeparam name="T">Type of entity</typeparam>
/// <param name="entity">Entity</pa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Prestamos_Bancos
{
class Prestamo
{
private const double INTERES = 1.10;
private const double CARGOEXTRA = 1.01;
private double _cantidad;
private int _... |
using ReactMusicStore.Core.Data.Repository.EntityFramework.Common;
using ReactMusicStore.Core.Domain.Entities;
using ReactMusicStore.Core.Domain.Interfaces.Repository;
namespace ReactMusicStore.Core.Data.Repository.EntityFramework
{
public class OrderDetailRepository : Repository<OrderDetail>, IOrderDetailReposit... |
using Common;
using IBLLService;
using MODEL;
using MODEL.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BLLService
{
public partial class YX_weiXinMenus_MANAGER : BaseBLLService<YX_weiXinMenus>, IYX_weiXinMenus_MANAGER
{
public List<MODEL.W... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace clinic_project
{
public partial class Add_medicine : Form
... |
using Coldairarrow.Business.Base_SysManage;
using Coldairarrow.Entity.Base_SysManage;
using Coldairarrow.Util;
using System;
using System.Web.Mvc;
namespace Coldairarrow.Web
{
public class Base_DepartmentController : BaseMvcController
{
Base_DepartmentBusiness _base_DepartmentBusiness = new Base_Depart... |
using gView.Framework.Data;
using gView.Framework.Data.Cursors;
using gView.Framework.Data.Filters;
using gView.Framework.FDB;
using gView.Framework.Geometry;
using gView.Framework.Network;
using gView.Framework.Network.Algorthm;
using gView.Framework.Network.Build;
using System;
using System.Collections.Generic;
usin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RestSharp
{
public static class ExecuteExtensions
{
public static Task<IRestResponse> ExecuteWithTaskAsync(this IRestClient client, IRestRequest request)
{
var cSource = new T... |
using System.Windows;
namespace CODE.Framework.Wpf.TestBench
{
/// <summary>
/// Interaction logic for ColumnComboBox.xaml
/// </summary>
public partial class ColumnComboBox : Window
{
public ColumnComboBox()
{
InitializeComponent();
var model = new MyModel... |
using Prism.Commands;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
namespace AppShell.ViewModels
{
public class PaneContentViewModel : BindableBase
{
public PaneContentViewModel()
{
}
}
}
|
using UnityEngine;
using System.Collections;
public class PlayerAimMarkData : MonoBehaviour
{
public bool IsRunToEndPoint;
public int RankNo;
bool IsPlayer;
bool IsGameOver;
bool IsActiveDingShen;
NetworkView viewNet;
public WaterwheelPlayerNetCtrl playerNetScript;
public WaterwheelAiPlayerNet AiNetScript;
... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace BeatmapDownloader.Database.Migrations
{
public partial class InitializeMigration : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name:... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web;
using System.Web.Http;
using Week4.ZoekertjesApp.DataAccess;
using Week4.ZoekertjesApp.Models;
using ZoekertjesModels;
namespace Week4.ZoekertjesApp.Controllers
{
public class ZoekertjesAP... |
using UnityEngine;
using UnityEngine.Tilemaps;
public class TargetedSquareTilemapRenderer : MonoBehaviour {
[SerializeField]
private Tilemap _tilemap = null;
[SerializeField]
private TileBase _tileNormalPriority = null;
[SerializeField]
private TileBase _tileHighPriority = null;
public v... |
using System;
namespace week06b
{
class MainClass
{
public static void Main (string[] args)
{
int add = Add (5, 6);
Console.WriteLine (add);
Console.WriteLine(readNumber ());
}
/*
* All functions have to have a return type, up until now we've used
* void which effectively mean... |
using System.Collections;
namespace Shipwreck.TypeScriptModels
{
internal interface IHasParentInternal : IHasParent
{
void SetParent(IOwnedCollection value);
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.