text stringlengths 13 6.01M |
|---|
using System;
namespace Data.Utils.QueryBuilder.SearchRules
{
public class WhereSearchRule : ISearchRule
{
private Func<string, object> _action;
public string Field { get; set; }
public string Statement { get; set; }
public Func<string, object> Action
{
get... |
using System.Collections.Generic;
namespace Alabo.UI.Design.AutoReports {
public interface IAutoReport {
/// <summary>
/// 报表类型
/// </summary>
/// <param name="query"></param>
/// <returns></returns>
List<AutoReport> ResultList(object query, AutoBaseModel auto... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
namespace Win32
{
public class DeviceInterface
{
private DeviceInformationSet DeviceInfoSet;
private SP_DEVICE_INTERFACE_DATA InterfaceData;
public DeviceInterfa... |
using Microsoft.WindowsAzure.Storage.Blob;
namespace TryHardForum.Services
{
public interface IUploadService
{
// Тут полный треш, и потому я буду просто писать код.
CloudBlobContainer GetBlobContainer(string connectionString);
}
} |
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
namespace PingoSnake
{
class TextureManager
{
private IDictionary<string, Texture2D> Textures;
public TextureManager()
{
this.Textures = new Dictionary<string, Texture2D>();... |
using System;
public class Class1
{
public Class1()
{
}
}
{
constructor(GPACs)
{
this.rawGPACs = GPACs;
console.log(this.rawGPACs);
}
getGPA()
{
var credit = 0;
var total = 0;
for (var count = 0; count < this.rawGPACs.length; count++)
{
... |
using PopulationFitness.Models.FastMaths;
using PopulationFitness.Models.Genes.BitSet;
using System;
namespace PopulationFitness.Models.Genes.Valley
{
public class TridGenes : NormalizingBitSetGenes
{
private class MinCalculator : IValueCalculator<double>
{
public double Calculate... |
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 OCRGet
{
public partial class FormHelp : Form
{
public RichTextBox richText { ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using eTicaretProjesi.ENT;
using System.Threading.Tasks;
using eTicaretProjesi.ENT.ViewModel;
using eTicaretProjesi.BL.AccountRepository;
using eTicaretProjesi.ENT.IdentityModel;
using eTicaretProjesi.BL.Settings... |
namespace AzureAI.CallCenterTalksAnalysis.FunctionApps.Utils
{
internal static class FunctionNamesRepository
{
public const string FileAnalysisOrchestratorFunc = "func-file-analysis-orchestrator";
public const string TextFileAnalyzerFunc = "func-text-file-analyzer";
public const string ... |
using Anywhere2Go.DataAccess.Object;
using ClaimDi.DataAccess;
using ClaimDi.DataAccess.Entity;
using log4net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClaimDi.Business.Master
{
public class MappingCarTaskBikeLogic
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//**********************************************************************
//
// 文件名称(File Name):LoadNodeListRequest.CS
// 功能描述(Description):
// 作者(Author):Aministrator ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using Serialization.Mappers;
namespace Serialization.Providers
{
public class FixedLengthProvider : ISerializationProvider
{
public TextMapping Mapping { get; set; }
public FixedLen... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TRPO_labe_3.Utilities
{
public enum FigureType
{
OrangeRicky,
BlueRicky,
Cleveland,
RhodeIsland,
Hero,
Teewee,
Smashboy
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class Animal : MonoBehaviour {
NavMeshAgent m_NavMeshAgent;
int m_CurrentPatrolPositionId = -1;
public List<Transform> m_PatrolPositions;
public Transform quad;
public GameObject patrolPo... |
using System;
namespace GamePracticeArray
{
public static class HelperIO
{
public static char ReturnDirectionCharacter()
{
bool isCharOK = false;
char inputChar;
do
{
Console.WriteLine("Please enter command");
var... |
using System.IO;
using SFA.DAS.CommitmentsV2.Api.Types.Requests;
namespace SFA.DAS.ProviderCommitments.Web.Models.Apprentice
{
public class DownloadViewModel
{
public string Name { get; set; }
public string ContentType => "application/octet-stream";
public GetApprenticeshipsRequest Req... |
using EasyWebApp.API.Commons;
using EasyWebApp.API.Extensions;
using EasyWebApp.API.Services.CustomerDbConnStrManagerSrv;
using EasyWebApp.Data.DbContext;
using EasyWebApp.Data.DbContextProvider;
using EasyWebApp.Data.Entities.SystemEntities;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
u... |
using DAL;
using BL;
using MVVM_Core;
namespace Main.ViewModels
{
public class ResultViewModel : BasePageViewModel
{
private readonly DeclarationService declarationService;
public string Message { get; set; }
public ResultViewModel(PageService pageservice, DeclarationService declara... |
using System;
using System.Collections.Generic;
using Android.Runtime;
namespace RU.Tinkoff.Core.Nfc.Util {
// Metadata.xml XPath class reference: path="/api/package[@name='ru.tinkoff.core.nfc.util']/class[@name='PdolUtils']"
[global::Android.Runtime.Register ("ru/tinkoff/core/nfc/util/PdolUtils", DoNotGenerateAcw=... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HtmlAgilityPack;
using AngleSharp.Parser.Html;
namespace RegeditS
{
class InBlank
{
private List<Sprava> sprava = new List<Sprava>();
public Agent[] start(string[] okpo)
... |
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;
namespace Foundry.SourceControl
{
public interface IChange
{
ChangeType Type { get; }
ISourceFile File { get; }
ISourceFile OldFile { get; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
namespace ZavenDotNetInterview.Abstract.Logic
{
public interface ILogic<TEntity> where TEntity : class
{
TEntity Get(Guid id);
IEnumerable<TEntity> GetAll();
Guid Add(TEntity entity);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IRAP.Entity.FVS
{
public class AndonPrdtLine
{
public int NodeID { get; set; }
public string NodeName { get; set; }
public int T134LeafID { get; set; }
public string T134... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PortableDeviceApiLib;
using PortableDeviceTypesLib;
using _tagpropertykey = PortableDeviceApiLib._tagpropertykey;
using IPortableDeviceKeyCollection = PortableDeviceApiLib.IPortableDeviceKeyCollect... |
using UnityEngine;
public class Player : MonoBehaviour
{
private GameManager _manager;
private void Awake()
{
_manager = GameManager.Instance;
}
private void OnTriggerEnter(Collider other)
{
if (other.gameObject.tag.Equals("Astronaut"))
{
_manager.Foun... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
namespace Test
{
[Route("api")]
[ApiController]
public class MedicalDataController : ControllerBase
{
private IMedicalDataRepository medicalDataRepository;
public MedicalDataController(IMedicalDat... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using Xamarin.Forms;
namespace MicroSync
{
public enum Modes
{
EditMode,
PlayMode
}
public class Container : AbsoluteLayout
{
//private static int NUM_GRIDLINES = 3;
TapGest... |
using UnityEngine;
public class BrushManager : MonoBehaviour
{
public Material drawMat;
void Start()
{
drawMat.color = Color.black;
drawMat.SetFloat("_BrushSize", 100f);
}
public void SetColor(string color)
{
switch(color)
{
case "red" :
... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class PlayerController : MonoBehaviour {
public int startingmaxhealth;
private int level;
private int xp;
private int xptolevel;
private int health;
private int maxhealth;
public Slider xpslider;
public Slider hpslider;
public Text... |
namespace BootcampTwitterKata
{
public interface IEventsLoader
{
void Load();
}
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace UFO.Commander {
[Serializable()]
public class Config {
private const string FILENAME = "commander_config.xml";
private... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Entities.Concrete;
using FluentValidation;
namespace Business.ValidationRules.FluentValidation
{
public class RentalValidator:AbstractValidator<Rental>
{
public ... |
using System;
using System.Collections.Generic;
namespace StateCorrelations
{
public struct TypeContract : IEqualityComparer<TypeContract>
{
public static TypeContract From<T>() where T : class
{
return new TypeContract(typeof(T));
}
public static TypeContract From... |
using System;
using CC.Mobile.Services;
using Groceries.Domain;
namespace Groceries.Services
{
public interface IServiceFactory: IBasicServiceFactory<AppConfiguration>
{
AppPreferencesService Preferences{get;}
IUsersService Users{get;}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Castle.Core.Logging;
using ITPE3200_1_20H_nor_way.DAL;
using ITPE3200_1_20H_nor_way.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace ITPE3200_1_20H_nor_way.Controllers
{
[Rou... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace XESmartTarget.Core.Responses
{
public class OutputColumn
{
public enum ColType
{
Column,
Tag,
... |
using System;
using DelftTools.Functions.Conversion;
using DelftTools.Functions.Generic;
using NUnit.Framework;
namespace DelftTools.Functions.Tests.Conversion
{
[TestFixture]
public class ConvertedVariableTest
{
[Test]
public void IndependVariable()
{
IVariable<int> x =... |
using UnityEngine;
namespace AudioVisualizer
{
[RequireComponent(typeof(AudioSource))]
public class SpectrumDataProvider : MonoBehaviour
{
[SerializeField]
private int m_SampleSize = 512;
public int SampleSize => m_SampleSize;
public float[] SpectrumData => m_SpectrumData;... |
using FirstFollowParser;
using System;
using System.Collections.Generic;
using System.Text;
namespace LL1Parser
{
class InputLexer
{
public List<String> elements;
public InputLexer()
{
// TODO Auto-generated constructor stub
}
public InputLexer(String fileName, GrammarParser grammer)
{
try... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Aquamonix.Mobile.Lib.Extensions;
namespace Aquamonix.Mobile.Lib.Domain
{
[DataContract]
public class DeviceSetting : IDomainObjectWithId, ICloneable<DeviceSetting>, IMergeable<DeviceSetting>
{
[DataMember... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using UnityEngine;
//
//public class ProceduralFairingBase : PartModule
//{
// [KSPField] public float outlineWidth=0.05f;
// [KSPField] public int outlineSlices=12;
// [KSPField] public Vector4 outlineColor=new Vector4(0, 0, 0.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
namespace Formatter
{
public class ReceiptFormat1:BaseReceiptFormatter
{
/// <summary>
/// Конструктор, сразу в нем формируем тело чека
/// </summary>
/// <param name="recei... |
using System.Collections.Generic;
using System.IO;
using System.Web.Routing;
using Nop.Core;
using Nop.Core.Plugins;
using Nop.Services.Cms;
using Nop.Services.Configuration;
using Nop.Services.Localization;
using Nop.Services.Media;
namespace Nop.Plugin.Widgets.TypeProducts
{
/// <summary>
/// PLugin
/// ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using System.Configuration;
namespace IdomOffice.Core.Config
{
public class ConfigInfo
{
private static string filepath = AppDomain.CurrentDomain.... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Text;
using GameProject.UI;
namespace GameProject
{
public class MainMenu
{
Texture2D background;
Rectangle backgroundRec;
private SpriteFont bangers;
... |
using System.Collections.Generic;
using SuperMario.Entities;
using SuperMario.Entities.BackgroundElements;
using SuperMario.Entities.Blocks;
using SuperMario.Entities.Enemies;
using SuperMario.Entities.Items;
using SuperMario.Entities.Mario;
using SuperMario.Entities.Mario.CentralizedLifeSystem;
using SuperMario.Entit... |
using UnityEngine;
public class SkyRockSpawn : MonoBehaviour
{
public float spawnRate;
private float time = 0.0f;
public GameObject skyRock;
public float height;
public float xBound;
public float zBound;
private void Update()
{
time += Time.deltaTime;
if (spawnRate < ... |
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 Lab_6
{
public partial class Face_clock : Form
{
public Color Ba... |
using System;
namespace Pe.Stracon.SGC.Aplicacion.TransferObject.Response.Contractual
{
/// <summary>
/// Representa el objeto response de Contratos - Observaciones
/// </summary>
/// <remarks>
/// Creación : GMD 20150527 <br />
/// Modificación : <br />
/// </remarks>
publi... |
namespace HandmadeHTTPServer.Data.Migrations
{
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMigrationsConfiguration<HandmadeHTTPServer.Data.SharpStoreContext>
{
public Configuration()
{
... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
namespace Juicy.DirtCheapDaemons.Http
{
public interface IRequest
{
MountPoint MountPoint { get; }
string VirtualPath { get; }
string PostBody { get; set; }
string this[string headerName] { get; set; }
IDictio... |
using System;
namespace Backend_WebProject_API.Models
{
public class TodoItemModel
{
public string TitleHeader { get; set; }
public string TaskDescription { get; set; }
public string UUID { get; set; }
}
}
|
namespace App.Web.Swagger.Examples
{
public static class ExamplesConsts
{
public const string RequestId = "ade44b50-6c66-41a3-9d0d-d82518d8ff84";
public const int UserId = 42;
public const string UserEmail = "foo@bar.baz";
public const string UserPassword = "1234";
public... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WingtipToys.Data;
using WingtipToys.Models;
namespace WingtipToys.Controllers
{
public class HomeController : Control... |
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
[RequireComponent(typeof(Button))]
public class StateButton : MonoBehaviour {
[SerializeField] protected Button _button;
[SerializeField] protected Sprite _inactiveSprite;
[SerializeField] protected Sprite _activeSprite;
[SerializeField] protected... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.SqlClient;
using SSISTeam9.Models;
namespace SSISTeam9.DAO
{
public class EmployeeDAO
{
public static Employee GetUserPassword(string userName)
{
Employee employee = new Employee(... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameLobby : MonoBehaviour {
public List<GameObject> rowLables = new List<GameObject> ();
public List<GameObject> typeSelectBoxes = new List<GameObject> ();
public List<GameObject> faction... |
using Alabo.Web.Mvc.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Alabo.App.Asset.Refunds.Domain.Enums
{
/// <summary>
/// 提现转账 状态
/// </summary>
[ClassProperty(Name = "提现转账状态")]
public enum RefundStatus
{
/// <summary>
/// 待处理
/// </summary... |
public enum InitOrder {
Default,
Maze,
MazeCellManager,
PathToGoalManager,
PhotonConfiguration,
PhotonMovement,
PhotonCollision,
PhotonAnimation,
CameraConfiguration,
CameraController,
DirectionalLight,
Arrow
} |
#region MIT License
/*
* Copyright (c) 2009 University of Jyväskylä, Department of Mathematical
* Information Technology.
*
* 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 rest... |
using System;
using System.Collections.Generic;
using System.Text;
using Xamarin.Forms;
namespace CustomXamarinControls
{
public class CurrencyEntry : Entry
{
public bool ShouldReactToTextChange { get; set; }
public double Decimal;
protected override void OnPropertyCha... |
using System;
using System.Collections;
using System.Collections.Generic;
namespace Cwiczenia
{
internal class Llista<T> : IEnumerable<T>, IEnumerable
{
private T[] array = new T[100];
private int lenght = 0;
public void Add(T args)
{
array[lenght++] = args;
... |
namespace ArrayManipulator
{
using System;
using System.Linq;
public class StartUp
{
public static void Main()
{
var numbers = Console.ReadLine()
.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries)
.Select(int.Parse)
... |
using System;
using System.IO;
using System.Net;
using System.Threading.Tasks;
using Android.Content;
using Explayer.Droid.Services;
using Explayer.Services;
using System.IO.Compression;
using Java.Util.Zip;
using Xamarin.Forms;
[assembly: Dependency(typeof(HandleStaticFilesService))]
namespace Explayer.Droid.Service... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Hacer un programa que pida por pantalla la fecha de nacimiento de una persona (día, mes y año) y calcule el número de días vividos por esa persona hasta la fecha actual (tomar la fecha del sis... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace CPClient.Service.Model
{
public class ClienteEnderecoModel
{
[Key]
public int Id { get; set; }
public string Logradouro { get; set; }
... |
using System.Collections.Generic;
using System.Linq;
using DFC.ServiceTaxonomy.GraphSync.Interfaces;
using DFC.ServiceTaxonomy.GraphSync.JsonConverters;
using Newtonsoft.Json;
namespace DFC.ServiceTaxonomy.GraphSync.Models
{
[JsonConverter(typeof(SubgraphConverter))]
public class Subgraph : ISubgraph
{
... |
namespace SFA.DAS.ProviderCommitments.Web.Models.Cohort
{
public class FileUploadValidateErrorRequest
{
public long ProviderId { get; set; }
public string CachedErrorGuid { get; set; }
}
}
|
using gView.Framework.Carto;
using gView.Framework.Geometry;
using gView.Framework.IO;
using gView.Framework.system;
namespace gView.Framework.Symbology
{
public interface ISymbol : IPersistable, IClone, IClone2, ILegendItem
{
void Draw(IDisplay display, IGeometry geometry);
string Name { get;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Dapper;
using DapperExtensions;
using ReactMusicStore.Core.Domain.Entities;
using ReactMusicStore.Core.Domain.Interfaces.Repository.ReadOnly;
namespace ReactMusicStore.Core.Data.Repository.Dapper
{
public class... |
using System;
using Hayaa.BaseModel;
using Hayaa.CacheKeyStatic;
using Hayaa.Common;
using Hayaa.UserAuth.Service.Core.DataAccess;
namespace Hayaa.UserAuth.Service.Core
{
public class UserAuthoServer : IUserAuthoService
{
public FunctionOpenResult<string> CompanyUserLogin(string loginKey, string pwd, ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CEMAPI.Models;
using Rotativa.Options;
using System.Web.Hosting;
using System.Text.RegularExpressions;
using System.IO;
using CEMAPI.BAL;
using Newtonsoft.Json.Linq;
using System.Web.Configuration;
using CE... |
namespace Podemski.Musicorum.Interfaces.Entities
{
public interface ITrack : IEntity
{
IAlbum Album { get; }
string Title { get; set; }
string Description { get; set; }
}
}
|
/***********************************************************************
* Module: ConsumableEquipmentRepository.cs
* Author: Jelena Budisa
* Purpose: Definition of the Class Repository.ConsumableEquipmentRepository
***********************************************************************/
using System;
using Mode... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Restaurant.Models;
namespace Restaurant.Repositories
{
public interface IMemberRepository
{
/* List<Member> GetMemberByMessage(Message mes);
Member GetMemberBylastname();*/
IEnumera... |
using gView.Framework.Data;
using gView.Framework.FDB;
using gView.Framework.Geometry;
using gView.Framework.UI.Controls.Filter;
using gView.Framework.UI.Dialogs;
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace gView.Framework.UI.Controls
{
public partial class SpatialIndexCon... |
namespace RosPurcell.Web.Infrastructure.DependencyInjection
{
using System.Linq;
using System.Reflection;
using Ninject.Extensions.Conventions;
using Ninject.Modules;
using Ninject.Syntax;
using Ninject.Web.Common;
using RosPurcell.Web.Handlers;
using RosPurcell.Web.Infrastructure.Con... |
using ShapesGraphics.ViewModels;
using System.Windows;
using OpenTK.Graphics.OpenGL;
namespace ShapesGraphics.Views
{
public partial class MainWindow : Window
{
private MainWindowViewModel _viewModel;
public MainWindow()
{
InitializeComponent();
_viewModel = ne... |
using Pe.Stracon.SGC.Aplicacion.TransferObject.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pe.Stracon.SGC.Aplicacion.TransferObject.Request.Contractual
{
/// <summary>
/// Representa el objeto request de Variable Lista
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TicTacToe.Src;
namespace TickTackToeApplication
{
class Program
{
private static TicTacToeService _tickTackToe;
static void Main(string[] args)
{
_tick... |
using UnityEngine;
using System.Collections;
//public enum Dir_Arma { Derecha, Izquierda }
public class Player : Character {
public Player(string image, float size, float posX, float posY)
{
this.size = size;
this.image = image;
this.posX = posX;
this.posY = posY;
}
public override void Start()
{
b... |
using System;
using System.Collections.Generic;
namespace _03_Decimal_to_Binary_Converter
{
public class _03_Decimal_to_Binary_Converter
{
public static void Main()
{
var number = int.Parse(Console.ReadLine());
var binaryNumber = new Stack<int>();
if (numbe... |
namespace GraphQLDynamic.Model
{
public enum AttributeType { Text, Number, Date, Time, DateTime, DropDown }
}
|
namespace HobbyGen.Controllers
{
using System.Collections.Generic;
using HobbyGen.Controllers.Managers;
using HobbyGen.Models;
using HobbyGen.Persistance;
using Microsoft.AspNetCore.Mvc;
/// <summary>
/// WebAPI for communicating with user services
/// </summary>
[Route("... |
using System.IO;
using Core.FileReader.Contracts;
namespace Core.FileReader
{
public class FileReader : IFileReader
{
public string ReadFile(string path)
{
return File.ReadAllText(path);
}
}
}
|
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
namespace PeriodicTable
{
//localization stuff, similar to resources
//at first, I was thinking to add resources to library, but it seems unnecessary
//it's used in both OxygenBalance, ChemicalSubstance... |
// Copyright 2021 by Hextant Studios. https://HextantStudios.com
// This work is licensed under CC BY 4.0. http://creativecommons.org/licenses/by/4.0/
using UnityEditor;
namespace Hextant.Editor
{
// A custom inspector for Settings that does not draw the "Script" field.
[CustomEditor( typeof( Settings<> ), tru... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Microsoft.Win32;
using UseFul.ClientApi;
using U... |
using System;
using VisitorReal.Model;
using Xunit;
namespace VisitorReal.Test
{
public class VisitorRealTest
{
private Employees _employees;
public VisitorRealTest()
{
_employees = new Employees();
_employees.Attach(new Clerk());
_em... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using CODE.Framework.Core.Utilities;
using CODE.Framework.Wpf.Utilities;
namespace CODE.Framework.Wpf.Layout
{
/// <summary>
/// Special layout panel gea... |
using System;
using System.Collections.Generic;
using System.Text;
using Raiding.Models;
namespace Raiding.Core
{
public class Engine : IEngine
{
private const string INVALID_HERO = "Invalid hero!";
public Engine()
{
}
public void Run()
{
List<Bas... |
using LimenawebApp.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Script.Serialization;
namespace LimenawebApp.Cont... |
using System.Collections;
using System.Collections.Generic;
using AlmenaraGames;
using UnityEngine;
/// <summary>
/// Tracks team ID
/// Track if it is in the Nest
/// Tracks whether it is held
/// </summary>
public class Egg : MonoBehaviour
{
//0 = red, 1 = blue
public int TeamID;
//Bools
public... |
using System.Collections.Concurrent;
using System.Collections.Generic;
namespace gView.Framework.IO
{
public class ErrorReport : IErrorReport
{
#region IErrorReport
private ConcurrentBag<string> _warnings = new ConcurrentBag<string>();
private ConcurrentBag<string> _errors = new Conc... |
using System;
using SQLite;
namespace Tianhai.OujiangApp.Schedule.Models.Preferences{
public class Token{
[PrimaryKey]
public int Id{get;set;}=1;
public DateTime ValidBefore{get;set;}
public string AccessToken{get;set;}
public bool IsLoggedIn{get;set;}=false;
}
}
|
namespace FamousQuoteQuiz.Data.RepositoryModels
{
public class User
{
public int Id { get; set; }
public int RoleId { get; set; }
public string UserName { get; set; }
public string Password { get; set; }
public bool IsActive { get; set; }
public bool IsDelet... |
using LibraryCoder.UnitConversions;
using Microsoft.Graphics.Canvas;
using Microsoft.Graphics.Canvas.UI.Xaml;
using SampleUWP.BeamDesign;
using System;
using System.Diagnostics;
using System.Numerics;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Input;
namespace SampleUWP
{
public ... |
using Atc.Resources;
// ReSharper disable InconsistentNaming
// ReSharper disable once CheckNamespace
namespace Atc
{
/// <summary>
/// Enumeration: LogCategoryType categories available for logging.
/// </summary>
public enum LogCategoryType
{
/// <summary>
/// Critical.
//... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.