text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SamOthellop.Model
{
/// <summary>
/// This entire class was retreived from ledpup's Othello work:
/// https://github.com/ledpup/Othello
/// </summary>
public class ThorGame... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace TravelBuddySite.Handlers
{
public class SessionsHandler
{
// Checking if user is manager according to his session
public static bool IsManager(HttpSessionStateBase Session)
{
bool... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using PROnline.Models.Notices;
using PROnline.Models;
using PROnline.Src;
namespace PROnline.Controllers.Notices
{
public class NoticeController : C... |
using System.Collections.Generic;
using System.Linq;
namespace RGR_Kudelin
{
class LZ
{
public class LZ78
{
public List<string> Dictionary { get; set; }
public List<string> FutureDictionary { get; set; }
public string Buffer { get; set; }
public ... |
using System.Collections.Generic;
namespace useSOLIDin
{
class FileLevelReader : IFileReader
{
public void GetAllData(string fileName, List<Level> levels)
{
string name = null;
using (System.IO.StreamReader reader = new System.IO.StreamReader(fileName))
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kadastr.Data.Model
{
class UnifiedRealEstateComplex
{
public int Id { get; set; }
/// <summary>
/// Кадастровый номер
/// </summary>
public stri... |
using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
namespace FakePlayer
{
[Activity(Label = "FakePlayer", MainLauncher = true, Icon = "@drawable/icon")]
public class FakePlayerActivity : Activity
{
protected o... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CalendarApp.ViewModel
{
class CalendarDayViewModel
{
}
}
|
using System.Linq;
using AutoMapper;
using Properties.Core.Objects;
using Properties.Factories;
using Properties.Helper;
namespace Properties.AutoMapper
{
public class ObjectProfile : Profile
{
protected override void Configure()
{
CreateMap<LandlordSummary, Models.LandlordSummary>... |
/*
* + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
*
* == AUCTION MASTER ==
*
* Author: Henrique Fantini
* Contact: contact@henriquefantini.com
*
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
*
* Auction Master is a software with ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/*
* Instatiate one gameObject in List of gameObjects
*/
public class InstantiateTruck : MonoBehaviour {
public GameObject[] trucks;
//----------------------------------------------------------
void Awake ()
{
int truckNumber = R... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.Dynamic_Programming
{
/// <summary>
/// you are given n 3-D boxes. you want to create a stack of boxes with the maximum height
/// you can rotate the box any way ... |
using System.Collections.Generic;
using iSukces.Code.Interfaces;
namespace iSukces.Code
{
public class CsEnumItem : IDescriptable, IAttributable
{
public CsEnumItem()
{
}
public CsEnumItem(string enumName) => EnumName = enumName;
public CsEnumItem(string enumName, int... |
using System;
namespace KartObjects
{
[Serializable]
public abstract class Entity
{
[DBIgnoreAutoGenerateParam]
[DBIgnoreReadParam]
public abstract string FriendlyName { get; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using GodMorgon.CardEffect;
/**
* Action de sight
*/
namespace GodMorgon.GameSequencerSpace
{
public class GSA_Sight : GameSequencerAction
{
public override IEnumerator ExecuteAction(GameContext context)
{
... |
using TestWebService.Model;
namespace TestWebService.Data
{
/// <summary>
/// Интерфейс репозитория
/// </summary>
public interface IRepository
{
/// <summary>
/// Получить массив всех пользователей
/// </summary>
/// <returns>Массив пользователей</returns>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.Data;
using IRAP.Global;
using IRAPShared;
using IRAPORM;
namespace IRAP.BL.UTS
{
public class IRAPPDC : IRAPBLLBase
{
private static string className =
... |
using System;
using System.Collections.Generic;
namespace Library.Model
{
public class DataService
{
public DataService(DataRepository dataRepository)
{
DataRepository = dataRepository;
}
public List<Item> getAllItems()
{
return DataRepo... |
using org.ogre;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PacmanOgre
{
public class GameSDL : ApplicationContext
{
Game _game;
public GameSDL()
{
_game = new Game(this);
}
p... |
using System;
using System.IO;
using System.Xml.Serialization;
using System.Collections.Specialized;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using cd.net;
namespace Searcharoo.Common
{
/// <summary>
/// Catalog of Words (and Files)
/// <summary>
/// <remarks>
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace _3PaaStribe
{
public enum boardpieces { Zero = 0, One = 1, Two = 2, Three = 3, Four = 4, Five = 5, Six = 6, Seven = 7, Eight = 8 }
class Boardpiece
{
private string boardpieces { get; set; }
private int pieceNumbe... |
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 Methods
{
public partial class methods : Form
{
public methods()... |
using System;
namespace ServiceDesk.Ticketing.Domain.TicketAggregate
{
public interface ITicketRepository : IRepository<Ticket>
{
Ticket GetById(/*TicketId ticketId*/Guid id);
Ticket GetByTicketNumber(int id);
}
}
|
using DChild.Gameplay.Combat;
using Sirenix.OdinInspector.Editor;
using Sirenix.Utilities.Editor;
using System;
using UnityEditor;
using UnityEngine;
namespace DChildEditor.Gameplay.Combat
{
[OdinDrawer]
public sealed class AttackDamageListDrawer : OdinAttributeDrawer<AttackDamageListAttribute, AttackDamage[]... |
namespace Source.Code.MyPhoton
{
public static class GlobalConst
{
//Player Properties consts
public const string PLAYER_CARD_POSITION_ID = "PlayerCardID"; //int
public const string PLAYER_LOADED_LEVEL = "PlayerLoadedLevel"; //bool
public const string PLAYER_READY = "PlayerReady... |
using GameManager;
using System.Collections;
using UnityEngine;
public class DialogueTriggerImmediately : DialogueTrigger
{
public bool shouldStart;
public bool notMom;
private bool called;
private Collider[] colliders;
// Start is called before the first frame update
protected override void Start()
{
base.... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
public class SocialMediaButtons : MonoBehaviour {
public Button fbButton;
public Button twitterButton;
public Button shareButton;
[System.Runtime.InteropServices.DllImport("__Internal")]
extern static public v... |
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
using UnityEditor;
public class JoggerRandomMovement : MonoBehaviour
{
private GameObject jogger = AssetDatabase.LoadAssetAtPath<GameObject>("Assets/Prefabs/Jogger.prefab");
[Uni... |
using GoldenBoot.Api.Models;
using System.Linq;
namespace GoldenBoot.Api
{
public class CompetitionSqlRepository : ICompetitionRepository
{
private readonly GoldenBootContext _context;
public CompetitionSqlRepository(GoldenBootContext context)
{
_context = context;
... |
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;
using System.Diagnostics;
namespace WindowsFormsApplication1
{
public pa... |
using System.Collections.Generic;
namespace EPI.HashTables
{
/// <summary>
/// Write a function that takes as input a string and a set of strings and returns the shortest prefix
/// of the string which is not a prefix of any strings in the set
/// </summary>
/// <example>
/// Query string "Cat", in dictionary {... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using System.Reflection;
using IRAP.Global;
using IRAP.Client.User;
using IRAP.Entity.SSO;
... |
using lsc.Model.Enume;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace lsc.Model
{
/// <summary>
/// 客户阶段更新日志
/// </summary>
[Serializable]
public class EnterCustPhaseLog
{
[Key]
public int ID { get; set;... |
using System;
namespace SQLServerBackupTool.Lib
{
public static class ConsoleHelper
{
/// <summary>
/// Enable/disable all coloring while using those helpers
/// </summary>
public static bool DisableColoring
{
get;
set;
}
/// <su... |
using Mongo.Repository;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace StudyMateLibrary.Repository
{
public interface IRepository<T>
{
MongoCollectionSet<T> _Db { get; set; }
void Add(T t);
int Count(Func<T, bool> filter = null);
voi... |
/*
* Author: Generated Code
* Date Created: 23.09.2011
* Description: Represents a row in the tblKassablockMissingNr table
*/
using System;
namespace HTB.Database
{
public class tblKassaBlockMissingNr : Record
{
#region Property Declaration
[MappingAttribute(FieldType = MappingAttribute.FIELD_TYPE_ID... |
namespace XH.Commands.Articles
{
public class UpdateArticleCommand : CreateOrUpdateArticleCommandBase
{
public string Id { get; set; }
}
} |
using System;
using System.Runtime.Serialization;
namespace Engine
{
[Serializable]
[DataContract]
public abstract class BaseComponent
{
[DataMember] public bool Enabled = true;
[DataMember]
public GameObject GameObject { get; internal set; }
public virtual void Start... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
using System;
using System.Net.Sockets;
using System.IO;
using System.Linq;
public class TwitchChat : MonoBehaviour
{
private TcpClient twitchClient;
private StreamReader reader;
private Stream... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace TCPEchoClient
{
class TCPEchoClient
{
static void Main(string[] args)
{
TcpClient clientSocket = ... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Windows.UI.Xaml.Automation.Peers;
namespace Richasy.ExpanderEx.Uwp
{
/// <summary>
/// Exposes <see ... |
using Newtonsoft.Json.Linq;
using RoleManagement.Model;
using RoleManagement.Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web;
using System.Web.Mvc;
using RouteAttribute = System.Web.Http.RouteAttribute;
using H... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Fahrzeugverwaltung
{
abstract class Landfahrzeug : Fahrzeug
{
private uint anzahlRaeder;
public uint AnzahlRaeder
{
get { return anzahlRaeder; }
... |
using System;
using System.Collections.Generic;
namespace EPI.HashTables
{
/// <summary>
/// Write a function that takes an array of strings and a set of strings and returns
/// the indices of the starting and ending index of the shortest subarray that covers
/// the set (i.e. contains all strings in the set)
//... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebQLKhoaHoc.Models
{
public class BaiBaoSearchViewModel
{
public string MaLinhVuc { get; set; }
public string MaLoaiTapChi { get; set; }
public string CQXuatBan { get; set; }
public ... |
using System.Threading.Tasks;
using AutoFixture;
using NUnit.Framework;
using SFA.DAS.ProviderCommitments.Web.Mappers;
using WebApp = SFA.DAS.ProviderCommitments.Application.Commands.CreateCohort;
namespace SFA.DAS.ProviderCommitments.Web.UnitTests.Mappers.CreateCohortRequestToApiCreateCohortRequestMapperTests
{
... |
using System.Collections.Generic;
using System.Windows.Input;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.CommandWpf;
using Podemski.Musicorum.Core.Enums;
using Podemski.Musicorum.Interfaces.Entities;
using Podemski.Musicorum.Interfaces.Factories;
using Podemski.Musicorum.Interfaces.Services;
namespace Podem... |
using FluentAssertions;
using NUnit.Framework;
namespace Beeffective.Tests.ViewModels.HoneycombViewModelTests
{
class Width : TestFixture
{
private const int NewWidth = 4999;
public override void SetUp()
{
base.SetUp();
Sut.Width = NewWidth;
}
... |
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
namespace Zoo
{
public class Animal : MonoBehaviour
{
public string name;
public string eatsound;
public GameObject balloon;
public Text text;
public bool canTrick;
public IHerbivor ... |
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using CIPMSBC;
public partial class Enrollment_Admah_Summ... |
using System.Collections.Generic;
using Aloha.Currency;
using Aloha.ShopSystem;
using UniRx;
using UnityEngine;
using UnityEngine.Serialization;
public class Collection : MonoBehaviour
{
[SerializeField] private CollectionPreviewer _collectionPreviewer;
[SerializeField] private Equipment _equipment;... |
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;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text... |
using System;
using System.Collections.Generic;
using System.Text;
namespace CalculatorService.Domain.Models
{
public class DivParams : ParamsOperationBase
{
public int Dividend { get; set; }
public int Divisor { get; set; }
}
}
|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
namespace Sind.DAL.Infrastructure
{
public class DataBaseInfo
{
public bool VerificarTabelaExiste(string nomeTabela)
{
using (var session = NH... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class LoseCardGroupToSee : MonoBehaviour
{
[SerializeField]
private GameObject CardToSeePrefab;
private int CardGroupLength = 0;
public GameObject Lose_CardPanel;
/// <summary>
/// 生成预制... |
using Prism.Commands;
using Prism.Events;
using Prism.Mvvm;
using Prism.Navigation;
using SOS.Services.Interfaces;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using SOS.Models.Security;
using Xamarin.Forms;
using PrismAppExample.Messages.Security;
using SOS.... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
namespace WowItemMaker2
{
public class Item
{
private ArrayList list_properties;
public Item()
{
list_properties = new ArrayList();
}
public void addProperty(Item... |
using Shipwreck.TypeScriptModels.Declarations;
using Shipwreck.TypeScriptModels.Expressions;
using Shipwreck.TypeScriptModels.Statements;
using System;
using System.CodeDom.Compiler;
using System.Collections.ObjectModel;
using System.IO;
namespace Shipwreck.TypeScriptModels
{
public class TypeScriptWriter : IDisp... |
using System;
class Classe {
static void Main() {
string h, p;
string[] line = Console.ReadLine().Split(" ");
h = line[0];
p = line[1];
double media = Double.Parse(h) / Double.Parse(p);
Console.WriteLine(string.Format("{0:0.00}", media));
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QTouristik.Data.Core
{
public class CustomerBookingInfo
{
public string SiteName { get; set; }
public string OfferName { get; set; }
public DateTime CheckIn { ... |
using System;
using System.Collections.Generic;
using System.Text;
using Dao;
using Model;
namespace Web
{
public partial class NewComing : System.Web.UI.Page
{
public string BestSaleGoods { get; set; }
protected void Page_Load(object sender, EventArgs e)
{
GoodsDao goodsD... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class OutBorder : MonoBehaviour, ICollidable
{
public static Action OnGameOvered = delegate { };
public void OnCollide(GameObject obj)
{
OnGameOvered();
}
}
|
// -----------------------------------------------------------------------
// <copyright company="Fireasy"
// email="faib920@126.com"
// qq="55570729">
// (c) Copyright Fireasy. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
using System.Col... |
namespace ServiceQuotes.Domain.Entities.Enums
{
public enum Status
{
New = 0,
Assigned = 1,
InProgress = 2,
Completed = 3,
Cancelled = 4,
Unpaid = 5,
Paid = 6,
Error = 7,
Pending = 8,
Rejected = 9,
Confirmed = 10,
Ex... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class end_score : MonoBehaviour
{
// Start is called before the first frame update
public TextMeshProUGUI playerScoreUI;
void Start()
{
playerScoreUI.GetComponent<TextMeshProUGUI>().text = ("Score... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QTouristik.Data.Booking
{
public class BookingProcessPart
{
public string DocumentId { get; set; }
public DateTime CreateDate { get; set; }
public BookingProces... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Configuration;
using System.Data;
using Elmah;
namespace CreamBell_DMS_WebApps
{
public partial class frmProductDistructionNote : Sys... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Crawler.Parsers
{
public interface IWebParser
{
Task<IEnumerable<string>> ParsePageForUrlAsync(string parentUrl, string currentUrl);
AggregateException ParserRuntimeExceptions { get; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MainMenuSounds : MonoBehaviour {
public AudioClip click;
public AudioSource clickSource;
private void Start()
{
clickSource.clip = click;
}
public void ButtonClick()
{
clickSource... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using Core.DAL;
using System.ComponentModel.DataAnnotations;
namespace Core.BIZ
{
public class LinhVuc
{
public LinhVuc() { }
public LinhVuc(LINHVUC ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class AsignarPosJostick : MonoBehaviour
{
Controlador controlador;
// Start is called before the first frame update
void Start()
{
controlador = FindObjectOfType<Controlador... |
using DotNetCoreIdentity.Domain.BlogEntries;
using DotNetCoreIdentity.Domain.Identity;
using DotNetCoreIdentity.Domain.PostTypes;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
namespace DotNetCoreIdentit... |
using System.Threading.Tasks;
public class SuccessTask : BaseTask
{
public override Task<TaskResult> Run()
{
return Task.FromResult(TaskResult.Success);
}
}
|
using System;//Biblioteca por defeito
using System.Windows.Forms;//Biblioteca por defeito
namespace Login
{
public partial class frmCommands : Form
{
public frmCommands()
{
InitializeComponent();
}
private void ajuda()//Método com uma Mensagem automática
{ ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SimulationDemo.Elements
{
public class CashierQueue : BaseQueue, IQueue
{
private Customer _currentInServiceCustomer;
public CashierQueue() : base()
{
_waitingqueue = new Linked... |
using System;
namespace SpaceOpDeath.Utils
{
class SpaceOpDeathException: Exception
{
public SpaceOpDeathException( string message )
:base(message)
{
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MapArcGIS
{
public class WorkSpaceWP : WorkSpaceWL
{
internal struct NodeInfo
{
}
internal struct AreaInfo
{
}
internal struct NodeFeature
... |
namespace Sentry.Tests.Internals;
public class ClientReportRecorderTests
{
private readonly Fixture _fixture = new();
private class Fixture
{
public SentryOptions Options { get; } = new();
public ISystemClock Clock { get; } = new MockClock(DateTimeOffset.UtcNow);
}
[Fact]
publ... |
using gView.Framework.Carto;
using gView.Framework.Data;
using gView.Framework.Geometry;
using gView.Framework.Geometry.Tiling;
using gView.Framework.IO;
using gView.Framework.Metadata;
using gView.Framework.system;
using gView.Framework.UI;
using gView.Framework.UI.Controls.Filter;
using gView.Framework.UI.Dialogs;
u... |
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 schoolapp
{
public partial class MainPage : Form
{
public MainPage()
{... |
using AutoMapper;
using EntityLayer.CustomerDetails;
using EntityLayer.Dto;
namespace EntityLayer.AutoMapperProfile
{
public class CustomerMapper : Profile
{
public CustomerMapper()
{
CreateMap<CustomerProfile,CustomerDto>();
CreateMap<CustomerDto,CustomerP... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks.Dataflow;
namespace ChatServer
{
// MainServer 구현하다가 넘어감
public class PacketProcessor
{
// 패킷 프로세스 쓰레드가 실행중인지 아닌지 체크하는 변수
bool IsThreadRunning = false;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BelindaWrightCPA
{
public static class SiteContent
{
// Site header
public static readonly string SiteHeaderName = "Belinda G Wright,";
public static readonly string SiteHeaderOccupation = "C... |
//
// RawReader.cs
//
// Authors:
// Alan McGovern alan.mcgovern@gmail.com
//
// Copyright (C) 2008 Alan McGovern
//
// 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 restriction, ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Euler_Logic.Problems {
public class Problem45 : ProblemBase {
private decimal _triangleNum;
private decimal _triangleIndex;
private HashSet<decimal> _triangles = ne... |
//flowchart: https://lucid.app/lucidchart/3c61e7a5-26d0-4134-bbd4-1e2229ef7dd8/edit?beaconFlowId=00E91D9F05890CE6&page=0_0#
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using static XoloStateMachine;
public class Ghost : Mob
{
public NameSet nameSet;
public Room ... |
using System;
namespace Hatchet
{
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
public class HatchetIgnoreAttribute : Attribute
{
}
} |
using DomainEvents.NotifyPropertyChangedExample;
using System;
using Xunit;
using Xunit.Abstractions;
namespace DomainEventsTest.NotifyPropertyChangedExample
{
public class StudentTest
{
private readonly ITestOutputHelper _output;
public StudentTest(ITestOutputHelper output)
{
... |
public class Solution {
public int RangeBitwiseAnd(int m, int n) {
int i = 0;
while (m != n) {
m >>= 1;
n >>= 1;
i++;
}
return m << i;
}
} |
using System.Threading.Tasks;
using Microsoft.UnifiedPlatform.Service.Common.Configuration;
using Microsoft.UnifiedPlatform.Service.Configuration.ConfitService;
namespace Microsoft.UnifiedPlatform.Service.Configuration.Providers
{
public class ConfitServiceConfigurationProvider: BaseConfigurationProvider
{
... |
using AspNetCoreGettingStarted.Model;
using Microsoft.EntityFrameworkCore;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace AspNetCoreGettingStarted.Data
{
public interface IAspNetCoreGettingStartedContext
{
DbSet<Category> Categories { get; set; }
DbSet<Produ... |
using System.Text.RegularExpressions;
using UnityEngine;
namespace ChampionsOfForest
{
public static class CotfUtils
{
//removes any non ascii characters from a name of the player
public static string TrimNonAscii(string value)
{
string pattern = "[^ -~]+";
Rege... |
using EmberKernel.Services.EventBus;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq.Expressions;
using System.Reflection;
namespace EmberKernel.Services.UI.Mvvm.Dependency
{
public abstract class DependencySet : INotifyPropertyChanged
{
private readonly ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Microsoft.Ajax.Utilities;
using MovidaCristiana.Models;
namespace MovidaCristiana.Controllers
{
public class SesionController : Controller
{
public MovidaCristianaDBEntities stock = new M... |
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
namespace BinaryFog.NameParser {
static internal class NameComponentSets {
public static readonly ImmutableHashSet<string> MaleFirstNames =
new HashSet<string>( ( from c in Resources.MaleFirstNames.Split('\r', '\n') select c... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using HospitalSystem.Models;
namespace HospitalSystem.Business
{
public class Account
{
private static readonly teamworkContext db = new teamworkContext();
public doctor GetDoctor(long... |
using System.ComponentModel;
// More information on INotifyPropertyChanged can be found @ http://go.microsoft.com/fwlink/?LinkId=254639#change_notification
// For another way to accomplish this, see SampleDataSource.cs and BindableBase.cs in the Grid Application C# project template.
// More at: http://jeffhandley.com... |
using LibModels;
using LibModels.common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace TrungTamTienDat.Areas.Admin.Controllers
{
public class LopHocController : Controller
{
//
// GET: /Admin/LopHoc/
#region Danh sá... |
using System;
namespace Uintra.Features.CentralFeed.Models
{
public class ActivityTransferCreateModel
{
public Enum Type { get; set; }
public Guid OwnerId { get; set; }
}
} |
using LHRLA.DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using LHRLA.LHRLA.DAL.DataAccessClasses;
using LHRLA.Core.Helpers;
namespace LHRLA.Controllers
{
[SessionAttribute]
public class CaseCategoriesController : Controller
{
// GE... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.