text stringlengths 13 6.01M |
|---|
namespace Nca.Valdr.Tests.DTOs
{
using Resources.Localization;
using System;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
/// <summary>
/// Person's data transfer object
/// </summary>
[DataContract(Name = "person")]
[ValdrType(Name = "person")]
... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Xml;
using UnityEngine.UI;
using System.Linq;
[System.Serializable]
public struct Hantu
{
public string Name,File,Element,Attack,Defense,HP,Type,Lore;
}
[System.Serializable]
public clas... |
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
using UnityEngine.UIElements;
using UnityAtoms.Editor;
using UnityEngine;
namespace UnityAtoms.BaseAtoms.Editor
{
/// <summary>
/// Event property drawer of type `Collider2DPair`. Inherits from `AtomEventEditor<Collider2DPair, Collider2DPairEvent>`. Only avail... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using OUTDOOR.src.tools.objects;
using OUTDOOR.src.tools.database;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WF.EAI.Web.UCA.RetailBanking.Wealth.Views.TestNDebug.jasmine
{
public partial class SpecRunnerWMG : System.Web.UI.Page
{
protected void Page_L... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace tools
{
public delegate void isEndEvent();
public partial class WindowsMediaPlayControl : Form
{
... |
namespace CheckIt.Tests.CheckAssembly
{
using System.Linq;
using Xunit;
public class CheckAssemblyTests
{
public CheckAssemblyTests()
{
AssemblySetup.Initialize();
}
[Fact]
public void Should_check_assembly_information_when_match_one_assembly()
... |
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace Predictr.Data.Migrations
{
public partial class changeawayteamscoretoawayscore : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Re... |
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Mvc;
namespace MeeToo.Websiite.Controllers
{
[Route("auth/[controller]")]
public class CookieController : Controller
{
[HttpPost]
[Route("generate")]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace DelftTools.Functions.Tests
{
[TestFixture]
public class TimeSeriesFactoryTest
{
[Test]
public void CanCreateWaterLevelSeries()
{
var waterLevelSeries =... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
namespace Models.DbModels
{
public class TaskManagerContext : DbContext
{
public TaskManagerContext(DbContextOptions<TaskManagerContext> options) : base(options)
{
}
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Person
{
class Person
{
private string name;
private string email;
private int age;
public Person(string name,int age) :this(name,age,"Default")
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace MChooser.RandomNumberGeneration
{
public class StrongRandom : RandomNumberGenerator
{
private static RandomNumberGenerator rand;
... |
using System;
namespace SFA.DAS.ProviderCommitments.Infrastructure.OuterApi.Responses
{
public class GetOverlapRequestQueryResult
{
public long? DraftApprenticeshipId { get; set; }
public long? PreviousApprenticeshipId { get; set; }
public DateTime? CreatedOn { get; set; }
}
}
|
namespace Z.Framework.DbEntity
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class T_ACCOUNT_DEPT
{
public int ID { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LHRLA.Core.ViewModel
{
public class MenuVM
{
public int? UserId { get; set; }
public int? SectionID { get; set; }
public string Section { get; set; }
p... |
namespace Z.Framework.DbEntity
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class T_DEPT
{
[System.Diagnostics.CodeAnalysis.Suppress... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
namespace ArrangeOffice
{
class HandleDataTable
{
public DataTable handleDataLog(DataTable dataLog)
{
dataLog.Columns.Add("進出貨時間");
... |
using UnityEngine;
using System;
using System.IO;
using System.Collections.Generic;
using System.Text.RegularExpressions;
public static class CSVReader
{
public static List<Dictionary<string, string>> ReadData(string[] dataLines, int dataCount)
{
Regex CsvParser = new Regex(",(?=(?:[^\"]*\"[^\"]*\")*(... |
using System;
using System.Xml.Serialization;
using CsvHelper.Configuration.Attributes;
namespace Parser
{
[XmlRoot(ElementName = "sales_target")]
public class SalesReceipt
{
[Index(0)]
[XmlAttribute(AttributeName = "id")]
public int Id { get; set; }
[Index(1)]
[XmlE... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UIManager : MonoBehaviour
{
public Image healthBar;// variavel do tipo imagem
public static UIManager instance;
private void Awake()
{
instance = this;
}
public void Upd... |
using System;
namespace BlazorShared.Models.Schedule
{
public class DeleteScheduleResponse : BaseResponse
{
public DeleteScheduleResponse(Guid correlationId) : base(correlationId)
{
}
public DeleteScheduleResponse()
{
}
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EarthWeapon : MonoBehaviour
{
public GameObject ball;
public GameObject player;
Vector3 risePos;
static bool goTowards;
bool rise, face;
public static float count = 0;
public static float speed... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SphericalGeodesic : MonoBehaviour
{
// set endpoints in spherical coordinates
public float rho = 1.0f; // radius/scaling factor
public float ntheta1 = 0.0f; // azimuthal angle/pi
public float nphi1 = 0.... |
namespace Sentry.AspNetCore.Tests;
internal static class VerifyHelper
{
public static SettingsTask ScrubAspMembers(this SettingsTask settings)
{
return settings
.IgnoreMembers("ConnectionId", "RequestId")
.ScrubLinesWithReplace(_ => _.Split(new[] {" (Sentry.AspNetCore.Tests) "}... |
using System.IO;
using System.Threading.Tasks;
using JetBrains.Annotations;
using SpeedSlidingTrainer.Application.Infrastructure;
namespace SpeedSlidingTrainer.Desktop.Infrastructure
{
public sealed class FileDataStorage : IDataStorage
{
public async Task<byte[]> Load([NotNull] string fileName)
... |
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class MainGameScript : MonoBehaviour {
private GameStateManager gsm = null;
public GameObject Opponent1GO;
public GameObject Opponent2GO;
public GameObject Opponent3GO;
public GameObject popupGO; // Re... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UserCarIconController : MonoBehaviour
{
private bool noNewParent; // boolean to check for parent to avoid unnecessary processing
private Transform currParent, newParent; // Current and new parents
// Start is calle... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
public class DataCopyer : EditorWindow
{
GameObject src, dst;
bool normalizeName = true;
[MenuItem("DesktopMascot/DataCopyer")]
private static void ShowWindow()
{
var window = GetWindow<DataC... |
using AlgorithmProblems.Linked_List.Linked_List_Helper;
using AlgorithmProblems.Stack_and_Queue.Stack_Helper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.Stack_and_Queue
{
/// <summary>
/// Here the trick is to... |
using System;
using System.Collections.Generic;
namespace Axon
{
public class Scene
{
public List<Entity> Cameras;
public List<Entity> Entities;
public List<Light> Lights;
public Scene()
{
Cameras = new List<Entity>();
Entitie... |
namespace gView.DataSources.MongoDb
{
static public class Extensions
{
static public string ToFeatureClassCollectionName(this string name)
{
return MongoDbDataset.FeatureCollectionNamePrefix + name.ToLower();
}
}
}
|
using MediatR;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using WebsiteManagerPanel.Commands.UsersInsertCommand;
using WebsiteManagerPanel.Framework.Extensions;
using WebsiteManagerPanel.Query;
using WebsiteManagerPanel.Models;
namespace WebAPI.Controllers
{
pu... |
using Alabo.Domains.Entities;
using MongoDB.Bson;
using System.ComponentModel.DataAnnotations.Schema;
namespace Alabo.Cloud.People.UserDigitals.Domain.Entities
{
/// <summary>
/// 数字画像索引
/// </summary>
[Table("Cloud_People_UserDigitalIndex")]
public class UserDigitalIndex : AggregateMongodbUse... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using CleverScheduleProject.Data;
using CleverScheduleProject.Models;
using System.Security.Claims;
using Cleve... |
using log4net;
using SAPbouiCOM.Framework;
using System;
namespace Devsoft.AddonBase.ApplicationEvents
{
public static class ItemEvent
{
static readonly ILog log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
public static void SBO_Application_ItemEvent(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MediaInfo
{
class Orquestra
{
public string OrqName { get; set; }
public string ImageFile { get; set; }
public string Info_1 { get; set; }
public string... |
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 Cradiator.Converters;
using NUnit.Framework;
using Shouldly;
namespace Cradiator.Tests.Converters
{
[TestFixture]
public class InstalledVoiceConverter_Tests
{
const string dummy = "dummy";
InstalledVoiceConverter _converter;
[SetUp]
public void SetUp()
{
_converter = new InstalledVoiceCon... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GDS.Entity
{
[Serializable]
public class Department : ModelBase
{
public string DepmentNo { get; set; }
public string Name { get; set; }
public string NameE... |
using BLL.Dto;
using BLL.Dto.BankSpecificExpenseModels;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace BLL.Helpers
{
//TODO: Remove this abstraction. Every bank helper will be too unique to be generalized as IBankHelper
public interface IBankHelper
... |
using JhinBot.DiscordObjects;
using Microsoft.EntityFrameworkCore;
using System.Linq;
namespace JhinBot.Database.Implementation
{
public class TagSQLiteRepo : Repository<Tag>, ITagRepository
{
public TagSQLiteRepo(DbContext context) : base(context)
{
}
public Tag RetrieveByNam... |
using gView.Framework.system;
using System.Collections.Generic;
namespace gView.Framework.Network.Build
{
class NetworkGraphEdge
{
private int _fromNodeIndex = -1, _toNodeIndex = -1, _edgeIndex = -1;
private double _length, _geolength;
public NetworkGraphEdge(int fromNode, int toNode, ... |
using IWorkFlow.Host;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IWorkFlow.ORM;
using System.Data;
using Newtonsoft.Json;
namespace BizService.Services.B_OA_AddressBookSvc
{
// created by zhoushining
class B_OA_Address... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CalculatorDemo
{
static class Calculator
{
public static double Add(double num1, double num2)
{
double result = num1 + num2;
retu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Euler_Logic.Problems {
public class Problem2 : ProblemBase {
public override string ProblemName {
get { return "2: Even Fibonacci numbers"; }
}
public ... |
using System;
namespace HTB.Database.HTB.StoredProcs
{
public class spGetAktsAssignedToWrongUser : Record
{
public int AktIntId { get; set; }
public DateTime EnterDate { get; set; }
public DateTime DueDate { get; set; }
public string ClientFirstName { get; set; }
public string ClientLast... |
using System;
using System.IO;
using Library;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Serilog;
namespace App
{
class Program
{
static void Main()
{
var builder = new ConfigurationBuilder()
.SetBasePath(AppConte... |
using Dapper;
using Restaurants.Data.Factory;
using Restaurants.Domain;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
namespace Restaurants.Data.Repositories
{
public class RestaurantRepository : RepositoryBase<Restaurant>, IRestaurantRepository
{
public RestaurantR... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace BanSupport
{
/// <summary>
/// 用于表示一个矩形区域的四个边界的世界坐标
/// </summary>
public struct RectBounds
{
//左边界的位置
public float left;
//右边界的位置(更大的那个)
public float right;
//上边界的位置(更大的那个)
public float up;
//下边界的位置
public ... |
namespace Pentagon.Extensions.Localization.EntityFramework.Entities {
using System;
using EntityFrameworkCore;
using EntityFrameworkCore.Interfaces.Entities;
/// <summary> Represents an EF entity for table 'CultureResource'. </summary>
public class CultureResourceEntity : Entity,
... |
using System;
namespace Properties.Models
{
public class CaselistEntry
{
public string PropertyReference { get; set; }
public string PipelinePosition { get; set; }
public DateTime AvailableDate { get; set; }
}
} |
using TheWeatherApp.Helpers;
namespace TheWeatherApp.Models
{
public class UserPosition
{
public double Latitude { get; set; }
public double Longitude { get; set; }
public bool Success { get; set; }
public Enums.LocationErrorMessage ErrorMessage { get; set; }
}
}
|
using System;
namespace skdglq
{
class Program
{
static void Generate(int[] array)
{
Random random = new Random();
for (int i = 0; i < array.Length; i++)
{
array[i] = random.Next(-10, 11);
}
}
static void Add(ref... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//**********************************************************************
//
// 文件名称(File Name):AddNodeMonitorRequest.CS
// 功能描述(Description):
// 作者(Author):Aministrator ... |
using FluentAssertions;
using Xunit;
namespace MaxWithoutCompare.Test
{
public class MaxCalculatorTest
{
[Theory]
[InlineData(127, 212, 212)]
[InlineData(25, 11, 25)]
[InlineData(1, -2, 1)]
[InlineData(-10, -2, -2)]
[InlineData(100, 100, 100)]
... |
using Microsoft.EntityFrameworkCore;
using BuiltCodeAPI.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BuiltCodeAPI.Data
{
public class ApplicationDbContext : DbContext
{
public ApplicationDbContext(DbContextOptions<ApplicationDbConte... |
using ConfigureSettings.API.Models;
using Microsoft.EntityFrameworkCore;
namespace ConfigureSettings.API.Context
{
public class SettingsContext : DbContext
{
public SettingsContext(DbContextOptions options)
: base(options)
{
}
public DbSet<Settings> Settings { get; ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using WindowsFormsApplication2;
using System.IO;
public partial class qyxqdaochu : System.Web.UI.Page
... |
using Compent.Shared.DependencyInjection.Contract;
using Uintra.Features.OpenGraph.Services.Contracts;
using Uintra.Features.OpenGraph.Services.Implementations;
namespace Uintra.Features.OpenGraph.InjectModules
{
public class OpenGraphInjectModule : IInjectModule
{
public IDependencyCollection Registe... |
// Copyright (c) Christopher Clayton. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace praxicloud.core.metrics.simpleprovider
{
#region Using Clauses
using praxicloud.core.security;
using System;
using System.Collectio... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
public class MovementScript : MonoBehaviour {
// Start is called before the first frame update
private Rigidbody2D rigidbody;
private Vector2 direction = new Vector2(0, 0);
private bool moving = true;... |
using DigitalFormsSteamLeak.Business;
using DigitalFormsSteamLeak.Entity.IModels;
using DigitalFormsSteamLeak.Entity.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DigitalFormsSte... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using canopyws.Models;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace canopyws.Controllers
{
[Route("api... |
namespace iPhoneController.Net
{
using System;
using System.IO;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
using iPhoneController.Diagnostics;
using iPhoneController.Models;
using iPhoneController.Utils;
... |
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using XF40Demo.Models;
namespace XF40Demo.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class PowerView : ContentView
{
#region Properties
public static BindableProperty PowerProperty = BindableProperty.Create(nameo... |
using Android.Content;
using Android.Gms.Ads;
using Android.Preferences;
using Android.Runtime;
using Android.Util;
using Android.Views;
using Android.Widget;
using System;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
namespace aairvid.Ads
{
public class AdsLayout : L... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GeekBrains2
{
class Program
{
//[Flags]
enum Month
{
January = 1,
February,
March,
April,
May,
... |
using System;
using System.ServiceModel;
using DataAccess.Exceptions;
using DataAccess.Repository;
using Domain;
namespace Services
{
public class EntryService : IEntryService
{
private readonly IEntryRepository _entryRepository;
public EntryService(IEntryRepository entryRepository)
{... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace com.Sconit.Entity.SI.SD_TMS
{
[Serializable]
public class TransportOrderDetail
{
public Int32 Id { get; set; }
public string OrderNo { get; set; }
public Int32 Sequence { get; set; }
... |
using Report_ClassLibrary;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.Common;
using System.Data.OleDb;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Web;
using System.Web.UI;
usin... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.Extensions.Configuration;
using System.IO;
namespace DB_CQRS.DB.Driver.EntityFramework
{
public class OrderDbContextFactory : IDesignTimeDbContextFactory<OrderDBContext>
{
public OrderDbContextFactory()
... |
using System;
namespace WorkingWithDelegates
{
delegate void MulticastDelegate();
class Demo2
{
public static void Run()
{
Console.WriteLine("\n=== Multicast Delegate With void Return Type ===");
// Register MethodOne() with multicastDelegat... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HealPlayer : MonoBehaviour {
public GameObject player;
private void OnCollisionEnter(Collision collision)
{
if (collision.gameObject.name == "ThirdPersonController")
{
print("Player has entered");
player.GetCom... |
using SnowDAL.Sorting;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Threading.Tasks;
namespace SnowDAL.Searching
{
/// <typeparam name="TEntity"></typeparam>
public class SearchQuery<TEntity... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using HotelBooking.Extensions;
using HotelBooking.M... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Payroll
{
public partial class Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
//Turn off Unobt... |
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Vellum.Automation
{
// tomrhollis addition to make use of ElementZero chat functionality
// passes messages to other EZ BDS servers and discord
// TODO: * p... |
using Invent.FerhatCengiz.Models;
using Invent.FerhatCengiz.Models.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Invent.FerhatCengiz.Business.Abstract
{
interface IMyService
{
List<InventorySales> getAllSales();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Poker.Model
{
class Combinaison
{
private string nom;
private int valeur;
public string Nom { get => nom; set => nom = value; }
public int Valeur { get... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EBS.Domain.Event
{
public class SaleOrderSyncEvent
{
}
}
|
using System;
namespace Uintra.Features.Groups.Links
{
public class GroupActivityTransferModel : GroupActivityTransferCreateModel
{
public Guid Id { get; set; }
}
} |
using System;
// you can also use other imports, for example:
// using System.Collections.Generic;
// you can write to stdout for debugging purposes, e.g.
// Console.WriteLine("this is a debug message");
class Solution {
public int solution(int[] A) {
// write your code in C# 6.0 with .NET 4.5 (Mono)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AI1
{
class Program
{
static void Main(string[] args)
{
List<State> states = new List<State>();
int count = 0, i = 0;
... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using EuroMillionsHelper.Model;
namespace UnitTestEuroMillions
{
[TestClass]
public class UnitTestDizaine
{
[TestMethod]
public void TestMethod_Dizaine_1()
{
int source = 1;
int expected = 0;
int result = Tirage.Dizaine(source);
... |
using System;
using System.Collections.Generic;
using System.Net;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using Properties.Controllers;
using Properties.Core.Interfaces;
using Properties.Core.Objects;
using Properties.Tests.Helper;
namespace Properties.Tests.UnitTests.Controllers
{
[TestFixture]... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MySql.Data;
using MySql.Data.MySqlClient;
using System.IO;
namespace Gnote.Model
{
class MNote : MysqlBase
{
//查询笔记
public MySqlDataReader list_note()
{
string sql = "SELECT * FROM `... |
using System.Text;
namespace ChatServer.Messaging.Commands
{
using System;
using System.Linq;
using System.Threading.Tasks;
using ChatProtos.Data;
using ChatProtos.Networking;
using ChatProtos.Networking.Messages;
using Google.Protobuf;
using HServer;
using HServer.Networking;
... |
using AutoMapper;
using EasyHarmonica.BLL.DTO;
using EasyHarmonica.BLL.Interfaces;
using EasyHarmonica.DAL.Entities;
using EasyHarmonica.DAL.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EasyHarmonica.BLL.Services
{
public class Notification... |
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class MainMenu : MonoBehaviour {
public int unlocked = 3;
public string debugUnlockedHearts = "1, 2, 0";
List<Button> m_buttons = new List<Button>();
// Use this for initialization
void Start (... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Draw : MonoBehaviour
{
public Material outMat;
public Material drawMat;
public Shader drawShader;
private Camera _camera;
private RenderTexture splatMap;
private RaycastHit hit;
// Start is called ... |
using ClaimProject.Config;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace ClaimProject
{
public partial class SiteMaster : MasterPage
{
ClaimFunction function = new ClaimFunction();
protected ... |
using Business.Abstract;
using Business.Concrete;
using DataAccess.Concrete.EntityFramework;
using Entities.Concrete;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebAPI.Controllers
{
[Ro... |
using System;
using Xamarin.Forms;
using ALFC_SOAP.Common;
using ALFC_SOAP.Helpers;
namespace ALFC_SOAP
{
public class BaseListItemTemplate
{
public static DataTemplate Get(string currentValue)
{
return new DataTemplate(() =>
{
Button ListItem = new Butt... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class PlayerQuests
{
public List<KillQuest> playerKillQuests = new List<KillQuest>();
// constructor
public PlayerQuests()
{
// when all tests are good, make a proper initialization
// (from save stat... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Compare
{
interface IFileCompare
{
CompareValue.Types Similar(CompareValue srcCompareValue, CompareValue tarCompareValue);
CompareValue CreateCompareValue(string path);
}
}
|
using Common.Log;
using Contracts.ContentOps;
using System;
using System.Collections.Generic;
using System.IO;
using System.ServiceModel;
using System.ServiceModel.Description;
using System.Threading.Tasks;
namespace Clients.ContentOps
{
public class ContentOpsAsyncProxy : DuplexClientBase<IContentOpsAsyncService>, ... |
/// <summary>
/// Popup Note Script
///
/// Attach to a trigger object in the game.
/// You can use the graphic provided, please give credit to the author:
/// Shadows of Elear - Deviantart.com
///
/// You may use this script for commercial purposes
///
/// http://lostmystic.com
/// Written in Unity 4.3.1
/// </summar... |
using OpenQA.Selenium;
using TeamCss__Registration.Hooks;
using TeamCss__Registration.Utilities;
namespace TeamCss__Community.PageObject
{
class CommunityPage
{
IWebDriver driver;
Wait wait = new Wait();
IWebElement clickOnSignIn => driver.FindElement(By.XPath("/html/bod... |
using Alabo.Web.Mvc.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Alabo.Framework.Tasks.Queues.Domain.Enums {
[ClassProperty(Name = "任务执行周期")]
public enum TaskQueueType {
/// <summary>
/// 单次执行
/// </summary>
[LabelCssClass(BadgeColorCalss.Default)]
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.