text stringlengths 13 6.01M |
|---|
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.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.ModelBinding;
using System.Web.Http.OData;
using S... |
using BenefitDeduction.EmployeesSalary;
using System.Collections.Generic;
namespace BenefitDeduction.EmployeeBenefitDeduction.Employees.Calculators
{
public interface ICalculateDeductionDetailRespository
{
IBenefitDeductionDetail CalculateDeductionDetail(ISalary salary, List<IBenefitDeductionItem> ben... |
namespace LikDemo.Models
{
public class Creditor
{
public RelationshipIdentification Data { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
namespace Voluntariat.Services
{
public interface ITaskScheduler
{
void RunBackgoundTasks();
}
public class TaskScheduler : ITaskScheduler
{
private readonly IVolunteerService _volunteerService;
private rea... |
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Collections.ObjectModel;
using System.Windows.Data;
using System.Globalization;
using GeoSearch.CSWQueryServiceReference;
using System.Collections.Gene... |
using System;
using System.Collections.Generic;
namespace Admin.ViewModels
{
public class ServicePageModel
{
public int Id {get;set;}
public string Name {get;set;}
public string Address {get;set;}
public string Phone {get;set;}
public int OrdersCount {get;set;}
pu... |
using System;
using System.Text;
using System.IO;
using System.Text.RegularExpressions;
namespace lab_1
{
class Program
{
static void Main(string[] args)
{
string input = File.ReadAllText("../../input.txt");
string reg = File.ReadAllText("../../regex.txt");
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Common.Servicei.ViewModels.Users;
using Controllers;
using Demo.Service;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GenerateRewards : MonoBehaviour
{
private int planeCount;
public GameObject Rewards;
private GameObject grandChild;
private System.Random random = new System.Random();
private bool hasCalle... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Cdiscount.Alm.Sonar.Api.Wrapper.Core.Measures.Component.Response
{
public class ComponentMeasureResponse
{
/// <summary>
/// Component
/// </summary>
[JsonProperty(Pro... |
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace DemoScanner.Settings
{
public static class asdf
{
public static int asdf2 = 0;
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SecurityPlusUI.Model;
using SecurityPlusUI.View;
namespace SecurityPlusUI.Services
{
public class NotificationService
{
public static void DisplayMessage(string message)
{
... |
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 RimLiqourProject.Models;
using NewRimLiqourProject.Models;
namespace NewRimLiqourProject.Controllers
{
[Authorize(Roles = "Admin")]
pu... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class playerController : MonoBehaviour
{
public float speed;
public float hight;
bool facingR;
public KeyCode spacebar;
public KeyCode one;
public KeyCode two;
public KeyCode L;
public KeyCode R;
... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Project371;
using Project371.Components;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assig_2.GameClasses
{
class Battery : Entity
{
private Ve... |
using Newtonsoft.Json;
using System;
namespace Alabo.Schedules {
public class BackJobParameter {
/// <summary>
/// 当前用户Id
/// </summary>
[JsonIgnore]
public long UserId { get; set; }
/// <summary>
/// 模块Id
/// </summary>
[JsonIgnor... |
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Microsoft.EntityFrameworkCore;
using WorkScheduleManagement.Data.Entities.Requests;
using WorkScheduleManagement.Persistence;
namespace WorkScheduleManagement.Application.CQRS.Commands
{
public static class UpdateRequestStatus
{
... |
using System;
using System.Collections.Generic;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Order;
using BenchmarkDotNet.Running;
using EnsureThat;
namespace Benchmarks
{
class Program
{
static void Main(string[] args)
{
BenchmarkRunner.Ru... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Persons.Accessors;
using Persons.DataEntity;
namespace ConsoleClient
{
class Program
{
static private int mode;
static private int entity;
static private void Mod... |
using System;
namespace VoxelSpace {
/// <summary>
/// Light values for a single voxel.
/// </summary>
public readonly struct VoxelLight {
/// <summary>
/// The total number of channels. See <see cref="VoxelLightChannel"/>
/// </summary>
public const int CH... |
using Assets.Scripts.Controllers.Fauna;
using System.Collections;
using Assets.Scripts.Models;
using Assets.Scripts.Models.Ammo;
using UnityEngine;
namespace Assets.Scripts.Controllers
{
public class ArrowController : MonoBehaviour
{
public Rigidbody RigidBody;
public float AdditionalForce = 1... |
using System;
using System.Reflection;
using System.Text;
using MinDbg.NativeApi;
namespace MinDbg.CorMetadata
{
internal sealed class MetadataMethodInfo : MethodInfo
{
private readonly Int32 p_methodToken;
private readonly Int32 p_classToken;
private readonly IMetadataImport p_importe... |
using System.Threading.Tasks;
using OrchardCore.ContentManagement;
namespace DFC.ServiceTaxonomy.VersionComparison.Services
{
public class ContentNameService : IContentNameService
{
private readonly IContentManager _contentManager;
public ContentNameService(IContentManager contentManager)
... |
using Tests.Data.Van.Input;
namespace Tests.Data.Van
{
public class TestVoter
{
public Voter Voter = new Voter
{
LastName = "Tester",
FirstName = "Boris",
MiddleName = "V",
Phone = "(899) 135-1064",
VanId = "100417676",
... |
using System;
using LinkedListExample.Lib;
//using UtilityLibraries;
class Program
{
static void Main(string[] args)
{
IntegerLinkedList ill = new IntegerLinkedList(5);
ill.Append(4);
Console.WriteLine(ill.ToStr);
}
static int tester() {
retur... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Administration;
using BELCORP.GestorDocumental.Common.Excepcion;
using BELCORP.GestorDocumental.Common.Util;
using BELCORP.GestorDocumental.Common;
... |
using DotNetOpenAuth.OAuth2;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Net;
using System.Web;
namespace OAuthExample
{
class SelfServiceClient : WebServerClient
{
// read the base Self Service URL from the Web.conf... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CreateUser.Models
{
public class UserAlbum
{
[Key, Column(Order = 0)]
public int UserId { get; set; }
public virtual User User { get; set; }
[Key, Column(Order = 1)]
... |
using Business.Abstract;
using Business.BusinessAspects.Autofac;
using Business.CCS;
using Business.Constants;
using Business.ValidationRules.FluentValidation;
using Core.Aspects.Autofac.Caching;
using Core.Aspects.Autofac.Validation;
using Core.CrossCuttingConcerns.Validation;
using Core.Utilities.Business;
using Cor... |
using System;
using System.Collections.Generic;
using DevFitness.ConsoleApp.Usuarios;
using DevFitness.ConsoleApp.Refeicoes;
using System.Linq;
namespace DevFitness.ConsoleApp
{
public class Program
{
#region Constantes
private const string ERROR_ADMIN_MESSAGE = "Erro! Contate o administrador... |
using System;
namespace Score.Models
{
public class Program
{
}
public class Points
{
private string _word;
public Points(string word)
{
_word = word;
}
public string CollectWord()
{
return _word;
}
public string LowerCase()
{
return _word.ToLower();... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading;
namespace ClientSimulator
{
class Log
{
private string filePath = "ClientSimulatorLogs.txt";
private Queue<string> writerQueue;
private Queue<string> readerQueue1;
priva... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public class TrackingIdRepetidoException : Exception
{
/// <summary>Constructor que recibe un mensaje.
/// </summary>
/// <param name="mensaje">mens... |
using Alabo.Web.Mvc.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Alabo.App.Share.Rewards.Domain.Enums
{
/// <summary>
/// 产品限制方式
/// </summary>
[ClassProperty(Name = "产品限制方式")]
public enum ProductLimitType
{
/// <summary>
/// 产品线范围内
/// </s... |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using streamdeck_client_csharp.Events;
using streamdeck_client_csharp.Messages;
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
na... |
using System;
using System.Runtime.CompilerServices;
namespace DanialProject.Models.Others
{
public class ExternalLoginListViewModel
{
public string ReturnUrl
{
get;
set;
}
public ExternalLoginListViewModel()
{
}
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Patrol : MonoBehaviour {
public Transform pointA;
public Transform pointB;
bool goToPointA = true;
[Tooltip("Set true if your character is always facing the wrong way")]
public bool flipFix = true;
publ... |
using System;
using System.Collections.Generic;
using System.Threading;
using Framework.Core.Common;
using Tests.Pages.Oberon.Modals;
using Tests.Pages.Oberon.Search;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
namespace Tests.Pages.Oberon.Search
{
public class SearchExportForMai... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyBehaviour : MonoBehaviour
{
public float individualHealth;
public FloatData health;
//public FloatData speed;
public bool canDash;
public WaitForSeconds wfs;
public float holdTime = 2... |
using EasySave.Model.Job.Specialisation;
using EasySave.Model.Task;
using System;
using System.Collections.Generic;
using System.Text;
namespace EasySave.Model.Job
{
/// <summary>
/// Singleton class. Manage the differents commands and instanciate then.
/// </summary>
public sealed class JobManager : ... |
using Company.Master2.xmlmodel;
using Microsoft.master2.model;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.master2.rules
{
class Heuristics
{
public static ArrayList upd... |
namespace RosPurcell.Web.ViewModels.Pages
{
using System.Web;
using RosPurcell.Web.ViewModels.Media;
using RosPurcell.Web.ViewModels.Pages.Base;
public class HomePageViewModel : BasePageViewModel
{
public IHtmlString Copy { get; set; }
public HeroImage Image { get; set; }
}
}... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MilitaryElite.Soldiers.Privates.SpecialisedSoldiers.Engineers;
namespace MilitaryElite.Soldiers.Privates.SpecialisedSoldiers
{
public class Engineer:SpecialisedSoldier
{
public Engineer(string id, string firstNa... |
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Linq;
using System.Security.Policy;
using System.Text;
using System.Threading.Tasks;
namespace SolutionsAssembly
{
public class EvenFibonacciNumbersSolutions : ISolutionsContract
{
/// <summary>
/// C#6 Expression Bodies... |
using Hangfire;
using Hangfire.SqlServer;
using Hangfire.Redis;
using Owin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Web
{
public partial class Startup
{
public void ConfigureHangfire(IAppBuilder app)
{
//Hangfire+SqlServer(免费版)... |
using Cs_Notas.Dominio.Entities;
using Cs_Notas.Dominio.Interfaces.Repositorios;
using Cs_Notas.Dominio.Interfaces.Servicos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cs_Notas.Dominio.Servicos
{
public class ServicoEscrituras: Ser... |
using UnityEngine;
using System.Collections;
public class PlayerBulletController : MonoBehaviour
{
// Will be populated automatically when the bullet is created in PlayerStateListener
public GameObject playerObject = null;
public float bulletSpeed = 15.0f;
private float selfDestructTimer = 0.0f;
... |
using UnityEngine;
public class Controlledbykeyboard : MonoBehaviour
{
public float step = 6.0f;
// Update is called once per frame
void Update()
{
Vector3 newPos = this.transform.position;
if (Input.GetKeyDown(KeyCode.RightArrow))
newPos.z = Mathf.Round(newPos.z + step);
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Data;
namespace DMS.Utils
{
public class clsIOUtil
{
public static String GenerateTempFolderName(String zipFile)
{
FileInfo file = new FileInfo(zipFile);
String ... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading;
using System.Runtime.InteropServices;
using System.Diagnostics;
using System.Reflection;
using System.Windows;
namespace SoundServant
{
/// <summary>
/// Interaction logic ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Script.Serialization;
using Microsoft.AspNet.SignalR;
using Microsoft.AspNet.SignalR.Hubs;
namespace TrumpTown.Hubs
{
public class ScoreHub : Hub
{
private static ScoreTable _table = new S... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
namespace Allyn.Application.Dto.Manage.Basic
{
/// <summary>
/// 表示菜单实体的数据传输对象.
/// </summary>
[DataContractAttribute(Namespace = "http... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text;
using UI.Entidades;
using UI.Data;
namespace UI.Models
{
public class BusInscripcion
{
public Response<List<Evento>> EventosConBus()
{
Response<List<Evento>> result = new Respon... |
using CG.MovieApp.DataAccess.Interfaces.Dal;
using CG.MovieAppEntity.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace CG.MovieApp.DataAccess.Concrate.EntityFrameworkCore.Repository
{
public class FilmRepository:EfGenericRepository<Film>,IFilmDal
{
}
}
|
using System;
namespace Compiler.Exceptions
{
public class InvalidReturnParentException : Exception
{
public InvalidReturnParentException()
{
}
public InvalidReturnParentException(string message) : base(message)
{
Message = message;
}
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Drawing;
namespace UI
{
internal class MyFormExc03 : Form
{
private string[] Colors = { "Red", "Yellow", "Blue", "Green" };
public MyForm... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InheritanceAssignment
{
class Game
{
int numOfPlayers;
string country;
public int NumOfPlayers
{
get { return numOfPlayers; }
... |
using FluentValidation.TestHelper;
using NUnit.Framework;
using SFA.DAS.ProviderCommitments.Web.Models.Apprentice;
using SFA.DAS.ProviderCommitments.Web.Validators.Apprentice;
using System;
using System.Linq.Expressions;
namespace SFA.DAS.ProviderCommitments.Web.UnitTests.Validators.Apprentice
{
[TestFixture]
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Bb.Wordings
{
/// <summary>
/// Evaluate two <see cref="Bb.Wordings.WordType" />
/// </summary>
/// <seealso cref="System.Collections.Generic.IEqualityComparer{Bb.Wordings.WordType}" />
public class WordTypeComparer : IE... |
namespace NetEscapades.AspNetCore.SecurityHeaders.Infrastructure
{
/// <summary>
/// Various constant values used internally
/// </summary>
internal static class Constants
{
/// <summary>
/// A key for the per-request nonce
/// </summary>
internal const string Defaul... |
using System;
namespace Parliament.ProcedureEditor.Web.Models
{
public class BusinessItemCandidateModel
{
public int WorkPackagedId { get; set; }
public string WorkPackagedTripleStoreId { get; set; }
public string WorkPackagedThingName { get; set; }
public string ProcedureName ... |
using System.Threading.Tasks;
using TellMeMoreBlazor.Models.urlscanio;
namespace TellMeMoreBlazor.Interfaces
{
public interface IUrlScanIoService
{
Task<urlScanIoNewScanResponse> PostAsync(string hostName);
Task<urlScanIo> GetStatusAsync(string uuid);
}
}
|
// removed 2022-12-13 |
using System.Linq;
using System.Collections.Generic;
using System;
namespace SchemaObjectMapper
{
public class FixedWidthSchemaObjectMapper<T> : ISchemaObjectMapper<T> where T : new()
{
private readonly ISchema _schema;
public FixedWidthSchemaObjectMapper(ISchema schema)
{
... |
using System;
using Messaging.Validators;
using Messaging.Resolvers;
using Xunit;
namespace Messaging.Validators.Tests
{
public class SchemaValidatorTests
{
private readonly IResourceResolver _localResolver;
public SchemaValidatorTests()
{
_localResolver = EmbeddedResourceResolver.Create(AssemblyType.Calle... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace StudyManagement.StudyManagement
{
public partial class ContactUs : System.Web.UI.Page
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using DFC.ServiceTaxonomy.ContentApproval.Models;
using DFC.ServiceTaxonomy.ContentApproval.Models.Enums;
using DFC.ServiceTaxonomy.ContentApproval.View... |
using Allure.Commons;
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Remote;
using System;
using System.IO;
namespace TUT.by.Tests
{
public class BaseTest : AllureReport
{
private readonly string Url = "https://www.tut.by/";
public IWebDriver ... |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Linq;
namespace clustering
{
public class DBSCAN
{
private DataBase db = null;
public DataBase DB
{
set { db = value; }
}
private float epsilon = 0;
public float Epsilon
{
get { return epsilon; }
... |
public class Solution {
public int Calculate(string s) {
return Helper(s, 0).Item1;
}
public Tuple<int, int> Helper(string s, int start) {
if (start >= s.Length) return new Tuple<int, int>(0, start);
int res = 0;
int i = start;
bool isAdd = true;
while (i<s.Le... |
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using Properties.Core.Interfaces;
using Properties.Core.Objects;
using Properties.Core.Services;
namespace Properties.Tests.UnitTests.Services
{
[TestFixture]
// ReSharper disable once ... |
using System;
using System.IO;
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.SqlServerCe;
using System.Data.SqlClient;
namespace ... |
using Tomelt.ContentManagement;
namespace Tomelt.Layouts.Framework.Drivers {
public interface IContentImportSession {
ContentItem GetItemFromSession(string id);
}
} |
using System;
using System.Globalization;
using Xamarin.Forms;
namespace XF40Demo.Converters
{
internal class PowerToColour : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if (value == null)
{
... |
using Discord;
using JhinBot.DiscordObjects;
using JhinBot.Services;
using JhinBot.Enums;
using JhinBot.GlobalConst;
using JhinBot.Utils;
using System.Collections.Generic;
using System.Threading.Tasks;
using JhinBot.Factories.SubTypeFactories;
using JhinBot.Conversation;
using Discord.WebSocket;
namespace JhinBot
{
... |
using OctoFX.Core.Model;
namespace OctoFX.Core.Repository
{
public interface IQuoteRepository : IOctoFXRepository<Quote>
{
}
public class QuoteRepository : OctoFXRepository<Quote>, IQuoteRepository
{
public QuoteRepository(OctoFXContext context)
{
Context = context;
}
}
} |
namespace BenefitDeduction.EmployeeBenefitDeduction
{
public interface IBenefitDeductionItem
{
int EmployeeId { get; }
int FamilyMemberId { get; }
string FirstName { get; }
string LastName { get; }
string MiddleName { get; }
bool IsChild { get; }
bool IsE... |
using System;
namespace NStandard.Converts
{
public static class StringConvert
{
/// <summary>
/// Converts the specified string, which encodes binary data as url safe base-64 digits, to
/// an equivalent 8-bit unsigned integer array.
/// </summary>
/// <param name=... |
// Copyright (c) 2010 Michael B. Edwin Rickert
//
// See the file LICENSE.txt for copying permission.
using DisplayWindow;
using FrameGenerator;
using ICSharpCode.SharpZipLib.BZip2;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Threading;
using ... |
using UBaseline.Shared.Navigation;
using UBaseline.Shared.Property;
namespace Uintra.Features.Navigation.Models
{
public interface IUintraNavigationComposition : INavigationComposition
{
PropertyModel<bool> ShowInSubMenu { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assets
{
class TimeCounter
{
private float overallTime;
private float startTime;
private float firstLevelTime;
private float secondLevelTime;
pr... |
// <copyright file="TableOfMAXP.cs" company="WaterTrans">
// © 2020 WaterTrans
// </copyright>
namespace WaterTrans.GlyphLoader.Internal
{
/// <summary>
/// Table of MAXP.
/// </summary>
internal sealed class TableOfMAXP
{
/// <summary>
/// Initializes a new instance of the <see cr... |
using System.Globalization;
using System.Windows;
namespace WindowsUpdateNotifier
{
public partial class PopupView : Window
{
public PopupView()
{
InitializeComponent();
var workingArea = SystemParameters.WorkArea;
Left = CultureInfo.CurrentUICulture.TextIn... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
namespace CTC
{
public class GameEffect
{
protected double Elapsed = 0;
protected double Duration = 0;
public virtual void Update(GameTime Time)
{... |
using UnityEngine;
using UnityEngine.SceneManagement;
public class Initialization : MonoBehaviour {
private void Start() {
// Show status bar
Screen.fullScreen = false;
// Skip login when user logged.
if (PlayerPrefs.HasKey("token")) {
SceneManager.LoadScene("MainPage");
} else {
// Detect langu... |
using System;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using Microsoft.Win32;
namespace ZapisCteniSouboru
{
class Program
{
//Každý řádek 1 číslo od 1 do 100
//Zjisti, které se generovalo nejčastěji
static void Main(string[] args)
... |
using System.Runtime.InteropServices;
namespace Vanara.PInvoke
{
public static partial class Kernel32
{
/// <summary>Retrieves the processor group affinity of the specified process.</summary>
/// <param name="hProcess">
/// <para>A handle to the process.</para>
/// <para>
/// This handle must have the PRO... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using Hackathon;
public class TimeIndicator : TimeBehaviour
{
[SerializeField]
private Slider slider;
// Update is called once per frame
void Start()
{
var puppeteer = FindObjectOfType<Puppeteer>();
slider.maxValue =... |
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Text;
namespace PingoSnake
{
class SpawnManager
{
private List<SpawnController> SpawnControllers;
public SpawnManager()
{
this.SpawnControllers = new List<SpawnController>();
}
public void AddSpawnController(S... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Management;
using System.Reflection;
using System.Text.RegularExpressions;
using Emanate.Core.Configuration;
namespace Emanate.Service.Admin
{
class PluginConfigurationStorer
{
... |
using NfePlusAlpha.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NfePlusAlpha.Infra.Data.EntityConfig
{
public class tbClienteConfig : EntityTypeConfiguration<tbCliente>
... |
using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Epic.Training.Project.Inventory;
using Epic.Training.Project.SuppliedCode.Exceptions;
using Epic.Training.Project.Inventory.Text.Exceptions;
using Epic.Training.Project.Inventory.Text.Persistence;
using Epic.Training... |
using strange.extensions.pool.api;
using ViewModelFramework;
namespace ViewModelFramework
{
public interface IModelPool<T> : IPool<T> where T : BaseModel
{
T GetInstance(BaseModel parent, BaseModelParams param);
}
} |
using Abp.Dapper;
using Abp.EntityFrameworkCore.Configuration;
using Abp.Modules;
using Abp.Reflection.Extensions;
using Abp.Zero.EntityFrameworkCore;
using DapperExtensions;
using DapperExtensions.Mapper;
using Dg.KMS.EntityFrameworkCore.Seed;
using Dg.KMS.People;
using System.Collections.Generic;
using System.Reflec... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pyramid
{
class Program
{
static void PrintPyramid(int numOfRow)
{
for(var i = 1; i<= numOfRow; i ++)
{
for (var spaces = 1; sp... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class Item_Serializable
{
new public string name = "New Item";
//public Sprite icon = null;
public bool isDefaultItem = false;
public int type; //0: Static
//1: Equipable
... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
using OrgMan.DataContracts.Repository.RepositoryBase;
using OrgMan.DataModel;
using System.Data;
namespace OrgMan.Data.Repository.Repositorybase
{
public class GenericRepository<TEntity> : I... |
using Entity;
using System;
using System.Collections.Generic;
using System.Data;
using System.ServiceModel;
namespace Contracts.MLA
{
[ServiceContract(SessionMode = SessionMode.Required, Namespace = "http://www.noof.com/", Name = "Addendum")]
public interface IMLAService
{
[OperationContract]
bool AddAddendum(... |
using System;
class MyFirstVariable
{
static void Main()
{
int x;
x = 7;
Console.WriteLine(x);
Console.ReadLine();
}
} |
using MySql.Data.MySqlClient;
using System.Threading.Tasks;
using System.Windows;
namespace Carmotub.Data
{
public class SQLDataHelper
{
public MySqlConnection Connection { get; set; }
public SQLDataHelper()
{
}
private static SQLDataHelper _instance = null;
p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.