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 |
|---|---|---|---|---|
DrOffice/Models/DrOfficeContext.cs | schradermade/DrOffice.Solution | 0 | 7055313 | using Microsoft.EntityFrameworkCore;
namespace DrOffice.Models
{
public class DrOfficeContext : DbContext
{
public DbSet<Doctor> Doctors { get; set; }
public DbSet<Patient> Patients { get; set; }
public DbSet<DoctorPatient> DoctorPatient { get; set; }
public DrOfficeContext(DbContextOptions op... |
Yinyang.Utilities.Test/ConvertToShaStringTests.cs | yinyangdev/Yinyang.Utilities | 0 | 7055315 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Yinyang.Utilities.Hash;
namespace Yinyang.Utilities.Test
{
[TestClass]
public class ConvertToShaStringTests
{
[TestMethod]
public void StringToSha256Test()
{
Assert.AreEqual("44a630d1ff6506506430c7df24b7ca63cdcaf3... |
CodeWars/4kyu/NextBiggerNumberWithSameDigits.cs | a-kozhanov/codewars_csharp | 11 | 7055316 | <filename>CodeWars/4kyu/NextBiggerNumberWithSameDigits.cs<gh_stars>10-100
/*
https://www.codewars.com/kata/55983863da40caa2c900004e/csharp
4 kyu
Next bigger number with the same digits
Create a function that takes a positive integer and returns the next bigger number that can be formed by rearranging its digits.
F... |
BigchainDBWebServer/Models/ProductPlantingProcess.cs | quocthang0507/BigchainDBWebServer | 0 | 7055318 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... |
WebApi/WebApi/Providers/FlightRepository.cs | vukisic/Web2_Project | 0 | 7055319 | using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Internal;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices.ComTypes;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Task... |
BooleanRewrite/MainWindow.xaml.cs | Bram-Hub/BooleanRewrite | 2 | 7055320 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
eFormCore/ICore.cs | AjayKas/eform-sdk-dotnet | 0 | 7055321 | /*
The MIT License (MIT)
Copyright (c) 2014 microting
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, pu... |
src/MoreAsyncLINQ/Operators/OrderBy.cs | i3arnon/MoreAsyncLINQ | 11 | 7055322 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using static MoreAsyncLINQ.OrderByDirection;
namespace MoreAsyncLINQ
{
static partial class MoreAsyncEnumerable
{
/// <summary>
/// Sorts the elements of a sequence in a particular direction (ascen... |
Source/Dialog_LoadColonist.cs | craftersmine/EdBPrepareCarefully | 211 | 7055323 | <gh_stars>100-1000
using RimWorld;
using System;
using UnityEngine;
using Verse;
namespace EdB.PrepareCarefully {
public class Dialog_LoadColonist : Dialog_Colonist {
protected Action<string> action;
public Dialog_LoadColonist(Action<string> action) {
this.action = action;
... |
System.Web/Configuration/ClientTarget.cs | cnork/referencesource | 911 | 7055324 | <gh_stars>100-1000
//------------------------------------------------------------------------------
// <copyright file="ClientTarget.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------... |
DInjector/Utils/AM51.cs | imstephen/DInjector | 252 | 7055325 | <reponame>imstephen/DInjector
using System;
using System.Text;
using System.Diagnostics;
using System.Runtime.InteropServices;
using DI = DInvoke;
using static DInvoke.Data.Native;
namespace DInjector
{
class AM51
{
// mov eax,0x80070057 (E_INVALIDARG); ret
static readonly byte[] x64 = new... |
SweetHelpers/Json/KeyOnlyConverter.cs | eliekstein/SweetHelpers | 0 | 7055326 | using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
namespace Newtonsoft.Json.Converters
{
public class KeyOnlyConverter : JsonConverter// where T : new()
{
private Predicate<PropertyInfo> ... |
src/Marten/Linq/IMartenQueryable.cs | juchom/marten | 1,700 | 7055328 | <reponame>juchom/marten<filename>src/Marten/Linq/IMartenQueryable.cs<gh_stars>1000+
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
#nullable enable
namespace Marten.Linq
{
public interface IMar... |
src/Fractum/WebSocket/CloseCode.cs | trinitrotoluene/Fractum | 3 | 7055331 | namespace Fractum.WebSocket
{
internal enum CloseCode
{
UnknownError = 4000,
UnknownOpCode = 4001,
DecodeError = 4002,
NotAuthenticated = 4003,
AuthenticationFailed = 4004,
AlreadyAuthenticated = 4005,
InvalidSeq = 4007,
RateLimited = 4008,
... |
Assets/Scripts/NinjaScript.cs | InformalPenguins/samurai-unity | 0 | 7055332 | <reponame>InformalPenguins/samurai-unity
using UnityEngine;
using System.Collections;
public class NinjaScript : MonoBehaviour {
public int velocity;
private Animator animator;
private GameManagerScript game;
// Use this for initialization
void Start () {
animator = GetComponent<Animator>();
game = (GameM... |
SwdPageRecorder/SwdPageRecorder.ConfigurationManagement/MyConfigurationMappings/MyConfiguragionMappingClasses.cs | themenucha/swd-recorder | 187 | 7055333 | using SwdPageRecorder.ConfigurationManagement.ConfigurationFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SwdPageRecorder.ConfigurationManagement.MyConfigurationMappings
{
public class MyConfigurationCollection: List<MyConf... |
CreativeAssessment/CreativeAssessment/backend Classes/Entities/DetailedFeedback.cs | kaciyn/CreativeAssessment | 0 | 7055334 | <filename>CreativeAssessment/CreativeAssessment/backend Classes/Entities/DetailedFeedback.cs<gh_stars>0
using System;
using SQLite;
using SQLiteNetExtensions.Attributes;
namespace CreativeAssessment.backendClasses.Entities
{
[Table("DetailedFeedback")]
public class DetailedFeedback
{
/// <summary>
... |
SteamWebApiLib/Models/Common/ReleaseDate.cs | fossabot/SteamWebApiLib | 2 | 7055335 | <gh_stars>1-10
using Newtonsoft.Json;
namespace SteamWebApiLib.Models.Common
{
public class ReleaseDate
{
[JsonProperty("coming_soon")]
public bool ComingSoon { get; set; }
[JsonProperty("date")]
public string Date { get; set; }
public ReleaseDate()
{
... |
src/FakeHttpServer/RequestHandler.cs | emrecaglar/FakeHttpServer | 4 | 7055336 | using System;
using System.Linq;
using System.Linq.Expressions;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
namespace FakeHttpServer
{
public delegate void MockMiddlewareHandler(MockHttpRequest req, MockHttpReponse res, Action next);
public class RequestHandler
{
intern... |
tvdc/Static Stuff/Badges.cs | newcat/tvdc2 | 6 | 7055337 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;
using System.IO;
using System.Drawing;
using System.Drawing.Imaging;
using System.Net;
using Newtonsoft.Json.Linq;
namespace tvdc
{
public class Badges
{
private static bool loaded = fals... |
sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/Models/ApplicationGatewayWebApplicationFirewallConfiguration.Serialization.cs | shmartel/azure-sdk-for-net | 1 | 7055338 | <reponame>shmartel/azure-sdk-for-net
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using System.Text.Json;
using Azure.Core;
namespace Azure.Management.Network.Models
{
public partial class... |
src/Core/Shared/Messages/OrderItemMessage.cs | ataberkdag/ChoreographyBasedSagaExample | 0 | 7055339 | <filename>src/Core/Shared/Messages/OrderItemMessage.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shared.Messages
{
public class OrderItemMessage
{
public long ProductId { get; set; }
public int Quant... |
src/Plugin.Boilerplate/Services/Navigation/NavigationService.cs | juanroman/xamarin-boilerplate | 3 | 7055340 | using Plugin.Boilerplate.Pages;
using Plugin.Boilerplate.Services.Authentication;
using Plugin.Boilerplate.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace Plugin.Boilerplate.Services.Navigation
{
public class NavigationSer... |
CSharp/leetcodesln/SearchInABinarySearchTree.cs | user3301/TrialOfTheGrasses | 3 | 7055341 | <filename>CSharp/leetcodesln/SearchInABinarySearchTree.cs
using leetcodesln.common;
using System;
using System.Collections.Generic;
using System.Text;
namespace leetcodesln
{
public class SearchInABinarySearchTree
{
public TreeNode SearchBST(TreeNode root, int val)
{
if (root==null... |
src/CloudAwesome.Markdown/CloudAwesome.MarkdownMaker.Tests/MdQuoteTests.cs | Cloud-Awesome/markdown-maker | 0 | 7055342 | using System;
using CloudAwesome.MarkdownMaker.Exceptions;
using FluentAssertions;
using NUnit;
using NUnit.Framework;
namespace CloudAwesome.MarkdownMaker.Tests
{
[TestFixture]
public class MdQuoteTests
{
private const string InputText = "Here is some text in a quote";
[Test]
... |
GestorDeTaller.UI/Areas/Identity/Pages/Account/ResetPasswordConfirmation.cshtml | michaelbeta/Gestion-Taller | 0 | 7055343 | @page
@model ResetPasswordConfirmationModel
@{
ViewData["Title"] = "Restablecer confirmación de contraseña";
}
@{
Layout = "~/Views/Restringido/_Layout.cshtml";
}
@{
Layout = "~/Views/Shared/_Layout2.cshtml"; //Esta sería la plantilla original del sitio web.
}
<h1>@ViewData["Title"]</h1>
<p>
Tu contras... |
BaseClasses/AlertSystem.cs | Fantasmos/NetworkAlertSystem | 0 | 7055344 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NetworkAlertSystem
{
abstract class AlertSystem
{
public abstract void AlertUserIsOverThreshHold(string Message = "You are currently over the threshold!");
public abstr... |
BeginToCodeWithCSharp/Snaps/Snaps/Snaps Types/SnapsSprite.cs | BeginToCodeSnaps/DemoCode | 4 | 7055345 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Windows.UI;
using Windows.UI.Core;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Media.Animation;
using Windows.U... |
Assets/Normal/Realtime/Editor/RealtimeEditor.cs | nstolmaker/AirHockeyVR | 8 | 7055346 | <reponame>nstolmaker/AirHockeyVR<filename>Assets/Normal/Realtime/Editor/RealtimeEditor.cs
using System;
using System.IO;
using UnityEngine;
using UnityEditor;
using Normal.Realtime.Native;
namespace Normal.Realtime {
[CustomEditor(typeof(Realtime))]
public class RealtimeEditor : Editor {
private stati... |
SoftUni/01. .NET Courses/02. Technology Fundamentals - C#/11. Dictionaries, Lambda and LINQ/Exercises/07.StudentAcademy/07.cs | grekssi/Softuni-Courses | 0 | 7055348 | using System;
using System.Collections.Generic;
using System.Linq;
namespace _07.StudentAcademy
{
class Program
{
static void Main(string[] args)
{
int studentsCount = int.Parse(Console.ReadLine());
var students = new Dictionary<string, List<double>>();
fo... |
Psythyst.CodeGenerator/Psythyst.Plugin.CodeGenerator.Entitas/Psythyst.Plugin.CodeGenerator.Entitas/Psythyst.Plugin.CodeGenerator.Entitas/Source/CodeGenerator/Entity/EntitasEntityGenerator.cs | Psythyst/Psythyst.CodeGenerator | 0 | 7055349 | <reponame>Psythyst/Psythyst.CodeGenerator<gh_stars>0
using System.Collections.Generic;
using System.Linq;
using Psythyst;
using Psythyst.Data.Entitas;
namespace Psythyst.Plugin.CodeGenerator.Entitas
{
/// <summary>
/// EntitasEntityGenerator Class.
/// </summary>
public class EntitasEntityG... |
src/Compilers/Test/Core/AssemblyLoadTestFixture.cs | AlFasGD/roslyn | 1 | 7055350 | // 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;
using System.Collections.Immutable;
using System.Linq;
using Basic.Reference.Assemblies;
using Micros... |
src/ADSyncCSharp/Model/UserGroup.cs | qlik-oss/nprinting-adsync | 9 | 7055351 | <reponame>qlik-oss/nprinting-adsync
using System.Collections.Generic;
namespace ADSyncCSharp.Model
{
/**
* Represent a Group in Active Directory.
*/
public class UserGroup
{
public UserGroup(string name)
{
Name = name;
Users = new List<User>();
}
... |
Vulkan/Structs/VkCuModuleCreateInfoNVX.cs | trmcnealy/Vulkan | 0 | 7055352 | <reponame>trmcnealy/Vulkan<gh_stars>0
using System;
using System.Runtime.InteropServices;
namespace Vulkan
{
[StructLayout(LayoutKind.Sequential)]
public struct VkCuModuleCreateInfoNVX
{
public VkStructureType SType;
[NativeTypeName("const void *")] public nuint PNext;
[NativeType... |
CrmSvcUtilExtensions/GeneratePicklistEnums/FilteringService.cs | DynamicsValue/365saturday | 10 | 7055353 | // =====================================================================
//
// This file is part of the Microsoft Dynamics CRM SDK Code Samples.
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
// This source code is intended only as a supplement to Microsoft
// Development Tools and/or online d... |
Transporter.Core/Domain/PassangerNode.cs | kwiniarski97/Transporter | 0 | 7055354 | <gh_stars>0
namespace Transporter.Core.Domain
{
public class PassangerNode
{
public Node Node { get; protected set; }
public Passanger Passanger { get; protected set; }
public PassangerNode(Node node, Passanger passanger)
{
Node = node;
Passanger = passa... |
GunsAndCubes/Assets/Scripts/Gameplay/ObjectSpawner.cs | ifcodingreturnhappy/GunsAndCubes | 0 | 7055355 | using Assets.Scripts.Gameplay;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectSpawner : GameBehaviour
{
[SerializeField]
private ObjectPooler objectPooler;
private ObjectPool objectPool;
[SerializeField]
private string poolToSpawnFrom;
publi... |
NLightning/Network/QueryMessages/GossipTimestampFilterMessage.cs | dmsch/NLightning | 16 | 7055356 | using System;
using System.Collections.Generic;
using NLightning.Transport.Messaging;
using NLightning.Utils;
using NLightning.Utils.Extensions;
namespace NLightning.Network.QueryMessages
{
public class GossipTimestampFilterMessage : Message
{
public byte[] ChainHash { get; private set; }
pub... |
AzureFuncService/FunctionAppTest1/ViewModels/MyTasksResponce.cs | ivlaevski/DevOpsAcademyTasks | 0 | 7055357 | namespace FunctionAppTest1
{
using Newtonsoft.Json;
using System.Collections.Generic;
public class MyTasksResponce
{
[JsonProperty("t")]
public List<Tasks> Tasks { get; set; }
[JsonProperty("s")]
public List<Targets> Targets { get; set; }
}
}
|
railessentials/Report/Report.cs | cbries/railessentials | 8 | 7055358 | // Copyright (c) 2021 Dr. <NAME>
// Licensed under the MIT License
// File: Report.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using ecoslib.Sniffer;
using ecoslib.Statistics;
using Newtonsoft.Json;
using Newtonsoft.Js... |
QDMarketPlace.Application/Interfaces/IBillService.cs | quocitspkt/QDMarketPlaceFinal | 0 | 7055359 | using System;
using System.Collections.Generic;
using System.Text;
using QDMarketPlace.Application.ViewModels.Product;
using QDMarketPlace.Data.Enums;
using QDMarketPlace.Utilities.Dtos;
namespace QDMarketPlace.Application.Interfaces
{
public interface IBillService
{
void Create(BillViewModel billVm);... |
Source/Assets/ToMMI/Scripts/Touchables/MultiTouchManager/InputServer.cs | CGVGroup/ToMMI | 2 | 7055360 | /*
* @author <NAME>
*/
using System;
using UnityEngine;
//using UnityEngine.Profiling;
namespace Touchables.MultiTouchManager
{
/// <summary>
///
/// </summary>
internal sealed class InputServer
{
#region Properties
private static readonly InputServer _instance = new InputServ... |
src/YouTubeKeyStore.cs | terrajobst/api-review-list | 13 | 7055361 | using System;
using System.IO;
namespace ApiReviewList
{
internal static class YouTubeKeyStore
{
private static string GetPath()
{
var appData = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
return Path.Combine(appData, "Microsoft", "APIReviewLis... |
test/v.2.12.31/TestAllEntities/All/Dev.DevKit.Shared/Entities/OrganizationSetting.generated.cs | Kayserheimer/Dynamics-Crm-DevKit | 52 | 7055362 | <filename>test/v.2.12.31/TestAllEntities/All/Dev.DevKit.Shared/Entities/OrganizationSetting.generated.cs
//---------------------------------------------------------------------------------------------------
// <auto-generated>
// Changes to this file may cause incorrect behavior and will be lost if the code is regene... |
Examples/GroupDocs.Metadata.Examples.CSharp/AdvancedUsage/UpdatingMetadata.cs | groupdocs-metadata/GroupDocs.Metadata-for-.NET | 5 | 7055364 | <reponame>groupdocs-metadata/GroupDocs.Metadata-for-.NET<filename>Examples/GroupDocs.Metadata.Examples.CSharp/AdvancedUsage/UpdatingMetadata.cs
// <copyright company="Aspose Pty Ltd">
// Copyright (C) 2011-2021 GroupDocs. All Rights Reserved.
// </copyright>
namespace GroupDocs.Metadata.Examples.CSharp.AdvancedUsag... |
Sitecore.Demandbase/DemandbaseContext.cs | konabos/Demandbase.Sitecore | 0 | 7055365 | using SitecoreDemandbase.Data;
using SitecoreDemandbase.Data.Interface;
using SitecoreDemandbase.Pipeline.HttpRequestBegin;
using System;
using System.Collections.Generic;
namespace SitecoreDemandbase
{
public static class DemandbaseContext
{
internal static IUserDataService UserServiceSingleton = null;
interna... |
source/WindowsAPICodePack/COMNative.Shared/Shell/KnownFolders/FolderTypes.cs | bodrick/Windows-API-Code-Pack | 17 | 7055366 | //Copyright (c) Microsoft Corporation. All rights reserved. Distributed under the Microsoft Public License (MS-PL)
using Microsoft.WindowsAPICodePack.Win32Native.Shell.Resources;
using System.Linq;
using System.Reflection;
namespace Microsoft.WindowsAPICodePack.COMNative.Shell
{
/// <summary>
/// The Fold... |
test/Secullum.Validation.Tests/MatchesTests.cs | Secullum/Secullum.Validation | 5 | 7055367 | <reponame>Secullum/Secullum.Validation
using System;
using Xunit;
namespace Secullum.Validation.Tests
{
public class MatchesTests : BaseTest
{
[Theory]
[InlineData("99954454")]
[InlineData("0")]
[InlineData("")]
[InlineData(null)]
public void Matches_GivenValidS... |
Backend/Endpoint/Mapping/Resolvers/ResearchAdvancementsResolver.cs | Etchelon/gaiaproject | 0 | 7055368 | using System;
using System.Collections.Generic;
using System.Linq;
using AutoMapper;
using GaiaProject.Engine.Model;
using GaiaProject.Engine.Model.Board;
using GaiaProject.ViewModels.Board;
namespace GaiaProject.Endpoint.Mapping.Resolvers
{
public class ResearchAdvancementsResolver : IValueResolver<ResearchTrack, R... |
Regex_Lab_Exercises/ExtractSentenceByKeyword/ExtractSentenceByKeyword.cs | komitoff/Softuni-Programming-Fundamentals | 2 | 7055369 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class ExtractSentenceByKeyword
{
static void Main()
{
string keyword = Console.ReadLine();
string[] text = Console.ReadLine()
.Split(new char[] { '.', '!', '?' },
StringSplitOpt... |
src/SimpleCalculator/Shared/CalculatorJobOutput.cs | zahariaconstantin/NetDist | 11 | 7055370 | <gh_stars>10-100
using NetDist.Jobs;
namespace SimpleCalculator.Shared
{
public class CalculatorJobOutput : IJobOutput
{
public int Result { get; set; }
}
}
|
Assembly-CSharp/Assets/Sources/Scripts/Common/AspectFit.cs | Iamgoofball/Memoria | 154 | 7055371 | <filename>Assembly-CSharp/Assets/Sources/Scripts/Common/AspectFit.cs
using System;
using UnityEngine;
namespace Assets.Sources.Scripts.Common
{
public class AspectFit
{
public AspectFit()
{
}
public AspectFit(Single canvasWidth, Single canvasHeight, Camera aspectCamera)
{
this.canvasWidth = canvasWidt... |
Unity/Assets/scripts/inputs/PhoneInput.cs | MantarayAR/HopSkipJump | 1 | 7055372 | using UnityEngine;
using System;
using System.Collections;
public class PhoneInput : MonoBehaviour
{
private Matrix4x4 calibrationMatrix;
private Vector3 wantedDeadzone = Vector3.zero;
private double factor = 1;
public Action<float> onJumpCallback;
public Action<float> onCrouchCallback;
void ... |
src/Mission.cs | OozaruRinon/ImmuneCommandMod | 2 | 7055373 | <gh_stars>1-10
public class Mission
{
public eMissiontype m_type;
public eObjectivesPerson m_objPerson;
public eObjectivesObject m_objObject;
public eLocation m_location;
public float m_dieTime;
public int m_xpReward;
public bool IsEqual(Mission m)
{
return m != null && m_type == m.m_type && m_objObject... |
TuneUpTests/TuneUpTests.cs | mmisol/TuneUp | 27 | 7055374 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using Dynamo.Graph.Workspaces;
using DynamoCoreWpfTests.Utility;
using NUnit.Framework;
using SystemTestServices;
using TuneUp;
namespace TuneUpTests
{
public class TuneUpTests ... |
Source/Common/Math/Point.cs | mortend/fuse-studio | 324 | 7055375 | using System;
using System.Collections.Generic;
namespace Outracks
{
public static partial class Point
{
public static Point<T> Create<T>(T u, T v, Axis2D firstAxis)
{
return firstAxis == Axis2D.Horizontal ? Create(u, v) : Create(v, u);
}
public static Point<T> Create<T>(T x, T y)
{
return new Point... |
src/Uno.UI.RemoteControl.Host/RemoteControlServer.cs | olirobert/uno | 5,973 | 7055376 | <reponame>olirobert/uno
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Uno.UI.RemoteControl;
using Uno.UI.RemoteControl.Helpers;
using Uno.UI.RemoteCon... |
DynamicData/Controllers/SortController.cs | ghuntley/DynamicData | 1 | 7055378 | using System;
using System.Collections.Generic;
using System.Reactive;
using System.Reactive.Linq;
using System.Reactive.Subjects;
namespace DynamicData.Controllers
{
/// <summary>
/// Enables dynamic inline sorting
/// </summary>
/// <typeparam name="T"></typeparam>
[Obsolete("Use IObservable<ICha... |
Assets/UniGLTF/Editor/UniGLTF/Gizmo/BoneInfo.cs | arimas88/UniVRM | 1,128 | 7055379 | using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace UniGLTF
{
public class BoneInfo
{
private readonly Transform _head;
private readonly Transform _tail;
private readonly Vector3 _headLocalForward;
private readonly Vector3 _headLocalUp... |
external/source/Scanner/share/LumiSoft.Net/SDP/SDP_Message.cs | 0x727/metasploit-framework | 1 | 7055380 | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace LumiSoft.Net.SDP
{
// Token: 0x020000BE RID: 190
public class SDP_Message
{
// Token: 0x0600074C RID: 1868 RVA: 0x0002CAFC File Offset: 0x0002BAFC
public SDP_Message()
{
this.m_pTimes = new List<SDP_... |
CivGen/Tag.cs | ls612/CFCGen | 0 | 7055381 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... |
src/Website/Models/Admin/SaveVideo.cs | ApexPredator13/Nldb3 | 4 | 7055382 | using System.ComponentModel.DataAnnotations;
namespace Website.Models.Admin
{
public class SaveVideo
{
[Required, MinLength(11)]
public string VideoIds { get; set; } = string.Empty;
}
}
|
SimpleLedger/LedgerModel/Reporting/FinancialStatement.cs | OmarAbdullwahhab/CSimpleLedger | 3 | 7055383 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LedgerModel.Ledger.Reporting
{
/// <summary>
/// This class is used to represent a user defined financial statement instead
/// of defining it statically
/// </summary>
p... |
framework/src/Silky.Rpc/Runtime/Server/Polly/IHandlePolicyProvider.cs | microserviceframe/Silky | 116 | 7055384 | <reponame>microserviceframe/Silky<gh_stars>100-1000
using Polly;
using Silky.Core.DependencyInjection;
using Silky.Rpc.Transport.Messages;
namespace Silky.Rpc.Runtime.Server
{
public interface IHandlePolicyProvider : ISingletonDependency
{
IAsyncPolicy Create(RemoteInvokeMessage message);
}
} |
Base Classes/DccDateTimePicker.cs | morethanyell/DannyCustomControls | 1 | 7055385 | using System;
using System.Windows.Forms;
using System.Drawing;
using System.Runtime.InteropServices;
namespace DannyCustomControls {
/// <summary>
/// Source: https://www.codeproject.com/Articles/6664/DateTimePicker-appears-flat
/// </summary>
[System.ComponentModel.DesignerCategory("")]
public... |
lang/cs/Org.Apache.REEF.IMRU.Examples/PipelinedBroadcastReduce/BroadcastReceiverReduceSenderMapFunction.cs | tcondie/reef | 1 | 7055386 | <reponame>tcondie/reef
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0... |
Scripts/AsteroidPatch.cs | grilled-salmon/Stationeers.FixOreSensorLenses | 0 | 7055387 | <gh_stars>0
using Assets.Scripts;
using Assets.Scripts.Inventory;
using Assets.Scripts.Networking;
using Assets.Scripts.Objects;
using Assets.Scripts.Objects.Entities;
using Assets.Scripts.Objects.Items;
using Assets.Scripts.Objects.Pipes;
using Assets.Scripts.Voxel;
using HarmonyLib;
using System;
using System.Collec... |
csharp/utils.cs | freeGamePerson/dev_update | 1 | 7055388 | using System;
using System.Collections.Generic;
using System.Text;
namespace Utils
{
class utils
{
public static void Log(byte[] bs)
{
if (BitConverter.IsLittleEndian)
{
Array.Reverse(bs);
}
string msg = "[";
//
... |
Source/Applications/openEAS/Logging/ServiceHelperAppender.cs | epri-dev/OpenEAS | 0 | 7055389 | //******************************************************************************************************
// ServiceHelperAppender.cs
//
// Copyright(c) 2016, Electric Power Research Institute, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, ... |
Source/PrioritizerConfiguration.cs | pavsaund/Prioritizer | 0 | 7055391 | <reponame>pavsaund/Prioritizer
/*---------------------------------------------------------------------------------------------
* Copyright (c) Dolittle. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*-------------------------------------------------... |
P2PVOIP/CallForm.cs | rav050483/P2P-Encrypted-VOIP | 9 | 7055393 | <filename>P2PVOIP/CallForm.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using System.Web.Script.Serialization;
namespace P2PVOIP
{
pub... |
PoCAuth/ViewModels/LogoutViewModel.cs | jmanuelcorral/PoCAuth | 0 | 7055394 | <reponame>jmanuelcorral/PoCAuth
using System.Linq;
using System.Threading.Tasks;
namespace PoCAuth.ViewModels
{
public class LogoutViewModel : LogoutInputModel
{
public bool ShowLogoutPrompt { get; set; }
}
}
|
ATM App/Models/CardBalanceModel.cs | asaulyak/atm | 0 | 7055395 | <filename>ATM App/Models/CardBalanceModel.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ATM_App.Models
{
public class CardBalanceModel
{
public float withdrawAmount { get; set; }
}
} |
PhotosOfUs.Web/Views/Photographer/Cards.cshtml | sparc-coop/photos-of-us | 0 | 7055396 | <reponame>sparc-coop/photos-of-us<filename>PhotosOfUs.Web/Views/Photographer/Cards.cshtml<gh_stars>0
@model List<Card>
@{
ViewData["Title"] = "Cards";
}
<div class="photographer-dashboard--wrapper photographer-cards" ng-controller="CardCtrl" ng-init="initCardCtrl()">
<h2 class="header-large">Your Codes</h2>
... |
plugins/Ros/Ros/Bag/Parsers/BagParser.cs | KrasnovPavel/Elektronik-Tools-2.0 | 1 | 7055397 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Elektronik.RosPlugin.Common;
using Elektronik.RosPlugin.Ros.Bag.Parsers.Records;
namespace Elektronik.RosPlugin.Ros.Bag.Parsers
{
public c... |
Scripts/GazeLSLOutlet.cs | labstreaminglayer/PicoNeo2Eye | 1 | 7055398 | <filename>Scripts/GazeLSLOutlet.cs<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Tobii.XR;
using LSL;
public class GazeLSLOutlet : MonoBehaviour
{
private liblsl.StreamOutlet outlet;
private float[] currentSample;
public string StreamName = "Unity.Tobi... |
src/Pages/Guide.cshtml | Skypioneer/Fishing-Radar | 0 | 7055399 | @page
@model ContosoCrafts.WebSite.Pages.GuideModel
@{
ViewData["Title"] = "Find Fishing Guide";
}
<h1 class="white-text">@ViewData["Title"]</h1>
<br>
<h3 align="center" class="white-text">Find your Fishing Guide here!</h3>
<br>
<br>
<div class="guide-container">
<!--Table to display all user posts.-->
<... |
Domain/Models/Base/BaseModel.cs | web-j/desafiohummer | 1 | 7055400 | using Commons.Enums;
using System;
namespace Domain.Models.Base
{
public class BaseModel
{
public int Id { get; set; }
public DateTimeOffset Created { get; set; }
public DateTimeOffset LastUpdate { get; set; }
public EStatusErased Erased { get; set; }
}
}
|
Bitshare.DataDecision.Web/Views/Home/Login.cshtml | Nocturnexol/ITMS | 0 | 7055401 | <filename>Bitshare.DataDecision.Web/Views/Home/Login.cshtml
@{
Layout = null;
int type = Bitshare.Common.UseTools.GetSecurityType();
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<hea... |
GreyWorm/Data/PointArray.cs | jypa/GreyWorm | 0 | 7055402 | <filename>GreyWorm/Data/PointArray.cs
namespace GreyWorm
{
public class PointArray<T>
{
private readonly T[,] _array;
public T this[Point p]
{
get
{
return _array[p.X, p.Y];
}
set
{
_array[p.X, ... |
src/CodeGenHero.DataService/Models/WebApiExecutionContextType.cs | attrib75/CodeGenHero | 14 | 7055403 | using System;
namespace CodeGenHero.DataService
{
public partial class WebApiExecutionContextType : IEquatable<WebApiExecutionContextType>, IWebApiExecutionContextType
{
private static readonly Lazy<WebApiExecutionContextType> _lazyInstance = new Lazy<WebApiExecutionContextType>(() => new WebApiExecutionContextTy... |
Keha.SuomiFiViestitHub.Client/Exceptions/NotMatchingIdsException.cs | ELY-KEHA/SuomiFiViestitHubClient | 0 | 7055404 | <gh_stars>0
using System;
namespace Keha.SuomiFiViestitHub.Client.Exceptions
{
/// <summary>
/// Used Id of the message does not match used Viestit-AccountId.
/// </summary>
public class NotMatchingIdsException : Exception
{
/// <summary></summary>
public NotMatchingIdsEx... |
GuessTheSong/Code/Forms/TextDisplayForm.cs | 5andi5/old-projects | 0 | 7055405 | 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 GuessTheSong.Forms
{
public partial class TextDisplayForm : Form
{
public static Font TextFont=null;
... |
Repo1.D8Uploader.Lib45/RestClients/UploaderClient2.cs | peterson1/Repo1 | 0 | 7055406 | <filename>Repo1.D8Uploader.Lib45/RestClients/UploaderClient2.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Repo1.Core.ns11.Configuration;
using Repo1.Core.ns11.R1Models.D8Models;
using Repo1.Core.ns11.R1Models.D8Models.D8ViewsLists;
using Rep... |
tests/Avalonia.Input.UnitTests/InputElement_Focus.cs | SearchAThing-forks/Avalonia | 3 | 7055407 | <reponame>SearchAThing-forks/Avalonia<filename>tests/Avalonia.Input.UnitTests/InputElement_Focus.cs
using Avalonia.Controls;
using Avalonia.UnitTests;
using Xunit;
namespace Avalonia.Input.UnitTests
{
public class InputElement_Focus
{
[Fact]
public void Focus_Should_Set_FocusManager_Current()
... |
Algo/Storages/IStoragePositionList.cs | usimjo/stocksharp_local | 3 | 7055408 | <reponame>usimjo/stocksharp_local<gh_stars>1-10
#region S# License
/******************************************************************************************
NOTICE!!! This program and source code is owned and licensed by
StockSharp, LLC, www.stocksharp.com
Viewing or use of this code requires your acceptance of the... |
src/Database/DbInitializer.cs | philphilphil/WikiCore | 0 | 7055409 | <filename>src/Database/DbInitializer.cs
using System.Linq;
using Microsoft.EntityFrameworkCore;
using WikiCore.DB;
public static class DbInitializer
{
public static void InitializeDb(string connectionString)
{
var options = new DbContextOptionsBuilder<WikiContext>().UseSqlite(connectionString).Options... |
src/Kaponata.Android.Tests/Adb/AdbExceptionTests.cs | kaponata-io/kaponata | 10 | 7055410 | // <copyright file="AdbExceptionTests.cs" company="Quamotion bv">
// Copyright (c) Quamotion bv. All rights reserved.
// </copyright>
using Kaponata.Android.Adb;
using System;
using Xunit;
namespace Kaponata.Android.Tests.Adb
{
/// <summary>
/// Tests the <see cref="AdbException"/> class.
/// </summary>
... |
GameStore/Controllers/BaseController.cs | gogata258/SoftUniWebServer | 0 | 7055411 | <gh_stars>0
using System;
namespace GameStore_App.Controllers
{
using Components;
using Server.Abstractions;
using Server.HTTP;
using Server.HTTP.Contracts;
using Services;
using Services.Contracts;
using ViewModel;
public class BaseController : ControllerBase
{
protected override string ApplicationDirecto... |
src/Lykke.Service.Stellar.Api.Core/Services/IHorizonService.cs | schindlo/Lykke.Service.Stellar.Api | 0 | 7055412 | using System.Threading.Tasks;
using StellarBase.Generated;
using StellarSdk.Model;
namespace Lykke.Service.Stellar.Api.Core.Services
{
public interface IHorizonService
{
Task<string> SubmitTransactionAsync(string signedTx);
Task<TransactionDetails> GetTransactionDetails(string hash);
... |
Discreet-GUI/Services/Daemon/Responses/AddressRecoveryResponse.cs | DiscreetNetwork/discreet-gui | 0 | 7055413 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Services.Daemon.Responses
{
public class AddressRecoveryResponse
{
public string Spend { get; set; }
public string View { get; set; }
public string MnemonicSpen... |
Codes.cs | igromanru/botw-trainer | 0 | 7055414 | namespace BotwTrainer
{
using System;
using System.Collections.Generic;
using System.Globalization;
public class Codes
{
private readonly MainWindow mainWindow;
public Codes(MainWindow mainWindow)
{
this.mainWindow = mainWindow;
}
... |
Type-DB.Core/Exceptions/TypeDBIdentifierNotFoundException.cs | clintnetwork/Type-DB.Core | 1 | 7055415 | <reponame>clintnetwork/Type-DB.Core<filename>Type-DB.Core/Exceptions/TypeDBIdentifierNotFoundException.cs
using System;
using System.Runtime.Serialization;
namespace TypeDB.Exceptions
{
[Serializable]
public class TypeDBIdentifierNotFoundException : Exception
{
public TypeDBIdentifierNotFoundExcep... |
WeaverCore/Attributes/ShowFeatureAttribute.cs | nickc01/ViridianCore | 0 | 7055416 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WeaverCore.Attributes
{
/// <summary>
/// Adding this attribute to a class allows it to be added to a registry
/// </summary>
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMult... |
src/Dodo/Auth/Requests/OkRequestResult.cs | cowtrix/dodo | 4 | 7055417 | <reponame>cowtrix/dodo
using Microsoft.AspNetCore.Mvc;
namespace Resources
{
public abstract class ActionRequestResult : IRequestResult
{
public bool IsSuccess { get; private set; }
public IActionResult ActionResult => GetResult(Message, IsSuccess);
public string Message { get; private set; }
public Actio... |
RemotePhotinoService/Services/ClientIPCService.cs | budcribar/RemotePhotino.NET | 0 | 7055418 | using System.Threading.Tasks;
using Grpc.Core;
using Microsoft.Extensions.Logging;
using System.Threading;
using System;
using System.Collections.Concurrent;
using Google.Protobuf.WellKnownTypes;
using System.Threading.Channels;
namespace PeakSWC.RemotePhotinoNET
{
public class ClientIPCService : ClientIPC.ClientI... |
Xania.Railway/MonadExtensions.cs | ibrahimbensalah/Xania.Finance | 1 | 7055419 | using System;
namespace Xania.Railway
{
public static class MonadExtensions
{
public static IMonad<S> SelectMany<T, U, S>(this IMonad<T> monad, Func<T, IMonad<U>> monadSelector, Func<T, U, IMonad<S>> resultSelector)
{
return monad.Bind(r => monadSelector(r).Bind(u => resultSelector... |
src/Plugins/Manager/ModuleManager.Plugin.cs | AdrianoAE/DotNetCorePlugins | 0 | 7055420 | #if FEATURE_UNLOAD
namespace McMaster.NETCore.Plugins.Manager
{
public sealed partial class ModuleManager<TType> where TType : class
{
private class Plugin
{
public string FullPath { get; }
public int LoaderHashCode { get; }
public Plugin(string fullPath, in... |
SharePoint.Authentication.Owin/Models/AADPublicKey.cs | SachiraChin/SharePoint.Authentication | 2 | 7055421 | using System.Collections.Generic;
namespace SharePoint.Authentication.Owin.Models
{
internal class AADPublicKey
{
public string kty { get; set; }
public string use { get; set; }
public string kid { get; set; }
public string x5t { get; set; }
public string n { get; set; ... |
Assets/Scripts/Managers/GameManager.cs | jdaev/STL | 0 | 7055422 | using Base;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace Managers
{
public class GameManager
{
public readonly PlayerManager PlayerManager = new PlayerManager();
public readonly EnemyManager EnemyManager = new EnemyManager();
public readonly EnemyFactory EnemyFactory... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.