max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
gate/Bost.BOT/PacketHandlers/Clientbound/BlockChangeHandler.cs | SlenderEmpire/CraftAI | 0 | 7065483 | <reponame>SlenderEmpire/CraftAI
using Bost.Agent.Model;
using Bost.Proto.Mapping;
using Bost.Proto.Packet.Play.Clientbound;
namespace Bost.Agent.PacketHandlers.Clientbound
{
public class BlockChangeHandler : BaseAgentEventHandler<BlockChangePacket>
{
private readonly World _world;
public BlockChangeHandler(Agen... |
src/MonopolyWeb/App_Start/Startup.Auth.cs | pseale/monopoly-dotnet | 2 | 7065484 | <filename>src/MonopolyWeb/App_Start/Startup.Auth.cs
using Microsoft.Owin.Security;
using Microsoft.Owin.Security.Forms;
using Owin;
namespace MonopolyWeb
{
// this class is used by Owin on app load
// ReSharper disable once UnusedMember.Global
public partial class Startup
{
// For more informa... |
src/Services/Novel/Novel.API/Application/Commands/UpdateSegmentCommandHandler.cs | zcqiand/Barasingha-WebApi | 0 | 7065485 | namespace UltraNuke.Barasingha.Novel.API.Application.Commands
{
using AutoMapper;
using MediatR;
using System;
using System.Threading;
using System.Threading.Tasks;
using UltraNuke.Barasingha.Novel.API.Application.DTO;
using UltraNuke.Barasingha.Novel.Domain.AggregatesModel;
using Ultra... |
src/JIgor.Projects.SimplePicker.Api/Entities/EventValue.EntityConfiguration.cs | Igor03/simple-picker | 0 | 7065486 | using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace JIgor.Projects.SimplePicker.Api.Entities
{
public partial class EventValue
{
internal class EntityConfiguration : IEntityTypeConfiguration<EventValue>
{
public void C... |
SectorPointer.cs | moto2002/mobahero_src | 4 | 7065488 | using System;
using UnityEngine;
public class SectorPointer : SkillPointer
{
public enum SectorType
{
Angle_20 = 1,
Angle_30,
Angle_45,
Angle_60
}
[SerializeField]
private GameObject m_objSector20;
[SerializeField]
private GameObject m_objSector30;
[SerializeField]
private GameO... |
AJ3/AJ3.Core/Common/Constants.cs | DennisPitallano/DSSMS | 1 | 7065489 | namespace AJ3.Core.Common
{
public static class LicenseNoteType
{
public static string Restrictions = "Restrictions";
public static string Conditions = "Conditions";
}
}
|
Src/Xigadee.Platform/Configuration/Pipeline/ConfigurationClear.cs | xigadee/Microservice | 58 | 7065491 | <reponame>xigadee/Microservice
#region Copyright
// Copyright <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless r... |
Assets/Scripts/Singletons/SingletonScriptableObject.cs | Rakkoono/HexIsles | 5 | 7065492 | <reponame>Rakkoono/HexIsles
using System.Linq;
using UnityEngine;
public abstract class SingletonScriptableObject<T> : ScriptableObject where T : ScriptableObject
{
private static T instance = null;
public static T Instance
{
get
{
if (!instance)
instance = Resou... |
UNIDAD 5/NumeroMayorMenor/Program.cs | Daniel-Soto2001/POO | 1 | 7065493 | <filename>UNIDAD 5/NumeroMayorMenor/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
int[] N;
int cantidad;
... |
src/DHI.Mesh.Test/MeshInterpolatorTests.cs | DHI/DHI.Mesh | 3 | 7065494 | using System;
using System.Linq;
using NUnit.Framework;
namespace DHI.Mesh.Test
{
[TestFixture]
public class MeshInterpolatorTests
{
/// <summary>
/// Example of how to interpolate from element center values
/// to arbitrary target values, specified as (x,y) target points.
/// </su... |
Dashboard/va.gov.artemis.ui/Controllers/LactationController.cs | Veratics/Maternity-Tracker | 0 | 7065495 | <gh_stars>0
// Originally submitted to OSEHRA 2/21/2017 by DSS, Inc.
// Authored by DSS, Inc. 2014-2017
using System.Web.Mvc;
using VA.Gov.Artemis.UI.Data.Brokers.Common;
using VA.Gov.Artemis.UI.Data.Models.Lactation;
using VA.Gov.Artemis.UI.Filters;
namespace VA.Gov.Artemis.UI.Controllers
{
[DisableLocalCache]... |
Source/WinCopies.Util.Extensions.Shared/Extensions/StringExtensions.cs | pierresprim/WinCopies.Util | 1 | 7065496 | /* Copyright © <NAME>, 2021
*
* This file is part of the WinCopies Framework.
*
* The WinCopies Framework is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your ... |
XFAES/XFAES/obj/Debug/XFAES.MainPage.xaml.g.cs | ozaksuty/XamarinForms-Encryption | 5 | 7065497 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... |
Alinta.CodingTest/Handlers/UpdateCustomerCommandHandler.cs | vbhargav80/Alinta | 0 | 7065498 | <reponame>vbhargav80/Alinta
using System;
using System.Threading;
using System.Threading.Tasks;
using Alinta.CodingTest.Commands;
using Alinta.CodingTest.Data;
using Alinta.CodingTest.Responses;
using AutoMapper;
using MediatR;
using Microsoft.EntityFrameworkCore;
namespace Alinta.CodingTest.Handlers
{
public cla... |
src/System.Reflection.Metadata/tests/Resources/TestResources.cs | Priya91/corefx-1 | 1 | 7065499 | // 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 System.Collections.Immutable;
using System.IO;
namespace System.Reflection.Metadata.Tests
{
internal stat... |
tests/Netjection.UnitTests/SampleServices/DummyStorage.cs | Revazashvili/Netjection | 0 | 7065500 | <gh_stars>0
namespace Netjection.UnitTests.SampleServices;
[InjectAsScoped]
public class DummyStorage
{
public IEnumerable<int> GetDummyData() => new[] { 1, 2, 3, 4, 5 };
} |
NetCoreCMS.Web/Modules/NetCoreCMS.ImageSlider/Widgets/ImageSliderWidget.cs | bibashkafle/NetCoreCMS | 172 | 7065501 | /*************************************************************
* Project: NetCoreCMS *
* Web: http://dotnetcorecms.org *
* Author: OnnoRokom Software Ltd. *
* Website: www.onnorokomsoftware.com *
* ... |
mcs/tools/misc/monostyle.cs | lefb766/mono | 469 | 7065502 | // monostyle.cs
//
// <NAME> (<EMAIL>)
// <NAME> (<EMAIL>)
// (C) 2002 <NAME>
// (C) 2003 <NAME>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at ... |
MetaWeblog.Core/Enclosure.cs | wforney/MetaWeblog | 2 | 7065503 | namespace MetaWeblog
{
using System.Xml.Serialization;
/// <summary>
/// The enclosure class
/// </summary>
public class Enclosure
{
/// <summary>
/// Gets or sets the length.
/// </summary>
/// <value>The length.</value>
[XmlAttribute(AttributeName ="le... |
Client/Framework/SLStudio.Framework/Objects/StudioModule/ModuleRegister/ModuleRegister.cs | adnan-54/SLStudio | 3 | 7065504 | <filename>Client/Framework/SLStudio.Framework/Objects/StudioModule/ModuleRegister/ModuleRegister.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
namespace SLStudio
{
internal class ModuleRegister : IModuleRegister
{
private readonly IContainer container;
... |
MyTestDemo/CodeModules/validateEntry.cs | ssatz/RanorexDataDrivenTesting | 0 | 7065505 | <gh_stars>0
/*
* Created by Ranorex
* User: ADMIN
* Date: 26-06-2019
* Time: 11:27 AM
*
* To change this template use Tools > Options > Coding > Edit standard headers.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.Drawing;
using System.... |
Assets/Scripts/Unity/USquareGridSelector.cs | charredlot/square_grid | 0 | 7065506 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class USquareGridSelector {
/* for inspector */
public readonly string ACTIVE_UNIT_PREFAB = "SelectActiveUnit.prefab";
public readonly string MOVEABLE_PREFAB = "HighlightMoveableSquare.prefab";
public readonly string MOVE_TARGET... |
Assets/_Project/Scripts/controllers/enablePortal.cs | ahappsDev/scientificExperimentVR | 0 | 7065507 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class enablePortal : MonoBehaviour
{
[SerializeField] private GameObject teleport;
// Start is called before the first frame update
void OnEnable()
{
teleport.SetActive(true);
}
}
|
LiveLisp.Core/Types/Unbound.cs | deadtrickster/LiveLisp | 0 | 7065508 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LiveLisp.Core.Compiler;
namespace LiveLisp.Core.Types
{
public sealed class UnboundValue
{
private UnboundValue()
{
}
public static UnboundValue Unbound = new UnboundValue();
}
}
|
slnLatrunculi/Latrunculi.Common/Board/Coord.cs | ondrejgr/Latrunculi | 0 | 7065509 | <filename>slnLatrunculi/Latrunculi.Common/Board/Coord.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Latrunculi
{
/// <summary>
/// Souřadnice
/// </summary>
public struct Coord: IEquatable<Coord>
{
private c... |
benchmarks/CacheTower.AlternativesBenchmark/BaseBenchmark.cs | vp89/CacheTower | 280 | 7065510 | <reponame>vp89/CacheTower
using System;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Jobs;
using BenchmarkD... |
src/scripting/Elsa.Scripting.JavaScript/Services/ListSourceConverter.cs | matt4446/elsa-core | 1 | 7065511 | using System;
using System.ComponentModel;
using System.Data;
namespace Elsa.Scripting.JavaScript.Services;
/// <summary>
/// Converts <see cref="DataSet"/> and <see cref="DataTable"/>.
/// </summary>
public class ListSourceConverter : IConvertsJintEvaluationResult
{
private readonly IConvertsJintEvaluationResult... |
src/Tests/UnitTests/Config/ConfigScenarioTest.cs | andyalm/Kekiri | 0 | 7065512 | using System;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Kekiri.UnitTests.Config
{
[Feature("Configuration", "In order to allow the developer to customize the behavior of the test framework,", "The framework supports customization via a configuration file")]... |
source/HierarchyOfConfigurations/CustomSettings/Sample.cs | idavis/innovatian.configuration | 5 | 7065513 | #region Using Directives
using System;
using System.Reflection;
#endregion
namespace Innovatian.Configuration.Samples.CustomSettings
{
internal class Sample
{
public static void Run()
{
// make sure to do this at the very beginning of your application!
S... |
src/MappingHakAkses.View/FrmHakAkses.Designer.cs | izhal27/mapping-hak-akses | 1 | 7065514 | namespace MappingHakAkses.View
{
partial class FrmHakAkses
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param nam... |
Microservices/AccountingService/Fanda.Accounting.Domain/Migrations/MySQL/20201028143940_AcctMySQL03.cs | fanda-org/fanda-apps2 | 0 | 7065515 | <gh_stars>0
using Microsoft.EntityFrameworkCore.Migrations;
using System;
namespace Fanda.Accounting.Domain.Migrations.MySQL
{
public partial class AcctMySQL03 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<Guid>(
... |
projects/PlaSample/source/PlaSample.Core/CounterCollectorInfo.cs | brian-dot-net/writeasync | 7 | 7065516 | //-----------------------------------------------------------------------
// <copyright file="CounterCollectorInfo.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace PlaSample
{
using Syste... |
AllReadyApp/Web-App/AllReady/Areas/Admin/ViewModels/Resource/ResourceDetailViewModel.cs | mk0sojo/allReady | 1,034 | 7065517 | <gh_stars>1000+
using System.ComponentModel.DataAnnotations;
namespace AllReady.Areas.Admin.ViewModels.Resource
{
public class ResourceDetailViewModel
{
public ResourceDetailViewModel()
{
}
public ResourceDetailViewModel(AllReady.Models.Resource resource)
... |
Countdown.net/Model/WordCount.cs | divisiblebyzero-uk/Countdown.net | 0 | 7065519 | using System;
using System.Collections.Generic;
using System.Linq;
namespace Countdown.net.Model
{
public class WordCount
{
public string TheWord { get; set; }
public int Length { get; set; }
public Dictionary<char, int> LetterCount { get; set; }
public WordCount(String theWor... |
test/Engine/ProtoTest/DSASM/ExecutionMirrorTests.cs | wilsonunitedconsult/try | 0 | 7065520 | <reponame>wilsonunitedconsult/try
using System;
using NUnit.Framework;
using ProtoCore.DSASM.Mirror;
using ProtoCore.Lang;
namespace ProtoTest.Associative
{
class ExecutionMirrorTests : ProtoTestBase
{
[Test]
public void LiteralRetrival()
{
String code =
@"
foo;
[Associative]... |
ConfigurationTool/Panels/OrderManagerPanel.Designer.cs | aurigma/PhotoKiosk | 5 | 7065521 | <reponame>aurigma/PhotoKiosk
namespace Aurigma.PhotoKiosk.ConfigurationTool
{
partial class OrderManagerPanel
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up ... |
Resolving-Event-with-ALC/src/SampleModule-LoadFile/Commands/Command.cs | daxian-dbw/PowerShell-ALC-Samples | 6 | 7065522 | <gh_stars>1-10
using System.Management.Automation;
namespace MyModule
{
[Cmdlet("Get", "Greeting")]
public class MyCommand : PSCmdlet
{
[Parameter(Mandatory = true, ParameterSetName = "UseSharedDependency")]
public SwitchParameter UseSharedDependency { get; set; }
[Parameter(Manda... |
SIS.WebServer/Results/BadRequest.cs | Aleksandrov91/SIS | 0 | 7065523 | <filename>SIS.WebServer/Results/BadRequest.cs
namespace SIS.WebServer.Results
{
using SIS.HTTP.Responses;
public class BadRequest : HttpResponse
{
// TODO
public BadRequest()
: base(System.Net.HttpStatusCode.BadRequest)
{
}
}
}
|
Bannersample/BannersampleSubModule.cs | schplorg/bannersample-mod | 11 | 7065524 | <gh_stars>10-100
using System;
using HarmonyLib;
using TaleWorlds.CampaignSystem;
using TaleWorlds.Core;
using TaleWorlds.MountAndBlade;
namespace Bannersample
{
public class BannersampleSubModule : MBSubModuleBase
{
public override void OnCampaignStart(Game game, object starterObject)
{
base.OnC... |
TestApp/Mock/ParcelGenerator.cs | mitap94/pony-express | 0 | 7065525 | using Newtonsoft.Json;
using Parcels.Models;
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace Tester.Mock
{
class ParcelGenerator
{
private static readonly HttpClient httpClient = new HttpClient();
private static readonly string ParcelAPIEndpoint = "http://localhos... |
src/Orchard/Utility/OperateResult.cs | caoxk/OrchardEF | 0 | 7065526 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Orchard.Utility
{
public enum OperateResult
{
Success = 1,
Fail = 2
}
public class OperateMessage<T>
{
/// <summary>
/// 操作结果
/// </summary>
... |
Ritual/Assets/Resources/Scripts/Sound/EnemyDeath.cs | JustInToCoding/Ritual | 1 | 7065527 | using UnityEngine;
using System.Collections;
public class EnemyDeath : MonoBehaviour {
private AudioSource au_s;
// Use this for initialization
void Start () {
au_s = GetComponent<AudioSource>();
}
// Update is called once per frame
void Update () {
}
}
|
Assets/BrainCloud/Client/BrainCloud/BrainCloudSocialLeaderboard.cs | yasinerduran/BasicGames-Vol-2-SpaceShooter | 0 | 7065528 | //----------------------------------------------------
// brainCloud client source code
// Copyright 2016 bitHeads, inc.
//----------------------------------------------------
using System;
using System.Collections.Generic;
using JsonFx.Json;
using BrainCloud.Internal;
namespace BrainCloud
{
public class BrainClo... |
src/NuGetGallery/OData/SearchService/SearchAdaptorResult.cs | chrno1209/NuGetGallery | 2 | 7065529 | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq;
namespace NuGetGallery.OData
{
public class SearchAdaptorResult
{
public SearchAdaptorResult(bool resultsAreProvided... |
src/GroovyMusic/Filters/Base/BaseFilter.cs | jcapellman/Groovy-Music | 1 | 7065530 | using Xamarin.Forms;
namespace GroovyMusic.Filters.Base
{
public abstract class BaseFilter
{
public abstract string Name { get; }
public abstract ContentView View { get; }
}
} |
CompareCloudware.POCOQueryRepository/DataPump/ReferenceData.cs | protechdm/CompareCloudware | 0 | 7065531 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CompareCloudware.Domain.Models;
using System.IO;
using Newtonsoft.Json;
//using Newtonsoft.Json.Converters;
using CompareCloudware.Domain.Contracts.Repositories;
using System.Text.RegularExpressions;
namespace CompareCloudware... |
Tanks/Assets/BehaviorBricks/Actions/System/MyActions/PatrolTank1.cs | Bullseye14/AI-Tanks | 0 | 7065532 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Pada1.BBCore;
using Pada1.BBCore.Tasks;
using Pada1.BBCore.Framework;
using System;
namespace BBUnity.Actions
{
[Action("MyActions/PatrolTank1")]
public class PatrolTank1 : GOAction
{
public UnityEng... |
src/DaxnetBlog.Web/TagHelpers/MessageTagHelper.cs | daxnet/daxnet-blog | 36 | 7065533 | using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Razor.TagHelpers;
using System.Threading.Tasks;
namespace DaxnetBlog.Web.TagHelpers
{
[HtmlTargetElement("message", TagStructure = TagStructure.NormalOrSelfClosing)]
public class MessageTagHelper : TagHelper
{
private readonly IH... |
c_sharp_08/E02DefaultInterfaceMethod.cs | reazhaq/c-sharp-experiment | 0 | 7065534 | using Xunit;
using Xunit.Abstractions;
namespace c_sharp_08
{
public class E02DefaultInterfaceMethod
{
private readonly ITestOutputHelper testOutputHelper;
public E02DefaultInterfaceMethod(ITestOutputHelper testOutputHelper)
{
this.testOutputHelper = testOutputHelper;
... |
CmsEngine.Ui/Areas/Identity/Pages/Account/Manage/Index.cshtml | davidsonsousa/CmsEngine | 4 | 7065535 | @page
@model IndexModel
@{
ViewData["PageTitle"] = "Profile";
ViewData["PanelTitle"] = "Profile information";
}
@section Breadcrumb {
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="~/cms">Dashboard</a></li>
<li class="breadcrumb-item active">@ViewBag.PageTitle</li>
</ol>
}... |
src/GovUk.Education.ExploreEducationStatistics.Content.Api/Startup.cs | markhiveit/explore-education-statistics | 0 | 7065536 | <filename>src/GovUk.Education.ExploreEducationStatistics.Content.Api/Startup.cs
using GovUk.Education.ExploreEducationStatistics.Content.Api.Converters;
using GovUk.Education.ExploreEducationStatistics.Content.Api.Data;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.... |
ModBrowser/IModSearchEngine.cs | cpof-tea/ModBrowser | 3 | 7065537 | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace SporeCommunity.ModBrowser
{
interface IModSearchEngine
{
/// <summary>
/// Searches for Spore mods that match the given search term.
/// </summary>
/// <param name="search... |
XMLCLRLib/XmlClrLan/Container/Config/ModuleConstructorElement.cs | ridgew/practicemakesperfect | 1 | 7065538 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using System.Xml.Serialization;
namespace XmlClrLan
{
[Serializable]
[XmlRoot(ElementName = "arg")]
public class ModuleConstructorElement : ModuleBuildStepElement
{
[XmlElement(ElementName = "param")]
... |
pwiz_tools/Skyline/Controls/AuditLog/AuditLogExtraInfoForm.cs | austinkeller/pwiz | 0 | 7065539 | <gh_stars>0
/*
* Original author: <NAME> <<EMAIL>r .at. uw.edu>,
* MacCoss Lab, Department of Genome Sciences, UW
*
* Copyright 2018 University of Washington - Seattle, WA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with ... |
src/bctklib/trace-models/ProtocolSettingsRecord.cs | merl111/neo-blockchaintoolkit-library | 1 | 7065540 | using System.Buffers;
using MessagePack;
namespace Neo.BlockchainToolkit.TraceDebug
{
[MessagePackObject]
public class ProtocolSettingsRecord : ITraceDebugRecord
{
public const int RecordKey = 7;
[Key(0)]
public readonly uint Network;
[Key(1)]
public readonly byte ... |
Managed.AndroidDebugBridge/DeviceEventArgs.cs | vaginessa/madb | 102 | 7065541 | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Managed.Adb {
/// <summary>
///
/// </summary>
/// <seealso cref="System.EventArgs" />
public class DeviceEventArgs : EventArgs {
/// <summary>
/// Initializes a new instance of the <see cref=... |
Assets/Scripts/Service/RecordReader.cs | KonH/TetrisGame | 3 | 7065542 | using System.Collections.Generic;
using System.Linq;
using TetrisGame.State;
using UnityEngine;
namespace TetrisGame.Service {
/// <summary>
/// Read records from PlayerPrefs
/// </summary>
public sealed class RecordReader {
public void Read(RecordState state) {
var data = PlayerPrefs.GetString(nameof(RecordS... |
Tests/Break.Net.UnitTests/Helper/LabeledData.cs | JBildstein/Break.Net | 0 | 7065543 | <reponame>JBildstein/Break.Net
using System;
using Xunit.Abstractions;
namespace BreakDotNet.UnitTests
{
public class LabeledData<T> : IXunitSerializable
{
public string Label
{
get;
private set;
}
public T Data
{
get;
pri... |
src/DC.Web.Ui.Tests/Controllers/HomeControllerTests.cs | SkillsFundingAgency/DC-WebUI | 0 | 7065544 | <reponame>SkillsFundingAgency/DC-WebUI
using System.Security.Claims;
using System.Security.Principal;
using DC.Web.Ui.Controllers;
using FluentAssertions;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Moq;
using Xunit;
namespace DC.Web.Ui.Tests.Controllers
{
public class HomeControllerTes... |
Assets/Scripts/ReactionUnitController.cs | theufo/LudumDare45 | 0 | 7065545 | <reponame>theufo/LudumDare45<filename>Assets/Scripts/ReactionUnitController.cs
using UnityEngine;
public class ReactionUnitController : MonoBehaviour
{
private Animator animator;
private int index;
private ChallengeController _challengeController;
public float StartTime;
public float Duration = ... |
etc/Old Unity Code/Scripts/Animation/AbstractTransitionController.cs | capnmidnight/Juniper | 9 | 7065546 | <reponame>capnmidnight/Juniper<filename>etc/Old Unity Code/Scripts/Animation/AbstractTransitionController.cs<gh_stars>1-10
using System;
using Juniper.Input;
using Juniper.IO;
using UnityEngine;
using UnityEngine.Events;
namespace Juniper.Animation
{
/// <summary>
/// Child classes of this class are able to ... |
Bubbles3/ViewModels/LibraryViewModel.cs | philvanzu/Bubbles | 0 | 7065548 | <gh_stars>0
using Bubbles3.Models;
using Bubbles3.Utils;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Data;
using Caliburn.Micro;
using System.Collection... |
Hackerschnitzel/src/User/HUser.Local.cs | Pasi4K5/Hackerschnitzel | 1 | 7065549 | <reponame>Pasi4K5/Hackerschnitzel
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Discord.WebSocket;
using Hackerschnitzel.Discord.Command;
namespace Hackerschnitzel.User
{
internal sealed partial class HUser
{
private stati... |
Bullseye/Internal/TargetCollectionExtensions.cs | lpedras/bullseye | 605 | 7065550 | <reponame>lpedras/bullseye<filename>Bullseye/Internal/TargetCollectionExtensions.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
namespace Bullseye.Internal
{
public static class TargetCollectionExte... |
src/Api.Domain/Domain/Interface/RepositoryBase/IRepository.cs | LincolnLink/API_do_AngularMaterial | 0 | 7065551 | <reponame>LincolnLink/API_do_AngularMaterial
using Domain.Entities;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Domain.Interface.RepositoryBase
{
/// <summary>
/// Implementada na classe: BaseRepository, faz o CRUD generico no banco(EntityFramework)!
/// </s... |
RTDataTests/RT.Core/Geometry/RTGeometryTests.cs | umeshbaria/rt-dtools | 14 | 7065552 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using RT.Core.Geometry;
namespace RTDataTests.RT.Core.Geometry
{
[TestClass]
public class RTGeometryTests
{
public object GridBasedDataStructure { get; private set; }
[TestMethod]
public void GridBasedStrctureInterpolation()
... |
Console Bullet Hell/ConsoleBulletHell/Scripts/Engine/Logic/Condition.cs | Joonaxii/Console-Application-Shmup | 4 | 7065553 | using System.Reflection;
namespace Joonaxii.ConsoleBulletHell
{
public abstract class Condition<T, TT> where TT : Entity
{
public abstract bool IsTrue { get; }
private string _property;
private string _propertyComp;
private PropertyInfo _propInfo;
private FieldInfo _f... |
ElectronicObserver/Utility/SoftwareInformation.cs | 986547004/ElectronicObserver | 0 | 7065554 | <reponame>986547004/ElectronicObserver<filename>ElectronicObserver/Utility/SoftwareInformation.cs<gh_stars>0
using ElectronicObserver.Utility.Mathematics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElectronicObserver.Utility {
/// <s... |
Assets/VektorVoxels/Config/GlobalConstants.cs | VektorKnight/vektor-voxels | 7 | 7065555 | namespace VektorVoxels.Config {
/// <summary>
/// Contains global configuration constants for the engine.
/// Most of these should not be messed with if you don't know what you're doing.
/// </summary>
public static class GlobalConstants {
/// <summary>
/// Some CPUs have absurd thr... |
Kesco.Persons.Web/Models/Contact/Contact.cs | Kesco-m/Kesco.App.Web.MVC.Persons | 0 | 7065556 | <gh_stars>0
using System.ComponentModel.DataAnnotations;
using Kesco.ObjectModel;
using Kesco.Persons.Controls.ComponentModel;
using Kesco.Territories.Controls.ComponentModel;
namespace Kesco.Persons.Web.Models.Contact
{
public class Contact : TrackableEntity<Contact, int>
{
/// <summary>
/// КодКонтакта
/// ... |
EasyGenerator/EasyGenerator.Studio/DbHelper/MSSQL/MSSQLSchemaExtractor.cs | Pinckyang/easygenerator | 0 | 7065558 | using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Data;
using System.Data.SqlClient;
using EasyGenerator.Studio.DbHelper.Info;
using EasyGenerator.Studio.Model;
using EasyGenerator.Studio.Model.DB;
using System.Dynamic;
namespace EasyGenerator.Studio.DbHelper.MSS... |
Learning/HaxeClient/unity/out/src/cs/internal/Exceptions.cs | Espigah/HaxeRepo | 0 | 7065559 | <gh_stars>0
#pragma warning disable 109, 114, 219, 429, 168, 162
namespace haxe.lang{
public class Exceptions {
public Exceptions(){
unchecked {
#line 25 "C:\\HaxeToolkit\\haxe\\std\\cs\\internal\\Exceptions.hx"
{
}
}
#line default
}
[System.ThreadStaticAttribute]
public st... |
Calla-Site/Views/Game/Instructions.cshtml | enricol96/Calla | 1 | 7065560 | @{
Layout = null;
}
<div id="instructions" class="dialog dialog-1">
<div class="dialogTitle">
<h1>Instructions</h1>
<button type="button" class="closeButton">🗙</button>
</div>
<div class="content">
<ul>
<li><strong>Be careful in picking your room name</strong>, if y... |
src/Framework/Schubert.Framework.Web/_Framework/Environment/PackageFinder.cs | endink/Schubert | 13 | 7065561 | <reponame>endink/Schubert<filename>src/Framework/Schubert.Framework.Web/_Framework/Environment/PackageFinder.cs
using Microsoft.Build.Construction;
using Microsoft.Extensions.DependencyModel;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using System;
using System.Collections.Con... |
wrapper/Structs/Vector3Range.cs | ahmed605/win-vcmp-dotnet | 2 | 7065562 | <filename>wrapper/Structs/Vector3Range.cs
using System;
using Fleka.DotnetVcmp.Interop;
namespace Fleka.DotnetVcmp {
/// <summary>
/// This structure represents a Vector3 range.
/// </summary>
public struct Vector3Range {
/// <summary>
/// The lowest possible <see cref="Vector3"/> in th... |
DatabaseFirstLINQ/Problems.cs | coleman399/DatabaseFirstLINQ_REPO | 1 | 7065563 | using System;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using DatabaseFirstLINQ.Models;
namespace DatabaseFirstLINQ
{
class Problems
{
private ECommerceContext _context;
public Problems()
{
_context = new ECommerceContext();
}
public void RunL... |
010_SortingAndSearching/10.11_PeaksAndValleys.cs | h36yang/Cracking-The-Coding-Interview | 0 | 7065564 | <gh_stars>0
using _004_TreesAndGraphs;
namespace _010_SortingAndSearching
{
/// <summary>
/// 10.11) Peaks and Valleys:
/// In an array of integers, a "peak" is an element which is greater than or equal to the adjacent integers
/// and a "valley" is an element which is less than or equal to the adjace... |
VsSolutionRenamer/VsSolutionRenamer.Business/SolutionBackup/IProcess.cs | 6E617468616E636F7830393137/Vs2017SolutionRenamer | 0 | 7065565 | <reponame>6E617468616E636F7830393137/Vs2017SolutionRenamer
namespace VsSolutionRenamer.Business.SolutionBackup
{
public interface IProcess
{
bool Execute(Entities.Models.Files.Solution.Solution source);
// Creates Temp Folder and copies solution to temp folder
string Execute(string sour... |
src/asm.cases/src/prototypes/Store.cs | 0xCM/z0 | 0 | 7065566 | //-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0.Asm
{
using System;
using System.Runtime.CompilerServices;
using static Root;... |
ThetaNetCoreApp/Utils/ImageTools.cs | rysaproject/ThetaNetCore | 6 | 7065567 | <filename>ThetaNetCoreApp/Utils/ImageTools.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;
namespace ThetaNetCoreApp.Utils
{
static class ImageTools
{
/// <summary>
/// Load image from file. <br /> This on... |
Sources/TimeTable/MyStik.TimeTable.Web/Controllers/LecturerController.cs | AccelerateX-org/NINE | 4 | 7065568 | <filename>Sources/TimeTable/MyStik.TimeTable.Web/Controllers/LecturerController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using MyStik.TimeTable.Data;
using MyStik.TimeTable.DataServices;
using MyStik.TimeTable.Web.Models;
using MyStik.TimeTable.Web.Services;
namespac... |
src/NUnitFramework/tests/Internal/Filters/DeMorganOnFiltersTest.cs | lsolano/nunit | 2,306 | 7065569 | <filename>src/NUnitFramework/tests/Internal/Filters/DeMorganOnFiltersTest.cs
// Copyright (c) <NAME>, <NAME> and Contributors. MIT License - see LICENSE.txt
using System.Collections.Generic;
using NUnit.Framework.Interfaces;
namespace NUnit.Framework.Internal.Filters {
public class DeMorganOnFiltersTest : TestFil... |
Sources/Core/Microsoft.StreamProcessing/Ingress/Binary/BinaryIngressStreamable.cs | yorek/Trill | 3 | 7065571 | // *********************************************************************
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License
// *********************************************************************
using System;
using System.Diagnostics.Contracts;
using System.IO;
using Micr... |
api/LMPlatform.UI/Services/AdaptiveLearning/AdaptiveLearningService.svc.cs | SergeiMol/CATSdesigner | 0 | 7065572 | using Application.Core;
using Application.Infrastructure.AdaptiveLearning;
using Application.Infrastructure.ConceptManagement;
using Application.Infrastructure.FilesManagement;
using Application.Infrastructure.KnowledgeTestsManagement;
using Application.Infrastructure.WatchingTimeManagement;
using LMPlatform.AdaptiveL... |
Sharpduino/SerialProviders/ISerialProvider.cs | piccaso/sharpduino | 1 | 7065573 | <reponame>piccaso/sharpduino<filename>Sharpduino/SerialProviders/ISerialProvider.cs
using System;
using System.Collections.Generic;
using Sharpduino.EventArguments;
namespace Sharpduino.SerialProviders
{
/// <summary>
/// This is an abstraction of a provider of serial data,
/// for example a com port or s... |
Assets/EasyMobile/Demo/Scripts/DemoHomeController.cs | makoolabs/xframework | 2 | 7065574 | <reponame>makoolabs/xframework
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using EasyMobile.Internal;
namespace EasyMobile.Demo
{
public class DemoHomeController : MonoBehaviour
{
[Header("Object References")]
public Text installationTi... |
Assets/NoiseCrimeStudiosExamples/Easing Library Visualisation Demo/Scripts/ConvertToAnimationCurve/ExampleEaseToAnimationCurve.cs | noisecrime/Unity-EasingLibraryVisualisation | 212 | 7065575 | /* MIT License
Copyright (c) 2017 NoiseCrime
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, including without limitation the rights
to use, copy, modify, merge, publish, dis... |
src/SFA.DAS.ProviderRelationships.Types/Dtos/GetAccountProviderLegalEntitiesWithPermissionRequest.cs | uk-gov-mirror/SkillsFundingAgency.das-provider-relationships | 0 | 7065576 | using SFA.DAS.ProviderRelationships.Types.Models;
namespace SFA.DAS.ProviderRelationships.Types.Dtos
{
public class GetAccountProviderLegalEntitiesWithPermissionRequest
{
public long Ukprn { get; set; }
public Operation Operation { get; set; }
}
} |
Seleccion_OpenGL/Seleccion_OpenGL.cs | daniville1/Selecting-Objects | 0 | 7065577 | 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 OpenTK.Graphics;
using OpenTK;
using System.IO;
using Glu = OpenTK.Graphics.Glu;
namespace Seleccion_OpenGL
{
public partial... |
UnityProject/Assets/OpenSphericalCamera/Objects/CommandRequest.cs | YuukiMochiduki/Open-Spherical-Camera-For-Unity | 17 | 7065578 | <filename>UnityProject/Assets/OpenSphericalCamera/Objects/CommandRequest.cs
namespace OpenSphericalCamera
{
using System.Collections;
using System.Collections.Generic;
public class CommandRequest
{
public string name;
Dictionary<string, object> parameters;
Dictionary<string, ... |
src/DD.CloudControl.Client/CloudControlClient.NetworkDomains.cs | tintoy/cloudcontrol-client-core | 0 | 7065579 | using HTTPlease;
using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace DD.CloudControl.Client
{
using Models;
using Models.Network;
/// <summary>
/// The CloudControl API client.
/// </summary>
public partial class CloudControlClient
{
/// <summary>
/// Ret... |
test/UnicornHack.Core.Tests/Utils/MessagingECS/EntityGroupTest.cs | AndriySvyryd/UnicornHack | 56 | 7065580 | using System.Linq;
using UnicornHack.Systems.Effects;
using UnicornHack.Systems.Levels;
using Xunit;
namespace UnicornHack.Utils.MessagingECS
{
public class EntityGroupTest
{
[Fact]
public void Contains_matching_entities()
{
var manager = TestHelper.CreateGameManager();
... |
BehaveAsSakuraEditor/Components/DecoratorTaskNode.cs | wuyuntao/BehaveAsSakura | 22 | 7065581 | using BehaveAsSakura.Tasks;
namespace BehaveAsSakura.Editor
{
public class DecoratorTaskNode : TaskNode
{
public DecoratorTaskNode(EditorDomain domain, EditorComponent parent, TaskState task)
: base(domain, parent, task)
{
}
protected override bool CanCreateChildTa... |
cake/packaging.cake | G-Research/nunit-console | 0 | 7065582 | <gh_stars>0
public void BuildPackage(PackageDefinition package)
{
DisplayBanner($"Building package {package.PackageName}");
switch (package.PackageType)
{
case PackageType.NuGet:
BuildNuGetPackage(package);
break;
case PackageType.Chocolatey:
BuildChoco... |
TribalWars/src/Infrastructure/Configuration/VillageBuildingConfig.cs | Plemiona-2-5/api | 0 | 7065583 | using ApplicationCore.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Infrastructure.Configuration
{
public class VillageBuildingConfi... |
CSharp-Part-2/Exams/2016-06-01/1. CryptoCS/Startup.cs | shopOFF/TelerikAcademyCourses | 0 | 7065584 | namespace CryptoCS
{
using System;
using System.Numerics;
using System.Text;
class Startup
{
static BigInteger FromRadixToDecimal(string input, int radix)
{
BigInteger result = 0;
foreach (var digit in input)
{
result = result * ... |
tba.Core/Persistence/Cache/CacheRepository.cs | toddbadams/accounts-microservice | 2 | 7065585 | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using tba.Core.Entities;
using tba.Core.Persistence.Interfaces;
namespace tba.Core.Persistence.Cache
{
/// <summary>
/// Cache based read-write repository.
/// No use of audit trial i... |
Assets/Script/SkillButton.cs | ZhangHanming/PixelExplosion | 0 | 7065586 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class SkillButton : MonoBehaviour {
public Sprite skill1;
public Sprite skill2;
public Sprite skill3;
public Sprite skill4;
private Image img;
//public
int skill;
private PlayerSkill ps;
pub... |
src/Extensions/Cassandra.AppMetrics/Implementations/HdrSnapshot.cs | panuoksala/csharp-driver | 487 | 7065587 | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0.
//
// See LICENSE in the project root for license information:
// https://github.com/alhardy/AppMetrics.Reservoirs/blob/3a1861386ac73b21b37e548c61575602eed67f89/LICENSE
using System.Collections.Generic;
using System.Linq;... |
Source/Server/Business/Pop3/Pop3Box.cs | InstantBusinessNetwork/IBN | 21 | 7065588 | using System;
using System.Collections;
using System.Data;
using System.IO;
using System.Net;
using Mediachase.IBN.Database.Pop3;
using Mediachase.Net.Mail;
namespace Mediachase.IBN.Business.Pop3
{
/// <summary>
/// Summary description for Pop3Box.
/// </summary>
[Serializable]
public class Pop3Box
{
private ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.