text stringlengths 13 6.01M |
|---|
using Alabo.Extensions;
using Alabo.Reflections;
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Reflection;
namespace Alabo.Mapping.Dynamic {
/// <summary>
/// 动态赋值
/// </summary>
/// <typeparam name="TModel"></typeparam>
public class Dyna... |
using System.Collections;
using System.Collections.Generic;
using System.Data;
using UnityEngine;
using UnityEngine.AI;
public class Enemy : MonoBehaviour
{
[SerializeField] int life_score = 50;
private Animator _animator;
NavMeshAgent _navMeshAgent;
private GameObject _target;
[SerializeField] G... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CRL.Business.OnlinePay.Company.ChinaPay.TradeQuery
{
/// <summary>
/// 交易查询
/// </summary>
public class Request:RequestBase
{
protected override string Host
{
get
... |
using Common.Business;
using Contracts.FCP;
using Entity;
using System;
using System.Collections.Generic;
using System.ServiceModel;
using System.ServiceModel.Description;
namespace Clients.FCP
{
public class FCPProxy : ClientBase<IFCPService>, IFCPService
{
#region Constructors
public FCPProxy(ServiceEndpoint ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace GADB
{
/*
* void start_adb()
{
//Interaction.Shell(ADB + "devices", AppWinStyle.MaximizedFocus, false, 0);
}
private string ADB = "";
public void start()
{
ADB = Applic... |
// ===============================
// AUTHOR : Guillaume Vachon Bureau
// CREATE DATE : 2018-08-29
//==================================
using System.Collections.Generic;
namespace BehaviourTree
{
/// <summary>
/// when the task in array 0 return Sucess or fail, we stop the execution of the whole paral... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace web_ioc.Models
{
public class GribSession : SessionModel, IGribSession
{
bool IGribSession.GribSession => true;
}
} |
using System;
using MonoTouch.UIKit;
using MonoTouch.Foundation;
using System.Collections.Generic;
using System.Linq;
using System.Collections;
namespace iPadPos
{
public class CellTableViewSource : UITableViewSource, IList<UITableViewCell>
{
readonly List<UITableViewCell> items = new List<UITableViewCell>();
U... |
using Cs_Notas.Aplicacao.Interfaces;
using Cs_Notas.Dominio.Entities;
using Cs_Notas.Dominio.Interfaces.Servicos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cs_Notas.Aplicacao.ServicosApp
{
public class AppServicoLogSistema: AppSer... |
namespace kindergarden
{
using kindergarden.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class activities
{
public int Id ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NfePlusAlpha.Domain.Entities
{
public class tbUsuario
{
public int usu_codigo { get; set; }
public string usu_login { get; set; }
public string usu_senha { get;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ChatAPI.Models.MessageModel
{
public interface IMessageRepository
{
public MessageModel GetMessage(int messageId);
public MessageModel GetMessageByDateAndSenderId(string date, int sender... |
using System;
using System.Reflection;
using System.Windows.Forms;
namespace ComLib
{
/// <summary>
/// アプリケーション共通メッセージクラス
/// </summary>
public static class Msgbox
{
/// <summary>
/// 情報メッセージボックスの表示
/// </summary>
/// <param name="prf">親フォーム</param>
/// <param name="ms">表示メッセージ</param>
public static ... |
using System;
using System.Globalization;
using Autofac;
using Tests.Pages.ActionID;
using Framework.Core.Common;
using NUnit.Framework;
using Tests.Data.Oberon;
using Tests.Pages.Oberon.Contact;
using Tests.Pages.Oberon.Contribution;
using OpenQA.Selenium;
namespace Tests.Projects.Oberon.Contribution
{
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace DistCWebSite.Views.ICPMReports
{
public partial class DownLoad : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
st... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using TestTask.CustomAuth.Repositories;
namespace TestTask.CustomAuth.Models
{
public static cla... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Web.Mvc;
namespace stpwomenssoccer2.Models
{
[Table("Event")]
public class EventModel
{
[Key]
[DisplayN... |
using Cottle.Functions;
using EddiSpeechResponder.Service;
using JetBrains.Annotations;
using System;
using System.Threading;
using System.Windows;
namespace EddiSpeechResponder.CustomFunctions
{
[UsedImplicitly]
public class SetClipboard : ICustomFunction
{
public string name => "SetClipboard";
... |
namespace DataLightning.Core
{
public class SubscriberAdapter<TSource, TAdapted> : ISubscribable<TAdapted>
where TSource : TAdapted
{
public SubscriberAdapter(ISubscribable<TSource> subscribable)
{
Adaptee = subscribable;
}
public ISubscribable<TSource> Adap... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.ComponentModel.Design;
using trade.client.Trade;
using trade.client.Marketdata;
using Dwjk.D... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
public partial class apphome : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
if (IsPostBack == false)
... |
using AppLogic.Dto;
using AppLogic.DtoCreate;
using AppLogic.DtoUpdate;
using AutoMapper;
using DataAccess;
using Domain.Entities;
using Domain.InterfacesRepo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AppLogic.DtoConverter
{
publ... |
using System.Linq;
using LocusNew.Core.Models;
namespace LocusNew.Core.Repositories
{
public interface IPropertyTypesRepository
{
void AddPropertyType(PropertyType type);
PropertyType GetPropertyType(int id);
IQueryable<PropertyType> GetPropertyTypes();
bool RemovePropertyType(... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour
{
[SerializeField] private float startingHealth;
[SerializeField] private float currentHealth;
[SerializeField] private GameObject endGame;
private Coroutine RegenHealth;
private vo... |
using Nailhang.Display.Controllers;
using Nailhang.Display.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Nailhang.Blazor.Data
{
public class NailhangModulesService
{
private readonly IndexBase.Storage.IModulesStorage modulesStorage;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using com.Sconit.Entity.SYS;
namespace com.Sconit.Entity.MRP.VIEW
{
public class PlanInView
{
public string Item { get; set; }
public string Flow { get; set; }
... |
using System.Collections.Generic;
using System.ComponentModel;
using DataAccess.Model;
namespace KioskClient.Domain
{
public class AuditoriumView : INotifyPropertyChanged
{
public AuditoriumView(Auditorium auditorium, List<Seat> occupiedSeats)
{
Rows = new List<AuditoriumRow>();
... |
using DocumentManagement.Common;
using Model.DAO;
using Model.EF;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace DocumentManagement.Areas.Admin.Controllers
{
public class DepartmentController : BaseController
{
// GET: Admin/Departm... |
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace WerkWerk.Data
{
public interface IWorkRepository
{
Task<Job> GetNextJob(string name, int maxRetries, CancellationToken token = default);
Task<Job> New<T>(string ... |
#version 430
layout (local_size_x = 32, local_size_y = 32) in;
layout(binding=0, r32f) uniform image2D InputImage;
layout(binding=1, r32f) uniform image2D OutputImage;
float checkPixel(vec4 imageValue)
{
if (imageValue.x > 5.0f && imageValue.x < 4000.0f)
{
return imageValue.x;
}
else
{
... |
using FSWatcher.Models;
using FSWatcher.Services;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace FSWatcher {
public partial class Databas... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IRAP.Client.GUI.MESPDC.Entities
{
public class EntityMethodStarndardParams
{
public string StandardName { get; set; }
public long Value01 { get; set; }
public long Value02 { get; ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
namespace DBDiff.Schema.SQLServer.Front
{
public partial class SqlServerPanel : UserControl
{
public SqlServerPanel()
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using TtyRecDecoder;
namespace TtyRecMonkey.Windows
{
public partial class ReplayTextSearchForm : Fo... |
using System;
using TechTalk.SpecFlow;
namespace Library.Specs.StepDefinitions
{
[Binding]
public class ListOfShelfSteps
{
[When(@"I send request for getting list of shelves to ""(.*)""")]
public void WhenISendRequestForGettingListOfShelvesTo(string p0)
{
Sce... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RomanToDecimal
{
class Program
{
static int RomanConverter(int[] values)
{
int result = 0;
for (int i = 0; i < values.Length - 1; i... |
using UnityEngine;
using System.Collections;
public class MainMenu : MonoBehaviour
{
/// <summary>
/// Rect объекты, представляющие прямоугольники, для задания размеров-позиций элементов GUI.
/// </summary>
private Rect rect_box, rect_startBtn, rect_skinBtn, rect_exitBtn;
/// <summary>
/// Метод Sta... |
namespace Payment
{
/// <summary>
/// Salary
/// </summary>
public class Salary
{
/// <summary>
///
/// </summary>
public string FirstName { get; set; }
/// <summary>
///
/// </summary>
public string LastName { get; set; }
//... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TotalScore : MonoBehaviour
{
public Text T_Total; //To show player record
private void Awake()
{
T_Total = gameObject.GetComponent<Text>();
}
private void Start()
{
... |
using System.Threading.Tasks;
using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Parts;
using DFC.ServiceTaxonomy.GraphSync.Services;
using FakeItEasy;
using Newtonsoft.Json.Linq;
using Xunit;
namespace DFC.ServiceTaxonomy.UnitTests.GraphSync.GraphSyncers.Parts.TitlePartGraphSyncerTests
{
public class TitlePartGrap... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using EntityClass;
namespace ProductForm
{
public partial class OrderDe... |
// Copyright (c) Simple Injector Contributors. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for license information.
namespace SimpleInjector.Lifestyles
{
using System;
/// <summary>
/// Forwards CreateRegistration calls to the lifestyle that is returned fr... |
using System;
using System.Collections.Generic;
using Hayaa.BaseModel;
/// <summary>
///代码效率工具生成,此文件不要修改
/// </summary>
namespace Hayaa.Security.Service
{
public class JobTokenSearchPamater : SearchPamaterMariadbBase
{
public int? JobTokenId { set; get; }
public List<int> JobTokenIdList { set; ... |
using DChild.Gameplay.Environment.Item;
using Sirenix.OdinInspector.Editor;
using UnityEditor;
using UnityEngine;
namespace DChildEditor.Gameplay.Environment.Item
{
[CustomEditor(typeof(Rope))]
public class Rope_Inspector : OdinEditor
{
private Rope m_rope;
private SerializedProperty m_mat... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ShooterPatrol : MonoBehaviour
{
float targetAngle = 0;
float turnSpeed = 5;
void Start()
{
ChangeAngle();
}
void Update()
{
transform.rotation = Quaternion.Slerp(transform.rotati... |
using Newtonsoft.Json;
namespace gView.Server.Models
{
public class AdminMapServerResponse
{
public AdminMapServerResponse()
{
this.Success = true;
}
public AdminMapServerResponse(bool success, string message = null)
{
this.Success = success;
... |
namespace SimpleHttpServer.RouteHandlers
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Enums;
using Models;
public class FileSystemRouteHandler
{
public string BasePath { get; set; }
public bool ShowD... |
using System;
using System.Globalization;
namespace Witsml.Data.Curves
{
public class DepthIndex : Index
{
private const double OffsetEpsilon = 1e-3;
private const double Epsilon = 1e-4;
public const double NullValue = -999.25;
public double Value { get; }
public DepthU... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
namespace CIPMSBC.Eligibility
{
class EligibilityRamahCanada : EligibilityBase
{
public EligibilityRamahCanada(FederationEnum fed)
: base(fed)
{
}
public override bool checkEligibil... |
using Gruzer.Models.Location;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Gruzer.Models.ShipmentProcess
{
/// <summary>
/// Заказчик
/// </summary>
public class Customer : BaseEntity
{
/// <summary>
/// Имя
/// ... |
/*
* Author: Generated Code
* Date Created: 16.05.2012
* Description: Represents a row in the tblProtokol table
*/
using System;
using System.Collections;
using System.Globalization;
namespace HTB.Database
{
public class tblProtokol : Record
{
#region Property Declaration
[MappingAttribute(FieldType =... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using CEMAPI.BAL;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace CEMAPI.Controllers
{
public class MileStoneAPIController : ApiController
{
[HttpPost]... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TerraMedia.Equipamentos;
namespace Personagens
{
public abstract class Personagem
{
public Personagem(int vidaInicial)
{
this.Vida = v... |
using Autofac;
using MediatR;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.OpenApi.Models;
using MikeGrayCodes.Aut... |
// Copyright 2016 Serilog Contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agre... |
using System.Threading.Tasks;
using IdentityServer3.Core.Models;
using IdentityServer3.Core.Services;
using IdentityServer3.Shaolinq.DataModel.Interfaces;
using IdentityServer3.Shaolinq.Mapping;
using Shaolinq;
namespace IdentityServer3.Shaolinq.Stores
{
public class ClientStore : IClientStore
{
private readonly ... |
using CarManageSystem.Extension;
using CarManageSystem.helper;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Web;
using System.Web.SessionState;
namespace CarManageSystem.handler.UserManage.Driver
{
/// <summary>
... |
using UnityEngine;
using System.Collections;
public class BulletFly : MonoBehaviour {
public float showTime;
public bool isPlayerBullet;
public bool onCollision;
public Vector3 rotateVector = Vector3.zero;
public GameObject explosivePrefab;
public GameObject bullet1;
public GameObject bullet2;
// Use t... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yaringa.Models.Token {
public class TokenException : Exception
{
public TokenException() : base() {
}
public TokenException(string message): base(message) {
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp10
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Same client code can work with different subclasses:");
Cl... |
using System;
using System.Net.Mail;
using System.Windows.Controls;
namespace OrdiniCatCe.Gui.Validation
{
public class EMailValidator : ValidationRule
{
public override ValidationResult Validate(object value, System.Globalization.CultureInfo cultureInfo)
{
if (string.IsNullOrEmpt... |
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
namespace Interaction
{
public class ExitDoor : InteractableBase
{
private LevelLoad _levelLoad;
private MemoryHandler _memoryHandler;
[SerializeField] private CanvasGroup _group;
private void Awake()
... |
using System.Collections;
using System.Collections.Generic;
using Player;
using UnityEngine;
using UnityStandardAssets.Characters.FirstPerson;
public class PauseMenuInterface : MonoBehaviour {
private bool open = false;
public FirstPersonController FPS;
public GameObject battery;
public GameObject stressBar;
pub... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MasterLIO.Forms
{
public partial class AdminMenuForm : Form
{
public AdminMenu... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpawnerDestroyerController : MonoBehaviour
{
private void OnTriggerEnter2D(Collider2D other)
{
// Debug.Log(other.tag);
switch (other.tag)
{
case "Mine":
break;
... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
// For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
namespace Nusstudios.Controllers
{
public class ModsController : Controller
{
public override void OnActionExecu... |
using PopulationFitness.Models.FastMaths;
using PopulationFitness.Models.Genes.BitSet;
using System;
namespace PopulationFitness.Models.Genes.LocalMinima
{
public class SalomonGenes : NormalizingBitSetGenes
{
private const double NormalizationConstant = 200.0 * Math.PI + 10.0;
private const d... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Vieyra18022490_RTS_Game
{
public partial class frmRTS : Form
{
... |
using System.Collections;
using UnityEngine;
using UnityStandardAssets.CrossPlatformInput;
/*
* 이 스크립트는
* 1. 플레이어가 캐릭터를 조작하게 해줍니다.
* 2. 바닥과의 충돌을 감지해줍니다.
* 3. 알맞은 이동 애니메이션을 재생해줍니다.
* 4. 적과의 충돌을 감지해줍니다.
*/
// [RequireComponent(typeof(컴포넌트_이름))] 는 해당 컴포넌트를 꼭 사용해야 한다고 알리는 태그
[RequireComponent(typeof... |
using gView.Framework.system;
using Newtonsoft.Json;
using System;
namespace gView.MapServer
{
public class ServiceRequest
{
public string Service { get; private set; }
public string Folder { get; private set; }
public string Request { get; private set; }
#region Response
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class platformTouch : MonoBehaviour {
public Animator animPlayer;
private void OnCollisionEnter2D(Collision2D collision)
{
if (collision.gameObject.name == "Munia") {
collision.collider.transform.SetP... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class GroupFollower : MonoBehaviour
{
[SerializeField] private LineLeader player;
[SerializeField] private int virtualFollowerIdx;
private NavMeshAgent agent;
// Start is called before the firs... |
using System;
using System.Collections.Generic;
using System.Linq;
class ABC124C{
public static void Main(){
var Sin = Console.ReadLine();
var S = new List<bool>();
foreach(var s in Sin.ToCharArray()){
S.Add(s=='1');
}
var r1 = new List<bool>();
var r2 = ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace XH.Infrastructure.Domain.Models
{
/// <summary>
/// Base entity
/// </summary>
public abstract class EntityBase<TPrimaryKey> : IEntity<TPrimaryKey>
{
/// <summary>
... |
using System.Collections.Generic;
using UnityEngine;
public class RayCast : MonoBehaviour
{
private GameManager gameManager;
private Camera _mainCamera;
private Vector3 mousePosition;
private bool _init;
public bool preloadIsComplete { get => _init; }
private void Start()
{
gameMa... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TP.Entities
{
[Table("Testers")]
public class Tester:User
{
[DisplayName("Skor... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using ChatSupport.Models;
using ChatSupport.Repositories;
using ChatSupport.ViewModels;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
namespace ChatSupport.Controllers
{
public... |
using System;
namespace ExtensionMethods
{
class Program
{
static void Main(string[] args)
{
PersonModel person = new PersonModel();
person.FirstName = "What is your first name: ".RequestString();
person.Lastname = "What is your last name: ".RequestString();... |
namespace DChild.Gameplay.Objects
{
public interface ISentientBeing
{
void EnableBrain(bool isEnable);
}
} |
using UnityEngine;
using Unity.Burst;
using Unity.Jobs;
using Unity.Collections;
using Unity.Mathematics;
using UnityEngine.Rendering;
using System.Runtime.InteropServices;
// https://gist.github.com/sebbbi/a599d7896aa3ad36642145d54459f32b
public class ManySpheres : MonoBehaviour {
[SerializeField] private Materi... |
using Alabo.Data.People.Counties.Domain.Entities;
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Repositories;
using MongoDB.Bson;
namespace Alabo.Data.People.Counties.Domain.Repositories
{
public class CountyRepository : RepositoryMongo<County, ObjectId>, ICountyRepository
{
public CountyRepositor... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Log : Block
{
public override string Name
{
get
{
return "Log";
}
}
public override int BlockID
{
get
{
return 5;
}
}
publi... |
using UnityEngine;
using UnityEditor;
using Ardunity;
using UnityEngine.UI;
[CustomEditor(typeof(ListItem))]
public class ListItemEditor : Editor
{
[MenuItem("ARDUnity/Add Utility/UI/ListItem", true)]
static bool ValidateMenu()
{
if(Selection.activeGameObject == null)
return false;
if(Selection.activeGa... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using ApiMocker.Entities;
using ApiMocker.Repositories;
using Microsoft.AspNetCore.Http;
namespace ApiMocker.Core
{
public class RequestMock... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace learn_180328_interface2
{
interface Rectangle
{
double length { get; set; }
double width { get; set; }
double area { get; set; }
void Compu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Wee.Common;
namespace Site.Acme.Controllers
{
public class HomeController : Controller
{
[Menu("", -1, null, "Home", icon: "wb-dashboard")]
public IActionResul... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class HandSpriteController : MonoBehaviour , IPointerClickHandler
{
public int order ;
private GameObject Controller;
void Awake()
{
Controller = GameObj... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 扔出去的东西
/// </summary>
public class Stuff : MonoBehaviour {
[SerializeField]
private int damage;
private void OnCollisionEnter2D(Collision2D other)
{
if (other.gameObject.CompareTag("Player"))
... |
using MassTransit;
using MessageOutbox.Outbox;
using Microsoft.Extensions.Logging;
using System.Threading.Tasks;
namespace MessageOutbox.Consumer
{
public class MessageConsumer : IConsumer<IMessage>
{
private readonly ILogger<MessageConsumer> logger;
public MessageConsumer(ILogger<MessageCons... |
using System;
using System.Collections.Generic;
using System.Text;
using UIKit;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
[assembly: ExportRenderer(typeof(CustomXamarinControls.Switch), typeof(CustomXamarinControls.iOS.SwitchRenderer))]
namespace CustomXamarinControls.iOS
{
class SwitchRend... |
using System;
using System.Collections.Generic;
using StardewValley.Objects;
namespace Igorious.StardewValley.DynamicApi2.Services
{
public sealed class ClassMap
{
private static readonly Lazy<ClassMap> Lazy = new Lazy<ClassMap>(() => new ClassMap());
public static ClassMap Instance => Lazy.Va... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MyClassLibrary;
namespace Les2Exercise3
{
class Program
{
//3. С клавиатуры вводятся числа, пока не будет введен 0. Подсчитать сумму всех нечетных положительных чисел.
stat... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using System.Security.Cryptography;
namespace WindowsFormsApp1
{
public partial cla... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MWMROrleansGrains
{
static public class Parameters
{
/// <summary>
/// Take me to your leader lease duration
/// </summary>
public static TimeSpan LEASE... |
using System;
using System.Linq;
using System.Text;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using Elrond.Dotnet.Sdk.Domain.Codec;
using Elrond.Dotnet.Sdk.Domain.Values;
using Elrond.Dotnet.Sdk.Provider;
using Elrond.Dotnet.Sdk.Provider.Dtos;
namespace Elrond.Dotnet.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace StrategyPattern
{
class NameComparator : IComparer<IPerson>
{
public int Compare(IPerson x, IPerson y)
{
int result = x.Name.Length.CompareTo(y.Name.Length);
if (result == 0... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class GiveOverlordItems : MonoBehaviour {
enum ItemWantedState {battery, gear, wire};
public Sprite[] sprites;
public Image spriteCanvas;
privat... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace UserStory
{
internal class Program
{
private static void Main(string[] args)
{
var inputStream = File.ReadAllText(@"input_user_story_1.txt");
///Remove new line f... |
using NUnit.Framework;
using Should;
namespace UtilLib.Extensions.Tests
{
[TestFixture]
public class StringExtensionsTests
{
[Test]
public void ToInt_NumericString_ShouldReturnThree()
{
const string input = "3";
var result = input.ToInt();
resu... |
using System;
using System.Text;
using System.Security.Cryptography;
using System.IO;
namespace Crypt
{
public class CryptingUtility
{
private static byte[] myRijndaelIV = { 13, 92, 91, 93, 16, 92, 67, 48, 169, 83, 135, 120, 49, 201, 120, 123 };
public static string doCrypt(string original, s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.