text stringlengths 13 6.01M |
|---|
using System;
using System.Web.UI.WebControls;
using Resources;
using SKT.MES.Model;
using SKT.MES.User.BLL;
using SKT.WMS.Web.AjaxServices.WMSRstorage;
using SKT.WMS.WMSBasicfile.BLL;
using SKT.WMS.WMSRstorage.BLL;
using SKT.WMS.WMSRstorage.Model;
namespace SKT.MES.Web.WMSRstorage.MetroX
{
public partial class W... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Norm;
namespace BPiaoBao.DomesticTicket.Domain.Models
{
/// <summary>
/// 舱位
/// </summary>
///
[Serializable]
public class CabinSeat
{
public CabinSeat()
{
_id = Guid.N... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tes4._3_Tier.DTO
{
class billDTO
{
public int record_id { get; private set; }
public int bill_id { get; private set; }
public float treatment { get; private s... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization.Formatters.Binary;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters;
using System.IO;
using System;
// a class used for saving and loading serializableManagers
public cla... |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StringCalculator.Test
{
[TestFixture]
public class StringCalculatorTests
{
private Calculator sut { get; set; }
[SetUp]
public void S... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO.Compression;
namespace CopiasSeguras.Cifrado
{
class zip
{
//Comprime un archivo dada una ruta
public void Comprimir(string path)
{
string pat... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraController : MonoBehaviour {
private float camera_Z;
public float originalSize;
public float zoomInSize;
public float speed = 1.0f;
private bool moveLeft = false;
private bool moveRight = false;
// public GameO... |
using Logbog.DataAccess;
using System;
using Logbog.Model;
using System.Windows.Forms;
namespace Kørselslogbog
{
public partial class Form_bil : Form
{
private Bil Currentbil;
public Form_bil()
{
InitializeComponent();
}
private bool IsbilNummerValid()
... |
using System;
using System.IO;
using System.Threading;
using System.ServiceModel;
using System.ServiceModel.Web;
using JCDLibrary;
using System.ServiceModel.Description;
using System.Text;
/**
* References:
* http://badger.developpez.com/tutoriels/dotnet/web-service-rest-avec-wcf-3-5/#LII-B
* - mono server.exe /stan... |
using Application.Common.Interfaces;
using Application.Common.Validation;
using Application.V1.Brands.Commands;
using Microsoft.EntityFrameworkCore;
using System.Threading.Tasks;
namespace Application.V1.Brands.Validators
{
public class EditBrandValidator : IValidationHandler<EditBrand.Command>
{
priv... |
using System;
using System.Linq;
using LearningEnglishWeb.Areas.Training.Infrastructure.Facades.Abstractions;
using LearningEnglishWeb.Areas.Training.Infrastructure.Factories;
using LearningEnglishWeb.Areas.Training.Models.ChooseTranslate;
using LearningEnglishWeb.Areas.Training.Services;
using LearningEnglishWeb.Area... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using MonoGameLibrary.Sprite;
using MonoGameLibrary.Util;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GameProgFinalProject_V1
{
... |
using UnityEngine;
using UnityEngine.Networking;
public class PowerUpSpawner : NetworkBehaviour
{
public GameObject[] PowerUps;
[Server]
public void SpawnPowerUp()
{
if (Random.Range(0, 1f) < 0.5f)
{
int powerUpIndex = Random.Range(0, PowerUps.Length);
var pow... |
using BlazorCounterHelper;
using BlazorJsFastDataExchanger;
using BlazorWindowHelper;
using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlazorJsFastDataExchangerDemo.Shared
{
public partial c... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Kalcium
{
public static class Strings
{
public static string Collapse(this IEnumerable<string> me, string separator)
{
StringBuilder builder = new StringBuilder();
bool first... |
using DFe.Classes.Flags;
using NFe.Servicos;
using NFe.Utils;
using PDV.CONTROLER.Funcoes;
using PDV.CONTROLLER.EVENTONFE.Classes;
using PDV.CONTROLLER.EVENTONFE.Util;
using PDV.DAO.DB.Utils;
using PDV.DAO.Entidades;
using System;
using System.Text;
namespace PDV.CONTROLLER.EVENTONFE.Eventos
{
public class Evento... |
#if VRC_SDK_VRCSDK3
using UnityEngine;
using UnityEditor;
using VRC.SDK3.Avatars.Components;
[CustomEditor(typeof(VRCAnimatorTemporaryPoseSpace))]
public class VRCAnimatorSetViewEditor : Editor
{
VRCAnimatorTemporaryPoseSpace view;
GUIStyle styleButtonActive;
GUIStyle styleButtonInactive;
public void ... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace CakeShop.Web.Data.Migrations
{
public partial class AddOrderEntities : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Orders",
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DBStore.Models.VModels
{
public class QuestionVM
{
public int Id { get; set; }
public DateTime? AddDate { get; set; }
public string AddBy { get; set; }
public string Reviews { get; set; }
public... |
/* **********************************************
* 版 权:亿水泰科(EWater)
* 创建人:JinJianping
* 日 期:2019/6/4 14:45:11
* 描 述:视频站点摄像头维护
* *********************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace VagDirLib
{
public class VagDir
{
public string Path { get; set; }
public int Version { get; set; }
//public int EntryCount { get; set; } // T... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hackaton.Models
{
public enum Risk
{
High, Average, Low
}
}
|
using System.Web;
using DittoDemo.Ditto.Processors;
namespace DittoDemo.ViewModels
{
public class NewsItemViewModel
{
[Title]
public string Title { get; set; }
public string Image { get; set; }
public HtmlString BodyText { get; set; }
}
}
|
/*
Equilibirium, a game simulator for balancing economic progress and environmental collapse.
Copyright (C) 2014, Mad House Studios.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using System.ComponentModel;
using System.Windows.Media;
using System.Windows.Media.Im... |
namespace E01_ClassChefInCSharp
{
using System.Collections.Generic;
public class KitchenUtensils : List<Vegetable>
{
public KitchenUtensils(string name)
{
this.Name = name;
}
public string Name { get; private set; }
}
}
|
namespace Triton.Game.Mapping
{
using System;
public enum SoundCategory
{
NONE,
FX,
MUSIC,
VO,
SPECIAL_VO,
SPECIAL_CARD,
AMBIENCE,
SPECIAL_MUSIC,
TRIGGER_VO,
HERO_MUSIC
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Zeiterfassung
{
public partial class Login : Form
{
public Login()
{
this.StartPosition ... |
namespace E04_Permutations
{
using System;
public class StartUp
{
static int n;
public static void Main(string[] args)
{
Console.Write("N=");
n = int.Parse(Console.ReadLine());
int[] array = new int[n];
for (int i = 0; i < array.Le... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
namespace Dao.Solicitud
{
public class TipoPropiedadDao : GenericDao<crmTipoPropiedad>, ITipoPropiedadDao
{
}
}
|
using CoordControl.Core.Domains;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CoordControl.Core
{
/// <summary>
/// Выходной перегон
/// </summary>
public sealed class WayExit : IWay
{
/// <summary>
/// Участок выходного перегона
/// </summary>
public Re... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Karkas.Ornek.TypeLibrary.Ornekler;
using Karkas.Ornek.BsWrapper.Ornekler;
using Karkas.Web.Helpers.BaseClasses;
public partial class Ornekler_CRUD_AciklamaCrud : K... |
using System.Collections.Generic;
using System.Linq;
using ALTechTest.DataTransferObjects;
using ALTechTest.Helpers;
namespace ALTechTest.ViewModels
{
public class ArtistsViewModel
{
public ArtistsViewModel(IEnumerable<ArtistDto> artists)
{
Artists = artists.Distinct(new ArtistComp... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CloneDeploy_Entities
{
[Table("buildings")]
public class BuildingEntity
{
[Column("building_distribution_point")]
public int ClusterGroupId { get; set; }
[Key]
[Datab... |
using System.Collections.Generic;
using DittoDemo.Ditto.Processors;
using DittoDemo.Models;
namespace DittoDemo.ViewModels
{
public class TopNavigationViewModel
{
[MainNav]
public IEnumerable<NavLink> MenuItems { get; set; }
}
} |
using System;
using System.Windows.Input;
using System.Windows.Media;
using WMagic;
using WMagic.Brush.Basic;
using WMagic.Brush.Shape;
using WMaper.Base;
using WMaper.Core;
using WMaper.Meta;
using WMaper.Meta.Param;
namespace WMaper.Plot
{
/// <summary>
/// 图标层
/// </summary>
public sealed class Ico... |
using Mutagen.Bethesda;
using Mutagen.Bethesda.FormKeys.SkyrimSE;
using Mutagen.Bethesda.Skyrim;
using Mutagen.Bethesda.Synthesis;
using Noggog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SpeedandReachFixes
{
public static class MyExtensio... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab4
{
class Program
{
static void Main(string[] args)
{
/* #2. The four components of the counter-controlled repetition are the: control variable, the ini... |
namespace FatCat.Nes.OpCodes.AddressingModes
{
public class ImmediateMode : AddressMode
{
public override string Name => "Immediate";
public ImmediateMode(ICpu cpu) : base(cpu) { }
public override int Run()
{
cpu.AbsoluteAddress = cpu.ProgramCounter;
IncrementProgramCounter();
return 0;
}
}
} |
namespace SGDE.Domain.Converters
{
#region Using
using System.Collections.Generic;
using System.Linq;
using Entities;
using ViewModels;
#endregion
public class WorkStatusHistoryConverter
{
public static WorkStatusHistoryViewModel Convert(WorkStatusHistory workStatusHistory)
... |
using System;
using TreeStore.Messaging;
namespace TreeStore.Model
{
public class ModelController : IDisposable, IObserver<ChangedMessage<ITag>>, IObserver<ChangedMessage<IEntity>>, IObserver<ChangedMessage<IRelationship>>
{
private IDisposable? tagSubscription;
private IDisposable? entitySubs... |
using RevisoHomework.model;
using RevisoHomework.model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace RevisoHomework.model
{
public class Customer : IDentifier
{
public string Name { get; set; }
public int Age { get; set; }
publ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Menu : MonoBehaviour
{
//index 0 = menu
//index 1 = gra
//skok do następnej sceny, sceny gry poprzez inkrementacje indexu:
public void PlayGame(){
SceneManager.LoadSce... |
using NodeGraph.ViewModel;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reflection;
using System.Windows;
using System.Windows.Media;
using System.Xml;
namespace NodeGraph.Model {
[Node()]
public class Node : ModelBase {
#region ... |
using System;
using System.Data;
using System.Text;
using System.Collections.Generic;
using Maticsoft.DBUtility;//Please add references
namespace PDTech.OA.DAL
{
/// <summary>
/// 数据访问类:VIEW_PRO_STEP_TYPE
/// </summary>
public partial class VIEW_PRO_STEP_TYPE
{
public VIEW_PRO_STEP_TYPE()
{}
#region BasicM... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AppDbInstanceModel.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------------... |
using KRF.Core.DTO.Sales;
using KRF.Core.Entities.Sales;
using System.Collections.Generic;
namespace KRF.Core.FunctionalContracts
{
public interface IProspectManagement
{
/// <summary>
/// Create an Prospect
/// </summary>
/// <param name="Prospect">Prospect details</param>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ElectricityMonitor.Domain {
public class SensorNode {
}
} |
using System;
using System.Collections.Generic;
using System.Text;
using TanoApp.Data.EF.EF;
using TanoApp.Data.Entities;
using TanoApp.Data.IRepositories;
namespace TanoApp.Data.EF.Repositories
{
public class BillDetailRepository: EFRepository<BillDetail, int>, IBillDetailRepository
{
public BillDet... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace CityGameWeb.Models.JSON
{
public class Game
{
public Game()
{
Hints = new List<Hint>();
}
public int Id { get; set; }
public int UserId { get; set; }
publ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QualificationExaming.Services
{
using Services;
using Dapper;
using IServices;
using MySql.Data.MySqlClient;
using System.Configuration;
using Entity;
public class ... |
using System;
using System.Diagnostics;
namespace CoreEngine
{
[Conditional("UNITY_EDITOR")]
[Conditional("PRESERVE_ATTRIBUTES")]
[AttributeUsage(AttributeTargets.Field)]
public sealed class SliderAttribute : Attribute
{
public float Min{get;private set;}
public float Max{get;private set;}
publi... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using OmniSharp.Extensions.LanguageServer.Protocol;
using Xunit;
using Xunit.Abstractions;
namespace Lsp.Tests
{
public class DocumentUriTests
{
private readonly ITestOutputHelper _test... |
using Amazon.S3.Model;
using Microsoft.Extensions.Logging;
using System.IO;
using System.Threading.Tasks;
namespace PdfUploder.Services
{
public interface IAmazonWebServicesS3
{
Task<DeleteObjectResponse> DeleteAsync(string srcBucket, string srcKey);
string ReadBase64String(Stream stre... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemy : MonoBehaviour {
AnimationType animBool = AnimationType.Idle;
public float nextAnimation;
public float parryWindowAcceptanceError;
float endStunTime;
public float stunForBeats = 2f;
... |
namespace Archiver_Kononov.K.G._11_809
{
public class Node
{
public char? Symbol;
public int Frequency;
public Node LeftChild;
public Node RightChild;
public Node(char? symbol = null, int frequency = 0)
{
Symbol = symbol;
Frequen... |
using System;
namespace B1_04_Auto {
public class Auto {
#region fields
// Objektvariablen
private readonly string _marke;
private readonly string _modell;
private readonly int _baujahr;
private double _preis;
#endregion
#region properties
... |
namespace Shapes
{
using System;
public class Circle : Shape
{
public Circle(decimal radius)
{
this.Width = radius;
}
public override decimal CalculateSurface()
{
decimal surface = (decimal)Math.PI * (this.Width * this.Width);
ret... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using System.Linq.Expressions;
using System.Linq;
using Reception.Domain.Services.Abstractions;
namespace DataAccess.EntityFramework.Repositories
{
/// <summary>
/// Реали... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Mediatheque
{
public class Bd : Oeuvre
{
string dessinateur;
public string Dessinateur { get => dessinateur; set => dessinateur = value; }
public Bd(string t, string a, string e, string r, int nbexemplaire, ... |
using AutoMapper;
using CSharpFunctionalExtensions;
using EnsureThat;
using L7.Domain;
using MediatR;
namespace L7.Business
{
public class AddShoppingCartCommandHandler : RequestHandler<AddShoppingCartCommand, ShoppingCartModel>
{
private readonly IShopingCartRepository repository;
private rea... |
using Espades.Api.Models.Base;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace Espades.Api.Models
{
public class PessoaModel : BaseModel
{
public string Nome { get; set; }
public string Email { get; set; } //VARCHAR(100) NOT NULL,
public ... |
namespace OmniSharp.Extensions.JsonRpc.Server
{
public class ServerError : ResponseBase
{
public ServerError(ServerErrorResult result) : this(null, result) => Error = result;
public ServerError(object? id, ServerErrorResult result) : base(id) => Error = result;
public ServerErrorResult... |
using LogicBuilder.Attributes;
using System;
using System.Collections.Generic;
using System.Text;
namespace Contoso.Forms.Parameters.Common
{
public class MessageTemplateParameters
{
public MessageTemplateParameters()
{
}
public MessageTemplateParameters
(
... |
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 HC8
{
public partial class Form1 : Form
{
public static Graphics g;
pu... |
using Android.App;
using Android.Widget;
using Android.OS;
using Android.Gms.Maps;
using Android.Gms.Maps.Model;
using Android.Util;
using Android.Net.Http;
using System.Net;
using System;
using Android.Locations;
using System.Collections.Generic;
using System.Threading.Tasks;
using Newtonsoft.Json;
using System.Linq;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace l2p
{
class l2p5
{
public static void MounthTemp()
{
int mounth_num = l2p2.AskMounth();
double day_temp = l2p1.CalcAverageTemp();
... |
using NUnit.Framework;
using LotteryService;
namespace LotteryTests
{
public class TestClass3
{
Class1 threeSortedNumbers = new Class1();
[Test]
public void ReturnThreeNumSorted()
{
int[] lotteryNums3 = new int[] { 120, 45, 60 };
var output = threeSorted... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Caliburn.Micro;
using Voronov.Nsudotnet.BuildingCompanyIS.Entities;
namespace Voronov.Nsudotnet.BuildingCompanyIS.UI.ViewModels
{
public class VehicleJournalViewModel : PropertyChangedBase
{
p... |
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 Adneom.CoffeMachine.Domain.Entities;
using Adneom.CoffeMachine.Domain.Repository;
namespace Adneom.Coffe... |
using System.Collections.Specialized;
namespace AtlBot.Models.Slack
{
public interface ISlackClient
{
string Invoke(string apiMethod, NameValueCollection data);
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace KekManager.Data.Models
{
public class SubjectKekJoinModel
{
public int SubjectId { get; set; }
public SubjectModel Subject { get; set; }
public int KekId { get; set; }
public KekModel Kek { get; set; ... |
using System.Collections.Generic;
namespace Enrollment.Forms.View.Common
{
public class SortView
{
public string Field { get; set; }
public string Dir { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// We are also benchmarking obsolete methods
#pragma warning disable CS0618 // Type or member is obsolete
namespace Benchmark.Benchmarks
{
using System.Collections;
using BenchmarkDotNet.Attri... |
using System;
namespace PDV.DAO.QueryModels
{
public class ResumoVendasQueryModel
{
public DateTime DataDe { get; set; }
public DateTime DataAte { get; set; }
public string Status { get; set; }
public string IDsOperacaoString { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;
using System.Text;
using System.Xml.Serialization;
namespace Serialization.DataContract
{
class XmlDataContract
{
public DataContractSerializer xmlSerializer = new DataContractSerializer(typeof(List<Pr... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using PVB_Stage_Applicatie.Models;
using System.IO;
namespace PVB_Stage_Applicatie.Controllers
{
public class BegeleiderController : Controller
{
priv... |
/**
*┌──────────────────────────────────────────────────────────────┐
*│ 描 述:
*│ 作 者:zhujun
*│ 版 本:1.0 模板代码自动生成
*│ 创建时间:2019-06-05 12:20:06 ... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("BannerPopup")]
public class BannerPopup : MonoBehaviour
{
public BannerPopup(IntPtr address) : this(address, "BannerPopup")
{
}
public BannerPopup(IntPtr address, string className) : base(addre... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ClassLibrary2
{
public class Class2
{
private static string getPluginName()
{
return "ToUpper";
}
public static... |
using LuaInterface;
using SLua;
using System;
public class Lua_UnityEngine_TextureFormat : LuaObject
{
public static void reg(IntPtr l)
{
LuaObject.getEnumTable(l, "UnityEngine.TextureFormat");
LuaObject.addMember(l, 1, "Alpha8");
LuaObject.addMember(l, 2, "ARGB4444");
LuaObject.addMember(l, 3, "RGB24");
L... |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace InformAppPlus.Servico
{
public class ImgurResposta
{
[JsonProperty("data")]
public Dados Dados { get; set; }
[JsonProperty("success")]
public bool? Sucesso { get; set; }
[JsonProperty("status"... |
using System.Collections.Generic;
namespace PortioningMachine.SystemComponents
{
public interface IBin
{
double weight {get; }
double target {get; }
void add(IItem item);
double score_item(IItem item); // was added in exe 4 in order to aviod creating multiple interface for th... |
/* 21. Write a program that reads a string from the console and prints all different letters
* in the string along with information how many times each letter is found. */
using System;
using System.Collections.Generic;
using System.Linq;
class PrintAllDifferentLetters
{
static void Main()
{
Consol... |
using System;
namespace AdventCalendar
{
/// <summary>
/// --- Day 2: I Was Told There Would Be No Math ---
/// http://adventofcode.com/day/2
/// </summary>
public class Day2
{
/// <summary>
/// The elves are running low on wrapping paper, and so they need to submit an order fo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PaizaFramework
{
/// <summary>
/// paiza の出題回答に使用する汎用的なユーティリティ処理を纏める。
/// </summary>
public static class PaizaUtility
{
/// <summary>
/// プロキシパターンでIOの向き先を変える為のインタフェース
/// </summary>... |
using System;
namespace ScClient
{
public class Parser
{
public enum ParseResult
{
ISAUTHENTICATED,
PUBLISH,
REMOVETOKEN,
SETTOKEN,
EVENT,
ACKRECEIVE
}
public static ParseResult parse(object dataobject,lon... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QueueUsingArray
{
class MyQueue
{
int front,rear = -1; int[] queue = new int[100];
void enqueue(int x)
{
if (rear == 99)
... |
using System;
using System.Windows.Input;
using uwpEvernote.Model;
namespace uwpEvernote.View.Commands {
public class LoginCaommand: ICommand {
public LoginVM VM { get; set; }
public event EventHandler CanExecuteChanged;
public LoginCaommand(LoginVM vm) {
VM = vm;
}... |
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 Core.Domain;
using Core.Domain.Attributes;
using LinqToDB.Mapping;
using System;
namespace Core.NUnitTest.Tests.Logging
{
/// <summary>
/// Сущность для тестирования логирования
/// </summary>
[Table(Name = "LoggingWithIdentity", Schema = "dbo", Database = "CoreTest")]
[LogTable(LogTableName... |
using System;
using System.Collections.Generic;
using System.Text;
namespace SSL
{
class Joueur
{
// Variables internes
private string _nom;
private int _score;
private string _team;
// Proprietes
public string Nom
{
get { return _nom;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI;
namespace One.Converter
{
public class ColorConverter
{
/// <summary>
/// 将16进制的颜色转为成Color类型
/// </summary>
/// <param name="stringColor"></para... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
using Triton.Game.Mono;
[Attribute38("CardSpecificMultiVoLine")]
public class CardSpecificMultiVoLine : MonoClass
{
public CardSpecificMultiVoLine(IntPtr address) : this(address, "CardSpecificMultiVoLine")
{
}
... |
#region 模块信息
/*----------------------------------------------------------------
// Copyright (C) 2015 广州
//
// 模块名: ChatWindow
// 创建者: 蔡亿飞
// 邮箱: smallrainf@gmail.com
// 修改者列表:
// 创建日期: 2016-03-05 20:55:30
// 模块描述:
//----------------------------------------------------------------*/
#endregion
using Unity... |
// Copyright 2021 Google LLC. All Rights Reserved.
//
// 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 applica... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShopBillingApp.BAL
{
class CategoryBAL
{
public int CatID { get; set; }
public string CategoryName { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CoreComponents.Items;
namespace CoreComponents.Text
{
public sealed class TextOutputCache : RestrictedQueue<string>
{
readonly StringBuilder mySB;
public TextOutputCache()
{
mySB... |
using System.Collections.Generic;
using System.Threading.Tasks;
using AutoMapper;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using trunk.Controllers.Resources;
using trunk.Core.Models;
using trunk.Persistence;
names... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MDToHTML
{
class CustomMarkdown : MarkdownDeep.Markdown
{
public override void OnPrepareLink(MarkdownDeep.HtmlTag tag)
{
base.OnPrepareLink(tag)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.