text stringlengths 13 6.01M |
|---|
using System;
namespace WinAppUpdater.Core
{
/// <summary>
/// Different kind of URL type.
/// </summary>
public enum URLType
{
Local
}
}
|
using Microsoft.AppCenter.Crashes;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net;
using System.Reflection;
using System.Runtime.Serialization;
using Xamarin.Forms;
namespace TimeLogger.Helpers
{
[Serializable]
public sealed class RestClientException : Exception, IS... |
using System;
using System.Linq;
using System.Runtime.InteropServices;
using Unity.Mathematics;
using UnityEngine;
using UnityTools;
using UnityTools.Common;
using UnityTools.ComputeShaderTool;
using UnityTools.Debuging;
using UnityTools.Rendering;
namespace GPUTrail
{
[StructLayout(LayoutKind.Sequential)]
public cl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProyectoLP2
{
public class Administrador : Persona
{
private double salario;
public Administrador()
{
}
public Administrador(double salario,... |
using UnityEngine;
using System.Collections;
public class GreenState : ISlutState {
private readonly StatePatternSlut slut;
public GreenState(StatePatternSlut statePatternSlut)
{
slut = statePatternSlut;
}
public void UpdateState () {
WaitForInput();
}
public void ToGr... |
using System;
using Umbraco.Core.Dashboards;
namespace Uintra.App_Plugins.Utils.Сache
{
public class CacheDashboard : IDashboard
{
public string Alias => "Cache";
public string[] Sections => new[] { "settings" };
public string View => "/App_Plugins/Utils/Сache/View/developer-cache.html";
public IAccessRu... |
using System;
using System.Runtime.InteropServices;
namespace Vlc.DotNet.Core.Interops.Signatures
{
/// <summary>
/// Get current fullscreen status.
/// </summary>
[LibVlcFunction("libvlc_get_fullscreen")]
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
internal delegate int GetFullScreen... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
namespace Ejercicio1
{
/// <summary>
/// Description of MainForm.
/// </summary>
public partial class MainForm : Form
{
public MainForm()
{
//
// The InitializeComponent() call is required... |
using AW.Sca.Data.Domain;
using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
using System.Reflection;
namespace Aw.Sca.Data.Extensions
{
public static class ModelBuilderExtensions
{
public static void SetSoftDeletableAllEntities(this ModelBuilder modelBuilder)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WebCam : MonoBehaviour
{
public int redThreshold = 10000;
public int greenThreshold = 20000;
public int blueThreshold = 150000;
public int reds = 0;
public int greens = 0;
public int blues = 0;
pu... |
using System;
using Tomelt.Caching;
using Tomelt.Events;
namespace Tomelt.DisplayManagement.Descriptors {
public interface IShapeTableManager : ISingletonDependency {
ShapeTable GetShapeTable(string themeName);
}
public interface IShapeTableProvider : IDependency {
void Discover(ShapeTab... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AbilityObject : MonoBehaviour {
[SerializeField]
private Ability ability;
public Ability Ability
{
get
{
return ability;
}
set
{
ability = valu... |
using System;
using WorldPayDotNet.Common;
namespace WorldPayDotNet.Hosted
{
public interface IHostedPaymentProcessor {
void SubmitTransaction(HostedTransactionRequest request, string MD5secretKey);
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine;
public class PlayerSelection : MonoBehaviour {
[SerializeField]
private PlayerSelect _playerSelect;
public PlayerSelect PlayerSelect { get { return _playerSelect; } set {_playerSelect = value;} }
[Se... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.Dynamic_Programming
{
/// <summary>
/// Also known as the typesetting problem used in text editors like ms word , latex, etc
/// We are given a page with a length... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DomainModels.SharedModels
{
public class OrderView
{
public string Email { get; set; }
public int ProdId { get; set; }
public int Quantity { get; set; }
public DateTime OrderDate { get; set; }
... |
using jaytwo.Common.Http;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace jaytwo.Common.Test.Http.UrlHelperTests
{
public static class AddQueryStringParameterTests
{
private static IEnumerable<TestCase... |
namespace HotelBookingSystem.Core
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Reflection;
using Controllers;
using Data;
using Endpoints;
using Interfaces;
using Utilities;
using Views;
public class Engin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
/// <summary>
/// Log 的摘要说明
/// </summary>
public class Logs
{
public int Logid;
public int Userid;
public string Headline;
public string Content;
public string Time;
public Logs(int logid)
... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
/*
The PreventGoThroughWalls script regulates what happens when the player goes through
the wall and falls outside of the network.
*/
public class PreventGoThroughWalls : MonoBehaviour {
public Image a; //The background UI Image to be shown when th... |
using Anywhere2Go.DataAccess.Object;
using System.IO;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System.ServiceModel.Web;
namespace Claimdi.WCF.Public
{
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IPolicy" in both code and config file ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Text.RegularExpressions;
using System.Dynamic;
using System.Web.Script.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace IRAPGeneralGateway
{
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JDWinService.Model
{
/// <summary>
/// 采购变更 日志
/// 编写人:ywk
/// 编写日期:2018/8/8 星期三
/// </summary>
public class JD_OrderListBG_Log
{
#region 类的属性定义
public int Ite... |
using System;
using System.Collections.Generic;
using System.IO;
using Fingo.Auth.DbAccess.Repository.Interfaces;
using Fingo.Auth.Domain.Infrastructure.EventBus.Events.Project;
using Fingo.Auth.Domain.Infrastructure.EventBus.Interfaces;
using Fingo.Auth.Domain.Models.UserModels;
using Fingo.Auth.ManagementApp.Service... |
using ServiceQuotes.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace ServiceQuotes.Domain.Repositories
{
public interface IServiceRequestJobValuationRepository : IRepository<ServiceRequestJobValuation>
{
Task<ServiceRequestJobValuation> GetByServ... |
using MyMovies.Domain.Enums;
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace MyMovies.Domain.Entities
{
public class Item : Entity
{
public ItemType ItemType { get; set; }
public SourceType SourceType { get; set; }
public Guid? UserId { get; set; }
... |
using System.Collections.Immutable;
namespace GraphQLDynamic.Model
{
public record TypeDefinition
(
ImmutableList<AttributeDefinition> AttributeDefinitions,
ImmutableList<Relationship> Relationships
);
}
|
using Android.App;
using Android.OS;
using Android.Widget;
using Billetautomat.CustomAdapter;
using Billetautomat.Services;
using Xamarin.Essentials;
namespace Billetautomat
{
[Activity(Label = "BookingsListActivity")]
public class BookingsListActivity: Activity
{
private List... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Verse;
using RimWorld;
namespace Replace_Stuff.CoolersOverWalls
{
//Designator_Build and _Dropdown both create their own dropdown list but only one shows
//That'll be _build designators with thi... |
using System.Data.Entity.ModelConfiguration;
using Properties.Core.Objects;
namespace Properties.Infrastructure.Data.Mapping
{
public class LandlordMap : EntityTypeConfiguration<Landlord>
{
public LandlordMap()
{
/*HasMany(p => p.SubmittedProperties)
.WithOptional()... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace Senparc.Web.Migrations
{
public partial class AddActivityScheduleStatusFiledDb : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "ScheduleSta... |
using EmberKernel.Plugins.Components;
using System;
using System.Collections.Generic;
using System.Text;
namespace EmberMemory.Listener
{
public static class ProcessListenerBuilderExtensions
{
public static void UseProcessListener(this IComponentBuilder builder, Func<ProcessListenerBuilder, ProcessLis... |
using System;
using System.Globalization;
namespace EXERCICIOENTRADA {
class Program {
static void Main(string[] args) {
Console.WriteLine("Entre com seu nome completo:");
string nome = Console.ReadLine();
Console.WriteLine("Quantos quartos tem na sua casa?");
... |
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using TryHardForum.Models;
namespace TryHardForum.Data
{
public class AppUserDbContext : IdentityDbContext<AppUser>
{
public AppUserDbContext(DbContextOptions<AppUserDbContext> options) : base(options) { }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using UberCarAPI.Models;
namespace UberCarAPI.Controllers
{
[Route("api/[controller]")]
[ApiController]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mediator
{
class Program
{
static void Main(string[] args)
{
NotaDeCredito n = new NotaDeCredito();
n.Destinatario = "Lopez";
n.Nume... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EmissionAudioReact : AudioReact {
public override void react(float sumOfTotals, float maxLevel) {
Color colour = new Color();
colour.r = sumOfTotals / maxLevel;
colour.b = sumOfTotals / maxLevel;
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace Upgrader.Infrastructure
{
internal static class Validate
{
public static void MaxLength(string argument, string argumentName, int maxLength)
{
if (argument != null && argument.Len... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Welic.Dominio.Patterns.Pattern.Ef6;
namespace Welic.Dominio.Models.Marketplaces.Entityes
{
public partial class EmailTemplate : Entity
{
public int ID { get; set; }
public ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EffectBind : ExecuteBase
{
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BusinessEntities
{
public class UsuarioBE
{
public int id { get; set; }
public string usuario { get; set; }
public string nombew { get; set; }
public str... |
using System;
using System.IO;
using System.Linq;
using System.Text;
namespace Even_Lines
{
class Program
{
static void Main(string[] args)
{
var file = new StreamReader("../../../Input.txt");
var text = new StringBuilder();
while (true)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VerbiLib.ParserV1
{
public class VerbiSyntax1
{
public VerbiDeclaration[] Declarations { get; set; }
public override bool Equals(object obj)
{
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Json;
using System.Text;
namespace DotNetBridge
{
[ComVisible(true)]
[ClassInterface(ClassIn... |
using UnityEngine;
using System.Collections;
public class ThirdPersonCamera : MonoBehaviour
{
public bool lockCursor;
public float mouseSensitivity = 10;
public Transform target;
public Vector2 pitchMinMax = new Vector2(-40, 85);
public float ScrollSensitvity = 2f;
public float ScrollDampening = 6f;
public ... |
using Puppeteer.Core.WorldState;
namespace Puppeteer.Core
{
public class PuppeteerGoal : SortableGoal<string, object>
{
public System.Guid DescriptionGUID { get; set; }
}
} |
using System;
using System.Threading.Tasks;
using UBaseline.Shared.Node;
using Uintra.Core.Activity;
using Uintra.Core.Activity.Entities;
using Uintra.Features.Comments.Links;
using Uintra.Features.Comments.Models;
using Uintra.Features.Events.Entities;
using Uintra.Features.Groups.Links;
using Uintra.Features.Groups.... |
using System;
using System.Web.Mvc;
using DevExpress.Web.Mvc;
namespace DevExpress.Web.Demos {
public partial class GridViewController : DemoController {
public ActionResult InlineEditing() {
return DemoView("InlineEditing", NorthwindDataProvider.GetEditableProducts());
}
[Valid... |
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 Presentation.QLBSX_BUS_WebService;
/**
* Tên Đề Tài; Phần Mền Quản Lý Biển Số Xe và Vi Phạm Giao Thông(VLNM (Vehicle l... |
using System;
using System.Collections.Generic;
using Pe.Stracon.SGC.Infraestructura.Core.Base;
using Pe.Stracon.SGC.Infraestructura.QueryModel.Contractual;
using Pe.Stracon.Politicas.Aplicacion.TransferObject.Response.General;
namespace Pe.Stracon.SGC.Infraestructura.Core.QueryContract.Contractual
{
public inter... |
using System.Collections.Generic;
namespace TC.Internal {
public interface ITracked {
int Index { get; set; }
}
public abstract class Tracker<T> where T : class, ITracked {
public static List<T> All = new List<T>();
public static void Register(T item) {
item.Index = All.Count;
All.Add(ite... |
using EPI.Graphs.Algorithms;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EPI.UnitTests.Graphs.Algorithms
{
[TestClass]
public class TopologicalSortUnitTest
{
private AdjacencyListGraph graph;
[TestInitialize]
public void Setup()
{
... |
using System;
using System.Collections.Generic;
namespace ITMakesSense.CSharp.Enumerations
{
public class Enumeration<TEnumeration, TValue> : IEquatable<Enumeration<TEnumeration, TValue>>, IComparable<Enumeration<TEnumeration, TValue>>
where TEnumeration : Enumeration<TEnumeration, TValue>
where TV... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System;
public class LaserButtonClicker : MonoBehaviour
{
SteamVR_LaserPointer laserPointer;
InteractiveObject targetObj;
private int deviceIndex = -1;
private SteamVR_Controller.Device controller;
bool pointerOnButton = fals... |
namespace GatewayEDI.Logging.Factories
{
/// <summary> A delegate that is used by the <see cref="DelegateFactory" /> in order to get a named log if its <see cref="DelegateFactory.GetLog(string)" /> method is being invoked. </summary>
/// <returns> The log implementation that is being resolved based on the requ... |
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 Plus1.Models;
namespace Plus1.Controllers
{
public class CategoriesController : Controller
{
private ApplicationDbContext db =... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Welic.Dominio.Models.Marketplaces.Entityes
{
[MetadataType(typeof(ContentPageMetaData))]
public partial class ContentPage
{
[NotMapped]
public string Author { get; set; }
}
p... |
using Shiftgram.Core.Models;
using Shiftgram.Core.Strategy;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Shiftgram.Core.Repository
{
public interface IAccountRepository: IRepository<Account>, IUpdatableAccount
{
Task<IEnumerable<Account>> GetAll();
Task<Account> GetByPhone(string ph... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EBS.Domain.ValueObject
{
public enum SaleOrderStatus
{
[Description("作废")]
Cancel = -1,
[Description("初始")]
Create = 1,
... |
using SocialWorld.Entities.Concrete;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SocialWorld.DataAccess.Interfaces
{
public interface IAppRoleDal : IGenericDal<AppRole>
{
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OK_LaserMove : MonoBehaviour {
public float fl_speed;
public GameObject mGO_Ship;
public Vector3 V3_ShipPos;
// Use this for initialization
void Start () {
mGO_Ship = GameObject.Fin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.PlatformAbstractions;
using Wee.UI.Core.Registers;
using Wee.Common.Contracts;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Mvc;
... |
using Autofac;
using SSW.RulesSearchCore.ConsoleRunner.Commands;
using SSW.RulesSearchCore.Data.SharePoint;
using SSW.RulesSearchCore.Elastic;
namespace SSW.RulesSearchCore.ConsoleRunner
{
public static class AutofacContainerFactory
{
public static IContainer CreateContainer()
{
v... |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace BieProduccion.Models
{
public class OrdersResponse
{
[JsonProperty("ordenProduccion")]
public List<OrdenProduccion> OrdenProduccion { get; set; }
}
}
|
using gView.Framework.Carto;
using gView.Framework.Geometry;
using gView.Framework.IO;
using gView.Framework.Symbology.UI;
using gView.Framework.system;
using gView.Framework.UI;
using gView.GraphicsEngine;
using gView.GraphicsEngine.Abstraction;
using System.ComponentModel;
using System.Reflection;
namespace gView.F... |
using System;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using WindowsUpdateNotifier.Versioning;
namespace WindowsUpdateNotifier
{
public class VersionHelper : IVersionHelper
{
public VersionHelper()
{
var info = FileVersionInfo.GetVersio... |
using NStandard.Caching;
using NStandard.Diagnostics;
using System;
using System.Linq;
using System.Threading;
using Xunit;
namespace NStandard.Test
{
public class CacheTests
{
[Fact]
public void Test1()
{
var cache = new Cache<DateTime>
{
CacheM... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public static class CacheManager {
public static void CachePrefabs(out Queue<GameObject> queue, int collectionSize, GameObject prefab) {
queue = new Queue<GameObject>(collectionSize);
for ( int i = 0; i < collectionSize; i++ ) {
G... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using MVCRoleTop.Models;
using MVCRoleTop.Repositories;
using MVCRoleTop.ViewModel;
namespace MVCRoleTop.Controllers
{
public ... |
using Alabo.Data.People.Circles.Domain.Entities;
using Alabo.Domains.Repositories;
using MongoDB.Bson;
namespace Alabo.Data.People.Circles.Domain.Repositories
{
public interface ICircleRepository : IRepository<Circle, ObjectId>
{
}
} |
using System.Collections.Generic;
using OnlineClinic.Data.Entities;
namespace OnlineClinic.Data.Repositories
{
public interface ISpecializationRepository: IRepository<Specialization>
{
Dictionary<int, string> GetSpecializationIdAndNames();
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using IPTables.Net.Exceptions;
using IPTables.Net.Iptables.IpSet.Adapter;
using IPTables.Net.Supporting;
namespace IPTables.Net.Iptables.IpSet
{
public class IpSetSets
{
private ... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using StarlightRiver.Codex;
using System;
using System.Linq;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.ModLoader;
using Terraria.ObjectData;
namespace StarlightRiver
{
public static class Helper
{
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
namespace WhatNEXT
{
public static class Utility
{
public static int GetSizeOfObject(object obj)
{
//object v = null;
//int size = 0;
... |
namespace Euler.Regions
{
public class ZTouchDevice : ITouchDevice
{
public int[][] GetScreenState()
{
return new int[][]{
new []{0, 0, 0, 0, 0},
new []{0, 0, 0, 0, 0},
new []{0, 0, 0, 0, 0},
new []{0, 0, 0, 0, 0},
... |
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Aquamonix.Mobile.Lib.Extensions;
using Aquamonix.Mobile.Lib.Utilities;
namespace Aquamonix.Mobile.Lib.Domain
{
[DataContract]
public class UserResponseObject
{
[DataMember(Name = PropertyNames.Name)]
public string Name { ... |
using System;
namespace Phenix.Business
{
/// <summary>
/// 实体基类
/// </summary>
[Serializable]
public abstract class EntityBase<T> : Phenix.Core.Data.EntityBase<T>
where T : EntityBase<T>
{
/// <summary>
/// for CreateInstance
/// </summary>
protected EntityBase()
{
//禁止添加代码
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.ServiceModel.Description;
using System.Text;
using System.Threading.Tasks;
namespace Nac.Wcf.Common {
[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerSession)]
public class NacWcfServer<TIn... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Midterm_BeerStorePOS
{
public enum Menu
{
OrderItems = 1,
ViewCart,
InventoryManager,
Exit
}
}
|
using MasterDetail.Servicio;
using MasterDetail;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.PlatformConfiguration;
using System.Net.Http;
using System.Text.RegularExpressions;
namespace MasterDetail
{
public partial... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Stratego
{
class Board
{
public int[,] GameBoard { get; set; }
public Board(int n)
{
GameBoard = new int[n, n];
}
public Board()
... |
using jaytwo.Common.Extensions;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace jaytwo.Common.Test.Time
{
[TestFixture]
public static class DateTimeExtensionsTests
{
[Test]
public static void TruncateToSecondPrecision()
{
Assert.AreEqu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using SimpleTaskListSPA.Data;
using SimpleTaskListSPA.Data.DTO;
namespace SimpleTaskListSPA.Models.Repo
{
public interface ITaskItemRepo : IBaseRepo<TaskItem>
{
Task<TaskItem> GetTaskAsync(long id);
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AnyTest.MobileClient
{
public interface IPopUp
{
void Long(string message);
void Short(string message);
}
}
|
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text.RegularExpressions;
class StringMatrixRotation
{
static void Main()
{
List<string> inputList = new List<string>();
string pattern = @"(?<=\()\d+(?=\))";
Regex rxRegex = new Regex(pat... |
using System;
namespace Travelling
{
class Program
{
static void Main(string[] args)
{
string destinationCommand = Console.ReadLine();
while (destinationCommand != "End")
{
double moneyNeeded = double.Parse(Console.ReadLine());
... |
using System;
using System.Collections.Generic;
using System.IO;
using com.Sconit.Entity.MRP.ORD;
using com.Sconit.Entity.MRP.TRANS;
using com.Sconit.Entity.MRP.VIEW;
using System.Text;
using com.Sconit.Entity.SCM;
using com.Sconit.Entity.PRD;
//TODO: Add other using statements here.
namespace com.Sconit.Service.MRP
... |
using UnityEngine;
public class SoundManager : MonoBehaviour
{
[SerializeField] private AudioClip[] audioClips = null;
[SerializeField] private AudioSource AudioSource = null;
public void PlaySound(int num)
{
AudioSource.PlayOneShot(audioClips[num]);
}
}
|
using System.Windows.Controls;
namespace MinecraftToolsBox.Commands
{
/// <summary>
/// EntityFriend.xaml 的交互逻辑
/// </summary>
public partial class EntityFriend : Grid
{
public EntityFriend()
{
InitializeComponent();
}
public void Enable(string id)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ManageDomain;
namespace ManageWeb.Controllers
{
public class ProjectController : ManageBaseController
{
//
// GET: /Project/
public ActionResult Index(string keywords, int p... |
using System;
using System.Collections;
using System.Collections.Generic;
using com.Sconit.Entity;
using System.ComponentModel.DataAnnotations;
//TODO: Add other using statements here
namespace com.Sconit.Entity.FMS
{
[Serializable]
public partial class FacilityCategory : EntityBase, IAuditable
{
... |
// <copyright file="WebpackOptions.cs" company="Morten Larsen">
// Copyright (c) Morten Larsen. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
// </copyright>
// ReSharper disable AutoPropertyCanBeMadeGetOnly.Global
// ReSharper disable Un... |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or or http://www.opensource.org/licenses/mit-license.php.
using FiiiChain.Data;
using FiiiChain.DataAgent;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Tex... |
using System;
namespace Miner
{
class Program
{
static void Main(string[] args)
{
var n = int.Parse(Console.ReadLine());
var commands = Console.ReadLine().Split(" ",StringSplitOptions.RemoveEmptyEntries);
var matrix = new char[n, n];
var minerRow... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using ApartmentApps.Api.ViewModels;
using ApartmentApps.Data;
using ApartmentApps.Forms;
using ApartmentApps.Portal.Controllers;
using ExpressiveAnnotations.Attributes;
using Ninject;
namespace Apa... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Road : ReusableObject
{
public override void OnSpawn()
{
}
public override void OnUnSpawn()
{
var itemChild = transform.Find("Item");
if (itemChild != null)
{
... |
/*-------------------------------------------------------------------------------------------
* Copyright (c) Fuyuno Mikazuki / Natsuneko. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*----------------------------------------------------------------... |
using System;
using System.Web.Http;
using Umbraco.Core;
using Umbraco.Core.Models;
using Umbraco.Web.Mvc;
using Umbraco.Web.WebApi;
using Umbraco.Web.WebApi.Filters;
using Vendr.Checkout.Services;
using Vendr.Core.Api;
namespace Vendr.Checkout.Web.Controllers
{
[PluginController("VendrCheckout")]
public clas... |
namespace MonitoramentoBasesSql.Models
{
public class Alerta
{
public string baseDados { get; set; }
public string alerta { get; set; }
}
} |
using System;
using System.Collections.Generic;
namespace ProduceWithPandas.Models
{
public class DoubanPostCache
{
public DateTime LastUpdateDate { get; set; }
public bool Initialized { get; set; } = false;
public List<DoubanReply> Replies { get; set; } = new List<DoubanReply>();
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.