text stringlengths 13 6.01M |
|---|
using FluentAssertions;
using Xunit;
namespace Trivia.UnitTests
{
public class PlayerTests
{
[Fact]
public void CanAddToPlayerPurse()
{
var player = new Player("Tibuleac");
player.AddToPurse(3);
player.Purse.Should().Be(3);
}
... |
using UnityEngine;
using System.Collections;
public class UI_Test : UIBase
{
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Red : MonoBehaviour {
[SerializeField] Animator anim;
private void OnTriggerEnter(Collider other)
{
if (other.GetComponent<Pelota>()) {
anim.SetTrigger("Gol");
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VeterinariaT1.Modelo
{
class Animal
{
private int idAnimal;
private string nombre;
private int precio;
private string tipo;
private int Estatus... |
using System;
using NUnit.Framework;
namespace Tests.Utils.Various
{
public static class CustomAssert
{
public static void ThrowsWithExceptionMessage<T>(TestDelegate code, string message) where T : Exception
{
Assert.Throws<T>(code);
try
{
c... |
using gView.Framework.Carto;
using gView.Framework.Data.Cursors;
using gView.Framework.Data.Filters;
using gView.Framework.FDB;
using gView.Framework.Geometry;
using gView.Framework.IO;
using gView.Framework.system;
using gView.GraphicsEngine;
using gView.GraphicsEngine.Filters;
using System;
using System.Collections.G... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Data.Entity;
using HotelReservationSystem.DAL;
using HotelReservationSystem.Models;
using HotelReservationSystem.Helpers;
namespace HotelReservationSystem.Controllers
{
public class HomeCont... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MSTestFramework.Helpers
{
public class JsonHelper
{
/// <summary>
/// R... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
public class DefenceCube : BaseClass
{
private int health;
public int Health
{
get
{
return health;
}
set
{
health += value;
}
... |
using NLog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace QuizRunner
{
class Program
{
private static Logger logger = LogManager.GetCurrentClassLogger();
static void Main(string[] args)
{
HttpC... |
using System;
using System.Collections.Generic;
using System.Text;
namespace MergeSort
{
public class SortService : IBaseService
{
public void ConsoleRun()
{
//MergeSort
Console.WriteLine("Enter an array: ");
string line = Console.ReadLine();
int... |
using ISE.Framework.Common.Aspects;
using ISE.Framework.Common.Service.Message;
using ISE.Framework.Common.Service.ServiceBase;
using ISE.SM.Common.DTO;
using ISE.SM.Common.DTOContainer;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Thread... |
//using System;
//using System.Collections.Generic;
//using System.Configuration;
//using System.Linq;
//using System.Text;
//using System.Threading.Tasks;
//using System.Web.Mvc;
//using BradescoPGP.Repositorio.GPA;
//using MySql.Data.MySqlClient;
//namespace BradescoPGP.Repositorio.ServicosGPA
//{
// public clas... |
using CommandLine;
using System;
using System.Drawing;
using System.IO;
namespace TileImageMarker
{
class Program
{
public class Options
{
[Option('r', "row", Required = false, HelpText = "row count")]
public int Row { get; set; }
[Option('c', "col", Requir... |
using UnityEngine;
public class Door : MonoBehaviour
{
[SerializeField] private GameObject questions = null;
[SerializeField] private Animation animation = null;
private bool _isDown = false;
private void OnTriggerEnter(Collider other)
{
if (!_isDown && !other.tag.Equals(P... |
using System.Collections.Generic;
using MinistryPlatform.Translation.Models.DTO;
namespace MinistryPlatform.Translation.Extensions
{
public static class MpEventGroupDtoExtensions
{
#region Birth Month Matching
public static bool HasMatchingBirthMonth(this List<MpEventGroupDto> eventGroups, int... |
using Alabo.Datas.Stores;
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Entities;
namespace Alabo.Domains.Services.Distinct {
public abstract class DistinctBase<TEntity, TKey> : DistinctAsyncBase<TEntity, TKey>, IDistinct<TEntity, TKey>
where TEntity : class, IAggregateRoot<TEntity, TKey> {
... |
using System;
using System.Runtime.Serialization;
namespace JenkinsBuildNotifier.Entities
{
[DataContract]
internal sealed class AuthorModel
{
[DataMember]
public Uri absoluteUrl
{
get;
set;
}
[DataMember]
public string fullName
{
get;
set;
}
}
}
|
namespace ServiceDeskSVC.Domain.Entities.ViewModels.HelpDesk.Tasks
{
public class HelpDesk_TaskStatus_vm
{
public int? Id { get; set; }
public string Status { get; set; }
}
}
|
using System;
using NUnit.Framework;
namespace SignInCheckIn.Tests
{
[TestFixture]
public class BuildTester
{
[Test]
public void ShouldPass()
{
Assert.Pass();
}
[Test]
[Category("IntegrationTests")]
public void ShouldPassLocallyButNotRun... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DFC.ServiceTaxonomy.GraphSync.Models;
using DFC.ServiceTaxonomy.JobProfiles.DataTransfer.Extensions;
using DFC.ServiceTaxonomy.JobProfiles.DataTransfer.Models.ServiceBus;
using DFC.ServiceTaxonomy.JobProfiles.DataTr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using IRAPShared;
using IRAP.Global;
namespace IRAP.Entity.MDM.Tables
{
[IRAPDB(TableName = "IRAPMDM..GenAttr_Product")]
public class GenAttr_Product
{
private long partitioni... |
using System.Reflection;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Astral.Extensions.Mediator;
using SocketTraining.Server.FileService.Queries;
namespace SocketTraining.Server
{
/// <summary>
/// Класс конфигурации приложения
/// </summary>
public class ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace ServerApi.Services.Base
{
internal class SkautIsHttpClient : HttpClient
{
public SkautIsHttpClient()
{
... |
using System.IO;
using EngageNet.Api;
using EngageNet.Exceptions;
using NUnit.Framework;
namespace EngageNet.Tests
{
[TestFixture]
public class ApiResponseParserTests
{
[Test]
[ExpectedException(typeof (AuthenticationErrorException), ExpectedMessage = "Authentication error")]
public void HandlesAuthenticatio... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WalkingEnemy1 : EnemyController
{
private Animator anim;
void Start()
{
anim = GetComponent<Animator>();
}
void Update()
{
anim.SetFloat("Speed", Mathf.Abs(GetComponent<Rigidbody2D>(... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Http.Cors;
using TimeTracker.Infrastructure;
using TimeTracker.Infrastructure.Dto;
using TimeTracker.Infrastructure.DtoMapper;
using TimeTracker.Infrastructure.Entiti... |
using System;
using System.Diagnostics;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using PuppeteerSharp;
namespace WebArchive
{
class Program
{
private static string SetupBasePath = AppDomain.CurrentDomain.SetupInformation.ApplicationBase;
static async Task Main(string[... |
using System.Collections.Generic;
using System.Linq;
using PriceCompareLib.Modules;
namespace PriceCompareLib.Engines
{
public class ExpensiveLowPricesEngine
{
public Dictionary<Supplier, List<Item>> GetHighestLowestPrices()
{
var highLowPricesDic = new Dictionary<Supplier, List<I... |
using FluentValidation.TestHelper;
using NUnit.Framework;
using SFA.DAS.ProviderCommitments.Web.Models.Apprentice;
using SFA.DAS.ProviderCommitments.Web.Validators.Apprentice;
using System;
using System.Linq.Expressions;
namespace SFA.DAS.ProviderCommitments.Web.UnitTests.Validators.Apprentice
{
public class Star... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace damdrempe_zadaca_3.Podaci.Modeli
{
public enum StatusVozaca
{
Raspoloziv,
Vozi,
Godisnji,
Bolovanje,
Otkaz
}
class Vozac
{
... |
//
// --------------------------------------------------------------------------
// Gurux Ltd
//
//
//
// Filename: $HeadURL: svn://utopia/projects/GXDeviceEditor/Development/AddIns/DLMS/DlmsWizardPage1Dlg.cs $
//
// Version: $Revision: 3947 $,
// $Date: 2011-08-31 14:27:28 +0... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using Conditions;
using Conditions.Guards;
using Properties.Core.Interfaces;
using Properties.Core.Objects;
using Properties.Infrastructure.Data.Extensions;
using Properties.Infrastructure.Data.Factories;
using Properties.Infr... |
using Microsoft.Xna.Framework.Media;
using System.Collections.Generic;
namespace SuperMario.Sound
{
public sealed class Music
{
private static readonly Music instance = new Music();
public static Music Instance
{
get
{
return instance;
... |
using UnityEngine;
using System.Collections;
public static class Constants {
public static float G = 9.8f;
}
|
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 FlashScrollBar
{
public partial class Form2 : Form
{
public Form2()
{
InitializeComponen... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IRAP.Entity.Kanban
{
public class UncheckedMoveBack
{
public string Rejecter { get; set; }
public int Quantity { get; set; }
public DateTime OperTime { get; set; }
public... |
using OpenTK.Mathematics;
using System;
using System.Collections.Generic;
using System.Text;
namespace Engine2D.Physics
{
public static class Physics2D
{
private static ChipmunkSharp.cpSpace world;
public static void Init(float gravity = 9.81f)
{
world = new ChipmunkShar... |
using System;
using Microsoft.Graph;
namespace MeetMuch.Web.Calendar
{
public class CalendarEvent
{
public string Subject { get; internal set; }
public string Organizer { get; internal set; }
public DateTime Start { get; internal set; }
public DateTime End { get; internal set; }... |
using FBS.Domain.Core;
using System;
namespace FBS.Infrastructure.Test
{
public class TestAggregateCreatedEvent : DomainEventBase<TestAggregate>
{
public TestAggregateCreatedEvent(Guid aggregateId) : base(aggregateId)
{
}
public TestAggregateCreatedEvent(Guid aggregateId, long... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FichaTecnica.Dominio.Repositorio;
using FichaTecnica.Dominio;
namespace FichaTecnica.Repositorio.EF
{
public class ProjetoRepositorio : IProjetoRepositorio
{
private readonly BaseD... |
using UnityEngine;
using System.Collections;
public class AnitoMovement : MonoBehaviour {
//movement
public float movespeed = 10.0f;
public float rotatespeed = 10.0f;
public Transform weapRot;
//attack
public GameObject weapon;
public GameObject aDmg;
public float cooldown;
public bool atk;
public float a... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using WebSocketSharp;
using System;
public class theater : MonoBehaviour {
WebSocket _ws;
public AVProWindowsMediaMovie _movieA;
public AVProWindowsMediaMovie _movieB;
public string _folder;
public List<string> _file... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IWorkFlow.DataBase;
namespace IWorkFlow.ORM
{
[Serializable]
[DataTableInfo("B_OA_FixedAssets_Son", "id")]
public class B_OA_FixedAssets_Son : QueryInfo
{
/// <summary>
... |
namespace P08MilitaryElite.Core
{
using System;
using System.Linq;
using Factories;
using Handlers;
using Interfaces;
public class Engine : IRunnable
{
private readonly IInputHandler inputHandler;
private readonly IMilitaryRepository militaryRepository;
public Engi... |
using AlgorithmProblems.Linked_List.Linked_List_Helper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.Linked_List
{
class DeleteDuplicatesFromLinkedList
{
/// <summary>
/// Use a Dictionary to dec... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ParallelSerializer
{
public class Barrier : IDisposable
{
private volatile int counter = 0;
private readonly AutoResetEvent resetEvent = new Aut... |
using UnityEngine;
using System.Collections;
public class MoveAnimation : MonoBehaviour {
public float moveToX = 0;
public float moveToY = 0;
public float moveToZ = 0;
public float moveTime = 1.0f;
public float delayTime = 1.0f;
public Direction direction = Direction.To;
Hashtable ht = new... |
using Abhs.Common.Enums;
using Abhs.Model.ViewModel;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Abhs.Model.Model
{
public class ClassPackage
{
public int ClassID { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Threading;
using TvControl;
using TvDatabase;
using TvLibrary.Interfaces;
using TvLibrary.Log;
using TvLibrary.Channels;
using System.Xml.Serialization;
using System.Xml;
using MediaPortal.Playlists;
namespace DVBScanUtilPlugin
{
public class DVBIPScanUti... |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or or http://www.opensource.org/licenses/mit-license.php.
namespace FiiiCoin.Models
{
public class TxFeeForSend : BaseModel
{
private long totalSize;
public long Tot... |
namespace WildFarm.Animals
{
public abstract class Mammal : Animal
{
protected string LivingRegion { get; set; }
protected Mammal(string animalType, string animalName, double animalWeight, string livingRegion)
: base(animalType, animalName, animalWeight)
{
this.... |
using Microsoft.UnifiedPlatform.Service.Common.Configuration;
namespace Microsoft.UnifiedPlatform.Service.Telemetry.Client
{
public interface IAppInsightsClientManager
{
IAppInsightsTelemetryClientWrapper CreateClient(ApplicationInsightsConfiguration applicationInsightsConfiguration, AppMetadataConfig... |
using System;
using System.Collections;
using System.Collections.Generic;
using HTB.Database;
using HTBExtras;
using HTBUtilities;
using System.Reflection;
using HTB.Database.Views;
using HTBServices;
using HTBServices.Mail;
namespace HTBAktLayer
{
public class AktInterventionUtils
{
private static re... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AnchorCannon : Cannon
{
public AnchorCannon()
{
base.dmg = 2;
base.gui = Resources.Load<Sprite>("Cannons/GUI/Anchor Cannon");
}
public override void Fire()
{
base.Fire();
D... |
#if Top
using System.Collections.ObjectModel;
#endif
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Net;
using System.Text;
using System.Threading;
using Phenix.Core.Code;
using Phenix.Core.Data;
using Phenix.Core.Dictionary;
using Phenix.Core.Net;
using Pheni... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Windows.Forms;
using MapPosition.Map;
namespace WindowsApi
{
[System.Runtime.Intero... |
using Common.Models;
using NHibernate;
using NHibernate.Criterion;
using System;
using System.Collections.Generic;
namespace Common.Services
{
public class SozialgruppeService : BaseService
{
public SozialgruppeService(Func<ISession> session)
: base(session)
{
}
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;
namespace MattCallawayFinalProject
{
class Tuner
{
private System.Media.SoundPlayer lowEString;
private System.Media.SoundPlayer aString;
... |
using System;
using Framework.Core.Common;
using Tests.Pages.Van.LogIn;
using Tests.Pages.Van.Main;
using NUnit.Framework;
using Tests.Data.Van;
using Tests.Pages.Van.Main.Common.DefaultPage;
namespace Tests.Projects.Van.Login
{
public class LoginWithActionIdInvalidPin
{
private Driver _dr... |
namespace MalaysiaAPI
{
class XamarinInsights
{
public const string ApiKey = "b39e12332805647636f2cd803d2a40b54d7cfa5d";
}
}
|
using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace BridgeProject
{
public struct IntDataStruct
{
public bool bMin, bMax;
public int iMin, iMax;
... |
using System;
using System.Collections.Generic;
using System.Globalization;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Netcode;
using StardewModdingAPI;
using StardewValley;
using StardewValley.Buildings;
using StardewValley.Locations;
using StardewValley.Menus;
using StardewValley.Ob... |
using UnityEngine;
public class PurpleForm : SecondaryForm {
public float timeBeforeExplosion;
public float explosionSize;
public GameObject mirv;
public Material invisible;
GameObject reflectBall;
public GameObject sprite;
private GameObject core;
public float baseRadius;
public float growValue;
public floa... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace BitByByte.Camera
{
public class RegisterFollower : MonoBehaviour
{
private void OnEnable()
{
UnityEngine.Camera.main.GetComponentInParent<FollowTarget>().target = gameObject;
}
}
} |
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
using UnityAtoms.Editor;
namespace UnityAtoms.BaseAtoms.Editor
{
/// <summary>
/// Constant property drawer of type `Vector2`. Inherits from `AtomDrawer<Vector2Constant>`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(t... |
public class Solution {
public bool SearchMatrix(int[][] matrix, int target) {
int m = matrix.Length, n = matrix[0].Length;
int i = m - 1, j = 0;
while (i >= 0 && j < n) {
if (matrix[i][j] == target) return true;
if (matrix[i][j] < target) j ++;
else if (m... |
namespace BettingSystem.Application.Teams.Commands.Create
{
using System.Threading;
using System.Threading.Tasks;
using Application.Common.Contracts;
using Common;
using Domain.Teams.Factories;
using Domain.Teams.Repositories;
using MediatR;
public class CreateTeamCommand : TeamCommand... |
using System;
namespace Ease.Domain.Entities
{
public class Customer
{
public int Id { get; set; }
public DateTime DateCreated { get; set; }
public DateTime FirstPurchase { get; set; }
public DateTime LastPurchase { get; set; }
}
}
|
using EddiDataDefinitions;
using Newtonsoft.Json.Linq;
using RestSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using Utilities;
namespace EddiStarMapService
{
public partial class StarMapService
{
public List<Faction> GetStarMapFactions(string systemName, long? edsmId = nul... |
namespace ServiceDesk.Ticketing.DataAccess.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class updateUsersAndCategoriesTableNames : DbMigration
{
public override void Up()
{
RenameTable(name: "Ticketing.CategoryStates", newName: "Categori... |
using Microsoft.EntityFrameworkCore;
namespace GraphDataStructure.Models
{
public class GraphDSContext : DbContext
{
public GraphDSContext(DbContextOptions<GraphDSContext> options)
: base(options)
{
}
public DbSet<Vertex> Vertices { get; set; }
public DbSet<... |
using Microsoft.SqlServer.Management.SqlParser.Parser;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace gView.Framework.Data
{
static public class SqlExtensions
{
#region Sql Injection
static public void CheckWhereClauseForSqlInjection(this strin... |
using System.Collections.Generic;
using Discord;
using Discord.Commands;
using JhinBot.Conversation;
using System.Threading.Tasks;
namespace JhinBot.Services
{
public interface IHelpService : IService
{
PagedEmbed GetCommandInfo(List<CommandInfo> commandInfoList, string commandToLookUp, IUser user);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Labb4
{
class Cykel
{
public string Type { get; set; }
public string Brand { get; set; }
public int Gears { get; set; }
static int mensBikes;
s... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class PlanetOverviewPanel : MonoBehaviour
{
public Text FactoryCount;
public GameObject UpgradeFactoryButton;
public Text ShipsCount;
public GameObject UpgradeHangarButton;
public UnityEngine.UI.Button SendShipsButton;
... |
using System;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Phenix.Core.Mapping;
using Phenix.Core.Security.Cryptography;
using Phenix.Core.Web;
namespace Phenix.Web.Client
{
/// <summary>
/// 消息代理
/// </summary>
public sealed class SecurityProxy : ISecurityPr... |
using System;
using System.Collections.Generic;
namespace Jypeli
{
/// <summary>
/// Lista, joka ilmoittaa muutoksistaan.
/// </summary>
/// <typeparam name="T">Listan alkion tyyppi.</typeparam>
public interface INotifyList<T> : IEnumerable<T>
{
/// <summary>
/// Tapahtuu kun l... |
using System;
using Xunit;
namespace Accounts.Domain.Tests
{
public class EventsTests
{
[Fact]
public void Test1()
{
}
}
}
|
namespace Ach.Fulfillment.Persistence.Impl.Mappings
{
using Data;
using FluentNHibernate.Automapping;
using FluentNHibernate.Automapping.Alterations;
public class PartnerMapping : IAutoMappingOverride<PartnerEntity>
{
public void Override(AutoMapping<PartnerEntity> mapping)
... |
using System;
namespace Membership.Data
{
[Serializable]
public class Affiliate : BaseEntity
{
public string Email { get; set; }
//invited user
public User User { get; set; }
public int? UserId { get; set; }
public string RefererSource { get; set; }... |
using ComputeGame.MathExampleHandler;
using Xunit;
namespace ComputeGame.Tester
{
public class ExampleCostTester
{
private ExampleCoster _exampleCoster;
public ExampleCostTester()
{
_exampleCoster = new ExampleCoster();
}
[Theory]
[InlineData(400, 945, OperationKind.Multiplication, 5)]
[InlineDat... |
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
using Trails.Models;
using Trails.Factories;
namespace Trails.Controllers
{
public class TrailsController : Controller
{
private readonly TrailFactory _trailFactory;
public TrailsCon... |
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 Florentis;
namespace VerifySign
{
public partial class SignatureCollectorForm : Form
{
... |
using System;
using System.Collections;
using System.Globalization;
using System.Threading;
using System.Windows.Forms;
using System.Windows.Forms.VisualStyles;
using System.Xml.Serialization;
using Framework.Core.Common;
using Tests.Data.Van.Input;
using Tests.Data.Van.Input.Filters;
using OpenQA.Selenium;
... |
using System;
using System.ComponentModel.DataAnnotations;
//TODO: Add other using statements here
namespace com.Sconit.Entity.CUST
{
public partial class ScheduleLineItem
{
#region Non O/R Mapping Properties
//TODO: Add Non O/R Mapping Properties here.
#endregion
[Display(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IRAP.Entity.Kanban
{
public class StationPortInfo
{
public string WorkUnitName { get; set; }
public string WorkUnitCode { get; set; }
public int WorkUnitLeaf { get; set; }
... |
using System;
using System.Data;
namespace StackExchange.Profiling.Data
{
/// <summary>
/// A general implementation of <see cref="IDbTransaction"/> that is used to
/// wrap profiling information around calls to it.
/// </summary>
public class SimpleProfiledTransaction : IDbTransaction
{
... |
using Datos;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Configuracion;
namespace Negocio
{
public class Encomienda
{
public int idEncomienda { get; set; }
public Decimal codigoEncomienda { get; se... |
using HtmlAgilityPack;
using SDU.ObsApi.Client.Core;
using SDU.ObsApi.Client.Entities;
using SDU.ObsApi.Client.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SDU.ObsApi.Client.Managers
{
public class FeeManager
{
public static async ... |
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("IzBone.PhysCloth.Editor")]
|
/* using System;
class Module{
public unsafe string *sum(string *first, string *second){
return *first + *second;
}
}
class Program{
static unsafe void Main(string[] args){
Module obj = new Module();
Console.WriteLine(obj.sum(&args[0], &args[1]));
}
} */
using System;
class Module{
p... |
using Effigy.Entity.DBContext;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Effigy.Entity
{
public class UserData : BaseEntity
{
public int? UserId { get; set; }
public int? UserType { get; set; }
... |
using System.Collections;
using UnityEngine;
public class animateMom : MonoBehaviour
{
private Animator animator;
private bool b_started;
private void Start()
{
animator = GetComponent<Animator>();
}
// Update is called once per frame
void Update()
{
if (!b_started && !animator.GetCurrentAnimatorStateIn... |
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
using Baseline;
using Remotion.Linq;
namespace Marten.Linq
{
public class MartenQueryable<T> : QueryableBase<T>, IMartenQueryable<T>
{
public MartenQueryable(IQuery... |
using System;
using System.Collections.Generic;
using System.Text;
namespace p27_euler
{
public class SimplePrime
{
public bool isPrime(long number)
{
if (number < 2) return false;
if (number == 2 || number == 3) return true;
if (number % 2 == 0) return fal... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Terminal.Gui;
namespace UICatalog.Scenarios {
[ScenarioMetadata (Name: "ASCIICustomButtonTest", Description: "ASCIICustomButton sample")]
[ScenarioCategory ("Controls")]
public class ASCIICustomButtonTest : Scenario {
private static ... |
namespace PhonebookHost
{
using System;
using System.Collections.Generic;
using System.Linq;
using Wintellect.PowerCollections;
public class PhonebookHostRepository : IPhonebookRepository
{
private OrderedSet<PhonebookContacts> sortedPhonebook = new OrderedSet<PhonebookContacts>();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using KartObjects;
namespace KartSystem
{
public class DocGoodMovementsFormSettings : Entity
{
[XmlIgnore]
public override string FriendlyName
{
get { retur... |
using FlightSimulator.Model;
using FlightSimulator.Model.Connection;
using FlightSimulator.Views.Windows;
using System.ComponentModel;
using System.Threading;
using System.Windows.Input;
namespace FlightSimulator.ViewModels
{
public class FlightBoardViewModel : BaseNotify
{
#region Singleton
pr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.