text stringlengths 13 6.01M |
|---|
namespace cyrka.api.domain.projects.commands.setStatus
{
public class SetStatus
{
public readonly ProjectStatus Status;
public SetStatus(ProjectStatus status)
{
Status = status;
}
}
}
|
using Microsoft.Extensions.Configuration;
using System.Collections.Generic;
namespace DamianTourBackend.Tests.UnitTests.Api
{
static class FakeConfiguration
{
public static IConfiguration Get()
{
var myConfiguration = new Dictionary<string, string>
{
{"T... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace TextRPG
{
public class Raccoon : Enemy
{
private void Start()
{
Energy = 10;
MaxEnergy = 10;
Attack = 8;
Defense = 3;
Gold = 20;
... |
namespace ParkingLot
{
using System;
using System.Collections.Generic;
public class Startup
{
public static void Main(string[] args)
{
Console.WriteLine(Execute());
}
private static string Execute()
{
var cars = new SortedSet<string>();
... |
using System;
using NUnit;
using NUnit.Framework;
using SerialPort;
namespace SerialPortTest
{
[TestFixture]
public class UnitTest1
{
[Test]
public void OpenTest()
{
var port = new Serial("COM7");
Assert.DoesNotThrow(() => port.Open());
}
}
}
|
using AngularJSAuthentication.API.Providers;
using Microsoft.Owin;
using Microsoft.Owin.Security.Facebook;
using Microsoft.Owin.Security.Google;
using Microsoft.Owin.Security.OAuth;
using Owin;
using System;
using System.Configuration;
using System.Linq;
namespace AngularJSAuthentication.API
{
public partial c... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class RoomCodeInputField : MonoBehaviour
{
const string roomCodePrefKey = "RoomCode";
public void Start()
{
//입력했던 roomCode를 저장해놓고 defaultCode로 입력해줌
string defaultCode = string.Empt... |
using TripLog.Services;
using TripLog.ViewModels;
using TripLog.Views;
using Xamarin.Forms;
namespace TripLog
{
public partial class App : Application
{
public App()
{
InitializeComponent();
MainPage = BuildMainPage();
}
protected override ... |
using System;
using MonoTouch.UIKit;
using MonoTouch.Foundation;
using System.Security.Cryptography;
using System.IO;
using System.Linq;
using System.Collections.Generic;
//
// OpenUDID.cs
// openudid
//
// initiated by Yann Lechelle (cofounder @Appsfire) on 8/28/11.
// Copyright 2011 OpenUDID.org
//
// Ported ... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
[Serializable]
public class AudioCfg
{
public int ID;
public string AssetName;
public bool Loop;
public float Volume;
public int Priority;
public int FadeIn;
public int FadeOut;
}
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Newtonsoft.Json;
namespace BattleShots
{
public class FileManager
{
public string devicePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal), "device.txt");
public string Stor... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace Assets.Scripts.AISystem
{
public class AITransition : MonoBehaviour
{
public AIDecision decision;
public AIAction toTrue;
public AIAction t... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace EDDiscovery2.Themes
{
public interface ITheme
{
string Name { get; }
Color MainBackgroundColor { get;}
Color SecondaryBackgroundColor { get;... |
using UnityEngine;
using UnityAtoms.Mobile;
namespace UnityAtoms.Mobile
{
/// <summary>
/// Event of type `TouchUserInput`. Inherits from `AtomEvent<TouchUserInput>`.
/// </summary>
[EditorIcon("atom-icon-cherry")]
[CreateAssetMenu(menuName = "Unity Atoms/Events/TouchUserInput", fileName = "T... |
using System;
using System.Collections.Generic;
using System.Text;
namespace CursoCsharp.Fundamentos
{
public class Comentarios
{
public static void Executar()
{
//cuidado com os comentarios desnecessário
Console.WriteLine("Codigo claro é sempre melhor!");
/... |
namespace DbModel.Core
{
public interface IHasUnitOfWork
{
IUnitOfWork UnitOfWork { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace AweShur.Core.Security
{
public class AppUserNoDBDecorator : AweShur.Core.Security.AppUserDecorator
{
public override void SetProperties(string objectName, int dbN... |
using System;
using SQLite;
namespace feedback.Models
{
public class Comment
{
[PrimaryKey, AutoIncrement]
public int ID { get; set; }
public string FullName { get; set; }
public string Email { get; set; }
public string Opinion { get; set; }
public Comment()
... |
using System;
namespace Juicy.WindowsService
{
/// <summary>
/// Defines the task objects that can be managed by the service
/// </summary>
public interface ITask : IDisposable
{
bool Started { get; }
string Name { get; }
void Start();
void Stop();
void Execute();
}
}
|
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Net;
using System.Web;
using System.Web.Mvc;
using VEE.Models;
using VEE.Models.BasedeDatos;
namespace VEE.Controllers
{
public class SufragiosController : Con... |
using Microsoft.Owin;
using Owin;
[assembly: OwinStartup( typeof( Proxynet.Startup ) )]
namespace Proxynet
{
public partial class Startup
{
public void Configuration( IAppBuilder app )
{
ConfigureAuth( app );
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Cookie1Source : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void btnSubmit_Click(object sender, ... |
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Utility;
/**************************************************************************************************
OBJECTIVES
This program will encapsulate the majority of my file browsing functionalities.
ARCHITECTURE
The program ... |
using UnityEngine;
using TNet;
/*
* This class reimplements TNBehavior under the Singleton pattern
*/
[RequireComponent(typeof(TNObject))]
public abstract class TNSingleton<T> : Singleton<T> where T : PimpedMonoBehaviour {
TNObject mTNO;
public TNObject tno
{
get
{
if (mTNO == null) mTNO = GetComponen... |
using NBitcoin;
using NBitcoin.Protocol;
using NBitcoin.Protocol.Behaviors;
using NBitcoin.RPC;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Backend.Models;
using WalletWasabi.Crypto;
using ... |
using SFML.Graphics;
using SFML.Window;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IcyMazeRunner.Klassen
{
class Controls : GameStates
{
Texture controlsTex;
Sprite controls;
bool isPressed = false;
... |
using System;
namespace Programas
{
class Program
{
static void Main(string[] args)
{
int[] vect = new int[10];
int suma = 0, menor = 10000, aux = 0;
float prom = 0;
Console.WriteLine("Ingrese sus numeros");
for (i... |
using System;
namespace com.Sconit.Entity.MSG
{
public partial class MessageQueue
{
#region Non O/R Mapping Properties
#endregion
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using DFrame;
namespace DPYM
{
/* 生成逻辑生产工厂 */
public class GLFactory
{
public GenerateLogic Produce(EUID productID)
{
return Produce((EGenerateLogic)productID);
}
... |
using gView.Framework.Data;
using gView.Framework.Geometry;
using gView.Framework.Globalisation;
using gView.Framework.IO;
using gView.Framework.system;
using gView.Framework.system.UI;
using gView.Framework.UI;
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using System.... |
using RoomProject.Model;
using RoomProject.View;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace RoomProject.Controller
{
class RoomController
{
RoomModel roomModel;
... |
using KingNetwork.Server.Interfaces;
namespace CubesMultiplayerDemoServer
{
public class NetworkPlayer
{
public IClientConnection IClient { get; private set; }
public float X { get; set; }
public float Y { get; set; }
public float Z { get; set; }
public bool Moved { g... |
using System;
using System.Collections.Generic;
using System.Text;
using DBDiff.Schema.Model;
namespace DBDiff.Schema.SQLServer2000.Model
{
public class ConstraintColumns:List<ConstraintColumn>
{
private Constraint parent;
internal ConstraintColumns(Constraint parent)
{
thi... |
using EmberCore.KernelServices.PluginResolver.Loader;
using EmberKernel;
using EmberKernel.Services;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
names... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Spine.Unity;
using UnityEngine.UI;
using DG.Tweening;
using AlohaCorp.UI;
public class ClearPopup : PopupComponents
{
[SerializeField] ProgressManager progressManager;
[SerializeField] SkinManager skinManager;
[SerializeFi... |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using SpaceHosting.Index.Faiss;
using SpaceHosting.Index.Sparnn;
using SpaceHosting.Index.Sparnn.Distances;
using Vostok.Logging.Abstractions;
namespace SpaceHosting.Index
{
public class IndexStoreFactory<TId, TData> : IIndexSto... |
using Core;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Threading.Tasks;
namespace DBCore
{
public static class WaybillDB
{
/// <summary>
/// список накладных за определённый год и месяц
/// </summary>
public stat... |
namespace DistributedCollections
{
public class BackplaneMessage
{
public MessageId Id { get; set; }
public int OperationCode { get; set; }
public byte[] Content { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Task2 {
class Program {
static void Main(string[] args) {
DateTime start = DateTime.Now;
TimeSpan ans = new TimeSpan();
... |
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Interactivity;
using Avalonia.Styling;
using System;
namespace WalletWasabi.Gui.Controls
{
public class ExtendedListBox : ListBox, IStyleable
{
Type IStyleable.StyleKey => typeof(ListBox);
public ExtendedListBox()
{
AddHandler(PointerPressedEven... |
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
namespace GenericScale
{
public class Scale <T> //class as the Type parameter
where T : IComparable<T> //generic CompareTo with the T
{
private T left;
private T right;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace UnityStandardAssets.CrossPlatformInput
{
public class ShowFloorText : MonoBehaviour
{
public EnemyCount enemyCount;
public Text _FloorText;
// Use this for initializati... |
using System;
using iSukces.Code.Interfaces;
namespace iSukces.Code.AutoCode
{
public partial class Generators
{
internal class ReactivePropertyGenerator : SingleClassGeneratorMultiple<Auto.ReactivePropertyAttribute>, IAutoCodeGenerator
{
private static void Single(CsClass csClass,... |
// <copyright file="IDataReader.cs" company="TreverGannonsMadExperiment">
// Copyright (c) TreverGannonsMadExperiment. All rights reserved.
// </copyright>
namespace Database
{
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Models;
... |
using System.Collections.Generic;
using System.Linq;
namespace SocialMedia.Core.CustomEntities
{
public class LoginList<T> : List<T>
{
public string Email { get; set; }
public string Password { get; set; }
public LoginList(List<T> items)
{
AddRange(items);
... |
using System;
using System.Threading;
using Phenix.Core;
namespace Phenix.StandardService.Business
{
/// <summary>
/// 同步器
/// </summary>
public sealed class Synchronizer : BaseDisposable
{
#region 单例
private Synchronizer(Action<MessageNotifyEventArgs> doMessageNotify)
: base()
{
_m... |
// ReSharper disable once CheckNamespace
namespace System.Reflection
{
public static class AssemblyExtensions
{
public static string GetApiName(this Assembly assembly, bool removeLastVerb = false)
{
if (assembly == null)
{
throw new ArgumentNullException(... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraScript : MonoBehaviour {
private GameObject player;
public float cameraSpeed = 4f;
public float offsetY = 0.05f;
// Start is called before the first frame update
void Start() {
player = GameObject.Find("... |
namespace Uintra.Core.UbaselineModels
{
public class ImageModel : UBaseline.Shared.Media.ImageModel, IGenericPropertiesComposition
{
public GenericPropertiesCompositionModel GenericProperties { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace Pokemon_Internal_Blades_CSharp
{
/// <summary>
/// Trainer class
/// </summary>
public class Trainer
{
const int MALE = 0;
const int FEMALE = 1;
/// <su... |
using Compent.Shared.Extensions.Bcl;
using Uintra.Core.Search.Converters.SearchDocumentPanelConverter;
using Uintra.Core.Search.Entities;
using Uintra.Features.Tagging.UserTags.Models;
namespace Uintra.Features.Search.Converters.Panel
{
public class UserTagsPanelSearchConverter : SearchDocumentPanelConverter<User... |
using System.IO;
namespace Crystal.Plot2D.Common
{
public static class StreamExtensions
{
public static void CopyTo(this Stream input, Stream output)
{
byte[] buffer = new byte[32768];
while (true)
{
int read = input.Read(buffer, 0, buffer.Length);
if (read <= 0)
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Menu
{
[System.Serializable]
public class Level
{
public int id_Level = -1;
public string name;
public Transform pShowEnvirenement;
public Transform pShowCar;
publi... |
using Autofac;
using ReactMusicStore.Services;
using ReactMusicStore.Services.Interfaces;
using ReactMusicStore.Services.Interfaces.Common;
namespace ReactMusicStore.Core.IoC.Modules
{
public class ApplicationCapsuleModule : Module
{
protected override void Load(ContainerBuilder builder)
{
... |
// <copyright file="ScriptTable.cs" company="WaterTrans">
// © 2020 WaterTrans
// </copyright>
using System.Collections.Generic;
namespace WaterTrans.GlyphLoader.Internal.OpenType
{
/// <summary>
/// The OpenType script table.
/// </summary>
internal sealed class ScriptTable
{
/// <summar... |
using Foundation;
using System;
using System.CodeDom.Compiler;
using UIKit;
namespace ResidentAppCross.iOS
{
public partial class GenericTableSection : SectionViewBase
{
public GenericTableSection (IntPtr handle) : base (handle)
{
}
public GenericTableSection()
{
}
public UITableView T... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Nac.Common.Control;
namespace Nac.Wpf.Common.Control {
public class NacWpfBlockIf : NacWpfBlockSeq {
public NacWpfBlockIf(NacBlockIf nacBlockIf) : base(nacBlockIf) { }
public... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace EAN.GPD.Domain.Models
{
public class UsuarioModel : BaseModel
{
[NotMapped]
public long? IdUsuario { get; set; }
public override long? GetId() => IdUsuario;
[Required(Al... |
using System.Web.Optimization;
namespace MyAngularSite
{
/// <summary>
/// Class BundleConfig.
/// </summary>
public static class BundleConfig
{
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle("~/bundles/dependencies.js")
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Verse;
using RimWorld;
using HarmonyLib;
namespace Replace_Stuff.NewThing
{
[HarmonyPatch(typeof(GenConstruct), "CanPlaceBlueprintOver")]
class CanPlaceBlueprintOverOldThing
{
//public static bool CanPlaceBlueprintOver(Bu... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ByteClubGroupTicketSystem
{
public static class TimeSlotDb
{
/// <summary>
/// Adds a time slot to the database
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LongestString
{
class Program
{
static void Main(string[] args)
{
string[] strArr = new string[]
{
"Lorem ipsum dolor sit amet, ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class RobotCursor : MonoBehaviour {
public Canvas screen;
public UserPanel user;
private RawImage cursor;
private Image loading;
private Vector2 offset;
public Vector3 rota... |
using System;
using System.Xml.Serialization;
using CsvHelper.Configuration.Attributes;
namespace Parser
{
[XmlRoot(ElementName = "age_details")]
public class AgeDetails
{
[Index(0)]
[XmlAttribute(AttributeName = "id")]
public static int Id { get; set; }
[Index(1)]
[... |
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 System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Les3Exercise1
{
struct Complex
{
private double re;
private double im;
public double Re
{
get { return re; }
set { re = value; ... |
using System.Web.Mvc;
namespace Mashup.App.Controllers
{
using System.Collections.Generic;
using Mashup.App.Infrastructure;
using Mashup.Data.Model;
using Mashup.Logic.Contracts;
using Mashup.Logic.Logic;
[Authorize]
public class RSSController : BaseController<IRSSService>
{
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using ProjectCompany.Services;
using ProjectCompany.Models;
using ProjectCompany.ViewModels;
namespace ProjectCompany.Controllers
{
[Route("api/[controller]")]... |
using AppStore.Domain.Orders;
using AppStore.Infra.CrossCutting.Logging;
using AppStore.Infra.CrossCutting.Serialization;
using AppStore.Infra.Data.Integration.Gateway;
using System;
namespace AppStore.Infra.Data.Integration
{
public class PaymentProvider : IPaymentService
{
private readonly PaymentGa... |
using UnityEngine;
using System.Collections;
/// <summary>
/// Enemy spawner.
///
/// Instantiates enemy prefabs at a time interval when the player
/// is in range.
/// </summary>
public class EnemySpawner : MonoBehaviour
{
//How often to spawn
public float spawnPeriod = 5.0f;
//How close the player has to be ... |
using System.Reflection;
using Verse;
using HarmonyLib;
namespace Kyrun.Reunion
{
[StaticConstructorOnStartup]
class Main
{
static Main()
{
var harmony = new Harmony("kyrun.mod.reunion");
harmony.PatchAll(Assembly.GetExecutingAssembly());
}
}
}
|
using Alabo.Datas.Stores;
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Entities;
using Alabo.Domains.Services.Update;
using Alabo.Extensions;
using System;
using System.Collections.Generic;
namespace Alabo.Domains.Services.View {
public abstract class ViewBaseService<TEntity, TKey> : UpdateBase<TEntity, TK... |
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Function x 2 of type `Collision`. Inherits from `AtomFunction<Collision, Collision>`.
/// </summary>
[EditorIcon("atom-icon-sand")]
public abstract class CollisionCollisionFunction : AtomFunction<Collision, Collision> { }
}
|
using UnityEngine;
using System.Collections;
public class PlayerController : MonoBehaviour {
private Rigidbody rigidbody;
public float speed = 3.0f;
public float tilt;
Animation animation;
// Use this for initialization
void Start () {
rigidbody = GetComponent<Rigidbody>();
animation = G... |
// File Prologue
// Name: Darren Moody
// CS 1400 Section 005
// Project: Lab 21
// Date: 11/12/2013
//
//
// I declare that the following code was written by me or provided
// by the instructor for this project. I understand that copying source
// code from any other source constitutes cheating, and that I will ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Xlns.BusBook.Core.Model;
namespace Xlns.BusBook.UI.Web.Models
{
public class AgenzieView
{
public List<DettaglioAgenziaView> Agenzie {get; set;}
public String SearchString { get; set; }
... |
using UnityEngine;
using UnityEngine.UI;
using SimpleJSON;
using System.Collections;
using System.Text;
using UnityEngine.SceneManagement;
using DG.Tweening;
public class Summon : MonoBehaviour
{
public Text Gold, Crystal;
public SummoningItem SummonItem;
public sanghostManager SGM;
//public Text SoulStone;
pub... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using BlogLab.Models;
namespace BlogLabModels.Blog
{
public class BlogCreate
{
public int BlogId { get; set; }
[Required(ErrorMessage = MessagesForErrors.TitleRequired)]
[M... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security;
using Microsoft.SharePoint.Client;
namespace Pe.Stracon.SGC.Presentacion.Core.Helpers
{
/// <summary>
/// Clase para Interacción con un servidor SharePoint Online
/// </summary>
public class Shar... |
using System.Linq;
using Cradiator.Config;
using Cradiator.Extensions;
using Cradiator.Model;
using NUnit.Framework;
namespace Cradiator.Tests.Model
{
[TestFixture]
public class BuildDataTransformer_Tests
{
ViewUrl _viewUrl;
IConfigSettings _configSettings;
BuildDataTransformer _transformer;
[SetUp]
pub... |
using NeuralNetLibrary.components;
using NeuralNetLibrary.components.activators;
using System;
using System.Collections.Generic;
namespace NeuralNetLibrary
{
[Serializable]
public class Layer
{
public List<Neuron> Neurons { get; private set; }
public Layer(Layer previousLayer, Activation... |
using Alabo.Exceptions;
using Alabo.Extensions;
using Alabo.Helpers;
using Alabo.Tables.Domain.Services;
using Senparc.Weixin.MP.CommonAPIs;
using Senparc.Weixin.MP.Entities;
using System;
namespace Alabo.Tool.Payment.WeiXinMp.Clients
{
/// <summary>
/// </summary>
public class WeiXinMpClient : IWeixinMpC... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Task_03
{
class TemperatureConverterImp
{
public double FromCelsToFahr(double temperatureC)
{
return 1.8 * temperatureC + 32;
}
public double FromFahrToCels(double temperatureF)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.IO;
using System.Data;
using System.Reflection;
using System.ComponentModel;
using log4net;
using Oracle.DataAccess.Client;
using IRAP.Global;
using IRAPShared;
namespace IRAPORM
{
... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Paginator
{
public static class Paginator
{
/// <summary>
/// Paginates an IQueryable; page is 1-based, 0 page size skips pagination
/// </sum... |
using System.IO;
using System.Text;
using log4net;
using log4net.Appender;
using log4net.Config;
using log4net.Core;
using log4net.Layout;
using log4net.Repository.Hierarchy;
namespace Browser.Core
{
public class Logger
{
private static string PATH_LOG = Path.Combine("Resources", "debug.log");
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bubble
{
class Program
{
static void Main(string[] args)
{
int[] a = { 6,5,4};
bubble(a);
Console.WriteLine(string.Join(",",a));
... |
public class Solution {
public int ClimbStairs(int n) {
int prev = 1;
int curr = 2;
if (n == 1) return prev;
if (n == 2) return curr;
while (n > 2) {
int temp = prev + curr;
prev = curr;
curr = temp;
n--;
}
... |
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using URl_Project.Interfaces;
using URl_Project.Models;
using URl_Project.Logging;
namespace URl_Project.Repositories
{
public ... |
using System;
namespace Character_multiplier
{
class Program
{
static void Main(string[] args)
{
string[] words = Console.ReadLine().Split();
string firstWord = words[0];
string secondWord = words[1];
int minLength = Math.Min(firstWord.Length, ... |
using System;
using System.Collections.Generic;
using Android.Runtime;
namespace RU.Tinkoff.Core.Log.Internal {
[Register ("ru/tinkoff/core/log/internal/LoggerDelegate", DoNotGenerateAcw=true)]
public abstract class LoggerDelegate : Java.Lang.Object {
internal LoggerDelegate ()
{
}
// Metadata.xml XPath f... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using System.Reflection;
using DevExpress.XtraEditors;
using DevExpress.XtraCharts;
using DevExpress.Utils;
using IRAP.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.ExceptionServices;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Genesys.WebServicesClient.Sample.Agent.WinForms
{
static class Program
{
static MainForm mainForm;
[STAThread]
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyData : CreatureData
{
public EnemyData()
{
}
}
|
using GDS.Dal;
using GDS.Entity;
using System;
using System.Collections.Generic;
using GDS.Entity.Result;
using GDS.Comon;
using GDS.Entity.Constant;
namespace GDS.BLL
{
public class BackUserRoleBindBLL
{
IBackUserRoleBindDao<BackUserRoleBind> dal;
public BackUserRoleBindBLL()
{
... |
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using zm.Levels;
using zm.Users;
using zm.Util;
namespace zm.Leaderboards
{
public class LeaderboadrsUI : MonoBehaviour
{
#region Fields and Properties
[SerializeField]
private Dropdown dropdownLevels;
[SerializeField]
private Ve... |
using System.Linq;
using Obacher.CardGame.Core;
namespace Obacher.CardGame.Poker.Analyzers
{
public sealed class Straight : IAnalyzer
{
public int GetRank()
{
return 40;
}
public bool Analyze(Hand hand)
{
return hand.IsStraight() && !hand.IsFlus... |
using System.Collections.Generic;
using System.Threading.Tasks;
using TG.Blazor.IndexedDB;
using WebApplication1.Models;
namespace WebApplication1.DataAccess
{
public abstract class RepositoryJobImpl : Repository<Job>
{
public RepositoryJobImpl(IndexedDBManager dbManager) : base(dbManager)
{
... |
using Senparc.Core.Cache.BaseCache.Redis;
using Senparc.Core.Cache.Lock;
using Senparc.Log;
using StackExchange.Redis;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace Senparc.Core.Cache
{
public interface IRedisStrategy : IBaseCacheStrategy
{
Sta... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
//**********************************************************************
//
// 文件名称(File Name):DESCryptionHelper.CS
// 功能描述(Descri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.