text stringlengths 13 6.01M |
|---|
namespace AbstractFactory
{
public class CarroLuxo : CarroFactory
{
public override Roda MontarRoda()
{
return new RodaLigaLeve();
}
public override Som MontarSom()
{
return new Bluetooh();
}
}
}
|
using System.Collections.Generic;
public class SCServiceUtils
{
public static string AppendClientId(string baseUrl)
{
if(baseUrl.EndsWith("?")) {
return string.Concat(baseUrl, "client_id=", UniTunesConsts.SC_CLIENT_ID);
}
else {
if(baseUrl.Contains("?")) {
return string.Concat(baseUrl, "&client_id=",... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TinhLuong.Models;
using TinhLuongBLL;
namespace TinhLuong.Controllers
{
public class PassDefaultController : BaseController
{
// GET: PassDefault
SaveLog sv = new SaveLog();
... |
namespace Bolster.API.Status.Stateless
{
public class Failure : Result, IFailure
{
public string FailureReason { get; }
public Failure(string failureReason = null) {
FailureReason = failureReason;
}
public Failure Reason(string failureReason) =>
... |
using System;
using System.Collections.Generic;
using System.IO;
using Aop.Api.Util;
using AopSdk.Core.WebTest.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
namespace AopSdk.Core.WebTest.Areas.NoticeTest.Controllers
{
public class NotifyController : Controller
{
private r... |
using UnityEngine;
using System;
using System.IO;
public enum GameDiffState : int
{
GameDiffLow,
GameDiffMiddle,
GameDiffHigh
}
public class GlobalData {
private static GlobalData Instance;
public static int NetWorkGroup = 0;
static string startCoinInfo = "";
static string FilePath = "";
static public st... |
using System;
using System.Collections.Generic;
using System.Linq;
public class ABC118B
{
public static void Main()
{
var split = Console.ReadLine().Split(' ');
var n = int.Parse(split[0]);
var m = int.Parse(split[1]);
var list = new int[m];
for(int i = 0;i<n;i++){
foreach(var a in Console.ReadLine().Sp... |
using Fingo.Auth.DbAccess.Models.Policies.Enums;
using Fingo.Auth.Domain.Policies.ConfigurationClasses;
namespace Fingo.Auth.Domain.Policies.Factories.Actions.Interfaces
{
public interface IGetUserPolicyConfigurationOrDefaultFromProject
{
PolicyConfiguration Invoke(int userId , Policy policy , int pro... |
using SecuritySite.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SecuritySite.Providers
{
public class AccountInfoProvider
{
public bool IsUserExistByLogin(string login)
{
try
{
using... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using VEE.Models.BasedeDatos;
using System.Web.Mvc;
namespace VEE.Models
{
public class AlumnoViewModels
{
[Key]
public int IdAlumno { get; set; }
[Required... |
using ADP.CommandAdapter;
using System;
using System.Windows.Forms;
namespace TesDB
{
public partial class frmTesKoneksi : Form
{
public frmTesKoneksi()
{
InitializeComponent();
}
private void btnCancel_Click(object sender, EventArgs e)
{
... |
using Anywhere2Go.DataAccess;
using Anywhere2Go.DataAccess.Entity;
using Anywhere2Go.DataAccess.Object;
using log4net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Anywhere2Go.Business.Master
{
public class CompanyLogic
{
... |
using Euler_Logic.Helpers;
using System.Collections.Generic;
using System.Linq;
namespace Euler_Logic.Problems {
public class Problem155 : ProblemBase {
private Dictionary<int, Dictionary<int, HashSet<int>>> _counts = new Dictionary<int, Dictionary<int, HashSet<int>>>();
private Dictionary<int, Ha... |
using Question.DAL.Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Question.DAL
{
public class AddData
{
//testing
public static void Add(MyContext context)
{
AddQuestion(context);
}
private... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SeaFight.Infrastructure
{
public class PointCoords
{
public PointCoords(int x, int y) {
X = x;
Y = y;
}
public int X { get; set; }
... |
using System;
using System.Collections.Generic;
namespace Condor.Persistence
{
internal class EventStoreWriterMessage<TEvent>
where TEvent: new()
{
public Guid CorrelationId { get; set; }
public int ExpectedVersion { get; set; }
public List<TEvent> Events { get; set; }... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class GameOverCandys : MonoBehaviour {
Text instruction;
void Update()
{
instruction = GetComponent<Text>();
var Current_nb_candy = PlayerPrefs.GetInt("CurrentCandy", 0);
instruction... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DocumentSystem
{
public abstract class Document : IDocument
{
public string Name { get; protected set; }
public string Content { get; protected set; }
private readonly IList<KeyValuePair<s... |
using System;
using System.Threading.Tasks;
namespace WispFramework.Patterns.Monitors
{
public class CountdownOperation
{
private readonly object _syncLock = new object();
private bool _completed;
private DateTime _lastUpdate = DateTime.MinValue;
private Task WorkerTask = null... |
// This software is part of the Autofac IoC container
// Copyright (c) 2007 - 2013 Autofac Contributors
// https://autofac.org
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
/... |
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace skyConverter.ModelStructure
{
class Texture : ISerializer
{
private String file = "";
//private Sampler sampler;
public Texture(String _... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Euler_Logic.Helpers {
public class BigNumber {
public enum enumSign {
Positive,
Negative
}
public enumSign Sign { get; set; }
priv... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WAP_ProjetoMIC
{
public partial class _Default : Page
{
private void AtualizaGrid()
{
var db = new MICEntities();
var q... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using BackendApi.DB;
using BackendApi.DB.DataModel;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspN... |
using System;
namespace gView.Server.AppCode
{
public class AuthToken
{
public AuthToken()
{
this.AuthType = AuthTypes.Unknown;
}
public AuthToken(string username, AuthTypes authType, DateTimeOffset expires)
{
this.Username = username;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
[RequireComponent(typeof(NavMeshAgent))]
public class StudentMono : MonoBehaviour
{
private Lobby loby;
private GameManager manager;
private GameTime gtime;
private StudentFactory Sfactory;
public... |
using Langium.DataLayer.DbModels;
using Langium.PresentationLayer;
using Langium.PresentationLayer.ViewModels;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Langium.DataLayer.DataAccessObjects
{
pu... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObstacleLogic : MonoBehaviour {
public float speed;
private void Start () {
Destroy (gameObject, 10);
}
void FixedUpdate () {
transform.position -= Vector3.forward * speed;
}
private void OnCollisionEnter (Collisi... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UIMAYE.businesslayer;
using UIMAYE.classes;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace UIMAYE.Istatistik
{
[XamlCompilation(XamlCompilation... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenQA.Selenium;
namespace Kliiko.Ui.Tests.WebPages.Dashboard.Resources
{
class GalleryPage : WebPage
{
private static readonly By ButtonChangeView = By.XPath(".//*[@id='GalleryCon... |
using OpenTK.Graphics.OpenGL4;
namespace Mandelbrot.Rendering;
public class OpenGl : Renderer
{
protected override Shader? Shader { get; set; }
public override void Initialize(out int vbo, out int vao)
{
Shader = new Shader("Shaders/mandelbrot.vert", "Shaders/mandelbrot.frag");
Shader.Use... |
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 FAITutorial2.Models;
namespace FAITutorial2.Controllers
{
public class VendoriController : Controlle... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Interactable : MonoBehaviour
{
void Update()
{
Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition);
RaycastHit2D hit;
if (hit = Physics2D.Raycast(ray.origin, ray.direction))
{
... |
using ParrisConnection.DataLayer.Entities.Profile;
using ParrisConnection.DataLayer.Entities.Wall;
using System.Data.Entity;
using Microsoft.AspNet.Identity.EntityFramework;
namespace ParrisConnection.DataLayer.Entities
{
public class ParrisDbContext : IdentityDbContext<ConnectionUser>
{
public DbSet<... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace SchemaObjectMapper.Tests
{
[TestFixture]
public class FileReaderFixture
{
[SetUp]
public void Setup()
{
var lines = new List<string>
... |
using System;
using Microsoft.Xna.Framework;
using StardewModdingAPI;
using StardewModdingAPI.Events;
using StardewValley;
using StardewValley.Menus;
using Microsoft.Xna.Framework.Input;
using System.Collections.Generic;
using System.Reflection;
namespace SB_VerticalToolMenu
{
public class ModEntry : Mod
{
... |
using AbiokaScrum.Api.Data;
using AbiokaScrum.Api.Entities;
using AbiokaScrum.Api.Exceptions;
using AbiokaScrum.Api.Helper;
using AbiokaScrum.Api.IoC;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using Sy... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Nac.Fuzzy.Common {
public class NacFuzzyRuleRegex : Regex {
private static readonly string cSpace0 = @"\s*";
private static readonly s... |
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Rendering;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace OTAKURAO_wasm.Pages
{
public partial class Index
{
private int currentCount = 0;
public Index()
... |
using Cs_IssPrefeitura.Dominio.Entities;
using Cs_IssPrefeitura.Dominio.Interfaces.Repositorios;
using Cs_IssPrefeitura.Dominio.Interfaces.Servicos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace Cs_IssPrefeitura.Dominio.... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System.Linq;
using Assets.Common.HorseGame.States;
using Assets.Common.HorseGame.Board;
using M2MqttUnity.Examples;
namespace Assets.Common {
namespace HorseGame
{
public sealed class GameContex... |
using Controller.ExaminationAndPatientCard;
using Controller.RoomAndEquipment;
using Controller.UsersAndWorkingTime;
using Model.Manager;
using Model.Users;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Con... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _57_Lesson
{
class Program
{
static void Main(string[] args)
{
int[,] myArray = new int[2, 3] { { 1, 2, 3 }, { 4, 5, 6 } };
for (int i = 0; i <... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using service.Models;
namespace service.Controllers
{
[Produces("application/json")]
[Route("api/[controller]")]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.BackTracking
{
/// <summary>
/// Given a graph and a number m, make sure a graph can be colored by atmost m colors such that no 2 adjacent vetices have the same color... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Upkeep.Modules.DatabaseExplorer.Models
{
public class SqlSnippet
{
public string Name { get; set; }
public string Sql { get; set; }
}
}
|
using System.ComponentModel.DataAnnotations;
namespace TestShop.Application.Models.Account
{
public class ResetPasswordModel
{
[Required]
[EmailAddress]
public string Email { get; set; }
[Required]
[StringLength(150, ErrorMessage = "Password length must be at least 6 s... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
//Class to manage insertion to and deletion from the Scroll rect (UI list)
public class AppendProgramList : MonoBehaviour {
public Image panel;
private int programsShownCount = 0;
//Add one new entity to Scroll rect
public void App... |
/******************************************************************************\
* Copyright (C) 2012-2016 Leap Motion, Inc. All rights reserved. *
* Leap Motion proprietary and confidential. Not for distribution. *
* Use subject to the terms of the Leap Motion SDK Agreement available at ... |
/*
* Created by SharpDevelop.
* User: Admin
* Date: 5/6/2019
* Time: 4:07 AM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Runtime.InteropServices;
using System.IO;
using System.Threading;
using System.Collections;
namespace proyeto_poo
{
///... |
using GalaSoft.MvvmLight.Messaging;
using Newtonsoft.Json;
using Q400SimpitController.ViewModel.Messaging;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks... |
using UnityEngine;
using UnityEngine.Networking;
using System.Linq;
public class ObjectPosition : NetworkBehaviour
{
private float tps = 15;
private float curTps;
private Vector3 moveDirection;
private Vector3 smooth;
public new Transform transform
{
get
{
... |
using SamOthellop.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static SamOthellop.Model.BoardBase;
namespace SamOthellop.View
{
public static class BoardColorDictionary
{
public static Dictionary<BoardStates, System.D... |
using System.Collections;
using System.Collections.Generic;
using System.Security.Cryptography.X509Certificates;
using UnityEngine;
public class KH_PlayerController : MonoBehaviour
{
public float moveSpeed = 4.0f; //from https://youtu.be/XhliRnzJe5g (How to Make An Isometric Camera and Character Controller in Uni... |
using GalaSoft.MvvmLight;
using MarkdownUtils.MdAnimated;
using Miktemk;
using Miktemk.TextToSpeech.Services;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MarkdownAnimator.ViewModel
{
public class MdDocument... |
namespace RoShamBo
{
public abstract class Player
{
public RoShamBo roshamboValue { get; set; }
public string playerName { get; set; }
public abstract RoShamBo GetRoshamBo();
}
}
|
using System; //using 关键字用于在程序中包含 System 命名空间,一个程序一般有多个 using 语句.
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HelloWorldApplication //该行是 namespace 声明。一个 namespace 是一系列的类。HelloWorldApplication 命名... |
using System;
namespace Maybe
{
// implements monad for the Maybe type (similar to Nullable but applyable to any type)
class Program
{
static void Main()
{
var r3 = from x in 5.ToMaybe()
from y in 6.ToMaybe()
select x + y;
C... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Task2
{
class Program
{
static void Main(string[] args)
{
Console.CursorVisible = false;
Console.Write("Введите первую строку str1: ");
... |
using UnityEngine;
using UnityAtoms.BaseAtoms;
namespace UnityAtoms.MonoHooks
{
/// <summary>
/// Base class for all `MonoHook`s of type `Collision`.
/// </summary>
[EditorIcon("atom-icon-delicate")]
public abstract class CollisionHook : MonoHook<
CollisionEvent,
Collision,
... |
#region Using directives
using System;
using System.Collections.Generic;
using System.Text;
#endregion
namespace Sideris.SiderisServer
{
internal class ByteString
{
private byte[] _bytes;
private int _offset;
private int _length;
public ByteString(byte[] byte... |
using System;
using System.Collections.Generic;
namespace DFC.ServiceTaxonomy.GraphSync.Interfaces
{
public interface INode : IEntity, IEquatable<INode>
{
/// <summary>
/// Gets the lables of the node.
/// </summary>
IReadOnlyList<string> Labels { get; }
}
}
|
using System;
using System.Collections.Generic;
using Moq;
using NUnit.Framework;
using OpenOracle.Services;
namespace OpenOracle.Tests
{
[TestFixture]
public class ConfigTests
{
#region Test Helpers
private static Config BuildConfig(
ITomlService tomlService = null)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ECS.Legacy
{
public class FakeWindow : IWindow
{
public int OpenWindowCount { get; private set; }
public int CloseWindowCount { get; private set; }
public... |
using System;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Amazon.KeyManagementService;
using Amazon.KeyManagementService.Model;
using Amazon.Lambda.Core;
namespace Pobs.MobileNotifications.NotificationsApp
{
public class Function
{
public void FunctionHandler(ILambdaContext ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComLib.Test
{
public class TestClass
{
public string TestName { get; set; }
public int TestInt { get; set; }
public DateTime TestDate { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using Quark.Attributes;
using Quark.Buffs;
using Quark.Contexts;
using Quark.Effects;
using Quark.Spells;
using Quark.Utilities;
using UnityEngine;
using Attribute = Quark.Attributes.Attribute;
// ReSharper disable ParameterHidesMember
namespace Quark
{
public clas... |
using System.Collections.Generic;
using NHibernate;
using NHibernate.Criterion;
using NHibernate.SqlCommand;
using NHibernate.Transform;
using NHibernate.Type;
using Profiling2.Domain.Contracts.Queries.Search;
using Profiling2.Domain.Prf.Careers;
using SharpArch.NHibernate;
namespace Profiling2.Infrastructure.Queries... |
using System;
class Solution {
public int Grocery_Store(int []A)
{
int n=A.Length;
int size=0;
int result=0;
for(int i=0;i<n;i++)
{
if(A[i]==0)
size+=1;
else
size-=1;
result=Math.Max(result,-size);
}
return result;
}
public static void Main()
{
Solution s=new Solution();
int []A={1,0,1,0,0};
int []B={1,1,0,0,0... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace PatientsRegistry.Domain.Repositories
{
public interface IPatientsRepository
{
Task<IEnumerable<Patient>> GetAllAsync();
Task<Patient> FindPatientAsync(Guid id);
Task SavePatientAsync(Patient patie... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using WebAPITest.Data;
using WebAPITest.Models;
using WebAPITest.Services;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=3978... |
using PiDataAdayProje.Models.Entities;
using PiDataAdayProje.ProjectContext;
using PiDataAdayProje.Repositories.Abstract;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PiDataAdayProje.Repositories.Concrete
{
public class IsYeriRepository : IIsyeriReposi... |
using System.Collections.Generic;
using System.Web.Mvc;
using CarDealer.App.Security;
using CarDealer.Models.BindingModels.Sale;
using CarDealer.Models.BindingModels.Supplier;
using CarDealer.Models.EntityModels;
using CarDealer.Models.ViewModels;
using CarDealer.Models.ViewModels.Supplier;
using CarDealer.Services;
... |
using VesApp.CustomRender;
using VesApp.Droid;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
using Android.Content;
[assembly: ExportRenderer(typeof(ShortLabel), typeof(ShortLabelRender))]
namespace VesApp.Droid
{
public class ShortLabelRender : LabelRenderer
{
public ShortLabelRender(Con... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class SnakeHead : MonoBehaviour
{
[SerializeField] private AudioSource _deathSource;
[SerializeField] private AudioSource _foodSource;
private SnakeMover _mover;
public event UnityAction F... |
using Cs_Gerencial.Dominio.Entities;
using Cs_Gerencial.Dominio.Interfaces;
using Cs_Gerencial.Dominio.Interfaces.Servicos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace Cs_Gerencial.Dominio.Servicos
{
public cl... |
using Autofac;
using Autofac.Integration.Mvc;
using Autofac.Integration.SignalR;
using Autofac.Integration.WebApi;
using Microsoft.AspNet.SignalR;
using Microsoft.AspNet.SignalR.Infrastructure;
using Owin;
using System.Configuration;
using System.Diagnostics;
using System.Web;
using System.Web.Http;
using System.Web.M... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Banco.Contas
{
public class Conta
{
public string Titular { get; private set; }
public int Numero { get; private set; }
public double Saldo { get; private set; ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _02.SegmentDigits
{
class FindDigits
{
static void Main()
{
int linesNumber = Console.ReadLine();
string line = string.Empty;
for (... |
using System;
using System.Diagnostics;
using System.Windows;
using System.Threading.Tasks;
using System.Windows.Threading;
using CatalogSearch.ViewModels;
using System.Linq;
namespace CatalogSearch.Commands
{
class NavigateCommand : CommandBase
{
public NavigateCommand(CatalogSearchViewModel viewModel... |
using System;
using System.IO;
using System.Windows.Forms;
namespace UseFul.Uteis
{
public static class AbriFormularioDinamicamente
{
/// <summary>
/// Recebe uma string para Abrir o Formulario
/// </summary>
/// <param name="Namespace_FormName">Nome do Namespace.NomeForm Ex: t... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using HTB.Database;
using HTBUtilities;
using HTB.Database.Views;
namespace HTB.v2.intranetx.aktenintprovfix
{
public class ProvisionCalc
{
private static readonly log4net.ILog Log = log4net.LogManager.GetLogge... |
using UnityEngine;
namespace Thesis {
public class SinglePeakRoof : Roof
{
public SinglePeakRoof (BuildingMesh parent)
: base(parent)
{
height = 1f;
width = 0.2f;
boundaries = new Vector3[5];
for (int i = 0; i < 4; ++i)
boundaries[i] = parentMesh.roofBase.boundaries[i + 4] +
... |
void test
{
update1
}
|
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
using System.Collections;
using System.Collections.Generic;
// 1. 将其附加到读/写的sprite图像上
// 2. 将绘图层设置为在光线投射中使用
// 3. 将绘图层设置为在光线投射中使用
// 4. 按住鼠标左键画出这个纹理!
public class ScratchMask : MonoBehaviour, IPointerDownHandler, IPointerUpHandler
{
... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using Xabe.FFMpeg.Enums;
namespace Xabe.FFMpeg
{
/// <summary>
/// Information about media file
/// </summary>
public class VideoInfo
{
private readon... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace EssentialTools.Models
{
public interface IDiscountHelper
{
decimal ApplyDiscount(decimal total);
}
public class DefaultDiscountHelper : IDiscountHelper
{
private decimal discountSize;
... |
using MODEL;
using MODEL.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IBLLService
{
public partial interface IFW_PERMISSION_MANAGER : IBaseBLLService<FW_PERMISSION>
{
/// <summary>
/// 根据条件获取权限信息
/// </summary>
... |
using PaperbanknotesServer.model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PaperbanknotesServer.Database
{
public interface ICarRepository
{
void Add(Car item);
IEnumerable<Car> GetAll();
Car Find(long key);
void... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BaseWindow : MonoBehaviour, IWindow
{
protected bool isActive;
[HideInInspector] public bool isBound = false;
protected CanvasGroup canvas => GetComponent<CanvasGroup>();
public string currentWindowName;
v... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace csvBeolvasás
{
class Beolvas
{
public Beolvas(string fajlnev)
{
if (fajlnev.Contains("txt"))
{
string[] fajl = ... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Hakaima;
public class ResourceManager : MonoBehaviour
{
public const int SPRITE_MULTI_TYPE = 100;
public const int SPRITE_MULTI_COMPASS = 10;
[SerializeField]
private Sprite spriteTerrainSoil;
[SerializeField]
private Spri... |
/*
* Author: Generated Code
* Date Created: 01.04.2011
* Description: Represents a row in the tblDokument table
*/
using System.Data.SqlClient;
using System.Data;
using System;
namespace HTB.Database
{
public class tblDokument : Record
{
#region Property Declaration
[MappingAttribute(Fiel... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace reviews.Controllers
{
public class Review
{
public int Grade { get; set; }
public string Title { get; set; }
public string Descr... |
//Name: UIRotateAroundParent.cs
//Project: Spectral: The Silicon Domain
//Author(s) Conor Hughes - conormpkhughes@yahoo.com
//Description: Simple script that rotates a UI element around its parent object.
using UnityEngine;
using System.Collections;
public class UIRotateAroundParent : MonoBehaviour {
private ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EBS.Application.DTO;
namespace EBS.Application
{
public interface IPurchaseContractFacade
{
void Create(CreatePurchaseContract model);
void Edit(EditPurchaseContract model);
... |
using System;
using System.Runtime.InteropServices;
namespace IronAHK.Rusty.Linux.X11.Events
{
[StructLayout(LayoutKind.Sequential)]
internal struct XEventPad
{
internal IntPtr pad0;
internal IntPtr pad1;
internal IntPtr pad2;
internal IntPtr pad3;
internal IntPtr pad4;
internal IntPtr pad5;
internal... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Comp;
using Model;
using System.Data;
using System.Data.SqlClient;
using Dapper;
namespace DAL
{
/// <summary>
/// 库存盘点
/// </summary>
public class D_StockInventory
{
... |
using LivrariaWEB.Data;
using LivrariaWEB.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LivrariaWEB.DAO
{
public class LivroDAO : ILivroDAO
{
private readonly ApplicationDbContext _context;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.