text stringlengths 13 6.01M |
|---|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerHealth : MonoBehaviour
{
private void OnTriggerEnter2D(Collider2D otherCollider)
{
FindObjectOfType<PlayerHealthDisplay>().LosingHealth();
Destroy(otherCollider.gameObject);
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BossAreaManager : MonoBehaviour
{
[SerializeField, Header("ボスエリアの壁用オブジェクト")]
private GameObject mBossWall;
[SerializeField, Header("ボスエリアの出入り用フラグ")]
private bool mEnter,mExit;
void Start ()
{
}
void ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Printing;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using Syst... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExperianOfficeArrangement.Models
{
public abstract class FurnitureItem : InteriorObjectBase
{
public string BrandName { get; protected set; }
protected FurnitureItem(s... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerInputController : MonoBehaviour
{
[HideInInspector] public Swimmer player;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void ... |
/* Gamecredits Cryptocurrency Gaming Network Unity3D Payment Plugin
* https://gamecredits.com or https://gamecredits.org
*
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC... |
using System;
using System.IO;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Requestrr.WebApi.RequestrrBot.DownloadClients.Overseerr;
using Requestrr.WebApi.RequestrrBot.DownloadClients.Radarr;
using Requestrr.WebApi.RequestrrBot.DownloadClients.Sonarr;
namespace Requestrr.WebApi
{
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CareerCup150.Chapter9_SortingSearch
{
public class _09_03_RotateArray
{
/*
* Given a sorted array of n integers that has been rotated an unknown number of times,
* give an O(log n) algori... |
using MGL_API.db;
using MGL_API.Model.Entity.Usuario;
using MGL_API.Model.Entrada;
using MGL_API.Model.Saida;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
//Controle Usuario
n... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AddressParser.Business
{
public enum State
{
AL, AK, AZ, AR, CF, CL, CT, DL, DC, FL,
GA, HI, ID, IL, IN, IA, KA, KY, LA, ME,
MD, MA, MI, MN, MS, MO, MT, NE, NV,... |
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tasks.Data.Domain.Model;
namespace Tasks.Identity.Stores
{
public class ApplicationUserStore: UserStore<User, Role, G... |
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreComponents.Items.Extensions
{
public static class ItemsExtensions
{
public static bool TryDequeue<T>(this ConcurrentQueue<T> queue)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _5_InterfazComun.DTO
{
public interface IDimEmployeeDTO
{
int EmployeeKey { get; set; }
//int? ParentEmployeeKey { get; set; }
string FirstName { get; set; }... |
namespace TQVaultAE.Presentation
{
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using System.Linq;
using System.IO;
using TQVaultAE.Domain.Contracts.Services;
using TQVaultAE.Presentation.Models;
using TQVaultAE.Domain.Contracts.Providers;
using System.Text.RegularExpressions;
using System.Collec... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
using DevComponents.DotNetBar;
using DevComponents.DotNetBar.Charts;
using DevComponents.DotNetBar.Charts.Style;
using TabControl = DevComponents.DotNetBar.TabControl;
namespace HPMS.Draw
{
public class DotnetChart:A... |
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Xml.Linq;
using System.Linq;
using Syste... |
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
namespace _15
{
public class Todo
{
public int TodoId { get; set; }
public string Title { get; set; }
public int Done { get; set; }
public List<Memo> Memos { get; set; }
}
public c... |
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using Todo.Application.Users.Interfaces;
using Todo.Core.Dtos;
namespace Todo.API.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class UserController : ControllerBase
{
private readonly IUserService _userService;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using ALTechTest.Classes.MusicBrainz;
using ALTechTest.DataTransferObjects;
using ALTechTest.Helpers;
using ALTechTest.Interfaces;
using ALTechTest.ParsingObjects.MusicBrainz;
using Newtonsoft.Json;
name... |
using Danmaku_no_Kyojin.Collisions;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
namespace Danmaku_no_Kyojin.BulletEngine
{
/// <summary>
/// 弾や敵オブジェクト(自身が弾源になる場合も、弾源から呼び出される場合もあります)
/// </summary>
class Mover : Bullet
{
#region Members
public bool used;
public bool... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MyImageTargetController : MonoBehaviour
{
public Canvas myCanvas;
void Start()
{
}
void Update()
{
}
private void OnTriggerEnter(Collider other)
{
if (!gameObjec... |
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using EducationManual.Interfaces;
using EducationManual.Logs;
using EducationManual.Models;
using EducationManual.Services;
using EducationManual.ViewModels;
using Microsoft.AspNet.Identity;
using Mic... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace dailyBurnWP7
{
public class FoodSearchEventArgs:EventArgs
{
public DailyBurnFoodResults Search;
}
public class SearchControlEventArgs:EventArgs
{
public string SearchStrin... |
namespace Whale.Shared.Exceptions
{
public sealed class ExpiredRefreshTokenException : BaseCustomException
{
public ExpiredRefreshTokenException(string message, System.Exception innerException) : base(message, innerException)
{
}
public ExpiredRefreshTokenException(string messa... |
using System;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using DevExpress.Utils;
using DevExpress.XtraEditors.Controls;
using DevExpress.XtraEditors.Repository;
using DevExpress.XtraTreeList.Columns;
using TLF.Framework.Config;
using TLF.Framework.Utility;
using System.Collections.Generic;
... |
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace NetFabric.Hyperlinq
{
[StructLayout(LayoutKind.Auto)]
public ref struct SelectAtRefEnumerator<TSource, TResult, TSelector>
where TSelector : struct, IFunctionIn<TSource, int, TResult>
{
rea... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cart
{
class Variation
{
string type;
public Variation(string t)
{
type = t;
}
public string Type
{
get
... |
namespace ns2
{
using System;
internal enum Enum1
{
Success,
Relaunch,
Error
}
}
|
using IBll;
using IDal;
using Microsoft.Practices.Unity;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Utility.Express;
namespace Bll
{
public class CatalogBll : ICatalogBll
{
Entities db = new Entities();
[Dependency]
public ... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using System.Collections.Generic;
namespace Game1
{
public class ParticleType
{
public static readonly ParticleType SPARK = new ParticleType("spark", 8, 8, 4);
public static readonly... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations;
namespace Mojio
{
/// <summary>
/// Device
/// </summary>
public partial class Device : StringEntity, IOwner,IViewers
{
///... |
using UnityEngine;
using UnityEngine.Extensions;
using System.Collections.Generic;
using UnityEngine.UI;
public class NotificationManager : MonoBehaviour {
public static NotificationManager Instance;
private RectTransform _notificationView;
private List<GameObject> _notificationList = new List<GameObject>... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class GlobalVariables {
public static int score = 0;
public static Vector3 initialPosition(){
return (new Vector3(Random.Range(-50.0f, 60.0f), Random.Range(60.0f, 240.0f), 0));
}
}
|
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 Intex.DAL;
using Intex.Models;
namespace Intex.Controllers
{
public class WorkOrdersController : Controller
{
private ContextI... |
namespace ReadyGamerOne.Utility
{
public interface IDrawGizmos
{
void OnDrawGizmos();
}
} |
using Domain.Core.Abstractions;
using System;
using System.Globalization;
using System.Linq.Expressions;
namespace Domain.Core.Specifications
{
public class NameBeginsWithDiscountSpecification : Specification<string>
{
private readonly string _nameStartsWith;
public NameBeginsWithDiscountSpec... |
namespace Plus.Communication.Packets.Outgoing.Inventory.AvatarEffects
{
internal class AvatarEffectAddedComposer : MessageComposer
{
public int SpriteId { get; }
public int Duration { get; }
public AvatarEffectAddedComposer(int spriteId, int duration)
: base(ServerP... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
using System.Collections.Generic;
#endregion
namespace DotNetNuke.Services.Upgrade.Internals.Steps
{
/// <summary>
... |
namespace GameInputSystem
{
public enum InputType
{
MouseAndKeyboard,
Controller
}
} |
using System;
using Newtonsoft.Json;
namespace NUnit.Snapshot.Json
{
public class JsonSerializer : ISnapshotSerializer
{
public static JsonSerializer Default = new JsonSerializer();
public String Serialize<T>(T source)
{
return JsonConvert.SerializeObject(source, Formatting... |
using Api.Courses.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
using Api.Courses.Helpers;
namespace Api.Courses.Interfaces
{
public interface ICoursesService
{
Task<Response> AddAsync(CourseModel course);
Task<Response> GetAllAsync(int page, int pageSize);
... |
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Xml.Linq;
using System.Linq;
using Syste... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.ViewManagement;
using Windows.UI.Xaml;
namespace Template10.Triggers
{
public class OrientationTrigger : StateTriggerBase
{
//Constructor
public OrientationTrigg... |
using LuaInterface;
using RO;
using SLua;
using System;
using System.Collections.Generic;
using UnityEngine;
public class Lua_RO_Map2DManager : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
Map2DManager o = new Map2DManager();
LuaObj... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;
using System.Windows;
using System.Windows.Media;
namespace FourSideBorder
{
class SupperBorder : Border
{
public Brush LeftBorderBrush
{
get { return (Brush)GetValue(LeftBorderBrushProperty);... |
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.Med... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Legos.Heads
{
class Emmet
{
public string EyeColor { get; set; }
public bool Happy { get; set; }
public HeadGear HeadGer { get; set; }
}
}
|
using System;
using System.Collections.ObjectModel;
namespace WpfAppAbit2.Models
{
/// <summary>
/// Условия предоставления льгот
/// </summary>
public class EntranceTestBenefitItem
{
public Guid UID { get; set; }
public ObservableCollection<OlympicDiplomType> OlympicDiplomTypes =... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class UIAchievement : MonoBehaviour {
public Text m_Title;
public Text m_Description;
public Image m_Progress;
public Text m_Counter;
public Image m_Stars;
public Sprite[] m_StarsSprite;
public Button ... |
// XAML Map Control - http://xamlmapcontrol.codeplex.com/
// © 2016 Clemens Fischer
// Licensed under the Microsoft Public License (Ms-PL)
using System;
#if NETFX_CORE
using Windows.Foundation;
#else
using System.Windows;
#endif
namespace MapControl
{
/// <summary>
/// Transforms latitude and longitude value... |
using System.Text;
namespace Task1
{
public class VersionNumber
{
#region ctor
public VersionNumber(string versionNumber)
{
if (string.IsNullOrWhiteSpace(versionNumber))
{
throw new BuildException("Brak informacji na temat numeru wersji paczki Nu... |
using Crt.Api.Authorization;
using Crt.Api.Controllers.Base;
using Crt.Domain.Services;
using Crt.Model;
using Crt.Model.Dtos.Note;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Crt.Api.Controllers
{
[ApiVersion("1.0")]
[Route("api/proj... |
/*
* Bungie.Net API
*
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* OpenAPI spec version: 2.1.1
* Contact: support@bungie.com
* Generated by: https://github.com... |
using System;
namespace Requestrr.WebApi.Controllers.DownloadClients.Sonarr
{
public class SonarrSettingsModel : TestSonarrSettingsModel
{
public SonarrSettingsCategory[] Categories { get; set; } = Array.Empty<SonarrSettingsCategory>();
public bool SearchNewRequests { get; set; }
public... |
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Shunxi.Business.Enums;
using Shunxi.Business.Logic.Devices;
using Shunxi.Business.Models;
using Shunxi.Business.Models.cache;
using Shunxi.Business.Models.devices;
using Shunxi.Business.Protocols.Helper;
using Shunxi.Common.Log;
using Shunxi.I... |
using System;
using System.IO;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using UnityEngine.AI;
#if UNITY_EDITOR
using UnityEditor;
using UnityEditorInternal;
#endif
using Object = UnityEngine.Object;
usi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.SqlClient;
namespace DAO
{
class Connect
{
public static string Strcon = @"Data Source=.;Initial Catalog=LTQL;Integrated Security=True";
pub... |
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using MongoDB.Bson;
using Newtonsoft.Json;
using CollectWuFuWeChatSmallProcess.AppData;
using CollectWuFuWeChatSmallProcess.Models;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using... |
using Hotel.Data.Models;
using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hotel.Web.Areas.ModulAdministracija.ViewModels
{
public class PrikazProizvodaVM
{
public List<Proizvodi> Proizvodi { get; set; }... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using static SQLitePCL.raw;
namespace Microsoft.Data.Sqlite
{
/// <summary>
/// Represents the type affinities used by columns in SQLite ta... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ECommerce.Models
{
public class Product
{
private int id;
private string title;
private string description;
private decimal price;
public i... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sunny.Lib;
namespace Sunny.HttpRequestClientManager.Helper
{
public class Const
{
public static string WebRequestConfigFileFullPath = string.Format(Path.Combine(En... |
using System;
using System.Collections.Generic;
namespace Micro.Net.Abstractions
{
public abstract class ContextBase : IContextBase
{
internal ContextBase() { }
public ContextStatus Status { get; internal set; }
private object _statusInfo;
public bool IsFaulted => Status == Con... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bullet : MonoBehaviour {
public int damage;
public float speed;
public Vector2 direction;
void Start () {
}
void Update () {
this.gameObject.transform.position = new Vector3 (
this.gameObject.transform.position... |
using BPiaoBao.Client.Account;
using BPiaoBao.Client.Module;
using BPiaoBao.Client.UIExt;
using BPiaoBao.Common.Enums;
using GalaSoft.MvvmLight.Threading;
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
namespace BPiaoBao.Client.Account.Co... |
using System;
using System.Collections.Generic;
using System.Text;
using AgentStoryComponents.core;
using AgentStoryComponents;
namespace AgentStoryComponents.commands
{
public class cmdAddNewGroup : ICommand
{
public MacroEnvelope execute(Macro macro)
{
// add new page ... |
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using PRN02.Areas.Identity.Data;
using PRN02.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PRN02.Controll... |
using UnityEngine;
using System.Collections;
public class ScoreCut : MonoBehaviour
{
[Range(0,10000)]public int MaxScore = 100;
[Range(0.00001f,5f)]public float ScoreDecay = 0.1f;
[Range(0f,1f)]public float MinScore = 0.3f;
private int tmpscore = 0;
private bool cutting = false;
public void BeginCut()
{
tmp... |
using Lycn.Common.Services;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using ZeroMQ;
namespace ZeroMQTest.Common.Patterns
{
/// <summary>
/// Parallel ... |
namespace AfterburnerOledDisplay.Model
{
public interface ISystemData
{
GPUEntry Entry { get; }
byte GPUTemperatore { get; }
byte GPUUsage { get; }
byte CPUTemperatore { get; }
byte CPUUsage { get; }
uint Framerate { get; }
}
}
|
using System;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
class Program
{
static void Main()
{
Console.SetIn(new StreamReader(Console.OpenStandardInput(8192)));
var codedText = new StringBuilder(
string.Join("",
Regex.Matches(Console.Rea... |
using Debug;
public class Ejercicio12_2
{
public Ejercicio12_2()
{
init_Class();
}
public void init_Class()
{
Debug.WriteLine("Prueba del metodo WriteLine() de la clase Debug.");
}
} |
namespace Buddy.Auth.Math
{
using System;
using System.Globalization;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
[StructLayout(LayoutKind.Sequential, Pack=1), DataContract(Name="Vector3", Namespace="Buddy.Auth.Math")]
public struct Vector3
{
[DataMemb... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace MVCTutorial.Models
{
public class House
{
public int HouseId { get; set; }
[Display(Name="House Number")]
public int HouseNumber { get; set; }
... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace Microsoft.CodeAnalysis.Sarif.Multitool
{
public static class Extensions
{
public static bool RefersToDriver(this ToolComponent... |
using ProyectoAplicadoPC.Entidades;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MySql.Data.MySqlClient;
namespace ProyectoAplicadoPC.DAL
{
public class Contexto:DbContext
{
public DbSet<Productos> P... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TurretController : MonoBehaviour
{
public GameObject projectilePrefab;
public float projectileSpeed = 20;
public Transform weapon;
public Transform firePoint;
public SpriteRenderer turretSprite;
public ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TextBoxManager : MonoBehaviour {
[Header("SANTA KELES")]
public GameObject santaName;
public GameObject santaFace;
[Header("LOLI")]
public GameObject loliFace;
public GameObject loliName;
[Head... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PayRoll.BLL;
using NUnit.Framework;
namespace PayRoll.UnitTest.BLL
{
public class SetUpInmemoryDb
{
protected PayrollDatabase database;
[SetUp]
public void SetUp()
{
databas... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Spine.Unity;
public class maisal : MonoBehaviour {
public string Loop;
public string mueve;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update ()
{
if(GetComponent<SkeletonAn... |
using System;
public class Program
{
public static void Main()
{
var inputType = Console.ReadLine();
var identityCount = int.Parse(Console.ReadLine());
var maxValue = default(long);
var thiefIndentitiyNumber = long.MinValue;
switch (inputType)
{
ca... |
namespace Logs.Common
{
public static class Constants
{
public const string AdministratorRoleName = "administrator";
public const int LogEntriesPerPage = 20;
public const int LogsPerPage = 10;
public const int TopLogsCount = 3;
public const int AdminPageSize = 10;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using A2CourseWork.Objects;
using System.Data.SqlClient;
namespace A2CourseWork.Classes
{
class KidsDB
{
private Database db;
public KidsDB(Database db)
{
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml.Linq;
namespace TwinkleStar.Common.XML
{
public class XMLHelper
{
/// <summary>
/// 创建一个不存在的XML文件
/// </summary>
/// <param name="filePath">文件路径</param>
... |
// <copyright file="ITracker.cs" company="rclim95 and Contributors">
// Copyright (c) rclim95 and Contributors. All rights reserved.
//
// Licensed under the MIT License. See LICENSE.md file in the project root
// for full license information.
// </copyright>
namespace ContributionCounter.Framework
{
using System... |
using Ambassador.Data;
using Ambassador.Entities;
using Ambassador.Models;
using Ambassador.Models.AnnouncementModels;
using Ambassador.Services.Interfaces;
using AutoMapper;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Options;
using System;
using System.Collect... |
using AutoMapper;
using Lfs.Persistense.Infrastructure;
using Lfs.Web.Api.Models.Person;
using Lfs.Web.Api.Services.Common;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Lfs.Web.Api.Services.Person
{
public interface IPersonService
: IReado... |
using ScribblersSharp;
using TMPro;
using UnityTranslator.Objects;
/// <summary>
/// Scribble.rs Pad namespace
/// </summary>
namespace ScribblersPad
{
/// <summary>
/// An interface that represents a username input field controller
/// </summary>
public interface IUsernameInputFieldController : IScri... |
using System;
using System.Collections.Generic;
using System.Text;
namespace SqlServerDocumentator.DocumentedDatabaseObjects
{
public class DocumentedForeignKey
{
public DocumentedForeignKey()
{
this.Columns = new List<string>();
}
public string Name { get; set; }
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace BPiaoBao.Common.Enums
{
public enum EnumSkyWayType :int
{
[Description("单程")]
OneWay = 0,
[Description("往返")]
Return = 1,
[Description("中转联程")]
... |
using System;
using System.Collections.Generic;
using CarWash.Bot.Services;
using CarWash.ClassLibrary.Enums;
using Microsoft.Recognizers.Text.DataTypes.TimexExpression;
namespace CarWash.Bot.States
{
/// <summary>
/// State properties ('conversation' scope) for making a new reservation.
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Data.Linq;
using System.Diagnostics.CodeAnalysis;
namespace System.Data.Linq.SqlClient {
/// <summary>
/// Compare two trees for value equality. Implemented as a parallel visitor.
/// </summary>
internal class SqlComparer {
internal... |
using System;
namespace Espades.Domain.Contracts.UnitOfWork
{
public interface IUnitOfWorkFactory : IDisposable
{
IUnitOfWork CreateUnitOfWork();
IUnitOfWork CreateUnitOfWork(object transaction);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
//Write a program that concatenates two text files into another text file.
class ConcatenatesTwoTextFiles
{
static void Main(string[] args)
{
//you can find ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
usin... |
using FluentValidation;
using Football.API.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Football.API.Validation
{
public class MatchVMValidator: AbstractValidator<MatchDto>
{
public MatchVMValidator()
{
RuleF... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using integral;
namespace UnitTestIntegral
{
[TestClass]
public class UnitTest1
{
// Trap method
//проверка на точность метода траеций
[TestMethod]
public void TrapMethod_XmultiplyX_2666Returned()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication2
{
class Monogram
{
public static void DisplayMonogram(char a, char b, char c)
{
Console.WriteLine("** " + a + ". " + b + ". " + c + ". **");
}
stati... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace SoftwareDeveloperIO.Collections.Generic.Test
{
[TestClass]
public class RemoveTests
{
[TestMethod]
public void Should_ReturnTrue_When_NodeRemoved1()
{
var list = new LinkedList<int>();
... |
using Ornithology.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ornithology.Data
{
public interface IAveRepository : IRepository<Ave>
{
void DeleteCascade(string codigoAve);
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.