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 |
|---|---|---|---|---|
MaterialDesign/BottomNavigationActivity.cs | Bowman74/VSLiveMaterialDesign | 1 | 7064952 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Support.Design.Widget;
using Android.Support.V4.App;
using Android.Support.V4.Content;
using Android.Support.V4.View;
using Android.Sup... |
temple/YBlogTemple/content/YBlog.Core.IServices/ITopicDetailServices.cs | yb123speed/YBlog | 0 | 7064953 | <filename>temple/YBlogTemple/content/YBlog.Core.IServices/ITopicDetailServices.cs
//----------TopicDetail开始----------
using System;
using YBlog.Core.Models.Models;using YBlog.Core.IServices.Base;
namespace YBlog.Core.IServices
{
/// <summary>
/// TopicDetailServices
/// </summary>
public interface ITo... |
Tiver/Fowl/ViewBase/Behaviors/Extensions/ITypeableExtensions.cs | fossabot/tiver-fowl | 0 | 7064955 | <reponame>fossabot/tiver-fowl<filename>Tiver/Fowl/ViewBase/Behaviors/Extensions/ITypeableExtensions.cs
namespace Tiver.Fowl.ViewBase.Behaviors.Extensions
{
using Core.Context;
using Core.Exceptions;
using Logging;
using OpenQA.Selenium;
public static class ITypeableExtensions
{
public ... |
ConsoleAppPongFinalProject/ConsoleAppPongFinalProject/AutoPlayer.cs | RoeiRubach/Pong-game-Final-project | 0 | 7064956 | <filename>ConsoleAppPongFinalProject/ConsoleAppPongFinalProject/AutoPlayer.cs
namespace ConsoleAppPongFinalProject
{
class AutoPlayer : Player
{
private bool _isReachTop;
public AutoPlayer(Board board) : base(board)
{
}
public void HandleAIMovement()
{
... |
Avespoir.Core/Modules/Commands/ModeratorCommands/DBUserList.cs | Avespoir-Project/Avespoir | 1 | 7064957 | <reponame>Avespoir-Project/Avespoir
using Avespoir.Core.Abstructs;
using Avespoir.Core.Attributes;
using Avespoir.Core.Database.Enums;
using Avespoir.Core.Database.Schemas;
using Avespoir.Core.Extends;
using Avespoir.Core.Language;
using DSharpPlus;
using DSharpPlus.EventArgs;
using DSharpPlus.Entities;
using System.C... |
src/Aeon.Emulator/Instructions/Unclassified.cs | gregdivis/Aeon | 8 | 7064958 | <reponame>gregdivis/Aeon<filename>src/Aeon.Emulator/Instructions/Unclassified.cs
using System;
using Aeon.Emulator.RuntimeExceptions;
namespace Aeon.Emulator.Instructions
{
internal static class UnclassifiedInstructions
{
[Opcode("F4", Name = "hlt", AddressSize = 16 | 32, OperandSize = 16 | 32)]
... |
Write Model/WriteModel.Infrastructure/AuthentificationContext/AuthentificationContext.cs | HaddadBenjamin/APIStarter | 0 | 7064959 | <gh_stars>0
using System;
using WriteModel.Domain.AuthentificationContext;
namespace WriteModel.Infrastructure.AuthentificationContext
{
public class AuthentificationContext : IAuthentificationContext
{
public AuthentificationContext(IRequestHeaders requestHeaders, IAuthentificationContextUserProvider... |
tests/Silverback.Core.Tests/Messaging/Publishing/PublisherBehaviorsTests.cs | gitjosephbeer/silverback | 139 | 7064960 | <filename>tests/Silverback.Core.Tests/Messaging/Publishing/PublisherBehaviorsTests.cs
// Copyright (c) 2020 <NAME>
// This code is licensed under MIT license (see LICENSE file for details)
using System.Collections.Generic;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjec... |
SimpleShoppingCart/Register.aspx.cs | pkkw777/SimpleShoppingCart | 0 | 7064961 | namespace Shop
{
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.SqlClient;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
... |
src/Assets/Script/Cae.cs | Motores-2020-Practicas/Practica1 | 0 | 7064962 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Cae : MonoBehaviour
{
public float minVel;
public float maxVel;
private float vel;
void Start()
{
vel = Random.Range(Mathf.Abs(minVel), Mathf.Abs(maxVel));
}
// Update is called once per fr... |
Assets/Runtime/Scripts/General/Item/Helpers/Material/Hard Materials/Common.cs | Chizaruu/rlsktd | 2 | 7064963 | using Sirenix.OdinInspector;
using Sirenix.Serialization;
namespace RLSKTD.General.ItemHelpers.HardMaterials{
[System.Serializable]
public class Common : Material {
public enum Material{
Copper, Tin, Bronze, Iron, Gold, Bone,
Wood, Stone, Mica, Coral, Sand, HardLeather
}... |
resources/2016-01-09-Using-Custom-Renderers-to-Display-Ads-from-Google-AdMob-on-Xamarin.Forms/samples/UsingCustomRendererAdsXamarin/Example/Android/Resources/Resource.Designer.cs | jonathandotchin/coding-for-food | 0 | 7064964 | <reponame>jonathandotchin/coding-for-food<filename>resources/2016-01-09-Using-Custom-Renderers-to-Display-Ads-from-Google-AdMob-on-Xamarin.Forms/samples/UsingCustomRendererAdsXamarin/Example/Android/Resources/Resource.Designer.cs
#pragma warning disable 1591
//-----------------------------------------------------------... |
Voertuig/Stilstand.cs | erictummers/TransportDemo | 0 | 7064965 | <reponame>erictummers/TransportDemo
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Voertuig
{
public class Stilstand : Verplaatsing
{
}
}
|
proj/API/SocietyAgendor.API/Base/Base.cs | leonardoalves14/agendafut | 1 | 7064966 | <filename>proj/API/SocietyAgendor.API/Base/Base.cs
using Dapper;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
using System.Transactions;
namespace SocietyAgendor.API.Base
{
public abstract cl... |
Njsast/Ast/AstJump.cs | Bobris/Njsast | 5 | 7064967 | using Njsast.Reader;
namespace Njsast.Ast;
/// Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)
public abstract class AstJump : AstStatement
{
protected AstJump(string? source, Position startPos, Position endPos) : base(source, startPos, endPos)
{
}
protected AstJump... |
src/Scriptable/Signals/ProcessSignaler.cs | jessenich/Scriptable | 1 | 7064968 | <filename>src/Scriptable/Signals/ProcessSignaler.cs
using System.Threading.Tasks;
namespace Scriptable.Signals {
internal static class ProcessSignaler {
public static Task<bool> TrySignalAsync(int processId, CommandSignal signal) {
return PlatformCompatibilityHelper.IsWindows
?... |
Higrow.FattureInCloud.Net/DTO/CorrispettiviRiga.cs | lucafabbri/Higrow.FattureInCloud.Net | 2 | 7064969 | <reponame>lucafabbri/Higrow.FattureInCloud.Net
namespace Higrow.FattureInCloud.Net.DTO
{
public class CorrispettiviRiga
{
public int importo { get; set; }
public int valore_iva { get; set; }
public string desc_iva { get; set; }
public string categoria { get; set; }
}
} |
Assets/Scripts/Test Scripts/testClick.cs | Simonkjj/Gremlins_Gamejam | 0 | 7064970 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class testClick : MonoBehaviour
{
public GameObject Prefab;
public bool isClicked;
private void Start()
{
isClicked = false;
}
void Clicked()
{
isC... |
Assets/_Project/Scripts/Networking/AuthoritativeCharacter.cs | longde123/unity-fastpacedmultiplayer | 181 | 7064971 | /**
* AuthoritativeCharacter.cs
* Created by: <NAME>
* Created on: 30/04/17 (dd/mm/yy)
*/
using UnityEngine;
using UnityEngine.Networking;
using System.Collections.Generic;
[NetworkSettings(channel = 2)]
public class AuthoritativeCharacter : NetworkBehaviour
{
public float Speed { get { return speed; } }
... |
ATmega8Reobas/Code/Fans speed controller(Windows)/WindowsFormsApplication1/Form1.cs | techn0man1ac/ATmega8Reobas | 5 | 7064972 | <filename>ATmega8Reobas/Code/Fans speed controller(Windows)/WindowsFormsApplication1/Form1.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO.Ports;
namespa... |
Managed/main/AlgaeHabitatConfig.cs | undancer/oni-data | 1 | 7064973 | using System.Collections.Generic;
using TUNING;
using UnityEngine;
public class AlgaeHabitatConfig : IBuildingConfig
{
public const string ID = "AlgaeHabitat";
private const float ALGAE_RATE = 0.030000001f;
private const float WATER_RATE = 0.3f;
private const float OXYGEN_RATE = 0.040000003f;
private const fl... |
Other solutions/XOClientXamarin/XOClientXamarin/XOClientXamarin/TTTPacket.cs | OlehMarchenko95/ort_csharp_js | 0 | 7064974 | <filename>Other solutions/XOClientXamarin/XOClientXamarin/XOClientXamarin/TTTPacket.cs
using System;
using Newtonsoft.Json;
namespace XOClientXamarin
{
public class TTTPacket
{
public TTTPacket()
{
Matrix = null;
}
public TTTPacket(string playerTurn, string unit, i... |
TestAssemblies/AssemblyWithBaseInDifferentModule/MultiTypes/ChildClass.cs | DaleStan/PropertyChanged | 1,489 | 7064975 | using AssemblyWithBase.MultiTypes;
namespace AssemblyWithBaseInDifferentModule.MultiTypes
{
public class ChildClass : BaseClass2<int>
{
public string Property1 { get; set; }
}
} |
Framework/DP.Core.V2-DS/DP.V2.Core/DP.V2.Core.Data/DataModel/SysRole.cs | thanhnam72/dp.framework | 0 | 7064976 | using DP.V2.Core.Common.Base;
using System;
using System.ComponentModel.DataAnnotations;
namespace DP.V2.Core.Data.DataModel
{
public class SysRole : BaseEntity
{
public new Guid Id { get; set; }
[StringLength(10)]
public string Name { get; set; }
[StringLength(250)]
... |
src/Moryx.ClientFramework.Kernel/Configuration/AppDataConfigManager.cs | leopoldHatFertig/MORYX-ClientFramework | 11 | 7064977 | <reponame>leopoldHatFertig/MORYX-ClientFramework<gh_stars>10-100
// Copyright (c) 2020, Phoenix Contact GmbH & Co. KG
// Licensed under the Apache License, Version 2.0
using System.IO;
using Moryx.Configuration;
namespace Moryx.ClientFramework.Kernel
{
/// <summary>
/// ConfigManager specialized to save confi... |
MAP2013/PCSProcurement/Purchase/SOLPIMReport.cs | dungle/pcs | 0 | 7064978 | <reponame>dungle/pcs
using System;
using System.Data;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using PCSComUtils.Common;
using PCSComUtils.Common.BO;
using PCSComUtils.PCSExc;
using PCSUtils.Log;
using PCSUtils.Utils;
#region USING FOR C1 REPORT... |
src/SimpleTracer/Exposing/EventEntry.cs | btungut/SimpleTracer | 4 | 7064979 | <reponame>btungut/SimpleTracer
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics.Tracing;
namespace SimpleTracer
{
/// <inheritdoc cref="IEventEntry"/>
[Serializable]
public class EventEntry : EventArgs, IEventEntry
{
internal EventE... |
sipsorcery-core/SIPSorcery.Entities/Entities/SIPProviderBinding.shared.cs | sipsorceryc4b/sipsorcery | 0 | 7064980 | <reponame>sipsorceryc4b/sipsorcery
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
#if !SILVERLIGHT
using SIPSorcery.SIP;
using SIPSorcery.Sys;
#endif
namespace SIPSorcery.Entities
{
public partial class SIPProviderBinding
{
public const string REGA... |
cSharp101/Models/Diziler.cs | sefikanurtopuz/c-sharp-101 | 0 | 7064981 | <filename>cSharp101/Models/Diziler.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace cSharp101.Models
{
public class Diziler
{
public void diziler()
{
string[] bitkiler = new string[9];
strin... |
03.Programming_Fundamentals/05_Lists/Exercises/04_Sum_Reversed_Numbers/04_Sum_Reversed_Numbers.cs | GoldenR1618/SoftUni-Projects | 0 | 7064982 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _04_Sum_Reversed_Numbers
{
class Sum_Reversed_Numbers
{
static void Main(string[] args)
{
List<string> nums = Console.ReadLine().Split(' ').ToList(); //123... |
VkNet/Exception/PostAccessDeniedException.cs | dariabokareva/vk | 650 | 7064983 | using System;
using VkNet.Model;
using VkNet.Utils;
namespace VkNet.Exception
{
/// <summary>
/// Исключение, которое выбрасывается, если доступ к посту запрещен.
/// Код ошибки - 210
/// </summary>
[Serializable]
[VkError(VkErrorCode.PostAccessDenied)]
public sealed class PostAccessDeniedException : VkApiMeth... |
AdventOfCode/Day_04.cs | YBijen/advent-of-code-2021 | 0 | 7064984 | <gh_stars>0
using AoCHelper;
namespace AdventOfCode
{
public class Day_04 : BaseDay
{
private const int SIZE_BINGO_CARD = 5;
private Queue<int> _drawnNumbers;
private List<Dictionary<int, (int x, int y)>> _bingoCards;
public Day_04()
{
var inputParts = Fil... |
PlayList_Manager/EditHallSelector.cs | d3x0r/xperdex | 0 | 7064985 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace PlayList_Manager
{
public partial class EditHallSelector : Form
{
HallSelector editing;
public EditHallSelector( HallSelecto... |
Connector/REST/Entities/UserObject.cs | DenUsachev/bitmex | 0 | 7064986 | using System;
namespace Connector.REST.Entities
{
public class UserObject : BaseRestObject
{
public int Id { get; set; }
public object OwnerId { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string UserName { get; set; }
... |
Survival-Guide/src/Web/Program.cs | hbiarge/Kubernetes-Experiments | 0 | 7064987 | <gh_stars>0
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using System.Diagnostics;
using Microsoft.Azure.KeyVault;
using Microsoft.Azure.Services.AppAuthentication;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Configuration.AzureKeyVault;
namespace Web
{
public cl... |
BlazorWebSpaceTool/BrctcSpaceLibrary/Device/Mocks/MockAccelerometer.cs | WalterWillis/BrctcSpace2020 | 1 | 7064988 | using BrctcSpaceLibrary.Helpers;
using System;
using System.Threading;
namespace BrctcSpaceLibrary.Device.Mocks
{
public class MockAccelerometer : IMcp3208
{
private IntUnion _union = new IntUnion();
public void Dispose()
{
//Do nothing
}
public void Read(S... |
Demo/Assets/Scripts/Core_System/LevelLoader.cs | Flashlock/GameDev-Club-Demo | 0 | 7064989 | <gh_stars>0
using System.Collections;
using UnityEngine;
using UnityEngine.SceneManagement;
public class LevelLoader : Singleton<LevelLoader>
{
private void Awake(){
GetComponent<AudioSource>().Play();
}
public void LoadLevel(int index){
StartCoroutine(LoadScene(index));
}
IEnu... |
PlayFabBuddy.Leaderboards.SharedProject/IPlayFabLeaderboardService.cs | dmanning23/PlayFabBuddy.Leaderboards | 0 | 7064990 | <filename>PlayFabBuddy.Leaderboards.SharedProject/IPlayFabLeaderboardService.cs
using System.Collections.Generic;
using System.Threading.Tasks;
namespace PlayFabBuddyLib.Leaderboards
{
public interface IPlayFabLeaderboardService
{
/// <summary>
/// Get the player's current high score
/// </summary>
... |
Assets/Scripts/ResourceProduction/Data.cs | jor-el-swe/TokenIdleClicker | 0 | 7064991 | using UnityEngine;
using UnityEngine.Serialization;
namespace ResourceProduction {
[CreateAssetMenu(fileName = "ProductionData", menuName = "ScriptableObjects/ProductionData")]
public class Data : ScriptableObject {
[SerializeField] private Resource.ResourceObject resource;
[SerializeField] pr... |
Entities/FloraKey.cs | Ozytis/albiziapp-react | 0 | 7064992 | <gh_stars>0
using MongoDB.Bson.Serialization.Attributes;
using System.Collections.Generic;
namespace Entities
{
public class FloraKey
{
[BsonId]
public string Id { get; set; }
public string NormalizedForm { get; set; }
public string FrTitle { get; set; }
public strin... |
NDODLL/Linq/ServerFunctionAttribute.cs | mirkomaty/NDO | 0 | 7064993 | <gh_stars>0
using System;
namespace NDO.Linq
{
/// <summary>
/// Attribute to rename a server function
/// </summary>
/// <remarks>
/// If a method has this attribute, the attribute value is used as the name of the server function instead of the method name.
/// </remarks>
[AttributeUsage(AttributeTa... |
src/NoSqlMapper/NsCollectionExtensions.cs | adospace/NoSqlMapper | 2 | 7064994 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using NoSqlMapper.Query;
namespace NoSqlMapper
{
public static class NsCollectionExtensions
{
public static async Task<T[]> FindAllAsync<T>(this NsCollecti... |
Cinema/Cinema.Tests/Data.Services.Tests/FilmScreeningService/UpdateByIdShould.cs | Cinematrix/Cinematrix | 1 | 7064995 | using Cinema.Data.Models;
using Cinema.Data.Repositories;
using Moq;
using NUnit.Framework;
using System;
namespace Cinema.Tests.Data.Services.Tests.FilmScreeningService
{
[TestFixture]
public class UpdateByIdShould
{
[Test]
public void ThrowWhenParameterIdHasNullOrEmptyValue()
{
... |
BoutiqueDTOXUnit/Infrastructure/Services/RestServices/Base/RestServiceBaseTest.cs | rubilnik4/VeraBoutique | 0 | 7064996 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Threading.Tasks.Sources;
using BoutiqueCommon.Infrastructure.Interfaces.Logger;
using BoutiqueCommonXUnit.Data;
using BoutiqueCommonXUnit.Data.Authorize;
using Boutique... |
Data Structures and Algorithms/02.Recursion/02CombinationsDuplicates/CombinationsDuplicates.cs | todor-enikov/TelerikAcademy | 0 | 7064997 | <reponame>todor-enikov/TelerikAcademy
using System;
using System.Linq;
namespace _02CombinationsDuplicates
{
public class CombinationsDuplicates
{
public static void Main()
{
var loopsCount = int.Parse(Console.ReadLine());
var combinationLength = int.Parse(Console.ReadL... |
Blazer.Benchmark/Program.cs | force-net/blazer | 10 | 7064998 | using System;
using System.Diagnostics;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using Force.Blazer.Algorithms;
using Force.Blazer.Algorithms.Crc32C;
using Force.Blazer.Benchmark.MessagesDto;
using Force.Blazer.Native;
using ICSharpCode.SharpZipLib.BZip2;
using ICSharpCode.... |
Scripts/Destroyer.cs | agilul/jumper-unity3d | 0 | 7064999 | <reponame>agilul/jumper-unity3d
using UnityEngine;
public class Destroyer : MonoBehaviour
{
private GameObject player;
// Use this for initialization
void Start ()
{
player = GameObject.FindWithTag("Player");
}
// Update is called once per frame
void Update ()
{
}
void ... |
Software/Musicat/RhythmCat/RhythmCat/MusicPrimitives/ScaleDegreeTests.cs | Mora-Hannover/FARGonautica | 3 | 7065000 | <reponame>Mora-Hannover/FARGonautica<filename>Software/Musicat/RhythmCat/RhythmCat/MusicPrimitives/ScaleDegreeTests.cs<gh_stars>1-10
using System;
using NUnit.Framework;
using MusicatCore;
namespace MusicPrimitives.Tests
{
/// <summary>
/// Summary description for ScaleDegreeTests.
/// </summary>
[TestFix... |
src/UnitTests.Shared/WkbTests.cs | fragmer/GeometryConversions | 8 | 7065001 | <reponame>fragmer/GeometryConversions
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Esri.ArcGISRuntime.Geometry;
using GeometryConversions.Wkb;
using System.Reflection;
#if NETFX_CORE
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
#else
using Microsoft.Visual... |
SocialMedia.Model/BaseClass.cs | tgyka/aspnetmvccore-socialmedia-website | 1 | 7065002 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace SocialMedia.Model
{
public class BaseClass
{
[Key]
public int Id { get; set; }
}
}
|
tests/Rocksmith2014.XML.Tests/NoteTests.cs | iminashi/Rocksmith2014.NET | 16 | 7065003 | <gh_stars>10-100
using FluentAssertions;
using System.Collections.Generic;
using Xunit;
namespace Rocksmith2014.XML.Tests
{
public static class NoteTests
{
[Fact]
public static void NoteMaskAccessPropertiesSettersTest()
{
Note note = new Note();
NoteMask mask ... |
src/ServiceModel.Tests/Xml/Schema/Calculator.cs | icraftsoftware/BizTalk.Factory | 4 | 7065004 | #region Copyright & License
// Copyright © 2012 - 2013 <NAME>, <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
//
//... |
Static/RTC.cs | onkelhoy/unityrtc_template | 0 | 7065005 | using UnityEngine;
using System.Runtime.InteropServices;
using System.Collections.Generic;
public class RTC : MonoBehaviour
{
public static string ROOM;
public static string ID;
public static string HOST;
public static HashSet<string> PEERS = new HashSet<string>();
public MainMenu mainMenu;
public LobbyMe... |
src/IdentityUI.Admin/Areas/IdentityAdmin/Controllers/Setting/EmailController.cs | HorvatMatej/IdentityUI | 0 | 7065006 | <reponame>HorvatMatej/IdentityUI
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using SSRD.IdentityUI.Admin.Areas.IdentityAdmin.Interfaces.Setting;
using SSRD.Ide... |
ImageFactory/MainForm.cs | guotao0628/ImageFactory | 7 | 7065007 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ImageFactory
{
public partial clas... |
Source/Classic/Libs/ManagedIrbis/Source/Pft/Infrastructure/Functions/StandardFunctions.Objects.cs | fossabot/ManagedIrbis | 0 | 7065008 | <filename>Source/Classic/Libs/ManagedIrbis/Source/Pft/Infrastructure/Functions/StandardFunctions.Objects.cs
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
/* StandardFunctions.Objects.cs --
* Ars Magna pr... |
Application.Api/Controllers/UserController.cs | singgihdwindaru/template-netcore5-vscode | 0 | 7065009 | using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace Application.Api.Con... |
Assets/Scripts/OnePlayerRegister.cs | JojuGeorge/Oblivion | 0 | 7065010 | <reponame>JojuGeorge/Oblivion
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class OnePlayerRegister : MonoBehaviour
{
string createUserURL = "http://localhost/oblivion_user_data/register.php";
public InputField inputUsername;
public Text ... |
uhd-sharp_find_devices/Program.cs | CrazyAlex25/uhdsharp | 1 | 7065011 | /*******************************************************************************
Copyright(c) 2014 <NAME>, 4Z7DEF https://uhdsharp.codeplex.com/
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 w... |
Qc.SampleauthSdk/Models/SampleauthConst.cs | QcCoding/Qc.SampleauthSdk | 0 | 7065012 | using System;
using System.Collections.Generic;
using System.Text;
namespace Qc.SampleauthSdk
{
/// <summary>
/// 登录页配置常量
/// </summary>
public class SampleauthPageConst
{
/// <summary>
/// 登录失败文本
/// </summary>
public const string LoginTextErrorMsg = nameof(LoginTe... |
src/Prototype/Entities/StagePortal.cs | jmacs/ngx | 0 | 7065013 | using NgxLib;
using Prototype.Components;
namespace Prototype.Entities
{
public class StagePortal : IPrefab
{
public const string Name = "StagePortal";
public int CreateEntity(NgxDatabase db, PrefabArgs args)
{
return Create(db, args);
}
public static int ... |
src/generator/AutoRest.CSharp.Azure.Tests/Expected/AcceptanceTests/AzureSpecials/SkipUrlEncodingOperationsExtensions.cs | yugangw-msft/AutoRest | 0 | 7065014 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespac... |
Assets/Scripts/Asteroids/Shared/ScoreSetter.cs | Rud156/UNetDnDTest | 0 | 7065015 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UNetUI.Asteroids.Shared
{
public class ScoreSetter : MonoBehaviour
{
public int scoreAmount;
}
} |
Common/Bases/ABaseScheduledtTask.cs | ishahrier/HangFirePerUserTasks | 0 | 7065016 | using Hangfire;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Exico.HangFire.Common
{
public abstract class ABaseScheduledtTask : ABaseTask
{
public ABaseScheduledtTask(IScheduledTaskOptions options):base(options)
{
}
... |
WpfEssentials.Win32.Examples/ViewModel.cs | whampson/WpfEssentials | 1 | 7065017 | using System;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Input;
using WpfEssentials.Win32;
namespace WpfEssentials.Examples
{
public enum DisplayType
{
[Description("Do not show this option")]
... |
SimpleEventSourcing/ReadModel/InMemory/CheckpointPersister.cs | warappa/SimpleEventSourcing | 7 | 7065018 | <reponame>warappa/SimpleEventSourcing<filename>SimpleEventSourcing/ReadModel/InMemory/CheckpointPersister.cs
using System.Collections.Generic;
using System.Threading.Tasks;
namespace SimpleEventSourcing.ReadModel.InMemory
{
public class CheckpointPersister : CheckpointPersisterBase
{
private Dictionar... |
src/BirdWatch/Assets/src/Code/Dialog/TextCrawlSoundManager.cs | harjup/bird-watch | 1 | 7065019 | <filename>src/BirdWatch/Assets/src/Code/Dialog/TextCrawlSoundManager.cs
using UnityEngine;
using System.Collections;
using System.Linq;
public class TextCrawlSoundManager : MonoBehaviour
{
private AudioSource _talkTickOld;
private AudioSource _talkTickMid;
private AudioSource _talkTickOther;
private ... |
src/ChannelAdam.Core/Reflection/EmbeddedResource.cs | channeladam/ChannelAdam.Core | 0 | 7065021 | //-----------------------------------------------------------------------
// <copyright file="EmbeddedResource.cs">
// Copyright (c) 2016 <NAME>. All rights reserved.
// </copyright>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Lic... |
VirtualPath.DropNet.Tests/IVirtualPathProviderTests.cs | guillaume86/VirtualPath | 17 | 7065022 | <reponame>guillaume86/VirtualPath
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using VirtualPath.DropNet;
using VirtualPath.Tests;
namespace VirtualPath.DropNet.Tests
{
public class IVirtualPathProviderT... |
src/RepoCat.Portal/ObjectIdConverter.cs | bartosz-jarmuz/RepoCat | 3 | 7065023 | <filename>src/RepoCat.Portal/ObjectIdConverter.cs
// -----------------------------------------------------------------------
// <copyright file="ObjectIdConverter.cs" company="<EMAIL>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
// ----------------------------------------------------------------... |
src/NuGetGallery/Migrations/201912051135094_PackageVulnerabilityAdvisoryUrlRenameAndRequired.cs | augustoproiete-forks/NuGet--NuGetGallery | 1,022 | 7065024 | <gh_stars>1000+
namespace NuGetGallery.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class PackageVulnerabilityAdvisoryUrlRenameAndRequired : DbMigration
{
public override void Up()
{
RenameColumn("dbo.PackageVulnerabilities", "Reference... |
OnlineStore/OnlineStore.DTO/CourierModels/ICourierImportModel.cs | Team-5-Jellyfish-Store/Jellyfish-Store | 0 | 7065025 | namespace OnlineStore.DTO.CourierModels
{
public interface ICourierImportModel
{
string FirstName { get; set; }
string LastName { get; set; }
string Phone { get; set; }
string Address { get; set; }
string Town { get; set; }
}
}
|
src/GraphQLCore/Type/Introspection/IntrospectedSchemaType.cs | mkmarek/graphql-ast-dotnetcore | 111 | 7065026 | namespace GraphQLCore.Type.Introspection
{
using System.Collections.Generic;
using System.Linq;
using Translation;
public class IntrospectedSchemaType : GraphQLObjectType
{
private IGraphQLSchema schema;
private ISchemaRepository schemaRepository;
public IntrospectedSchema... |
HackTools/Services/SSH/SSHMenu.cs | TheMineWay/HackTools | 0 | 7065028 | <filename>HackTools/Services/SSH/SSHMenu.cs
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Linq;
using System.Net.NetworkInformation;
using System.Threading;
using Renci.SshNet;
namespace HackTools
{
class SSHMenu: ScreenOption
{
enum Options
{
... |
Startup.cs | tadakoglu/Xyzeki-Latest | 1 | 7065029 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensio... |
Runtime/Internal/StateFactoryData.cs | CoderGamester/com.gamelovers.statechart | 0 | 7065031 | <filename>Runtime/Internal/StateFactoryData.cs
using System;
// ReSharper disable CheckNamespace
namespace GameLovers.Statechart.Internal
{
internal struct StateFactoryData
{
public Action<IStatechartEvent> StateChartMoveNextCall;
public IStateMachineDebug StateMachine;
}
} |
Service/Classes/CContainer.cs | artemiusgreat/options-scanner | 8 | 7065032 | <reponame>artemiusgreat/options-scanner
using MongoDB.Driver;
using MongoDbGenericRepository;
using MongoDbGenericRepository.Models;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Threading.Tasks;
namespace Service.Classes
{
public interface IContainer<T> : I... |
trashCAN/TRASH_CAN_CORE_SRC/trashCAN/Help.cs | ehughes/trashCAN | 0 | 7065033 | 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 trashCAN
{
public partial class Help : Form
{
public Help()
{
InitializeComponent();
... |
src/Liquid.Domain.Extensions.Crud/Commands/AddGenericEntity/AddGenericEntityCommandValidator.cs | Control-Alt-Sistemas/Liquid-Application-Framework | 1 | 7065034 | <reponame>Control-Alt-Sistemas/Liquid-Application-Framework
using FluentValidation;
using Liquid.Repository;
namespace Liquid.Domain.Extensions.Crud.Commands.AddGenericEntity
{
/// <summary>
/// Command validator of <see cref="AddGenericEntityCommand{TEntity, TIdentifier}"/>
/// </summary>
/// <typepa... |
Game/GameInput.cs | ferrywlto/EICS.Muddle | 0 | 7065035 | namespace EverythingInCSharp.Muddle.Game;
public class GameInput {
public event Action? InputChanged;
private char[] _buffer = Array.Empty<char>();
private int _idx;
private int _size;
public char GetInputAt(int idx) {
if (BufferNotSet()) return ' ';
if (idx < 0) idx = 0;
i... |
NordCloudAssignmentTest/Domain/LinkStationTest/PowerAtPositionTest.cs | matthewdenobrega/nordcloud-assignment | 0 | 7065036 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using NordCloudAssignment.Domain;
using System;
namespace NordCloudAssignmentTest.Domain.LinkStationTest
{
[TestClass]
public class PowerAtPositionTest
{
[TestMethod]
[ExpectedException(typeof(ArgumentException))]
public void Powe... |
src/live.asp.net/Views/Shared/_Layout.cshtml | DamianEdwards/live.asp.net | 340 | 7065037 | @inject Microsoft.AspNetCore.Hosting.IHostingEnvironment HostingEnvironment
@inject live.asp.net.Services.IDeploymentEnvironment DeploymentEnvironment
@inject live.asp.net.Services.CookieConsentService CookieConsentService
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="w... |
src/Leeax.Web.Components/Reflection/ReflectionHelper.cs | Ieeax/web | 2 | 7065038 | namespace Leeax.Web.Components.Reflection
{
public static class ReflectionHelper
{
// TODO: We may want to speed-up the reflection trough caching or smth ...
public static bool TryGetPropertyValue(object? instance, Binding binding, out object? value)
{
value = null;
... |
TitanFx.AspNetCore.Mvc.Templating/Constants/Functions.cs | titan-fx/AspNetCore | 0 | 7065039 | namespace TitanFx.AspNetCore.Mvc.Templating.Constants
{
/// <summary>
/// A collection of methods which can be reused as delegates
/// </summary>
internal static class Functions
{
/// <summary>
/// The identity function. Makes no changes and returns the value it is given.
//... |
MTSC.UnitTests/EchoWebsocketModule.cs | AlexMacocian/MTSC | 3 | 7065040 | using MTSC.Common.WebSockets.RoutingModules;
namespace MTSC.UnitTests
{
public class EchoWebsocketModule : WebsocketRouteBase<string, string>
{
public override void ConnectionClosed()
{
}
public override void ConnectionInitialized()
{
}
public override... |
Assets/Scripts/DataCard.cs | xCloudzx/Data-Blaze | 0 | 7065041 | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using TMPro;
using UnityEngine;
using System;
using UnityEngine.UI;
public class DataCard : MonoBehaviour
{
[SerializeField] private TMP_Text nameText = null;
[SerializeField] private TMP_Text genderText = null;
[SerializeField... |
CamberUI/Civil/Styles/Label Styles/SampleLineLabelStyleDropDowns.cs | mzjensen/camber | 9 | 7065042 | #region references
using System.Collections.Generic;
using Newtonsoft.Json;
using Dynamo.Graph.Nodes;
using Camber.Civil.Styles.Labels;
#endregion
namespace Camber.UI
{
[NodeName("Sample Line Label Styles")]
[NodeCategory("Camber.Civil 3D.Styles.Label Styles.SampleLineLabelStyle")]
[NodeDescription("Selec... |
arpg_prg/nativeclient_prg/Assets/Code/Client/UI/UITotalInfor/UITargetInforInnerBoard/UITargetInforInnerWindowController.cs | rusmass/wealthland_client | 0 | 7065043 | <reponame>rusmass/wealthland_client<gh_stars>0
using System;
using System.Collections.Generic;
namespace Client.UI
{
/// <summary>
/// 玩家内圈目标的窗口
/// </summary>
public class UITargetInforInnerWindowController:UIController<UITargetInforInnerWindow,UITargetInforInnerWindowController>
{
public U... |
HairSalon/Controllers/HomeController.cs | christinelfrank16/EauClairesSalon.Solution | 0 | 7065044 | <reponame>christinelfrank16/EauClairesSalon.Solution
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using HairSalon.Models;
namespace HairSalon.Controllers
{
public class HomeController : Controller
{
... |
src/Akka.Persistence.ServiceFabric.Tests/ServiceFabricSnapshotStoreSpec.cs | akkadotnet/Akka.Persistence.ServiceFabric | 15 | 7065045 | //-----------------------------------------------------------------------
// <copyright file="ServiceFabricSnapshotStoreSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2015 Akka.NET project <https://github.com/akkadotnet/akka.net>
//... |
Shameilst/WebApp/Data/Services/TaskLists/TaskListsDataProvider.cs | Wndrr/Shameilst | 0 | 7065046 | using System;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using WebApp.Data.Entities;
using WebApp.Services;
namespace WebApp.Data.Services.TaskLists
{
public class TaskListsDataProvider : BaseDataProvider... |
ThriveAPIMediaTool/Thrive API Media Tool/Program.cs | ThriveCommunityChurch/ThriveAPIMediaTool | 0 | 7065047 | using NAudio.Wave;
using Newtonsoft.Json;
using System;
using System.IO;
using System.Net;
using System.Net.Http;
using Thrive_API_Media_Tool.DTOs;
namespace Thrive_API_Media_Tool
{
class Program: ProgramBase
{
static void Main(string[] args)
{
if (args != null && args.Length > 0)
... |
Wenli.Live.Common/Extensions.cs | liupaul1220/Wenli.RtmpServer | 17 | 7065048 | <gh_stars>10-100
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Wenli.Live.Common
{
public static class Extensions
{
public static IList ToList(this IEnumerable enumerable)
{
va... |
src/Cashew/ISystemClock.cs | IanBru/Cashew | 74 | 7065050 | <gh_stars>10-100
using System;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Cashew.Tests")]
namespace Cashew
{
internal interface ISystemClock
{
DateTimeOffset UtcNow { get; }
}
internal class DefaultSystemClock : ISystemClock
{
public DateTimeOffset ... |
Randomizer.cs | Open-NET-Libraries/Open.RandomizationExtensions | 0 | 7065051 | <reponame>Open-NET-Libraries/Open.RandomizationExtensions
/*!
* @author electricessence / https://github.com/electricessence/
* Licensing: MIT https://github.com/electricessence/Genetic-Algorithm-Platform/blob/master/LICENSE.md
*/
using System;
using System.Buffers;
using System.Collections.Generic;
using System.L... |
Managed/UnrealEngine.Runtime/UnrealEngine.Runtime/Core/Math/FTwoVectors.cs | MiheevN/USharp | 353 | 7065052 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace UnrealEngine.Runtime
{
// Engine\Source\Runtime\Core\Public\Math\TwoVectors.h
/// <summary>
/// A pair of 3D vectors.
/// </summary>
[UStruct(Flags = 0x0000E838), ... |
src/PodcastNotifications.Backend/PodcastNotifications.Functions/Storage/BlobClientSettings.cs | NRKirby/PodcastNotifications | 0 | 7065053 | <reponame>NRKirby/PodcastNotifications<filename>src/PodcastNotifications.Backend/PodcastNotifications.Functions/Storage/BlobClientSettings.cs
using System;
namespace PodcastNotifications.Functions.Storage
{
public class BlobClientSettings
{
public string ConnectionString { get; set; }
public s... |
BTree/BTreeSet.cs | imbelousov/btree | 0 | 7065054 | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
namespace BTree
{
public class BTreeSet<T> : ISet<T>
{
private readonly BTree<T> _bTree;
public int Count => throw new NotImplementedException();
public bool IsReadOnly => false;
public BTre... |
Pulse.Common/DeltaStamp/DeltaManager.cs | vladkar/pulse-project-open | 1 | 7065055 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Pulse.MultiagentEngine.Map;
namespace Pulse.Common.DeltaStamp
{
public class AgentPersistData : IPulseAgentDeltaData
{
public long Id { get; se... |
src/Off/CodeBase.Off.Website/Controllers/AboutController.cs | m-sadegh-sh/CodeBase | 2 | 7065057 | <reponame>m-sadegh-sh/CodeBase
namespace CodeBase.Off.Website.Controllers {
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using CodeBase.Common.Infrastructure.Application;
using CodeBase.Off.Core.Domain;
using CodeBase.Off.Core.Services;
using CodeBase.Of... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.