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 |
|---|---|---|---|---|
src/Server/Bit.Test/Server/AspNetCoreSelfHostTestServer.cs | rasoulian/bit-framework | 4 | 7059035 | using System.Net.Http;
using Bit.OwinCore;
using Microsoft.AspNetCore.Hosting;
namespace Bit.Test.Server
{
public class AspNetCoreSelfHostTestServer : TestServerBase
{
private IWebHost _host;
public override void Initialize(string uri)
{
base.Initialize(uri);
... |
Program.cs | Yushikuni/SkretiBankomat | 0 | 7059036 | <reponame>Yushikuni/SkretiBankomat<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bankomat
{
class Program
{
static void Main(string[] args)
{
/* zadání:
vyvoř banok... |
Two Button Jam 2019/Assets/Scripts/PowerPickup.cs | lilou-cormic/TwoButtonJam2019 | 2 | 7059037 | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PowerPickup : Item
{
protected override void OnPickup(Collider2D collision)
{
Player.PowerPlayer();
}
}
|
Slot.Main/StatusBar/WrapTile.cs | vorov2/CodeBox | 8 | 7059038 | <gh_stars>1-10
using Slot.Core;
namespace Slot.Main.StatusBar
{
public sealed class WrapTile : StatusBarTile
{
public WrapTile() : base(TileAlignment.Right)
{
}
public override string Text
{
get { return "Wrap"; }
set { base.Text = value; }
... |
src/DAL/Migrations/20201023104642_InitialCreate.Designer.cs | michalSali/InsuranceAgency | 0 | 7059039 | // <auto-generated />
using System;
using DAL;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace DAL.Migrations
{
... |
src/EntityFramework.MemoryJoin/MemoryJoinerInterceptor.cs | hoffmannjanos/EntityFramework.MemoryJoin | 0 | 7059040 | <filename>src/EntityFramework.MemoryJoin/MemoryJoinerInterceptor.cs
using System;
using EntityFramework.MemoryJoin.Internal;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Data.Common;
using System.Data.Entity;
using System.Data.Entity.Infrastructure.Interception;
using Syst... |
source/MikhailKhalizev.Max/source/Program/Auto/z-1011-73eb.cs | mikhail-khalizev/max | 3 | 7059041 | using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x1011_73eb-a4495869")]
public void Method_1011_73eb()
{
ii(0x1011_73eb, 5); push(0x28); ... |
Source/Fuse/Studio/Sketch/SketchLogWrapper.cs | mortend/fuse-studio | 324 | 7059042 | using System;
using SketchConverter.API;
namespace Outracks.Fuse.Designer {
class SketchLogWrapper : ILogger
{
readonly IObserver<string> _logMessages;
readonly IReport _log;
public SketchLogWrapper(IObserver<string> logMessages, IReport log)
{
_logMessages = logMessages;
_log = log;
}
public voi... |
SchoolCode/Code/VS Workspace/SlightLibrary/Exceptions/InputDataException.cs | Silvenga/Small-Projects | 0 | 7059043 | using System;
using System.Diagnostics;
namespace SlightLibrary.Exceptions {
public class InputDataException : Exception {
private readonly string _customMessage;
public InputDataException(string message = "N/A") {
_customMessage += ("Bad argument input of method: " + new StackFrame... |
Assets/Scripts/Spawner.cs | KXue/UnityTools | 0 | 7059044 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
[Serializable]
public class SpawnDefinition
{
public GameObject spawnPrefab;
public uint spawnWeight;
}
public class Spawner : MonoBehaviour {
public Vector3 m_spawnVolume;
public float m_spawnRate;
public float m_s... |
River.Orqa.Editor/IUndo.cs | stevencohn/Orqa | 2 | 7059045 | <filename>River.Orqa.Editor/IUndo.cs<gh_stars>1-10
namespace River.Orqa.Editor
{
using System;
public interface IUndo
{
// Methods
int BeginUndoUpdate();
bool CanRedo();
bool CanUndo();
void ClearRedo();
void ClearUndo();
int DisableUndo();
... |
SpotifyWebApi/Business/ApiHelper.cs | daveowenatl/SpotifyWebApi | 21 | 7059046 | namespace SpotifyWebApi.Business
{
using System;
using System.Net;
using Model.Auth;
/// <summary>
/// The <see cref="ApiHelper"/>.
/// </summary>
internal static class ApiHelper
{
/// <summary>
/// The base uri for all api requests.
/// </summary>
public... |
Sources/Core/Microsoft.StreamProcessing/Egress/AtemporalEnumerable/EvolvingStateEnumerable.cs | AlgorithmsAreCool/Trill | 844 | 7059047 | <filename>Sources/Core/Microsoft.StreamProcessing/Egress/AtemporalEnumerable/EvolvingStateEnumerable.cs<gh_stars>100-1000
// *********************************************************************
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License
// *************************... |
src/Never/Mappers/MapperBuilderHelper.cs | shelldudu/never | 17 | 7059049 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Never.Mappers
{
/// <summary>
/// 映射助手
/// </summary>
internal static class MapperBuilderHelper
{
#region field
/// <summary>
/// 常见的转换方法
/// </summary>
pr... |
source/Features/Performance/Patches/AbstractActor_OnPositionUpdate_Patch.cs | CptMoore/MechEngineer | 0 | 7059050 | using System.Collections.Generic;
using BattleTech;
using Harmony;
using UnityEngine;
namespace MechEngineer.Features.Performance.Patches;
// dont recalculate stealth aura on movement
[HarmonyPatch(typeof(AbstractActor), nameof(AbstractActor.OnPositionUpdate))]
public static class AbstractActor_OnPositionUpdate_Patc... |
TwoWay/TwoWay/Program.cs | autumn009/cshowto | 1 | 7059051 | using System;
class Program
{
static void Main()
{
int a = 1234;
int a1 = a*2;
int a2 = a+a;
int a3 = a << 1;
Console.WriteLine("結果は同じ");
Console.WriteLine($"a * 2 = {a1}");
Console.WriteLine($"a + a = {a2}... |
HandiBugTracker/HandiBugTrackerWebAPI/Controllers/BugPrioritiesController.cs | handitan/HandiBugTracker | 0 | 7059052 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using HandiBugTrackerDataManager.DataAccess;
using HandiBugTrackerDataManager.Models;
namespace HandiBugTrackerWebAPI.Controllers
{
[Authoriz... |
heartHealth/id3/Tree1.cs | alishakkouf/first_repo | 0 | 7059053 | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
namespace test_adm
{
public class Tree
{
public TreeNode Root { get; set; }
//print the result
public static string Print(TreeNode node, string result)
{
var seperatedResult = re... |
src/LightningDB.Benchmarks/ReadBenchmarks.cs | pliance/Lightning.NET | 297 | 7059055 |
using BenchmarkDotNet.Attributes;
namespace LightningDB.Benchmarks
{
[MemoryDiagnoser]
public class ReadBenchmarks : RWBenchmarksBase
{
public override void RunSetup()
{
base.RunSetup();
//setup data to read
using var tx = Env.BeginTransaction();
... |
Assets/Prefabs/EnvironmentsP/controlPoint/controlpointContainer.cs | DevelopersGuild/famine-games | 0 | 7059056 | <reponame>DevelopersGuild/famine-games
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public class controlpointContainer : MonoBehaviour {
public GameObject[] arrayList = new GameObject[5];
private float timer;
public int interval;
public GameObject ... |
src/DraftJs.Exporter.Html/Defaults/BlockMap.cs | o-khizhnyak/DraftJSExporter | 1 | 7059058 | <reponame>o-khizhnyak/DraftJSExporter
using System.Collections.Generic;
using DraftJs.Exporter.Html.Models;
using HtmlTags;
namespace DraftJs.Exporter.Html.Defaults
{
public class BlockMap
{
public CreateBlockTag Unstyled { get; set; } = GetFactory("div");
public CreateBlockTag HeaderOne { get... |
Assets/Scripts/Scenario Scripts/TypeTextReveal.cs | Treyboyland/Starcade | 1 | 7059059 | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
[RequireComponent(typeof(TextMeshProUGUI))]
public class TypeTextReveal : MonoBehaviour
{
[SerializeField]
float secondsBetweenReveals = 0;
TextMeshProUGUI textBox;
public EmptyEvent OnRevealCo... |
sample/Jobs/HelloJobSingle.cs | khanhna/SilkierQuartz | 200 | 7059060 | <reponame>khanhna/SilkierQuartz<gh_stars>100-1000
using Quartz;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace SilkierQuartz.Example.Jobs
{
public class HelloJobSingle : IJob
{
public Task Execute(IJobExecutionContext context)
{
... |
camunda-bpm-platform-net/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/handler/CallingTaskItemHandler.cs | luizfbicalho/Camunda.NET | 6 | 7059061 | /*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; ... |
LearningCSharp.Topics/LINQ/CollectionManager.cs | Smartware/learningcsharp | 1 | 7059062 | using LearningCSharp.Topics.Domains;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LearningCSharp.Topics.LINQ
{
public class CollectionManager
{
public static List<Product> GetProduct()
{
string[] cate... |
src/Transports/MassTransit.Transports.RabbitMq/PublishEndpointInterceptor.cs | vincelee888/MassTransit | 1 | 7059063 | // Copyright 2007-2012 <NAME>, <NAME>, <NAME>, et. al.
//
// 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 req... |
NGit/NGit.Storage.Pack/DeltaEncoder.cs | PKRoma/ngit | 96 | 7059064 | /*
This code is derived from jgit (http://eclipse.org/jgit).
Copyright owners are documented in jgit's IP log.
This program and the accompanying materials are made available
under the terms of the Eclipse Distribution License v1.0 which
accompanies this distribution, is reproduced below, and is
available at http://www... |
Packages/com.vrchat.UdonSharp/Editor/Compiler/Binder/BoundNodes/BoundPropertyAccessExpression.cs | ureishi/UdonSharp | 179 | 7059065 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Microsoft.CodeAnalysis;
using UdonSharp.Compiler.Emit;
using UdonSharp.Compiler.Symbols;
using UnityEngine;
using VRC.Udon.Common.Interfaces;
namespace UdonSharp.Compiler.Binder
{
internal abstract class BoundProper... |
gameJamSlightlyUsed/Assets/Scripts/LoadNextSceneButton.cs | sligtly-used-but-mostly-confused/gamejam | 0 | 7059066 | <reponame>sligtly-used-but-mostly-confused/gamejam<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LoadNextSceneButton : MonoBehaviour {
private void Update()
{
MappedInput.InputDevices.ForEach(x =>
{
if(x.GetButtonDown(Mapped... |
AWAPI_Services/handler/bloghandler.ashx.cs | omeryesil/awapicms | 0 | 7059068 | <filename>AWAPI_Services/handler/bloghandler.ashx.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Xml;
using System.Text;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Xml.Linq;
using System... |
src/Douanier/Permissions/PermissionContext.cs | ScalaWay/Douanier | 2 | 7059069 | using Douanier.Abstractions.Extensions;
using Douanier.Abstractions.Permissions;
using Douanier.Abstractions.Permissions.Entities;
using Douanier.Options;
using Microsoft.Extensions.DependencyInjection;
namespace Douanier.Permissions
{
public class PermissionContext : IPermissionContext<PermissionGroup, Permissio... |
src/Fap.Core/Annex/FileDirectory/FileDirectoryStrategy.cs | 48355746/FapCore3.0 | 26 | 7059070 | <filename>src/Fap.Core/Annex/FileDirectory/FileDirectoryStrategy.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Fap.Core.Annex.FileDirectory
{
/// <summary>
/// 文件目录策略
/// 目录树节点等级:2 目录树等级位数:8
/// 目录树节点等... |
ImgDiff/Exceptions/MissingInputException.cs | Orthak/ImgDeDupifyr | 0 | 7059071 | using System;
namespace ImgDiff.Exceptions
{
public class MissingInputException : Exception
{
public MissingInputException() { }
public MissingInputException(string message)
: base(message) { }
public MissingInputException(string message, Exception inner)
... |
Ris/Client/FolderExplorerGroupComponent.cs | nhannd/Xian | 1 | 7059073 | <reponame>nhannd/Xian<filename>Ris/Client/FolderExplorerGroupComponent.cs
#region License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/... |
src/NReco.Recommender/taste/impl/recommender/GenericBooleanPrefItemBasedRecommender.cs | nreco/recommender | 35 | 7059074 | <reponame>nreco/recommender
/*
* Copyright 2013-2015 <NAME> (n<EMAIL>)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License version 3
* as published by the Free Software Foundation
* You can be released from the requirements of... |
HappyTravel.Geography/GeoPoint.cs | happy-travel/geography | 1 | 7059075 | <filename>HappyTravel.Geography/GeoPoint.cs
using System;
using System.ComponentModel.DataAnnotations;
using HappyTravel.Geography.Converters;
using NetTopologySuite.Geometries;
using Newtonsoft.Json;
namespace HappyTravel.Geography
{
[JsonConverter(typeof(GeoPointJsonConverter))]
public readonly struct GeoPo... |
Client/StreamData.Client/ServerSentEventEngine.cs | rhwy/StreamData-DotNet | 0 | 7059076 | <reponame>rhwy/StreamData-DotNet<gh_stars>0
using System;
namespace Streamdata.Client
{
public interface ServerSentEventEngine
{
event Action<string> OnNewJsonData;
event Action<string> OnNewJsonPatch;
bool Start(string url);
string Url { get; }
bool Stop();
}
} |
MacroEditorConfig/EditorConfigFile.cs | macro187/MacroEditorConfig | 0 | 7059077 | using System;
using System.Collections.Generic;
using System.Linq;
using MacroExceptions;
using MacroGuards;
namespace MacroEditorConfig
{
public class EditorConfigFile
{
/// <summary>
/// Initialise a new empty editorconfig file
/// </summary>
///
public EditorConfigFi... |
CSharp/AdventOfCode/CSharp/Day_06.cs | sapieninja/AdventOfCode | 0 | 7059078 | <filename>CSharp/AdventOfCode/CSharp/Day_06.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using AoCHelper;
using System.IO;
using System.Linq;
using System.Windows.Markup;
namespace AdventOfCode
{
public class Day_06 : BaseDay
{
private static string _input;
p... |
src/PrtgAPI.Tests.UnitTests/CSharp/ObjectData/SensorSettingsTests.cs | ericsp59/PrtgAPI | 218 | 7059079 | <gh_stars>100-1000
using System;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PrtgAPI.Tests.UnitTests.Support;
using PrtgAPI.Tests.UnitTests.Support.TestResponses;
namespace PrtgAPI.Tests.UnitTests.ObjectData
{
[TestClass]
public class SensorSettingsTests : BaseTest
... |
Assets/Scripts/StrikeComputer.cs | kevin41307/Pong | 0 | 7059080 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[DefaultExecutionOrder(1)]
public class StrikeComputer : PlayerControl
{
DummyInput dummyInput;
private float x;
private float counterForceMultiplier = 1f;
float intelligence = 10;
public override void ApplyStyleParamete... |
_Au/Other/AWinImage.cs | alexfordc/Au | 1 | 7059081 | //#define WI_DEBUG_PERF
//#define WI_SIMPLE
//#define WI_TEST_NO_OPTIMIZATION
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
... |
Program.cs | LeoVanelli/Negativo | 0 | 7059082 | using System;
namespace Negativo
{
class Program
{
static void Main(string[] args)
{
Console.Write("Digite um número: ");
Single.TryParse(Console
.ReadLine()
.ToString(), out Single _numeroDigitado);
if(_numeroDigitado < 0){
... |
Bonobo.Git.Server/Git/GitLfs/LfsActionFactory.cs | MindfireTechnology/Bonobo-Git-Server | 1 | 7059083 | <filename>Bonobo.Git.Server/Git/GitLfs/LfsActionFactory.cs<gh_stars>1-10
using Bonobo.Git.Server.Git.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Bonobo.Git.Server.Git.GitLfs
{
/// <summary> Factory for producing actions of the correct type per the specifi... |
Samples/Office365Api.Overview/Office365Api.WebFormsDemo/Onboarding/OnBoarding.aspx.designer.cs | Sollertix/PnP | 885 | 7059084 | <reponame>Sollertix/PnP<filename>Samples/Office365Api.Overview/Office365Api.WebFormsDemo/Onboarding/OnBoarding.aspx.designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorre... |
dialogs/ThermostatFinishDialog.cs | TomaszKisiel/csharp-console-game | 0 | 7059086 | <gh_stars>0
using System;
using System.Collections.Generic;
namespace RGame {
public class ThermostatFinishDialog : Dialog {
private const string FINISH = "Dokańczam montowanie Raspberry";
private const string NEXT = "[zakończ]";
private const string LEAVE = "Odchodzę";
private Men... |
install/XtalPiMS/FormulatrixImagerLink/PiMS.ImagerLink/OPPFImagerLink/OPPF/Integrations/ImagerLink/Imaging/Processing/ImageProcessor.cs | chrishmorris/PiMS | 0 | 7059087 | <reponame>chrishmorris/PiMS<filename>install/XtalPiMS/FormulatrixImagerLink/PiMS.ImagerLink/OPPFImagerLink/OPPF/Integrations/ImagerLink/Imaging/Processing/ImageProcessor.cs
using System;
using Formulatrix.Integrations.ImagerLink;
using Formulatrix.Integrations.ImagerLink.Imaging.Processing;
using System.Xml;
usin... |
GitHubFolderDownloader/Behaviors/ScrollToEndBehavior.cs | ucifs/GitHubFolderDownloader | 172 | 7059088 | <filename>GitHubFolderDownloader/Behaviors/ScrollToEndBehavior.cs<gh_stars>100-1000
using System.Windows;
using System.Windows.Controls;
namespace GitHubFolderDownloader.Behaviors
{
public class ScrollToEndBehavior
{
public static readonly DependencyProperty OnTextChangedProperty =
... |
Zpp/Mrp/MachineManagement/IStackSet.cs | LennertBerkhan/ng-erp-4.0 | 0 | 7059089 | <gh_stars>0
using System.Collections.Generic;
namespace Zpp.Mrp.MachineManagement
{
/**
* own Set impl, since HashSet ist not useful if:
* - get any element e.g. first with O(1)
* - pop any element with O(1)
* - remove O(n), since list must be reindexed
* - push() O(1)
* but remains t... |
Assets/Scripts/UI/UiActionParts/UiAction.cs | NikitaShkaruba/outer_wilds_clone | 5 | 7059090 | using System;
using UnityEngine;
namespace UI.UiActionParts
{
/**
* Class that represents UiAction.
* UiActions stores an information about available actions in this class.
*/
public readonly struct UiAction
{
public readonly KeyCode KeyCode;
public readonly string Descriptio... |
sdk/formrecognizer/Azure.AI.FormRecognizer/src/FormPage.cs | albertodenatale/azure-sdk-for-net | 0 | 7059091 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
namespace Azure.AI.FormRecognizer.Models
{
/// <summary>
/// </summary>
public class FormPage : FormContent
{
internal FormPage(IReadOnlyList<DataTable_internal> t... |
src/Configuration/src/EInfrastructure.Core.Configuration/Ioc/ITypeFinder.cs | Sky-nt/System.Extension.Core | 96 | 7059092 | <filename>src/Configuration/src/EInfrastructure.Core.Configuration/Ioc/ITypeFinder.cs
// Copyright (c) zhenlei520 All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Reflection;
namespace EIn... |
Assets/Scripts/Tutorial/Door.cs | kuroshum/Kokuyokan | 0 | 7059093 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Door : MonoBehaviour {
public GameObject Camera;
private bool up;
void Start()
{
up = true;
}
private void OnTriggerEnter2D(Collider2D collision)
{
Vector3 direction = this.transfo... |
Demo/Assets/Scripts/Demo.cs | James9074/unity-juice-ui | 52 | 7059094 | using UnityEngine;
using UnityEngine.UI;
public class Demo : MonoBehaviour {
RectTransform mTweenPanel;
RectTransform mTweenPanelArrow;
RectTransform mCreditsPanelArrow;
RectTransform mInstructionsPanel;
RectTransform mMiddlePanel;
CanvasGroup mDot;
RectTransform mMoveDot... |
ToolHistory/ToolInsertMedicamentATU/ToolInsertMedicamentATU/ToolSRC/Insert/InsertTools.cs | Batora07/CSVImportExportTool | 0 | 7059096 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ToolInsertMedicamentATU.ToolSRC.Insert
{
public static class InsertTools
{
public static char HandleBoolFromString(string boolToChar)
{
if (string.IsNullOrW... |
HLife/GameEntities/GameEntity.cs | Tragedian-HLife/HLife | 0 | 7059097 | <filename>HLife/GameEntities/GameEntity.cs
using HLife.GameEntities.Locations;
using HLife.GameEntities.People;
using HLife.GameEntities.Props;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows... |
GreenSuperGreen/Sequencing/ISequencerUC/ISequencerUC.cs | ipavlu/GreenSupergreen | 21 | 7059098 | // ReSharper disable InconsistentNaming
// ReSharper disable CheckNamespace
namespace GreenSuperGreen.Sequencing
{
/// <summary>
/// <para/> <see cref="ISequencerUC"/> interface is used only to store instances
/// <para/> and for extension methods, which will know how to invoke sequencer
/// <para/> functions ret... |
OpenBots.Commands/OpenBots.Commands.Microsoft/OpenBots.Commands.Excel/ExcelSplitRangeByColumnCommand.cs | dks50217/OpenBots.Studio | 56 | 7059099 | <reponame>dks50217/OpenBots.Studio
using Microsoft.Office.Interop.Excel;
using OpenBots.Commands.Microsoft.Library;
using OpenBots.Core.Attributes.PropertyAttributes;
using OpenBots.Core.Command;
using OpenBots.Core.Enums;
using OpenBots.Core.Interfaces;
using OpenBots.Core.Model.ApplicationModel;
using OpenBots.Core.... |
NBi.Xml/Items/Ranges/IntegerRangeXml.cs | TheAutomatingMrLynch/NBi | 0 | 7059100 | using System;
using System.ComponentModel;
using System.Linq;
using System.Xml.Serialization;
using NBi.Core.Members.Ranges;
namespace NBi.Xml.Items.Ranges
{
public class IntegerRangeXml : RangeXml, IIntegerRange
{
[XmlAttribute("start")]
public int Start { get; set; }
[Xml... |
EntertainmentSystem/Services/EntertainmentSystem.Services.Contracts/Media/Fetchers/IBaseMediaFetcherService.cs | Borayvor/ASP.NET-MVC-CourseProject | 0 | 7059101 | namespace EntertainmentSystem.Services.Contracts.Media.Fetchers
{
using System;
using System.Linq;
using Data.Models.Media;
using EntertainmentSystem.Common.Constants;
public interface IBaseMediaFetcherService
{
IQueryable<MediaContent> GetAll(
string title = GlobalConstant... |
MARC.HI.EHRS.CR.Messaging.Everest/MessageReceiver/QueryResponseFactoryUtil.cs | santedb/client-registry | 11 | 7059102 | /**
* Copyright 2015-2015 Mohawk College of Applied Arts and Technology
*
* 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
*... |
ApexTeaching/Assets/Apex Teaching/General/Scripts/Helpers/CircleHelpers.cs | RamiAhmed/ApexTeaching | 7 | 7059103 | namespace Apex.AI.Teaching
{
using UnityEngine;
public static class CircleHelpers
{
public static Vector3 GetPointOnCircle(Vector3 position, float radius, float anglePerSpawn, int index)
{
var max = 360f / anglePerSpawn;
var ang = (index % max) * anglePerSpawn;
... |
aspnet-core/src/Timesheet.Application/CommonDto/BaseCustomerDto.cs | nhochocseo/timesheet | 0 | 7059104 | using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.Domain.Entities;
using Timesheet.Entities;
using System;
using System.Collections.Generic;
using System.Text;
using static Timesheet.Entities.Enum.StatusEnum;
namespace Timesheet.CommonDto
{
[AutoMapTo(typeof(Customer))]
public class BaseCust... |
GeneralMods/Revitalize/Framework/Menus/CraftingInformationPage.cs | atravita-mods/Stardew_Valley_Mods | 0 | 7059105 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Revitalize.Framework.Crafting;
using Revitalize.Framework.Menus.MenuComponents;
using Revitalize.Framework.World.Objects;
using... |
Scraper/Model/PostJsonScrape.cs | d-haxton/api-scraper | 0 | 7059106 | using System;
namespace Scraper.Model
{
public class PostJsonScrape
{
public string[] URLs { get; set; }
public double CacheLengthSeconds { get; set; }
public PostJsonScrape(string[] urls, double cacheLengthSeconds)
{
URLs = urls;
if (Math.Abs(cacheLen... |
RxReactiveStreamsCSharp/RxReactiveStreamsCSharp/ISubscription.cs | akarnokd/RxReactiveStreamsCSharp | 4 | 7059107 | <reponame>akarnokd/RxReactiveStreamsCSharp
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RxReactiveStreamsCSharp
{
public interface ISubscription
{
void Request(long n);
void Cancel();
}
}
|
Service/NicheMarket.Services/ProductService.cs | Alexandra024905/Niche_Market | 0 | 7059108 | <filename>Service/NicheMarket.Services/ProductService.cs
using NicheMarket.Services.Models;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using NicheMarket.Data;
using NicheMarket.Data.Models;
using AutoMapperConfiguration;
using Microsoft.EntityFrameworkCore;
using N... |
Wpf/Menu/HelpMenuBus.cs | abnaki/albiruni | 0 | 7059109 | <reponame>abnaki/albiruni<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using Abnaki.Windows;
using Abnaki.Windows.Software.Wpf.Menu;
using Abnaki.Windows.GUI;
using Abnaki.Windows.Software.Wpf.Ultimate;
using System.Diagnostics;
namespace Abnaki.Albiruni.Menu
{
class ... |
Persistence/Dao.cs | brheringer/FinancialControl | 0 | 7059110 | <gh_stars>0
using System;
using FinancialControl.Model;
namespace FinancialControl.Persistence
{
public interface Dao<EntityType>
where EntityType : Entity
{
void Delete(EntityType entity);
EntityType ResolveProxy(EntityType proxy);
EntityType Load(long id);
EntityType LoadBy(string entry... |
Source/LogSpect.Core/Formatting/MethodEvents/CachedFormattingModeReader.cs | LorandBiro/LogSpect | 3 | 7059111 | <reponame>LorandBiro/LogSpect<filename>Source/LogSpect.Core/Formatting/MethodEvents/CachedFormattingModeReader.cs
namespace LogSpect.Formatting.MethodEvents
{
using System;
using System.Collections.Generic;
using System.Reflection;
public sealed class CachedFormattingModeReader : IFormattingMode... |
Dev/unitTest_Engine_cs/ObjectSystem2D/LifeCycle/RemoveLayerAndDisposeScene.cs | GCLemon/Altseed | 37 | 7059112 | using asd;
namespace unitTest_Engine_cs.ObjectSystem2D.LifeCycle
{
class RemoveLayerAndDisposeScene : EngineTest
{
public RemoveLayerAndDisposeScene() : base(60)
{
}
private Scene scene;
private Layer2D layer;
protected override void OnStart()
{
scene = new Scene();
layer = new Layer2D();
v... |
Media Inventory Manager/AboutScreen.cs | davidgn/Prager-Software | 0 | 7059113 | <reponame>davidgn/Prager-Software
#region Using directives
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
#endregion
namespace Media_Inventory_Manager
{
partial class aboutScreen :... |
src/OmniSharp.Abstractions/Models/v1/FixAll/FixAllItem.cs | jcs-PR/omnisharp-roslyn | 1,391 | 7059114 | <filename>src/OmniSharp.Abstractions/Models/v1/FixAll/FixAllItem.cs
namespace OmniSharp.Abstractions.Models.V1.FixAll
{
public class FixAllItem
{
public FixAllItem() {}
public FixAllItem(string id, string message)
{
Id = id;
Message = message;
}
p... |
Framework/SharpDomain/Reflection/ITypeBasedRegistry.cs | iskandersierra/SharpDomain | 1 | 7059115 | using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharpDomain.Reflection
{
public interface ITypeBasedRegistry<TItem>
{
void Register(Type type, TItem item);
}
}
|
MVCAuth/Controllers/RolesController.cs | MahmudulRafi/Asp.Net-User-Authentication | 4 | 7059116 | <reponame>MahmudulRafi/Asp.Net-User-Authentication
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using MVCAuth.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace MVCAuth.Controllers
{
public class RolesCo... |
Facade/Entities/Square.cs | vladislavkvz/Design-Patterns | 0 | 7059117 | namespace Facade.Entities
{
using Interface;
using System;
public class Square : IShape
{
public void Draw()
{
Console.WriteLine("Square drawing..");
}
}
} |
Quality Assurance/Part III/Homeworks/24. Mobile Testing/MobileTesting/FitnessAppTests.cs | YaneYosifov/Telerik | 0 | 7059118 | namespace FitnessApp
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Views.MainView;
[TestClass]
public class FitnessAppTests : BaseTest
{
[TestMethod]
public void SwitchVibrateAndSoundSwitchesToOff()
{
this.MainView.TurnOffVibrateSwtich();
... |
AccelByte.Sdk/Core/Client/WebSocketService.cs | AccelByte/accelbyte-csharp-sdk | 0 | 7059120 | // Copyright (c) 2022 AccelByte Inc. All Rights Reserved.
// This is licensed software from AccelByte Inc, for limitations
// and restrictions contact your company contract manager.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System... |
Konsarpoo.Tests/MapTest.cs | CostaBru/Konsarpoo | 0 | 7059121 | <reponame>CostaBru/Konsarpoo
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace Konsarpoo.Collections.Tests
{
[TestFixture(16)]
[TestFixture(1024)]
[TestFixture(null)]
public class MapTest
{
private readonly int m_ma... |
FoundationDB.Client/Layers/Directories/FdbDirectoryLayer.cs | BedeGaming/foundationdb-dotnet-client | 1 | 7059122 | <filename>FoundationDB.Client/Layers/Directories/FdbDirectoryLayer.cs
#region BSD Licence
/* Copyright (c) 2013-2015, Doxense SAS
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of so... |
tests/Yaapii.Atoms.Tests/Number/MinOfTest.cs | icarus-consulting/Yaapii.Atoms | 45 | 7059123 | // MIT License
//
// Copyright(c) 2021 ICARUS Consulting GmbH
//
// 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, cop... |
src/FeatherVane/Visualization/GraphVaneVisitor.cs | phatboyg/FeatherVane | 1 | 7059124 | // Copyright 2012-2012 <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 required by applicable law or agree... |
ProgrammingBasicsC#/ProjectsAndSolutions/1ex-FirstStepsInCoding/VacationBooksList/VacationBooksList/Program.cs | LyubomirRashkov/Software-University-SoftUni | 0 | 7059125 | using System;
namespace VacationBooksList
{
class Program
{
static void Main(string[] args)
{
int pages = int.Parse(Console.ReadLine());
double pagesPerHour = double.Parse(Console.ReadLine());
int allowableNumOfDays = int.Parse(Console.ReadLine());
... |
BoCode.RedoDB/RedoableData/IRedoableData.cs | lucax88x/BoCode.RedoDB | 2 | 7059126 | <gh_stars>1-10
using System.Collections.Generic;
namespace BoCode.RedoDB.RedoableData
{
/// <summary>
/// The IRedoableData defines the interface of a redoable data tracker. A redoable data tracker offers
/// the ability to create new values in the redoable system and track new values so that while redoi... |
DNN Platform/Library/Services/Installer/Blocker/IInstallBlocker.cs | pmsereno/Dnn.Platform | 0 | 7059127 | <gh_stars>0
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
namespace DotNetNuke.Services.Installer.Blocker
{
/// <summary>
/// This interface ...
/// </summary>
public interface IInstal... |
Codes/AngularFrontend/AngularFunctionWriter.cs | tezine/RestInPeace | 2 | 7059128 | <reponame>tezine/RestInPeace
#region Imports
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using DotnetBase.Codes;
using RestInPeace.Entities;
#endregion
namespace RestInPeace.Codes {
public class AngularFunctionWriter {
static private string restI... |
CSGSI/Nodes/GrenadesNode.cs | spreedated/CSGSI | 138 | 7059129 | <reponame>spreedated/CSGSI<filename>CSGSI/Nodes/GrenadesNode.cs
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace CSGSI.Nodes
{
/// <summary>
/// Contains information about all grenades that currently exist.
/// </summary>
public class GrenadesNode : NodeBase, IE... |
src/Flutterwave.Ravepay.Net/Payments/Validation/ValidateChargeParamsBase.cs | Herocod3r/FlutterWave.RavePay.Net | 10 | 7059130 | using Newtonsoft.Json;
namespace Flutterwave.Ravepay.Net.Payments
{
public abstract class ValidateChargeParamsBase: IValidateChargeParams
{
protected ValidateChargeParamsBase(string pbfPubKey)
{
PbfPubKey = pbfPubKey;
}
[JsonProperty("PBFPubKey")]
... |
src/LotsenApp.Client.Authentication.Password/PasswordAuthenticationController.cs | offis/lotsen-app | 1 | 7059131 | // Copyright (c) 2021 OFFIS e.V.. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice, this
// list of conditions a... |
TeamCity.ServiceMessages/Write/Special/IFlowIdGenerator.cs | AlexanderKholodov46/TeamCity.ServiceMessages | 27 | 7059132 | /*
* Copyright 2007-2019 JetBrains s.r.o.
*
* 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 required by applicable law or agre... |
TixFactory.RepositoryParser/TixFactory.RepositoryParser/Models/SerializableProjectReference.cs | tix-factory/repository-parser | 0 | 7059133 | using System;
using System.Runtime.Serialization;
namespace TixFactory.RepositoryParser
{
/// <summary>
/// A serializable project project reference.
/// </summary>
/// <seealso cref="IProjectReference"/>
[DataContract]
public class SerializableProjectReference : SerializableReference
{
/// <summary>
/// T... |
Importer/src/skinning/BoneImporter.cs | pimmelpansen/Frische-Haut | 48 | 7059134 | <reponame>pimmelpansen/Frische-Haut
using System.Collections.Generic;
public class BoneImporter {
private readonly List<BoneRecipe> boneRecipes = new List<BoneRecipe>();
public IEnumerable<BoneRecipe> BoneRecipes => boneRecipes;
public void ImportFrom(DsonTypes.Node node) {
BoneRecipe recipe = new BoneRecipe {
... |
EfAddressBook/Form1.Designer.cs | OzerBey/WtDataAccess | 1 | 7059135 |
namespace EfAddressBook
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <p... |
Assets/InteractML_Examples/Tate/Dependencies/FImpossible Creations/Ground Fitter/FGroundFitter_Movement.cs | yincany/iml-unity | 1 | 7059136 | <reponame>yincany/iml-unity<filename>Assets/InteractML_Examples/Tate/Dependencies/FImpossible Creations/Ground Fitter/FGroundFitter_Movement.cs<gh_stars>1-10
using FIMSpace.Basics;
using UnityEngine;
namespace FIMSpace.GroundFitter
{
/// <summary>
/// FM: Example component to use groud fitter for movement con... |
Code/ShareLink/ShareLink/obj/Release/netcoreapp1.1/PubTmp/Out/Areas/WebManager/Views/ApplicationUsersManager/Index.cshtml | HoangnguyenDev/ShareLink | 0 | 7059137 | <gh_stars>0
@model IEnumerable<HopAmNhacThanh.Models.ApplicationUser>
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Index</title>
</head>
<body>
<p>
<a asp-action="Create">Create New</a>
</p>
<table class="table">
<thead>
<t... |
src/Laraue.EfCoreTriggers.Common/Converters/AvailableConverters.cs | Meberem/Laraue.EfCoreTriggers | 0 | 7059138 | <gh_stars>0
using System.Collections.Generic;
using Laraue.EfCoreTriggers.Common.Converters.MethodCall;
namespace Laraue.EfCoreTriggers.Common.Converters
{
/// <summary>
/// Available converters for SQL generating.
/// </summary>
public class AvailableConverters
{
/// <summary>
///... |
TechnicalTask/Mvc/Controllers/EmailWidgetController.cs | albozhinov/SitefinityCustomWidget | 0 | 7059139 | using SitefinityWebApp.Mvc.Models;
using System.Web.Mvc;
using Telerik.Sitefinity.Mvc;
using Telerik.Sitefinity.Security;
using Telerik.Sitefinity.Security.Model;
using Telerik.Sitefinity.Security.Claims;
using System.Web.Security;
using System;
using Telerik.Sitefinity.Forums;
using Telerik.Sitefinity.Forums.Model;
u... |
Source/Pronto/Page.cs | ijaztaqva/prontocms | 0 | 7059140 | <reponame>ijaztaqva/prontocms
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Web;
using System.Xml.Linq;
namespace Pronto
{
public class Page : IPageContainer, IReadOnlyPage
{
public Page(IPageContainer pageContainer, st... |
DK.Folio/DK.Folio.UI/Interfaces/ICursorService.cs | davek17/Folio | 0 | 7059142 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DK.Folio.UI.Interfaces
{
public interface ICursorService
{
/// <summary>
/// Show wait cursor
/// </summary>
void ShowWaitCursor();
/// <summar... |
Jakar.Extensions/Types/TypeExtensions.Attributes.cs | Jakar510/Jakar.Extensions | 4 | 7059143 | <reponame>Jakar510/Jakar.Extensions
#pragma warning disable 1591
#nullable enable
namespace Jakar.Extensions.Types;
public static partial class TypeExtensions
{
public static JsonPropertyAttribute? GetJsonProperty( this PropertyInfo propInfo ) => propInfo.GetCustomAttribute<JsonPropertyAttribute>();
publi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.