text stringlengths 13 6.01M |
|---|
using TestWebService.Helpers;
using TestWebService.Model;
using System.Web.Script.Serialization;
using System;
namespace TestWebService.Data
{
/// <summary>
/// Репозиторий
/// </summary>
internal class RepositoryLoginet : IRepository
{
public User[] GetUsers()
{
return... |
namespace FamousQuoteQuiz.Data.RepositoryModels
{
public class Quote
{
public int Id { get; set; }
public string Text { get; set; }
public byte Mode { get; set; }
public bool? Correct { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Reflection;
namespace CRL.DicConfig
{
/// <summary>
/// 字典设置维护
/// 通过TYPE区分不同的用途
/// </summary>
public class DicConfigBusiness<TType> : BaseProvider<IDicConfig> where TType : class... |
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.Data.SqlClient;
namespace Windows_Project
{
public partial class Categorie... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class Spawner : MonoBehaviour
{
public static Spawner instance;
public int count;
public Vector3 startPoint;
public Vector3 endPoint;
public GameObject road;
public GameObject parent;
publ... |
namespace LeapYear.Src
{
public class LeapYear
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace BList
{
[Serializable]
class Person
{
private string firstName;
private string lastName;
private string phoneNumber;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Repulsion_Field : MonoBehaviour {
public float activationTime = 5;
public Image inRepulsorWarning;
public Image inRepulsorDamaged;
public GameObject sfx;
private float timer = 0;
... |
/*
* Created by SharpDevelop.
* User: User
* Date: 4/2/2016
* Time: 6:03 PM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
... |
using System.ComponentModel.DataAnnotations;
namespace Airelax.Application.ManageHouses.Request
{
public class HouseTitleInput
{
[MaxLength(50)] public string Title { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Health : MonoBehaviour {
public SpriteSlider hp;
private uint value=1;//uint 表示值不可能为负
// Use this for initialization
void Start () {
hp=GetComponentInChildren<SpriteSlider>();//代码找到组建,不用一个个拖拽
Init();
}
public void... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication
{
public class Ticket
{
private SqlConnection con;
private SqlDataReader reader;
private SqlD... |
using Accessor;
using Modules;
using UnityEngine;
public class EatEdibleScript : MonoBehaviour
{
private void OnCollisionEnter(Collision other) {
if (other.gameObject.layer == 11) { // point/fruit
var scoreModule = TAccessor<ScoreModule>.Instance.Get(this);
var edible = other.gameO... |
// <copyright file="BaseController.cs" company="Caspian Pacific Tech">
// Copyright (c) Caspian Pacific Tech. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace SmartLibrary.Admin.Pages
{
using System;
using System.Collections.Generic;
... |
using AHAO.TPLMS.Entitys;
using System;
using System.Collections.Generic;
using System.Text;
namespace AHAO.TPLMS.Contract
{
public interface IUserRepository:IRepository<User>
{
IEnumerable<User> LoadUsers(int pageindex, int pagesize);
User GetUser(string userName);
bool Delete(string ... |
using UnityEngine;
public class HorrorMeter : MonoBehaviour
{
public GameObject Player;
public Texture2D bgImage;
public Texture2D fgImage;
void Start() {
if (Player == null) Player = GameObject.FindGameObjectWithTag ("Player");
}
void OnGUI () {
// Create one Group to contain both images
... |
using gView.Framework.IO;
using gView.Framework.system;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Windows.Forms;
namespace gView.Framework.UI
{
public class MyFavorites
{
public MyFavorites()
{
}
... |
using Xamarin.Forms;
namespace RRExpress.Views {
public partial class ForgetPwdView : ContentPage {
public ForgetPwdView() {
InitializeComponent();
}
}
}
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
using EPI.Strings;
using FluentAssertions;
namespace EPI.UnitTests.Strings
{
[TestClass]
public class EliasGammaEncodingUnitTest
{
[TestMethod]
public void EliasGammaEncode_Cases()
{
EliasGammaEncoding.EliasGammaEncode(new[] {13}).Should().Be("0001101")... |
namespace ForumSystem.Web.ViewModels.Administration.Categories
{
using System.Collections.Generic;
using ForumSystem.Web.ViewModels.PartialViews;
public class CategoryCrudModelList
{
public IEnumerable<CategoryCrudModel> Categories { get; set; }
public PaginationViewModel PaginationM... |
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 FXB.Common;
using FXB.Data;
using FXB.DataManager;
namespace FXB.Dialog
{
public partial class... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebUI.Data.Abstract;
using WebUI.Entity;
namespace WebUI.Data.Concrete.EfCore
{
public class EfImageRepository : IImageRepository
{
private ApplicationIdentityDbContext _context;
public EfIma... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Szab.Scheduling.Representation
{
public class TaskAssignment
{
public Task Task
{
get;
protected set;
}
public Resource Resourc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CodeGeneration
{
static class StringUtils
{
public static void AppendLine(this StringBuilder sb, string str, int n)
{
var s = "\t".Repeat (n) + str;
sb.AppendLine (s);
... |
using System;
namespace NGeoNames.Entities
{
/// <summary>
/// Represents an administrative division.
/// </summary>
public class Admin1Code
{
/// <summary>
/// Gets/sets the code of the administrative division.
/// </summary>
public string Code { get; set; }
... |
using System;
using System.Collections.Generic;
using Xamarin.Forms;
using Pasasoft.Crm.ViewModels;
namespace Pasasoft.Crm
{
public partial class CustomerDetailPage : ContentPage
{
public CustomerViewModel CustomerViewModel {
get{ return BindingContext as CustomerViewModel; }
}
... |
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
using UnityAtoms.Editor;
namespace UnityAtoms.Mobile.Editor
{
/// <summary>
/// Value List property drawer of type `TouchUserInput`. Inherits from `AtomDrawer<TouchUserInputValueList>`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPr... |
using System;
namespace Animals
{
class Program
{
// En POO, las funciones y procedimientos se llaman métodos
// En todo programa, se debe incluir un punto inicial
// El nombre estándar para el método que inicia un programa
// es "main": static void Main
//
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Voluntariat.Data;
using Voluntariat.Framework.Identity;
using Voluntaria... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Euler_Logic.Problems {
public class Problem201 : ProblemBase {
public override string ProblemName {
get { return "201: Subsets with a unique sum"; }
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ManChain : MonoBehaviour
{
[SerializeField] private Transform _targetPoint = null;
[SerializeField] private float _distance = 1f;
private List<Player> _players = new List<Player>();
public void AddPlayer(Play... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebsiteManagerPanel.Framework.RoleEnums
{
public class Enum
{
public enum RoleGroup
{
Employee = 1,
Admin = 2
}
public enum AdminRole
{
... |
using System;
using System.Collections.Generic;
namespace IrsMonkeyApi.Models.DB
{
public partial class MemberStatus
{
public MemberStatus()
{
Member = new HashSet<Member>();
}
public int MemberStatusId { get; set; }
public string MemberStatusName { get; se... |
using Microsoft.Extensions.Logging;
using Sentry.Infrastructure;
namespace Sentry.Extensions.Logging;
internal sealed class SentryLogger : ILogger
{
private readonly IHub _hub;
private readonly ISystemClock _clock;
private readonly SentryLoggingOptions _options;
internal string CategoryName { get; }
... |
using System.Linq;
using System.Threading.Tasks;
using Sfa.Poc.ResultsAndCertification.Dfe.Domain.Models;
using Sfa.Poc.ResultsAndCertification.Dfe.Models;
namespace Sfa.Poc.ResultsAndCertification.Dfe.Application.Interfaces
{
public interface ITqPathwayService
{
IQueryable<TqPathway> GetTqPathways();... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Reflection;
namespace EmberKernel.Services.UI.Mvvm.ViewModel
{
public class KernelViewModelManager : IViewModelManager
{
private readonly Dictionary<string, INotifyPropertyChanged> instanceBinding = new Dictionar... |
using UnityEngine;
public class TestMovement : MonoBehaviour {
public float speed = 8.0f;
void Start() {
}
void Update() {
Vector2 movement_input = new Vector2(Input.GetAxisRaw("Horizontal"), Input.GetAxisRaw("Vertical"));
Vector2 movement_delta = speed * movement_input.normalized * Time.deltaTime... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public enum SceneName
{
LobbyScene,
GameScene
}
[RequireComponent(typeof(Button))]
public class SceneChangeButton : MonoBehaviour
{
[SerializeField]
private SceneName sceneName;
private void Awake... |
using System;
class Point
{
public int XCor;
public int YCor;
public Point(int x,int y)
{
this.XCor = x;
this.YCor = y;
}
public void SetCordinates(int p1, int p2)
{
this.XCor = p1;
this.YCor = p2;
}
public static double GetLenght(Point p1, Point ... |
public interface IUnitAttackState : IUnitState
{
void SetTarget(IUnit targetBehaviourParam);
void SetWeapon(WeaponModel weaponParam);
}
|
public class Solution {
public IList<string> WordBreak(string s, IList<string> wordDict) {
var hs = new HashSet<string>(wordDict);
var dict = new Dictionary<int, IList<int>>();
for (int i = 1; i <= s.Length; i ++) {
dict[i] = new List<int>();
for (in... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Xml;
public partial class xmlgelen2aspx : System.Web.UI.Page
{
DataView resimurl;
protected void Page_Load(object sender, EventArgs e)
... |
namespace Properties.Infrastructure.Zoopla.Objects
{
internal class Constants
{
public const string ProviderName = "ZOOPLA";
//TEST
//public const string BaseUri = "https://realtime-listings-api.webservices.zpg.co.uk/sandbox/v1/";
//LIVE
public const string BaseUri = "... |
using Ecommerce_Framework.Api.Models;
namespace Ecommerce_Framework.Api.Data.Repositories
{
public class UsuarioRepository
{
private readonly EcommerceFrameworkContext _context;
// public UsuarioRepository(EcommerceFrameworkContext context) : base(context) => _context = context;
//publ... |
using Langium.DataLayer.DbModels;
using Langium.PresentationLayer;
using Langium.PresentationLayer.ViewModels;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Langium.DataLayer.Data... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace LoanAPound.Db.Model
{
public class LoanApplicationCreditScoreCheck
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace net.PingTools
{
public class ThreadPing
{
public string IPString;
public static List<PingTools> lpt = new List<PingTools>();
PingTools pt;
public... |
using UnityEngine;
using System.Collections;
public class UseBoost : MonoBehaviour {
private BoostConfig boostConfig;
private PlayerStats playerStats;
// Use this for initialization
void Start () {
boostConfig = BoostConfig.instance;
playerStats = PlayerStats.instance;
}
public void Use() {
BoostButton... |
using Crystal.Plot2D.Common;
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Shapes;
namespace Crystal.Plot2D.Charts
{
/// <summary>
/// Represents a label provider for major ticks of <see cref="System.DateTime"/> type.
/// </summary>
public c... |
using AppLogic.Dto;
using AppLogic.DtoCreate;
using AppLogic.DtoUpdate;
using AutoMapper;
using DataAccess;
using DataAccess.Repositories;
using Domain.Entities;
using Domain.InterfacesRepo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace A... |
using gView.Framework.Carto;
using gView.Framework.Carto.Rendering;
using gView.Framework.Data;
using gView.Framework.Data.Filters;
using gView.Framework.Geometry;
using gView.Framework.Symbology;
using gView.Framework.Xml;
using gView.GraphicsEngine;
using System;
using System.Globalization;
using System.IO;
using Sys... |
using System.Collections.Generic;
using UserService.Model;
namespace UserService.Service
{
public interface IDoctorService
{
IEnumerable<DoctorAccount> GetBySpecialty(int specialtyId);
IEnumerable<DoctorAccount> GetAll();
}
}
|
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Net;
using System.Web;
using System.Web.Mvc;
using WebQLKhoaHoc;
using WebQLKhoaHoc.Models;
namespace WebQLKhoaHoc.Controllers
{
[CustomizeAuthorize(Roles = "1... |
using ExitGames.Client.Photon;
using Photon.Pun;
using Photon.Realtime;
using UnityEngine;
public class Collision_Detect : MonoBehaviourPun
{
private Rigidbody thisBody;
private AbilityChargeMeter chargeMeter;
private PhotonView pView;
private Car thisCar;
private bool isHeavy = false;
vo... |
using FluentValidation.TestHelper;
using NUnit.Framework;
using SFA.DAS.ProviderCommitments.Web.Models.Cohort;
using SFA.DAS.ProviderCommitments.Web.Validators.Cohort;
using System;
using System.Linq.Expressions;
namespace SFA.DAS.ProviderCommitments.Web.UnitTests.Validators.Cohort
{
[TestFixture]
public clas... |
using System.ComponentModel.DataAnnotations;
using Alabo.Web.Mvc.Attributes;
namespace Alabo.Industry.Shop.Orders.Dtos
{
public class OrderToExcel
{
[Display(Name = "订单号")]
[Field(ListShow = true, SortOrder = 1)]
public string OrderId { get; set; }
[Display(Name = "用户名")]
... |
using System;
using AppKit;
using Foundation;
using ResilienceClasses;
using System.Collections.Generic;
namespace ManageNonLoanCashflows
{
public partial class ViewController : NSViewController
{
public clsCashflow.Type typeChosen;
public NonLoanCashflowDataSource dataSource = new NonLoanCas... |
using System.Collections.Generic;
using FluentAssertions;
using MinistryPlatform.Translation.Extensions;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
namespace MinistryPlatform.Translation.Test.Extensions
{
public class JsonUnmappedDataExtensionsTest
{
private IDictionary<string, JToken> _fixtur... |
namespace DealOrNoDeal.ErrorMessages
{
/// <summary>
/// Holds the error messages for the round manager
/// Author: Alex DeCesare
/// Version: 03-September-2021
/// </summary>
public static class RoundManagerErrorMessages
{
/// <summary>
/// The error message tha... |
using UnityEngine;
using System.Collections;
public class PlayerBehaviour : MonoBehaviour {
// Use this for initialization
void Start () {
}
static Plane XZPlane = new Plane(Vector3.up, Vector3.zero);
public static Vector3 GetMousePositionOnXZPlane()
{
float distance;
Ray ray... |
namespace WinAppDriver.UI
{
using System.Windows.Input;
internal interface IKeyboard
{
bool IsModifierKey(Key key);
bool IsModifierKeysPressed(ModifierKeys keys);
void ReleaseAllModifierKeys();
void KeyUpOrDown(Key key);
void KeyPress(Key key);
... |
using Controller.DrugAndTherapy;
using Model.Manager;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace WpfApp1
{
/// <summary>
/// Interaction logic for CheckingDrug.xaml
/// </summary>
public ... |
using Moudou.CodeGenerator.AbstractionClasses;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
namespace TemplateFramework
{
public class Global
{
static void readTemplates()
{
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class IsoCamera : MonoBehaviour
{
public GameObject CameraTarget;
enum CameraStates
{
Default,
RotateMapCCW, //This is to divide the stage into different sections.
RotateMapCW,
Cinemat... |
namespace EventSourcingService.DTO.PatientSchedulingEventDTO
{
public class SchedulingStepsStatisticDTO
{
public int NumberOfClosedScheduling { get; set; }
public int NumberOfNextSteps { get; set; }
public int NumberOfPreviousSteps { get; set; }
public int NumberOfSteps { get; s... |
using Pe.Stracon.Politicas.Aplicacion.TransferObject.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pe.Stracon.Politicas.Aplicacion.TransferObject.Request.General
{
/// <summary>
/// Representa el objeto de filtro a aplicar a... |
using Alabo.Regexs;
using Alabo.Validations;
using Microsoft.AspNetCore.Mvc;
using System.ComponentModel.DataAnnotations;
namespace Alabo.Data.People.Users.ViewModels
{
/// <summary>
/// Class ViewForgotPassword.
/// </summary>
public class ViewForgotPassword
{
/// <summary>
//... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace App.Data.Models
{
[Table("session")]
public class Session
{
[Key]
[Column("token")]
public string SessionToken { get; set; }
[Column("user_id")]
... |
namespace EqualExperts.Core
{
public class Validation : IValidation
{
public bool ValidateInput(int firstNumber, int secondNumber)
{
return firstNumber <= secondNumber;
}
}
}
|
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using SocialWorld.Entities.Concrete;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SocialWorld.DataAccess.Concrete.EntityFrameworkCore.Mapping
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MyPhoneBook.Core;
using Console = System.Console;
using MyPhoneBook;
namespace ConsoleReference
{
class Spravochnik
{
static void Main(string[] args)
{
var ser... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
namespace Quizlet_Server.Apis
{
[RoutePrefix("api/kiemtras")]
public class KiemTrasController : ApiController
{
[Route("")]
[Http... |
using Alabo.Data.Things.Goodss.Domain.Entities;
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Repositories;
namespace Alabo.Data.Things.Goodss.Domain.Repositories
{
public class GoodsRepository : RepositoryMongo<Goods, long>, IGoodsRepository
{
public GoodsRepository(IUnitOfWork unitOfWork) : base... |
using ASPNet_MVC_AngularJS_SPA.Models;
using ASPNet_MVC_AngularJS_SPA.Services;
using ASPNet_MVC_AngularJS_SPA.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace ASPNet_MVC_AngularJS_SPA.Controllers
{
public class UserController : Contro... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SMG.Common.Conditions
{
public class AnyCondition : Condition
{
public override string ToString()
{
return "ANY";
}
public o... |
using PropertyToken = Serilog.Parsing.PropertyToken;
namespace Serilog.Tests.Parsing;
public class MessageTemplateParserTests
{
static MessageTemplateToken[] Parse(string messageTemplate)
{
return new MessageTemplateParser().Parse(messageTemplate).Tokens.ToArray();
}
// ReSharper disable once... |
using System;
using System.Linq;
using ApplicationServices.Command;
using ApplicationServices.DTO;
using ApplicationServices.Services.Interfaces;
using DomainModel.Entity.AmountClasses;
using DomainModel.Entity.DomainServices;
using DomainModel.Entity.PaymentMethods;
using DomainModel.Entity.PaymentProducts;
using Dom... |
using UnityEngine;
using System.Collections;
public static class ConfigParseUtil
{
public const char DEFAULT_SPLITER = ',';
public const char DEFAULT_APLITER2 = ';';
public static int[] ParseIntArray(string str, char spliter = DEFAULT_SPLITER)
{
if (string.IsNullOrEmpty(str))
retu... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CarTransparency : MonoBehaviour
{
[SerializeField]
private MeshRenderer[] carPartRenderers = null;
[SerializeField]
private Renderer[] fireRenderers = new Renderer[4];
private MaterialPropertyBlock _propB... |
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 PIBP
{
public partial class Menu : Form
{
public Menu()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Wi... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace LivrariaWEB.Models.ViewModels
{
public class FiltroLivroViewModel
{
public int? I... |
using System.Linq;
using ServiceDesk.Infrastructure;
using ServiceDesk.Ticketing.Domain.CategoryAggregate;
namespace ServiceDesk.Ticketing.DataAccess.Repositories
{
public class CategoryRepository : RepositoryBase<Category>, ICategoryRepository
{
private readonly TicketingDbContext _context;
... |
namespace VnStyle.Services.Data.Domain
{
public class ArticleLanguage
{
public long Id { get; set; }
public string HeadLine { get; set; }
public string Content { get; set; }
public string Extract { get; set; }
public string LanguageId { get; set; }
publ... |
using System;
using System.IO;
using System.Linq;
namespace Nono.Engine.IO
{
public class NonFileReader : IDisposable
{
private readonly string _name;
private Stream? _stream;
private bool disposedValue = false;
public NonFileReader(FileStream stream)
: this(stream.... |
using System.Collections.Generic;
namespace Alabo.UI.Design.AutoReports.Dtos {
/// <summary>
/// 表格
/// </summary>
public class SumReportTableItems {
/// <summary>
/// 当前页记录数
/// </summary>
public long CurrentSize { get; set; }
/// <summary>
/... |
#region License
/*
* Copyright 2002-2010 the original author or authors.
*
* 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
*
* Unle... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DesignPatterns.State.Example1
{
public abstract class BaseState
{
protected Player player;
protected List<string> playlist;
protected int currentPlayingIndex = -1;
public BaseState(BaseState state)
... |
using buildingEnergyLoss.Model;
namespace buildingEnergyLoss
{
public class Floor : Construction
{
public Floor(double lengthA, double lengthB, MinimalOutdoorTemperature minimalOutdoorTemperature, TemperatureIndoor temperatureIndoor) : base(lengthA, lengthB, minimalOutdoorTemperature, temperatureIndoo... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace Rwd.Framework.Obsolete.SuretyGroup
{
public static class Cryptography
{
private static string _key = "&%#@?,:*";
//... |
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Marten.Services
{
public class FetchResult<T>
{
public FetchResult(T document, string json)
{
Document = document;
Json = json;
}
public T Document { get; }
public st... |
using EduHome.Models.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EduHome.Models.Entity
{
public class EventSpeaker:BaseEntity
{
public Event Event { get; set; }
public int? EventId { get; set; }
public Speaker Speaker... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MGO.Models
{
public partial class CommissionsReport
{
public string Employee_Name { get; set; }
public float? Employee_Commission { get; set; }
public int Employee_Qty_Sold { get; set; }
... |
// VBConversions Note: VB project level imports
using System.Collections.Generic;
using System;
using System.Linq;
using System.Drawing;
using System.Diagnostics;
using System.Data;
using System.Xml.Linq;
using Microsoft.VisualBasic;
using System.Collections;
using System.Windows.Forms;
// End of VB project level impor... |
namespace BettingSystem.Infrastructure.Betting.Repositories
{
using System.Threading;
using System.Threading.Tasks;
using Application.Betting.Matches;
using Common.Repositories;
using Domain.Betting.Models.Matches;
using Domain.Betting.Repositories;
using Microsoft.EntityFrameworkCore;
... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace StringArray
{
class Program
{
static void Main(string[] args)
{
string numbers = Console.ReadLine();
string[] numbersSplit = Console.ReadLine()
.Split(' ', StringSpl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SamOthellop.Model.Agents
{
/// <summary>
/// Evaluates board based on user-defined features
/// </summary>
class HeuristicAgent : IEvaluationAgent
{
/// <summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DistCWebSite.Core.Entities;
using DistCWebSite.Core.Interfaces;
namespace DistCWebSite.Infrastructure
{
public class OperationRepository : IOperationLogRepository
{
public void Add... |
using System.Linq;
using System.Reflection;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using OpenTelemetry.Resources;
using OpenTelemetry.Trace;
namespace Distribut... |
using HowLeaky.CustomAttributes;
using HowLeaky.Models;
using HowLeaky.Tools;
using HowLeaky.Tools.DataObjects;
using HowLeaky.XmlObjects;
using HowLeakyWebsite.Tools.DHMCoreLib.Helpers;
using System;
using System.Xml.Serialization;
namespace HowLeaky.DataModels
{
public enum PlantingRules { prPlantInW... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.