text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
using Cycles;
namespace MyXUnitTests
{
public class PowerOfTwoTest
{
[Fact]
public static void Test()
{
int actual = PowerOfTwo.GetMinPowerOfTwoLargerThan(1);
int expected = 1;
... |
using System;
using System.Data;
using System.Collections.Generic;
using Maticsoft.Common;
using PDTech.OA.Model;
namespace PDTech.OA.BLL
{
/// <summary>
/// VIEW_PROJECT_USER
/// </summary>
public partial class VIEW_PROJECT_USER
{
private readonly PDTech.OA.DAL.VIEW_PROJECT_USER dal=new PDTech.OA.DAL.VIEW_PROJ... |
using System;
using System.Linq;
class MainClass {
public static void Main (string[] args) {
Console.WriteLine("Enter the number of days");
int nbrDays = Convert.ToInt32(Console.ReadLine());
double[] celcius = new double[nbrDays];
double[] fahrenheit = new double[nbrDays];
for(int pos=0; pos ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RegHook
{
//virtual registry key
public class VRegKey
{
public Dictionary<string, VRegKey> Keys { set; get; }
public List<VRegValue> Values { set; get; }
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KPI.Model.ViewModel
{
public class AddCommentViewModel
{
public string CommentMsg { get; set; }
public int UserID { get; set; }
public int DataID { get; set; }
... |
/*using System;
namespace LoopandConditionalstatementsEg
{
class WhileEg
{
static void Main()
{
int endvalue, initialvalue = 1;
Console.WriteLine("Enter your number");
endvalue = Convert.ToInt32(Console.ReadLine());
while (initialvalue <= endvalu... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Threading.Tasks;
using Domain;
using Microsoft.Azure.Functions.Worker;
using Microsoft.Azure.Functions.Worker.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using Service;
namespace CloudDatabases
{
p... |
//TEST CHANGE
using Microsoft.AspNetCore.Identity;
using System;
using System.Globalization;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using BarCrawl.Models;
using System.Net;
using System.IO;
using Newtonsoft.Json.Linq;... |
using System;
using System.Drawing;
namespace Carapace
{
public class WVector
{
public float X, Y;
public WVector()
{
X = Y = 0;
}
public WVector( Point _Point )
{
X = _Point.X;
Y = _Point.Y;
}
public WVector( float _X, float _Y )
{
X = _X;
Y = _Y;
}
public double GetS... |
using System;
namespace FirstClassProject
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Enter a number.");
string firstNumber = Console.ReadLine();
int newNum = 0;
int numberOne = 0;
bool test = int.TryParse... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SodaMachine
{
class Orange : Soda
{
public Orange()
{
flavor = "Orange";
price = 0.35m;
ammountofCans = 20;
}
}
}
|
using OpenTK.Graphics.OpenGL4;
using SimpleShooter.Core;
namespace SimpleShooter.Graphics
{
public interface IRenderWrapper
{
ShadersNeeded ShaderKind { get; }
PrimitiveType RenderType { get; set; }
int VerticesCount { get; }
void Bind(Camera camera, Level level);
Sh... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LeaveRequestApp.Models;
using PagedList;
namespace LeaveRequestApp.DAL
{
public class RequestStatusRepository : GenericRepository<RequestStatus>
{
public RequestStatusRepository(Le... |
using System;
using System.Collections.Generic;
using Common;
using Common.Utils;
using OpenTK;
using OpenTK.Graphics.OpenGL4;
namespace SimpleTerrain
{
class HeightMap
{
public int MapSize { get { return Colors.GetLength(0); } }
public int TextureId { get; set; }
public PrimitiveType... |
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;
using Excel = Microsoft.Office.Interop.Excel;
namespace Combina... |
using NekoUchi.DAL.Helpers;
using System;
using System.Collections.Generic;
using System.Text;
using MongoDB.Bson;
using MongoDB.Driver;
namespace NekoUchi.DAL
{
public class Lesson : Model.Lesson, ISerializationHelper
{
#region Properties
public ObjectId _id { get; set; }
... |
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace APImongoDb.Entites
{
public class Cliente
{
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public string Id { ge... |
using be.belgium.eid;
using GalaSoft.MvvmLight.CommandWpf;
using Newtonsoft.Json;
using nmct.ba.cashlessproject.model.WPF;
using nmct.ba.cashlessproject.organisation.customerApp.ViewModel.General;
using nmct.ba.cashlessproject.organisation.employeeApp.Helper;
using nmct.ba.cashlessproject.organisation.employeeApp.View... |
using CloneDeploy_DataModel;
using CloneDeploy_Entities;
using CloneDeploy_Entities.DTOs;
namespace CloneDeploy_Services
{
public class ImageProfileScriptServices
{
private readonly UnitOfWork _uow;
public ImageProfileScriptServices()
{
_uow = new UnitOfWork();
}
... |
namespace Shoot_List_Elements
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class ShootListElements
{
public static void Main(string[] args)
{
//list for the result;
var r... |
using EspionSpotify.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
namespace EspionSpotify.Translations
{
public static class Languages
{
public static readonly Dictionary<LanguageType, Type> availableResourcesManager = new Dictionary<LanguageType, Type>
{
... |
using System;
using System.ComponentModel;
using DevExpress.XtraEditors.Controls;
using TLF.Framework.BaseFrame;
using TLF.Framework.Config;
namespace TLF.Framework.ControlLibrary
{
/// <summary>
///
/// </summary>
/// <remarks>
/// 2008-12-17 최초생성 : 황준혁
/// 변경내역
///
/// </remarks>
... |
namespace KPI.Model.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class version103 : DbMigration
{
public override void Up()
{
AddColumn("dbo.ActionPlans", "KPILevelCode", c => c.String());
}
public override void ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Text.RegularExpressions;
namespace CloudinaryDotNet
{
/// <summary>
/// Implement generic utility functions
/// </summary>
internal static partial class Utils
{
... |
using LogicBuilder.Attributes;
namespace Contoso.Bsl.Flow
{
public interface ICustomActions
{
[AlsoKnownAs("WriteToLog")]
void WriteToLog(string message);
}
}
|
/*
sudo apt-get install nuget
nuget install NDesk.Options
*/
using System;
using System.Collections.Generic;
// using System.Data;
using System.Text;
using System.Text.RegularExpressions;
using System.IO;
using System.Linq;
using System.Xml.Schema;
using System.Xml.Linq;
using NDesk.Options;
//usi... |
using Extension;
using UnityEngine;
using Zenject;
namespace Lonely
{
public class PlayerState_Idle : State
{
public PlayerState_Idle(IStateEnter enter, IStateExit exit, IStateUpdate update)
: base(enter, exit, update)
{
}
public class CustomFactory : IFactory<Stat... |
namespace Hybrid.Domain.UnitOfWorks
{
public interface ICurrentUnitOfWorkProvider
{
/// <summary>
/// 获取或设置工作单元
/// </summary>
IUnitOfWork Current { get; set; }
}
} |
using Microsoft.Azure.Services.AppAuthentication;
using Microsoft.WindowsAzure.Storage.Auth;
using Microsoft.WindowsAzure.Storage.Blob;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace dotnet_cons... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using WebApplication1.Models;
namespace WebApplication1.Controllers
{
public class StateActionsController : Controller
{
private Web... |
/*
* Bungie.Net API
*
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* OpenAPI spec version: 2.1.1
* Contact: support@bungie.com
* Generated by: https://github.com... |
namespace Milestone2
{
public class InventoryItem
{
public string Name { get; private set; }
public string Description { get; private set; }
public int Quantity { get; private set; }
public decimal Price { get; private set; }
public int ModelID { get; private set... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TemplateMethod
{
class Client
{
static void Main(string[] args)
{
//数据库操作的流程是固定的:1. 连接数据库 2. 查询 3.操作 4.关闭连接
//每个数据库又有不同的实现细节
//父类抽象流程
//子类实现细节
... |
/*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... |
using System;
using System.Collections.Generic;
using System.Text;
namespace OCP.Files.Storage
{
/**
* Creates storage instances and manages and applies storage wrappers
* @since 8.0.0
*/
public interface IStorageFactory
{
/**
* allow modifier storage behaviour by adding wr... |
using System;
using System.Collections.Generic;
using SubSonic.BaseClasses;
using SubSonic.Extensions;
using SubSonic.SqlGeneration.Schema;
namespace Pes.Core
{
[SubSonicTableNameOverride("ContentFilters")]
public partial class ContentFilter : EntityBase<ContentFilter>
{
#region Properties
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AnnealingWPF.Solver.CoolingStrategies
{
public class CoefficientCoolingStrategy : ICoolingStrategy
{
public float Cool(SimulatedAnnealingSolver solverInstance)
{
return solverInstance.CurrentTemperature * ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Xml;
using InvoiceClient.Properties;
using Utility;
using Model.Schema.TXN;
using InvoiceClient.Helper;
using InvoiceClient.TransferManagement;
namespace InvoiceClient.Agent
{
... |
using System;
using System.Text;
namespace ValueRef
{
public class Cliente: Object //Reference Type
{
public int Codigo;
public string Nome;
public string Telefone;
public override string ToString()
{
StringBuilder sb = new StringBuilder();
sb.A... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MenuCity : MonoBehaviour {
Animator anim;
// Use this for initialization
void Start () {
anim = this.GetComponent<Animator>();
}
// Update is called once per frame
void Update () {
}
public void goPlay(){
ani... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Verse;
namespace MyMod
{
class DebugLogger
{
public static void Log(string message)
{
Verse.Log.TryOpenLogWindow();
Verse.Log.Message(message);
}
}
}
|
using System;
using System.Collections;
using System.Linq;
using System.Reflection;
using PlayGen.Unity.Utilities.Localization;
using UnityEngine;
using UnityEngine.Networking;
public class Player : MovingObject
{
public string Name;
public TEST_SimplePlayerAI SimplePlayerAi;
[SyncVar] public flo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BrainDuelsLib.widgets;
using BrainDuelsLib.web;
using UnityEngine;
using Assets;
public class DialogBoxOk : ControlBase
{
public UIButton ok;
public Action okAction;
public void Start()
{
ok.onClick.Ad... |
/* 7. Write a program that reads a number N and calculates the sum of the first N members of the
* sequence of Fibonacci: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, …
* Each member of the Fibonacci sequence (except the first two) is a sum of the previous two members. */
using System;
usin... |
namespace FUBUPROJECTNAME.Models.View
{
public class WelcomeViewModel
{
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bopping_Motion : MonoBehaviour
{
[SerializeField] float Frequency;
[SerializeField] float Magnitude;
Vector3 initial_Position;
private void Start()
{
initial_Position.z = transform.position.z; ... |
using UnityEngine;
using System.Collections;
namespace Ph.Bouncer
{
public class AnchorToLeftOrRight : MonoBehaviour
{
public float WorldCoordinateOffsetX;
void Start()
{
CalculateAnchorSide();
}
private void CalculateAnchorSide()
{
var cachedTransform = gameObject.transform;
bool addAnc... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.Http;
using System.Text.Json;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WebApplication1.Models;
namespace WebApplication1.Controllers
{
public cl... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using System.IO;
using System.Linq;
using B83.Win32;
public class EditorUIController : MonoBehaviour
{
// Other Controller Objects
GameData gd;
... |
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using Reporting.Headers;
using System.IO;
/// <summary>
/// Summary description for rptCasualReportA
/// </summary>
public class rptCasualReportA : DevExpress.XtraReports.UI.XtraReport
{
pri... |
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Hammock;
using System.Runtime.Serial... |
using DataAccess.Abstraction;
using DataAccess.EntityFramework.Repositories;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Reception.Domain.Services.Abstractions;
namespace DataAccess.EntityFramework.Dependency
{
public static class DependencyExtensions
{
p... |
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using BUS;
namespace GUI.Report.baocaoketquahoatdongkinhdoanh
{
public partial class r_bclctt : DevExpress.XtraReports.UI.XtraReport
{
public r_bclctt()
{
Init... |
namespace Standard
{
using System;
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Sequential)]
internal struct TITLEBARINFO
{
public int cbSize;
public Standard.RECT rcTitleBar;
public Standard.STATE_SYSTEM rgstate_TitleBar;
public Standard.STATE_SYS... |
namespace KPI.Model.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class version8 : DbMigration
{
public override void Up()
{
RenameColumn(table: "dbo.Users", name: "Ower", newName: "Owner");
}
public override void... |
using System;
namespace UnityEngine.Rendering.PostProcessing {
[Serializable]
[PostProcess (typeof (VisualizeWorldPositionRenderer), PostProcessEvent.AfterStack, "Custom/Visualize World Position")]
public sealed class VisualizeWorldPosition : PostProcessEffectSettings {
public FloatParameter grid ... |
using Yeasca.Metier;
using Yeasca.Mongo;
namespace Yeasca.Requete
{
public class UtilisateurConnecteRequete : Requete<IUtilisateurConnecteMessage>
{
public override ReponseRequete exécuter(IUtilisateurConnecteMessage message)
{
Utilisateur utilisateurEnCours = Utilisateur.chargerD... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Poker.Data
{
public class Player
{
public Hand Hand { get; set; }
public string Id { get; set; }
public Player(string id, Hand hand)
{
Id = id;
Hand = hand;
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RGiesecke.DllExport;
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
namespace re
{
public static partial class re
{
// ********************************... |
using BPiaoBao.AppServices.ConsoContracts.SystemSetting.DataObjects;
using BPiaoBao.AppServices.DataContracts.SystemSetting;
using BPiaoBao.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
namespace BPiaoBao.AppServices.ConsoContracts.SystemSetti... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("JaraxxusHeroSpell")]
public class JaraxxusHeroSpell : Spell
{
public JaraxxusHeroSpell(IntPtr address) : this(address, "JaraxxusHeroSpell")
{
}
public JaraxxusHeroSpell(IntPtr address, string c... |
using System;
using System.Collections.Generic;
class QueueTwoStacks<T> where T:new()
{
Stack<T> forwardStack= new Stack<T>();
Stack<T> reverseStack= new Stack<T>();
public void Enqueue(T item)
{
if (reverseStack.Count==0)
{
forwardStack.Push(item);
}
else... |
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 FrbaCommerce.Modelo;
using FrbaCommerce.DAO;
using FrbaCommerce.Asignacion_Telefonos;
namespace FrbaCommerce.Abm_Empresa
{
p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class VokalButtonScript : MonoBehaviour {
public static bool onVokalClicked = true;
public static string Vokal;
// Use this for initialization
void Start () {
}
// U... |
using System;
using System.Collections.Generic;
using System.Text;
using Terminal.Gui;
namespace MoreTec.TimeEditApp.Views
{
class Menu : MenuBar
{
public event Action Exit;
public event Action Search;
public event Action Schedule;
public Menu() : base(null)
{
Menus = new MenuBarItem[]
{
new Me... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.EntityFrameworkCore.TestUtilities;
using Xunit;
namespace Microsoft.EntityFrameworkCore
{
public class ConcurrencyDetectorDisabledS... |
using PrimeNumbers.Application.Common.Interfaces;
using System;
using System.Threading.Tasks;
namespace PrimeNumbers.Toolbox
{
public class PrimeNumberGenerator : IPrimeNumberGenerator
{
private readonly IPrimeNumberChecker _primeNumberChecker;
public PrimeNumberGenerator(IPrimeNumberChecker ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace ProyectoAplicadoPC.Entidades
{
public class DetalleVentas
{
[Key]
public int ID { get; set; }
... |
using ExpressMapper;
using REQFINFO.Business.Interfaces;
using REQFINFO.Domain;
using REQFINFO.Repository;
using REQFINFO.Repository.DataEntity;
using REQFINFO.Repository.Infrastructure.Contract;
using REQFINFO.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.... |
using System.Collections.Generic;
namespace Core.Common {
public interface IBoardInfo {
string Id { get; }
int MaxAttachments { get; }
IReadOnlyCollection<string> AllowedAttachmentFormats { get; }
}
} |
using G00303598_PROJECT_19;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Reflection;
using System.Text;
using Utils;
namespace G00303598_PROJECT_19
{
public class FitnessInfo : BaseViewModel
{
#region Propert... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CTDLGT.Stack___Queue
{
class decimal_to_binary
{
public static void MulBase(int n, int b)
{
var Digits = new GenericStack<int>();
d... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using MongoDB.Driver;
using W3ChampionsStatisticService.CommonValueObjects;
using W3ChampionsStatisticService.Ports;
using W3ChampionsStatisticService.ReadModelBase;
using W3ChampionsStatisti... |
namespace Triton.Game.Mapping
{
using System;
public enum AdventureSubScenes
{
Chooser,
Practice,
MissionDeckPicker,
MissionDisplay,
ClassChallenge
}
}
|
// Copyright 2017-2019 Elringus (Artyom Sovetnikov). All Rights Reserved.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using UnityCommon;
using UnityEngine;
using UnityEngine.EventSystems;
namespace Naninovel.UI
{
/// <summary>
/// Represents a view for choosing between a set... |
namespace JumpAndRun.Networking
{
public class LogOffReason
{
public string AdditionalInfo { get; }
public LogOffReasons Reason { get; }
public LogOffReason(string additionalInfo, LogOffReasons reason)
{
AdditionalInfo = additionalInfo;
Reason = reason;... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Base : MonoBehaviour
{
public Rigidbody rb;
FixedJoint fj;
Renderer myRender;
bool render;
void Awake()
{
render = false;
myRender = GetComponent<Renderer>();
rb = GetComponent<... |
using MongoDB.Bson.Serialization.Attributes;
using Webcorp.unite;
using ReactiveUI;
using System;
using System.Runtime.Serialization;
namespace Webcorp.Model.Quotation
{
[DataContract]
[Serializable]
public class Format:CustomReactiveObject
{
Length _longueur, _largeur, _epaisseur;
[B... |
using System;
using SLua;
using System.Collections.Generic;
[UnityEngine.Scripting.Preserve]
public class Lua_NGUIMath : LuaObject {
[SLua.MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
[UnityEngine.Scripting.Preserve]
static public int Lerp_s(IntPtr l) {
try {
#if DEBUG
var method = System.Reflection... |
using System.Collections.Generic;
using SearchEnginePopularityChecker;
namespace PopularityEvaluatorTest
{
class MockSearchEngine : ISearchEngine
{
public List<SearchResult> Search(string keyword, int searchCout)
{
return new List<SearchResult>();
}
}
class MockSea... |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Laboratorio_1_EDII
{
public class Program
{
p... |
using CopyAndRenameObj.BL.Model;
using System.Collections.Generic;
namespace CopyAndRenameObj.BL.Controler
{
public class RenameFilesController
{
private readonly FolderModel folderModel;
public RenameFilesController(FolderController fc)
{
folderModel = fc.GetFolderModel()... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
using UnityEngine.Audio;
public class Lua_UnityEngine_Audio_AudioMixerSnapshot : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int TransitionTo(IntPtr l)
{
int result;
try
{
AudioMixerSnapshot audioMixerSnapshot = (Au... |
namespace Bteam.Specifications
{
/// <summary>
/// Especificacion para unir dos especificaciones y que se cumplan las dos
/// </summary>
internal class AndSpecification<T> : ISpecification<T>
{
readonly ISpecification<T> _leftSpecification;
readonly ISpecification<T> _rightSpecifica... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HeroScript : MonoBehaviour {
public GameObject heartBullet;
public GameObject spawnpoint;
private int freq, counter = 0;
private bool shooting;
// Use this for initialization
void Start () {
freq = 10... |
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 JoggingDatingAPI.Models;
using Microsoft.AspNet.Identity;
usi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyBullet : MonoBehaviour {
float seconds;
public float damage = 10;
public float speed = 10;
// Use this for initialization
void Start () {
GetComponent<Rigidbody>().velocity = new Vector3(0,0... |
namespace SisbolApi.Models
{
public class InspecaoSaude
{
public string Re {get;set;}
public string DataRealizacao {get;set;}
public string Conceito {get;set;}
public string BoletimPublicacao {get;set;}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
namespace SincolPDV.DAL
{
public class ProdutoDAL
{
string conexao = ConfigurationManager.ConnectionStrings["context"].ConnectionString.ToS... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AdvancedConcepts
{
// This program demo. how to declare predicate delegate.
// A predicate delegate is an in-built generic type delegate.
// It works with those methods which contain some set of criteria and determine whether th... |
using System.Collections.Generic;
namespace SQLite
{
public class SqlDatabase
{
string _name;
public string Name => _name;
public Dictionary<string,SqlTable> TableList;
public SqlDatabase(string name,IEnumerable<SqlTable> tableList)
{
_name ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Framework.Remote.Mobile
{
public partial class CxClientParentEntity
{
public CxClientParentEntity(string entityId, string entityUsageId, string[] whereParamNames)
{
EntityId = entityId;
EntityUsageI... |
namespace StartUp
{
using GameEngine;
using System;
using Utilities;
public class StartUp
{
public static void Main()
{
ConsoleProperties.InitialConsoleSettings();
Engine engine = new Engine();
engine.Start();
}
}
}
|
using Football.DAL.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Football.API.Dto
{
public class TrainingDto
{
public int Id { get; set; }
public DateTime Date { get; set; }
public string Duration { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class movimento : MonoBehaviour {
public bool rodandoEsq = false;
public bool rodandoDir = false;
public float velocidade = 5f;
public float grauRotacao = 5f;
Rigidbody2D rb;
void Start () {
rb = Ge... |
using BarberShop.Core.Entities;
using BarberShop.Infraestructure.Interfaces;
namespace BarberShop.Infraestructure.Services
{
public class EmployeeService : GenericRepoService<Employee>
{
public readonly IRepository<Employee> _repo;
public EmployeeService(IRepository<Employee> repo) : base(repo)... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class EndingManager : MonoBehaviour
{
void Update()
{
}
void OnCollisionEnter(Collision collision)
{
if (collision.gameObject.tag == "MainCharacter")
{
... |
using Week_2___Webshop.Models;
namespace Week_2___Webshop.BusinessLayer.Repositories
{
public interface IOrderRepository
{
Order Insert(Order entity);
}
} |
using System;
using System.Threading.Tasks;
using Common.Repository;
using Domain.Entities;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Environment = Domain.Entities.Environment;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?L... |
namespace Modscleo4.WPFUI.Controls
{
public interface IMenuItem
{
string Text { get; set; }
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.