hexsha stringlengths 40 40 | size int64 5 1.05M | ext stringclasses 588
values | lang stringclasses 305
values | max_stars_repo_path stringlengths 3 363 | max_stars_repo_name stringlengths 5 118 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 10 | max_stars_count float64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringdate 2015-01-01 00:00:35 2022-03-31 23:43:49 ⌀ | max_stars_repo_stars_event_max_datetime stringdate 2015-01-01 12:37:38 2022-03-31 23:59:52 ⌀ | max_issues_repo_path stringlengths 3 363 | max_issues_repo_name stringlengths 5 118 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 10 | max_issues_count float64 1 134k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 363 | max_forks_repo_name stringlengths 5 135 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 10 | max_forks_count float64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringdate 2015-01-01 00:01:02 2022-03-31 23:27:27 ⌀ | max_forks_repo_forks_event_max_datetime stringdate 2015-01-03 08:55:07 2022-03-31 23:59:24 ⌀ | content stringlengths 5 1.05M | avg_line_length float64 1.13 1.04M | max_line_length int64 1 1.05M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ac8588bc724b4f1632a3329eac07e36b962d534c | 5,658 | cs | C# | src/StringSpanBuilder/BufferCompat.cs | bbowyersmyth/StringSpanBuilder | acd9143e8fe1f97135625b01f8914dfc5ec22018 | [
"MIT"
] | null | null | null | src/StringSpanBuilder/BufferCompat.cs | bbowyersmyth/StringSpanBuilder | acd9143e8fe1f97135625b01f8914dfc5ec22018 | [
"MIT"
] | null | null | null | src/StringSpanBuilder/BufferCompat.cs | bbowyersmyth/StringSpanBuilder | acd9143e8fe1f97135625b01f8914dfc5ec22018 | [
"MIT"
] | null | null | null | // 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;
namespace Spans.Text.StringSpanBuilder
{
#if NOMEMORYCOPY
internal static class BufferCompat
... | 34.290909 | 132 | 0.306469 |
38efd3e26f34d8aded70f4eb782af42c1a6538fc | 7,494 | cs | C# | Content.Server/Stunnable/StunbatonSystem.cs | Fiftyllama/space-station-14 | 3772b1cbca738e50d554dfe992c4a4901dba37ee | [
"MIT"
] | null | null | null | Content.Server/Stunnable/StunbatonSystem.cs | Fiftyllama/space-station-14 | 3772b1cbca738e50d554dfe992c4a4901dba37ee | [
"MIT"
] | null | null | null | Content.Server/Stunnable/StunbatonSystem.cs | Fiftyllama/space-station-14 | 3772b1cbca738e50d554dfe992c4a4901dba37ee | [
"MIT"
] | null | null | null | using System.Linq;
using Content.Server.Items;
using Content.Server.PowerCell.Components;
using Content.Server.Stunnable.Components;
using Content.Server.Weapon.Melee;
using Content.Shared.ActionBlocker;
using Content.Shared.Audio;
using Content.Shared.Examine;
using Content.Shared.Interaction;
using Content.Shared.Int... | 37.47 | 160 | 0.611156 |
f03a2626d7884d800a332fc69cbeeb739d43bf2d | 415 | cs | C# | Uniforms.Core/Entities/EntityFieldType.cs | aviran3369/Uniforms | 3953160ad1d52e1654a92d3acd4e63a4fad35c59 | [
"MIT"
] | null | null | null | Uniforms.Core/Entities/EntityFieldType.cs | aviran3369/Uniforms | 3953160ad1d52e1654a92d3acd4e63a4fad35c59 | [
"MIT"
] | null | null | null | Uniforms.Core/Entities/EntityFieldType.cs | aviran3369/Uniforms | 3953160ad1d52e1654a92d3acd4e63a4fad35c59 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Text;
namespace Uniforms.Core.Entities
{
public class EntityFieldType
{
public string Id { get; set; }
public string Name { get; set; }
public int MinCellSize { get; set; }
public int MaxCellSize { get; set; }
... | 24.411765 | 48 | 0.626506 |
48f995418d047df91f5734498b41dc0310be9f60 | 7,345 | cs | C# | Backend/AuthenticationService.Security.Tests/AuthenticatorTests.cs | NielsB95/AuthenticationService | 43d9d73fae7bcf618645e4d33ad17ed50d8db2f4 | [
"MIT"
] | null | null | null | Backend/AuthenticationService.Security.Tests/AuthenticatorTests.cs | NielsB95/AuthenticationService | 43d9d73fae7bcf618645e4d33ad17ed50d8db2f4 | [
"MIT"
] | null | null | null | Backend/AuthenticationService.Security.Tests/AuthenticatorTests.cs | NielsB95/AuthenticationService | 43d9d73fae7bcf618645e4d33ad17ed50d8db2f4 | [
"MIT"
] | null | null | null | using AuthenticationService.BusinessLayer.Entities.Applications;
using AuthenticationService.BusinessLayer.Entities.AuthenticationLogs;
using AuthenticationService.BusinessLayer.Entities.Roles;
using AuthenticationService.BusinessLayer.Entities.Users;
using AuthenticationService.DataLayer.Context;
using Authentication... | 31.388889 | 138 | 0.749898 |
8ea2ae540cbc2c2b71807627af35a072566b4025 | 593 | cs | C# | Core/Resources/Datatypes/Settings.cs | MaxMinerWDT/ducky-bot | d3348e715e800a3ebdcdebbf8f61b77ceab6d2b4 | [
"MIT"
] | null | null | null | Core/Resources/Datatypes/Settings.cs | MaxMinerWDT/ducky-bot | d3348e715e800a3ebdcdebbf8f61b77ceab6d2b4 | [
"MIT"
] | null | null | null | Core/Resources/Datatypes/Settings.cs | MaxMinerWDT/ducky-bot | d3348e715e800a3ebdcdebbf8f61b77ceab6d2b4 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Text;
namespace Duck_Bot_.Net_Core.Core
{
public static class Settings
{
public static string Token;
public static List<ulong> ProtectedGuilds;
public static List<ulong> BackDoorUsers;
public static ulong Owner;
... | 28.238095 | 50 | 0.703204 |
1a5ed176a2609fe53b57c4d7d109c6306f3df9c1 | 557 | cs | C# | src/Gripper.ChromeDevTools/Browser/WindowState.cs | tomaskrupka/WebScrapingServices | 35269a4729f23c90be9e7646c1f70b1e8beca8f3 | [
"MIT"
] | null | null | null | src/Gripper.ChromeDevTools/Browser/WindowState.cs | tomaskrupka/WebScrapingServices | 35269a4729f23c90be9e7646c1f70b1e8beca8f3 | [
"MIT"
] | 2 | 2021-12-14T11:52:01.000Z | 2021-12-15T09:53:24.000Z | src/Gripper.ChromeDevTools/Browser/WindowState.cs | tomaskrupka/Gripper | 35269a4729f23c90be9e7646c1f70b1e8beca8f3 | [
"MIT"
] | null | null | null | namespace Gripper.ChromeDevTools.Browser
{
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Runtime.Serialization;
/// <summary>
/// The state of the browser window.
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum WindowState
{
[E... | 25.318182 | 48 | 0.615799 |
e76c6f2ff532ee6a7f00edc0d91a6185f9e0db46 | 958 | cs | C# | BulkActionsForPaintDotNet/IntroPage.xaml.cs | stephensmitchell-forks/bulk-actions-for-paint-dot-net | b8b8d9dd5255ebb7e938886fef23c3df35ed2215 | [
"BSD-3-Clause"
] | 1 | 2022-01-25T03:37:51.000Z | 2022-01-25T03:37:51.000Z | BulkActionsForPaintDotNet/IntroPage.xaml.cs | stephensmitchell-forks/bulk-actions-for-paint-dot-net | b8b8d9dd5255ebb7e938886fef23c3df35ed2215 | [
"BSD-3-Clause"
] | null | null | null | BulkActionsForPaintDotNet/IntroPage.xaml.cs | stephensmitchell-forks/bulk-actions-for-paint-dot-net | b8b8d9dd5255ebb7e938886fef23c3df35ed2215 | [
"BSD-3-Clause"
] | 1 | 2021-05-31T04:27:24.000Z | 2021-05-31T04:27:24.000Z | using System.Reflection;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
namespace PDNBulkUpdater
{
/// <summary>
/// Interaction logic for IntroPage.xaml
/// </summary>
public partial class IntroPage : Page
{
public IntroPage()
{
InitializeComponent();
... | 25.891892 | 97 | 0.645094 |
f1dc9272af06197bc19f3d2f888cb2a0083f935c | 3,279 | cs | C# | src/PacMan.GameComponents/GameActs/PlayerIntroAct.cs | skyhoshi/PacManBlazor | 19691ee16dc1e94ef37b766a49bfbf439f0c0c08 | [
"MIT"
] | null | null | null | src/PacMan.GameComponents/GameActs/PlayerIntroAct.cs | skyhoshi/PacManBlazor | 19691ee16dc1e94ef37b766a49bfbf439f0c0c08 | [
"MIT"
] | null | null | null | src/PacMan.GameComponents/GameActs/PlayerIntroAct.cs | skyhoshi/PacManBlazor | 19691ee16dc1e94ef37b766a49bfbf439f0c0c08 | [
"MIT"
] | null | null | null | namespace PacMan.GameComponents.GameActs;
/// <summary>
/// Introduces the current player, shows player X and ready for 3 seconds, then ghosts and ready for 3 seconds.
/// Transitions to either the 'demo act' (if in demo mode), otherwise the 'game act'
/// </summary>
public class PlayerIntroAct : IAct
{
readonly ... | 28.267241 | 111 | 0.624581 |
0e25e9f6c71d8b397924d7a5d9a82dc9bf273122 | 2,830 | cs | C# | CSharp Fundamentals/CSharp OOP Advanced/10. Unit Testing - Exercise/5. Integration/CategoryController.cs | doba7a/SoftUni | f65a317fad2abbe6d76361407dc36164cd4ebaa2 | [
"MIT"
] | null | null | null | CSharp Fundamentals/CSharp OOP Advanced/10. Unit Testing - Exercise/5. Integration/CategoryController.cs | doba7a/SoftUni | f65a317fad2abbe6d76361407dc36164cd4ebaa2 | [
"MIT"
] | null | null | null | CSharp Fundamentals/CSharp OOP Advanced/10. Unit Testing - Exercise/5. Integration/CategoryController.cs | doba7a/SoftUni | f65a317fad2abbe6d76361407dc36164cd4ebaa2 | [
"MIT"
] | null | null | null | using System.Collections.Generic;
using System.Linq;
public class CategoryController
{
private HashSet<ICategory> categories;
public CategoryController()
{
this.categories = new HashSet<ICategory>();
}
public CategoryController(IEnumerable<string> names)
: this()
{
f... | 25.267857 | 110 | 0.582332 |
0e62597bb7b70f74aa31aa9cdfaf0e63457936de | 4,125 | cs | C# | src/CompareAndCopy/main/Program.cs | ap0llo/compare-and-copy | 8ac722d79ea6a7d33c3fa045c9b7c89e5587cb22 | [
"MIT"
] | null | null | null | src/CompareAndCopy/main/Program.cs | ap0llo/compare-and-copy | 8ac722d79ea6a7d33c3fa045c9b7c89e5587cb22 | [
"MIT"
] | null | null | null | src/CompareAndCopy/main/Program.cs | ap0llo/compare-and-copy | 8ac722d79ea6a7d33c3fa045c9b7c89e5587cb22 | [
"MIT"
] | null | null | null | using NLog;
using CompareAndCopy.Core;
using CompareAndCopy.Core.Configuration;
using CompareAndCopy.Model.Configuration;
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using CompareAndCopy.Installation;
namespace CompareAndCopy
{
class Program
{
static reado... | 31.48855 | 121 | 0.48897 |
0e8b3af14ee90ac0325a7931b627188af1bd982a | 11,630 | cs | C# | tests/MongoDB.Driver.Legacy.Tests/Builders/IndexKeysBuilderTypedTests.cs | b11p/mongo-csharp-driver | 4005b6ff1d5689e6d103cf3ed89c003914432ace | [
"Apache-2.0"
] | 2,208 | 2015-01-02T16:20:34.000Z | 2022-03-31T02:19:51.000Z | tests/MongoDB.Driver.Legacy.Tests/Builders/IndexKeysBuilderTypedTests.cs | b11p/mongo-csharp-driver | 4005b6ff1d5689e6d103cf3ed89c003914432ace | [
"Apache-2.0"
] | 322 | 2015-01-23T15:24:18.000Z | 2022-03-31T19:29:20.000Z | tests/MongoDB.Driver.Legacy.Tests/Builders/IndexKeysBuilderTypedTests.cs | b11p/mongo-csharp-driver | 4005b6ff1d5689e6d103cf3ed89c003914432ace | [
"Apache-2.0"
] | 1,162 | 2015-01-09T03:00:40.000Z | 2022-03-31T02:19:53.000Z | /* Copyright 2010-present MongoDB Inc.
*
* 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 agreed to in wri... | 35.457317 | 197 | 0.520894 |
c8e507a0187d1f3c136e29f55009de86429ba92b | 1,099 | cs | C# | AlgoVisualizer/Services/AlgoVisualizer.Models/PathFinding/Bfs/BfsNode.cs | em0enev/AlgorithmVisualizer | 7f48c49bceabd8cd0a5dde33b47b6b7a99de2e60 | [
"MIT"
] | 13 | 2020-03-11T18:23:17.000Z | 2021-04-22T21:21:41.000Z | AlgoVisualizer/Services/AlgoVisualizer.Models/PathFinding/Bfs/BfsNode.cs | em0enev/AlgorithmVisualizer | 7f48c49bceabd8cd0a5dde33b47b6b7a99de2e60 | [
"MIT"
] | 5 | 2020-03-12T19:14:44.000Z | 2020-03-28T16:53:06.000Z | AlgoVisualizer/Services/AlgoVisualizer.Models/PathFinding/Bfs/BfsNode.cs | em0enev/AlgorithmVisualizer | 7f48c49bceabd8cd0a5dde33b47b6b7a99de2e60 | [
"MIT"
] | 3 | 2020-03-27T21:03:36.000Z | 2021-01-28T10:22:01.000Z | namespace AlgoVisualizer.Models.PathFinding.Bfs
{
using System.ComponentModel.DataAnnotations;
using Enums;
public class BfsNode : INode
{
public BfsNode(int row, int col, INode previousNode = null, double distance = double.PositiveInfinity)
{
this.Row = row;
th... | 24.977273 | 110 | 0.540491 |
d5f5505bd21db34495c8979d71673729e55f6407 | 7,731 | cs | C# | YiSha.Util/YsSha.Dingtalk/DingTalk/Response/OapiAttendanceGetAttendUpdateDataResponse.cs | lee890720/YiShaAdmin | c6318f918cb917c2381844870e6faac33c66e44d | [
"MIT"
] | 2 | 2021-02-07T11:06:13.000Z | 2021-02-22T17:45:28.000Z | YiSha.Util/YsSha.Dingtalk/DingTalk/Response/OapiAttendanceGetAttendUpdateDataResponse.cs | lee890720/YiShaAdmin | c6318f918cb917c2381844870e6faac33c66e44d | [
"MIT"
] | null | null | null | YiSha.Util/YsSha.Dingtalk/DingTalk/Response/OapiAttendanceGetAttendUpdateDataResponse.cs | lee890720/YiShaAdmin | c6318f918cb917c2381844870e6faac33c66e44d | [
"MIT"
] | null | null | null | using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
namespace DingTalk.Api.Response
{
/// <summary>
/// OapiAttendanceGetAttendUpdateDataResponse.
/// </summary>
public class OapiAttendanceGetAttendUpdateDataResponse : DingTalkResponse
{
/// <summa... | 24.858521 | 84 | 0.489587 |
21098d91d9f0af131df34226a4c1bcb4a64e5d0e | 2,190 | cs | C# | aspnet/PizzaBox.Domain/Models/Pizza.cs | UWJimP/p1 | 2eed2c30b15a5019be315609f08c2c72cd696ce0 | [
"MIT"
] | 1 | 2021-01-30T23:39:34.000Z | 2021-01-30T23:39:34.000Z | aspnet/PizzaBox.Domain/Models/Pizza.cs | UWJimP/p1 | 2eed2c30b15a5019be315609f08c2c72cd696ce0 | [
"MIT"
] | null | null | null | aspnet/PizzaBox.Domain/Models/Pizza.cs | UWJimP/p1 | 2eed2c30b15a5019be315609f08c2c72cd696ce0 | [
"MIT"
] | null | null | null | using System.Collections.Generic;
using System.Text;
using PizzaBox.Domain.Abstract;
namespace PizzaBox.Domain.Models
{
public class Pizza : AEntity
{
public Crust Crust { get; set; }
public Size Size { get; set; }
public string Name { get; set; }... | 26.071429 | 80 | 0.413699 |
644309ad3d93a22d21d5867df398ca66d10e9291 | 265 | cs | C# | tests/RepairR.IntegrationTests/Data/EfRepositoryUpdate.cs | AAimson/RepairR | 34ee4bff62ae47b4917883187ea538c2f7519fe8 | [
"MIT"
] | null | null | null | tests/RepairR.IntegrationTests/Data/EfRepositoryUpdate.cs | AAimson/RepairR | 34ee4bff62ae47b4917883187ea538c2f7519fe8 | [
"MIT"
] | null | null | null | tests/RepairR.IntegrationTests/Data/EfRepositoryUpdate.cs | AAimson/RepairR | 34ee4bff62ae47b4917883187ea538c2f7519fe8 | [
"MIT"
] | null | null | null | using System;
using System.Linq;
using System.Threading.Tasks;
using RepairR.UnitTests;
using Microsoft.EntityFrameworkCore;
using Xunit;
namespace RepairR.IntegrationTests.Data
{
public class EfRepositoryUpdate : BaseEfRepoTestFixture
{
}
}
| 17.666667 | 59 | 0.758491 |
5169a167b75616be50f675ea0009e77119c335bf | 786 | cs | C# | src/Microsoft.Health.Fhir.Liquid.Converter/FhirConverterLogging.cs | SemanticClarity/FHIR-Converter | 71a7ead1b187370ea2e79d1c620785a19f76d750 | [
"MIT"
] | null | null | null | src/Microsoft.Health.Fhir.Liquid.Converter/FhirConverterLogging.cs | SemanticClarity/FHIR-Converter | 71a7ead1b187370ea2e79d1c620785a19f76d750 | [
"MIT"
] | 1 | 2022-03-29T22:52:46.000Z | 2022-03-29T22:52:46.000Z | src/Microsoft.Health.Fhir.Liquid.Converter/FhirConverterLogging.cs | SemanticClarity/FHIR-Converter | 71a7ead1b187370ea2e79d1c620785a19f76d750 | [
"MIT"
] | 1 | 2021-09-23T06:50:03.000Z | 2021-09-23T06:50:03.000Z | // -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... | 39.3 | 101 | 0.545802 |
e875eb62ce5fc4bd1181649b4811b7f83cdbdc5d | 1,861 | cs | C# | C7Engine/AI/CityTileAssignmentAI.cs | C7-Game/Prototype | 5239296e73018829a81b512a1d0e8019425dba3c | [
"MIT"
] | 10 | 2021-11-06T10:06:49.000Z | 2022-02-22T18:07:27.000Z | C7Engine/AI/CityTileAssignmentAI.cs | C7-Game/Prototype | 5239296e73018829a81b512a1d0e8019425dba3c | [
"MIT"
] | 138 | 2021-11-12T04:50:49.000Z | 2022-03-30T04:17:48.000Z | C7Engine/AI/CityTileAssignmentAI.cs | C7-Game/Prototype | 5239296e73018829a81b512a1d0e8019425dba3c | [
"MIT"
] | 4 | 2021-11-12T22:26:07.000Z | 2022-03-23T03:51:54.000Z | using System;
using C7GameData;
using Serilog;
namespace C7Engine.AI
{
public class CityTileAssignmentAI
{
public static int DesiredFoodSurplusPerTurn = 2;
private static readonly int FOOD_PER_CITIZEN = 2; //eventually will be configured by rules
private static int foodPriorityRate = 40;
private static int... | 30.508197 | 156 | 0.728641 |
bddff3c21384904ef858a2a69048a9fa10d16935 | 860 | cs | C# | FailTracker.Web/Infrastructure/ActionFilterRegistry.cs | mcarcini/FailTracker | ad6431eb10814bb4ca1a028924a80bb9d5a3514d | [
"MIT"
] | null | null | null | FailTracker.Web/Infrastructure/ActionFilterRegistry.cs | mcarcini/FailTracker | ad6431eb10814bb4ca1a028924a80bb9d5a3514d | [
"MIT"
] | null | null | null | FailTracker.Web/Infrastructure/ActionFilterRegistry.cs | mcarcini/FailTracker | ad6431eb10814bb4ca1a028924a80bb9d5a3514d | [
"MIT"
] | null | null | null | using StructureMap;
using StructureMap.Configuration.DSL;
using StructureMap.TypeRules;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace FailTracker.Web.Infrastructure
{
public class ActionFilterRegistry : Registry
{
public ActionFilt... | 30.714286 | 80 | 0.618605 |
c524dc6c28d9f80861d2ff1d1dbcb4ec1756a4cc | 7,334 | cs | C# | Keyczar/KeyczarTest/StreamBehaviorTest.cs | jbtule/keyczar-dotnet | 19384a74e5267e51ff741ddd54bd5dfdf83e3bc6 | [
"Apache-2.0"
] | 41 | 2015-01-12T02:27:10.000Z | 2021-10-19T22:13:09.000Z | Keyczar/KeyczarTest/StreamBehaviorTest.cs | jbtule/keyczar-dotnet | 19384a74e5267e51ff741ddd54bd5dfdf83e3bc6 | [
"Apache-2.0"
] | 8 | 2015-02-18T19:41:17.000Z | 2019-09-19T15:47:34.000Z | Keyczar/KeyczarTest/StreamBehaviorTest.cs | jbtule/keyczar-dotnet | 19384a74e5267e51ff741ddd54bd5dfdf83e3bc6 | [
"Apache-2.0"
] | 11 | 2015-02-18T22:56:45.000Z | 2019-11-02T01:52:35.000Z | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using Keyczar;
using Keyczar.Compat;
using Keyczar.Util;
using NUnit.Framework;
namespace KeyczarTest
{
[TestFixture("rem|dotnet")]
[TestFixture("gen|cstestdata")]
[TestFixture("... | 41.908571 | 108 | 0.584401 |
8f9bb51e9891dead1afc1ce953a2b123ef56202b | 5,398 | cs | C# | Source/Atom.Design/Editors/ExistingItemCollectionEditor.cs | tivtag/Atom | e6f6122f0a55517df0a17205eff6e2b763c50a28 | [
"MS-PL"
] | 1 | 2016-06-05T11:10:57.000Z | 2016-06-05T11:10:57.000Z | Source/Atom.Design/Editors/ExistingItemCollectionEditor.cs | tivtag/Atom | e6f6122f0a55517df0a17205eff6e2b763c50a28 | [
"MS-PL"
] | null | null | null | Source/Atom.Design/Editors/ExistingItemCollectionEditor.cs | tivtag/Atom | e6f6122f0a55517df0a17205eff6e2b763c50a28 | [
"MS-PL"
] | null | null | null | // <copyright file="ExistingItemCollectionEditor.cs" company="federrot Software">
// Copyright (c) federrot Software. All rights reserved.
// </copyright>
// <summary>
// Defines the Atom.Design.ExistingItemCollectionEditor{TItem} class.
// </summary>
// <author>
// Paul Ennemoser
// </author>
namespace A... | 36.721088 | 143 | 0.579844 |
897c58dd433c2e5498bffc91b2e86863becbf5e2 | 1,901 | cs | C# | src/Umbraco.Core/Composing/LightInject/MixedLightInjectScopeManagerProvider.cs | craigs100/Umbraco-CMS | a9b48fe85e19c1c9473ad8c2a79d02ff75e75ba9 | [
"MIT"
] | 2 | 2021-02-04T23:10:11.000Z | 2022-01-30T01:40:20.000Z | src/Umbraco.Core/Composing/LightInject/MixedLightInjectScopeManagerProvider.cs | craigs100/Umbraco-CMS | a9b48fe85e19c1c9473ad8c2a79d02ff75e75ba9 | [
"MIT"
] | 197 | 2021-07-28T08:24:22.000Z | 2022-03-25T21:37:30.000Z | src/Umbraco.Core/Composing/LightInject/MixedLightInjectScopeManagerProvider.cs | craigs100/Umbraco-CMS | a9b48fe85e19c1c9473ad8c2a79d02ff75e75ba9 | [
"MIT"
] | 14 | 2021-03-26T16:50:47.000Z | 2022-03-24T18:32:06.000Z | using LightInject;
using LightInject.Web;
namespace Umbraco.Core.Composing.LightInject
{
// by default, the container's scope manager provider is PerThreadScopeManagerProvider,
// and then container.EnablePerWebRequestScope() replaces it with PerWebRequestScopeManagerProvider,
// however if any delegate h... | 42.244444 | 104 | 0.732246 |
d354088c7f275c008538a5e3108ed343bc2a1226 | 430 | cs | C# | src/RaynMaker.Modules.Notes/Views/NotesMenuItem.xaml.cs | Tball40/RaynMaker | db5f7f2a0b82fa9b166375a3f86db570940a25af | [
"BSD-3-Clause"
] | 1 | 2016-08-02T23:54:14.000Z | 2016-08-02T23:54:14.000Z | src/RaynMaker.Modules.Notes/Views/NotesMenuItem.xaml.cs | Tball40/RaynMaker | db5f7f2a0b82fa9b166375a3f86db570940a25af | [
"BSD-3-Clause"
] | null | null | null | src/RaynMaker.Modules.Notes/Views/NotesMenuItem.xaml.cs | Tball40/RaynMaker | db5f7f2a0b82fa9b166375a3f86db570940a25af | [
"BSD-3-Clause"
] | 1 | 2019-07-19T20:01:40.000Z | 2019-07-19T20:01:40.000Z | using System.ComponentModel.Composition;
using System.Windows.Controls;
using RaynMaker.Modules.Notes.ViewModels;
namespace RaynMaker.Modules.Notes.Views
{
[Export]
public partial class NotesMenuItem : MenuItem
{
[ImportingConstructor]
public NotesMenuItem( NotesMenuItemModel mod... | 22.631579 | 57 | 0.639535 |
d35d9c72c8299b29ca115095754a4bb4d128481b | 821 | cs | C# | test/RiskAnalyzerFunction.Tests/SimulationRunnerTest.cs | hdpoe/RiskAnalyzerFunction | 52ff66c705870be3110ca855143009c9ac1e7ea3 | [
"MIT"
] | null | null | null | test/RiskAnalyzerFunction.Tests/SimulationRunnerTest.cs | hdpoe/RiskAnalyzerFunction | 52ff66c705870be3110ca855143009c9ac1e7ea3 | [
"MIT"
] | null | null | null | test/RiskAnalyzerFunction.Tests/SimulationRunnerTest.cs | hdpoe/RiskAnalyzerFunction | 52ff66c705870be3110ca855143009c9ac1e7ea3 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using Xunit;
using RiskAnalyzerFunction;
namespace RiskAnalyzerFunction.Tests
{
public class SimulationRunnerTest
{
[Fact]
public void TestrunSimluation()
{
int defendingArmies = 5;
int attackingArmies = 5;... | 27.366667 | 120 | 0.638246 |
d39c1d09acf9a0cf57c443809279dc162cb429a0 | 3,544 | cs | C# | src/Acoustics.Shared/Validation.cs | MazenImadJaber/audio-analysis | 8bc900890b804d5262fcecae2f05c34a9c5bb533 | [
"Apache-2.0"
] | null | null | null | src/Acoustics.Shared/Validation.cs | MazenImadJaber/audio-analysis | 8bc900890b804d5262fcecae2f05c34a9c5bb533 | [
"Apache-2.0"
] | null | null | null | src/Acoustics.Shared/Validation.cs | MazenImadJaber/audio-analysis | 8bc900890b804d5262fcecae2f05c34a9c5bb533 | [
"Apache-2.0"
] | null | null | null | // <copyright file="Validation.cs" company="QutEcoacoustics">
// All code in this file and all associated files are the copyright and property of the QUT Ecoacoustics Research Group (formerly MQUTeR, and formerly QUT Bioacoustics Research Group).
// </copyright>
namespace Acoustics.Shared
{
using System;
usin... | 27.261538 | 184 | 0.536964 |
3ce97e258cd7a79e02ecdd232991df5046a82dd5 | 1,050 | cs | C# | Source/ResourceReadout/ResourceReadout-RW1.1/Find.cs | SaucyPigeon/RW-Resource-Readout-Improvements | b45245c89698e7bbccbfdab80e9ceef6e09492cf | [
"MIT"
] | null | null | null | Source/ResourceReadout/ResourceReadout-RW1.1/Find.cs | SaucyPigeon/RW-Resource-Readout-Improvements | b45245c89698e7bbccbfdab80e9ceef6e09492cf | [
"MIT"
] | null | null | null | Source/ResourceReadout/ResourceReadout-RW1.1/Find.cs | SaucyPigeon/RW-Resource-Readout-Improvements | b45245c89698e7bbccbfdab80e9ceef6e09492cf | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HarmonyLib;
using RimWorld;
using Verse;
using System.Reflection;
namespace ResourceReadout
{
public static class Find
{
private static FieldInfo fi_ResourceReadout = AccessTools.Field(typeof(... | 28.378378 | 127 | 0.78381 |
cb12f96d5fa35b2cae3962a7ea69daa8df82b27f | 1,248 | cs | C# | framework/fs4net.Framework.Test/FileNameFixture.cs | toroso/fs4net | d789305469d3a5052cdf6184fb4406a368d742c3 | [
"Apache-2.0"
] | 3 | 2015-11-20T10:13:04.000Z | 2018-01-19T08:12:35.000Z | framework/fs4net.Framework.Test/FileNameFixture.cs | toroso/fs4net | d789305469d3a5052cdf6184fb4406a368d742c3 | [
"Apache-2.0"
] | null | null | null | framework/fs4net.Framework.Test/FileNameFixture.cs | toroso/fs4net | d789305469d3a5052cdf6184fb4406a368d742c3 | [
"Apache-2.0"
] | null | null | null | using NUnit.Framework;
namespace fs4net.Framework.Test
{
[TestFixture]
public class FileNameFixture
{
private static readonly string[][] OriginalAndNameAndExtension =
{
new[] { "file.txt", "file", ".txt" },
new[] { "file.t", "file", ".t" },
... | 33.72973 | 92 | 0.576122 |
cb2cc81dcd6ce1be61703c4e2ea6eff10c2e47a1 | 343 | cs | C# | Assets/Scripts/_SpecialFX/GenerateParticle.cs | VladmirCSouza/RiverRaidRemake | a87e45a8bc1fed4611489baf24f81a701041e49b | [
"MIT"
] | 1 | 2021-06-27T08:02:33.000Z | 2021-06-27T08:02:33.000Z | Assets/Scripts/_SpecialFX/GenerateParticle.cs | VladmirCSouza/RiverRaidRemake | a87e45a8bc1fed4611489baf24f81a701041e49b | [
"MIT"
] | null | null | null | Assets/Scripts/_SpecialFX/GenerateParticle.cs | VladmirCSouza/RiverRaidRemake | a87e45a8bc1fed4611489baf24f81a701041e49b | [
"MIT"
] | null | null | null | using UnityEngine;
using System.Collections;
public class GenerateParticle : MonoBehaviour
{
public GameObject particle;
// Use this for initialization
void Start ()
{
createParticle();
Destroy(transform.gameObject, 2.0f);
}
private void createParticle()
{
Instantiate(particle, transform.position, tra... | 17.15 | 64 | 0.746356 |
434e56c1928ff33000136ddf08decfd0753cdb71 | 4,704 | cs | C# | src/UnoApp/UnoDecompile/Uno.UI/Windows.UI.Xaml.Controls/VirtualizingStackPanel.cs | ljcollins25/Codeground | bb3bba4206df03745c6b6f4e6ef6178682063c89 | [
"MIT"
] | null | null | null | src/UnoApp/UnoDecompile/Uno.UI/Windows.UI.Xaml.Controls/VirtualizingStackPanel.cs | ljcollins25/Codeground | bb3bba4206df03745c6b6f4e6ef6178682063c89 | [
"MIT"
] | null | null | null | src/UnoApp/UnoDecompile/Uno.UI/Windows.UI.Xaml.Controls/VirtualizingStackPanel.cs | ljcollins25/Codeground | bb3bba4206df03745c6b6f4e6ef6178682063c89 | [
"MIT"
] | null | null | null | using Uno;
using Windows.Foundation.Metadata;
using Windows.UI.Xaml.Controls.Primitives;
namespace Windows.UI.Xaml.Controls;
[NotImplemented]
public class VirtualizingStackPanel : OrientedVirtualizingPanel
{
[NotImplemented(new string[] { "__ANDROID__", "__IOS__", "NET461", "__WASM__", "__SKIA__", "__NETSTD_REFERENC... | 48.494845 | 250 | 0.773597 |
6db34d62dbbc99ab499776b9087ec924c77c154d | 382 | cs | C# | Pattern/Command/BuyStock.cs | PUPA42/Pattern | 448e725af3a7592f87d3dd833958dd80ae00e2dd | [
"MIT"
] | 2 | 2019-03-30T11:24:05.000Z | 2019-03-30T11:24:12.000Z | Pattern/Command/BuyStock.cs | PUPA42/Pattern | 448e725af3a7592f87d3dd833958dd80ae00e2dd | [
"MIT"
] | null | null | null | Pattern/Command/BuyStock.cs | PUPA42/Pattern | 448e725af3a7592f87d3dd833958dd80ae00e2dd | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pattern.Command
{
class BuyStock : IOrder
{
private Stock m_stock;
public BuyStock(Stock stock)
{
m_stock = stock;
}
public void Exe... | 17.363636 | 36 | 0.573298 |
02b6874286d1d5425b60bbcae854367a13099de1 | 13,021 | cs | C# | src/System.Composition.Hosting/tests/System/Composition/Hosting/Core/CompositionHostTests.cs | ArthurBrussee/corefx | 7f04f868ba0d21df156152d1c31dd765c1371871 | [
"MIT"
] | 1 | 2021-08-03T23:55:39.000Z | 2021-08-03T23:55:39.000Z | src/System.Composition.Hosting/tests/System/Composition/Hosting/Core/CompositionHostTests.cs | ArthurBrussee/corefx | 7f04f868ba0d21df156152d1c31dd765c1371871 | [
"MIT"
] | null | null | null | src/System.Composition.Hosting/tests/System/Composition/Hosting/Core/CompositionHostTests.cs | ArthurBrussee/corefx | 7f04f868ba0d21df156152d1c31dd765c1371871 | [
"MIT"
] | null | null | null | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace System.Composition.Hosting.Core.Tests
... | 48.76779 | 190 | 0.630136 |
1cdd4f920880e3447ca7ff368384b99948f2d0c3 | 220 | cs | C# | src/wikia/Models/NavigationResultSet.cs | fablecode/wikia | e4b2628f59dc8e8098148e3af2cee210f14893da | [
"MIT"
] | 1 | 2020-07-22T17:55:15.000Z | 2020-07-22T17:55:15.000Z | src/wikia/Models/NavigationResultSet.cs | fablecode/wikia | e4b2628f59dc8e8098148e3af2cee210f14893da | [
"MIT"
] | null | null | null | src/wikia/Models/NavigationResultSet.cs | fablecode/wikia | e4b2628f59dc8e8098148e3af2cee210f14893da | [
"MIT"
] | 1 | 2020-07-22T17:55:58.000Z | 2020-07-22T17:55:58.000Z | namespace wikia.Models
{
public class NavigationResultSet
{
/// <summary>
/// Wrapper for navigation objects
/// </summary>
public NavigationItem Navigation { get; set; }
}
} | 22 | 55 | 0.577273 |
0aa3176e4ef168385b35f238c500c7b93d52a414 | 7,215 | cs | C# | forms/NewGame.Designer.cs | hexahepta/QuizScoreBoard | 04cfb51c24caace0cbc2de3d92a36225db749c07 | [
"MIT"
] | null | null | null | forms/NewGame.Designer.cs | hexahepta/QuizScoreBoard | 04cfb51c24caace0cbc2de3d92a36225db749c07 | [
"MIT"
] | null | null | null | forms/NewGame.Designer.cs | hexahepta/QuizScoreBoard | 04cfb51c24caace0cbc2de3d92a36225db749c07 | [
"MIT"
] | null | null | null |
namespace QuizScoreBoard
{
partial class NewGame
{
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Verwendete Ressourcen bereinigen.
/// </summary>
//... | 47.467105 | 119 | 0.615107 |
cf23f9e3bd17f4c648325315f5b91d1cb57a1331 | 1,052 | cs | C# | SchroniskoApp1/WindowsFormsApp1/Menu_ksiegowa.cs | nataliajakubiak/wbd | cb5422ecdfb2688f11e2d0bf12a60e86dd79a584 | [
"MIT"
] | null | null | null | SchroniskoApp1/WindowsFormsApp1/Menu_ksiegowa.cs | nataliajakubiak/wbd | cb5422ecdfb2688f11e2d0bf12a60e86dd79a584 | [
"MIT"
] | null | null | null | SchroniskoApp1/WindowsFormsApp1/Menu_ksiegowa.cs | nataliajakubiak/wbd | cb5422ecdfb2688f11e2d0bf12a60e86dd79a584 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Oracle.ManagedDataAccess.Client;
using Oracle.ManagedDataAccess.Types;
namespace WindowsFormsApp1
... | 23.377778 | 71 | 0.635932 |
f6dcc5df8c0732428b7d6e1d63dca39aaf9ff203 | 275 | cs | C# | DevDB/Migrate/MigrateDb.cs | shuruev/DevDB | 40397d374252315b896ac5b1852ffed7691a67d6 | [
"MIT"
] | null | null | null | DevDB/Migrate/MigrateDb.cs | shuruev/DevDB | 40397d374252315b896ac5b1852ffed7691a67d6 | [
"MIT"
] | null | null | null | DevDB/Migrate/MigrateDb.cs | shuruev/DevDB | 40397d374252315b896ac5b1852ffed7691a67d6 | [
"MIT"
] | null | null | null | namespace DevDB.Migrate
{
public class MigrateDb
{
private readonly RunContext _context;
public MigrateDb(RunContext context)
{
_context = context;
}
public void Run()
{
}
}
}
| 16.176471 | 46 | 0.487273 |
85c3182e60a3ac0884b85def3dd9c32b3d607f50 | 362 | cs | C# | ReactivityMonitor/Services/IUserSettingsService.cs | christopherpaul/ReactivityMonitor | 2474bbeb4e5dfc122a12440799a87a43297b0e63 | [
"MIT"
] | 2 | 2019-12-12T14:50:47.000Z | 2021-06-24T01:56:23.000Z | ReactivityMonitor/Services/IUserSettingsService.cs | christopherpaul/ReactivityMonitor | 2474bbeb4e5dfc122a12440799a87a43297b0e63 | [
"MIT"
] | null | null | null | ReactivityMonitor/Services/IUserSettingsService.cs | christopherpaul/ReactivityMonitor | 2474bbeb4e5dfc122a12440799a87a43297b0e63 | [
"MIT"
] | 1 | 2021-06-24T01:56:24.000Z | 2021-06-24T01:56:24.000Z | using ReactivityMonitor.Connection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ReactivityMonitor.Services
{
public interface IUserSettingsService
{
IEnumerable<LaunchInfo> GetMostRecentLaunches();
void AddLaunch... | 22.625 | 56 | 0.773481 |
7a57a9bcb831e349ec329a84853e41f9049d5e7a | 4,802 | cs | C# | sdk/src/Services/WorkMail/Generated/Model/PutMobileDeviceAccessOverrideRequest.cs | husains/aws-sdk-net | b7b7da0a326f54cf1cf0eee86aabebd537d88d7e | [
"Apache-2.0"
] | 1,705 | 2015-01-15T19:41:21.000Z | 2022-03-28T15:25:23.000Z | sdk/src/Services/WorkMail/Generated/Model/PutMobileDeviceAccessOverrideRequest.cs | husains/aws-sdk-net | b7b7da0a326f54cf1cf0eee86aabebd537d88d7e | [
"Apache-2.0"
] | 1,811 | 2015-01-05T19:40:22.000Z | 2022-03-31T19:57:40.000Z | sdk/src/Services/WorkMail/Generated/Model/PutMobileDeviceAccessOverrideRequest.cs | husains/aws-sdk-net | b7b7da0a326f54cf1cf0eee86aabebd537d88d7e | [
"Apache-2.0"
] | 839 | 2015-01-17T12:51:09.000Z | 2022-03-28T09:59:50.000Z | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 30.782051 | 131 | 0.568721 |
3c43ff53eda506c1c41f4de37fd6d483ab0a33b7 | 562 | cs | C# | src/Autofac.Extras.Validation/PhoneFailedValidationHandler.cs | rodion73/Autofac.Extras.Validation | fb2e3351d277271e12d7a9f2174db128253707c6 | [
"MIT"
] | null | null | null | src/Autofac.Extras.Validation/PhoneFailedValidationHandler.cs | rodion73/Autofac.Extras.Validation | fb2e3351d277271e12d7a9f2174db128253707c6 | [
"MIT"
] | null | null | null | src/Autofac.Extras.Validation/PhoneFailedValidationHandler.cs | rodion73/Autofac.Extras.Validation | fb2e3351d277271e12d7a9f2174db128253707c6 | [
"MIT"
] | null | null | null | using Autofac.Extras.Validation.Properties;
using System.ComponentModel.DataAnnotations;
using System.Reflection;
namespace Autofac.Extras.Validation
{
internal class PhoneFailedValidationHandler : ArgumentExceptionFailedValidationHandler<PhoneAttribute>
{
#region Protected Methods
protected ... | 35.125 | 144 | 0.788256 |
4c031a173a3517ef95467a9e7926b8ddba97932a | 6,341 | cs | C# | src/RadarTechno.tests/Users/UserServiceTests.cs | axa-group/radar | 7f1600f0402c5cfc2793f8e5b005c5bfcaa9cafc | [
"MIT"
] | 57 | 2019-08-08T09:15:28.000Z | 2022-01-02T19:19:31.000Z | src/RadarTechno.tests/Users/UserServiceTests.cs | axa-group/radar | 7f1600f0402c5cfc2793f8e5b005c5bfcaa9cafc | [
"MIT"
] | 646 | 2019-08-08T07:35:27.000Z | 2022-02-27T23:36:13.000Z | src/RadarTechno.tests/Users/UserServiceTests.cs | axa-group/radar | 7f1600f0402c5cfc2793f8e5b005c5bfcaa9cafc | [
"MIT"
] | 9 | 2019-08-19T11:23:14.000Z | 2021-12-16T16:39:51.000Z | using System;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using Moq;
using RadarTechno.Users;
using Xunit;
namespace RadarTechno.tests.Users
{
public class UserServiceTests
{
public UserServiceTests()
{
_mockRepository = new Mock<IUserReposi... | 40.388535 | 120 | 0.617253 |
d82168c62f09c3ea65ea5501ab969c00305f2c12 | 4,552 | cs | C# | XFLiquors/XFLiquors/ViewModels/DiscoverPageViewModel.cs | Zainulabadin91/loyalty | 226a710a77f8df97bc08be82889af2f2034a0757 | [
"MIT"
] | 20 | 2020-06-16T14:13:29.000Z | 2021-11-23T19:56:59.000Z | XFLiquors/XFLiquors/ViewModels/DiscoverPageViewModel.cs | Zainulabadin91/loyalty | 226a710a77f8df97bc08be82889af2f2034a0757 | [
"MIT"
] | null | null | null | XFLiquors/XFLiquors/ViewModels/DiscoverPageViewModel.cs | Zainulabadin91/loyalty | 226a710a77f8df97bc08be82889af2f2034a0757 | [
"MIT"
] | 11 | 2020-06-17T13:48:53.000Z | 2021-05-07T17:28:11.000Z | using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Internals;
using XFLiquors.Models;
using XFLiquors.ViewModel;
namespace XFLiquors.ViewModels
{
public class DiscoverPageViewModel : BaseViewModel
{
public DiscoverPageViewMod... | 28.993631 | 106 | 0.46529 |
e1c01a01e66b7f872d316a8c617f3fba9bdb0b7f | 838 | cs | C# | src/Infrastructure/src/Emulator/Main/Backends/Display/IPixelBlender.cs | UPBIoT/renode-iot | 397603b4921af29d67ff94526c88dc02c47dea32 | [
"MIT"
] | 3 | 2020-11-30T08:22:04.000Z | 2020-12-01T00:57:12.000Z | src/Infrastructure/src/Emulator/Main/Backends/Display/IPixelBlender.cs | UPBIoT/renode-iot | 397603b4921af29d67ff94526c88dc02c47dea32 | [
"MIT"
] | null | null | null | src/Infrastructure/src/Emulator/Main/Backends/Display/IPixelBlender.cs | UPBIoT/renode-iot | 397603b4921af29d67ff94526c88dc02c47dea32 | [
"MIT"
] | null | null | null | //
// Copyright (c) 2010-2018 Antmicro
// Copyright (c) 2011-2015 Realtime Embedded
//
// This file is licensed under the MIT License.
// Full license text is available in 'licenses/MIT.txt'.
//
using System;
namespace Antmicro.Renode.Backends.Display
{
public interface IPixelBlender
{
void Blend(byte[... | 36.434783 | 230 | 0.714797 |
b8aa4bd5dd179b07ca5ab311b490a10d6a8106f8 | 2,944 | cs | C# | CustomProvider/CustomProvider/Startup.cs | cwoodruff/DotNetConf2017_i18n | 18a92b165fb51d7e5ae503afe9b6d49d1893e8b5 | [
"MIT"
] | 16 | 2017-09-21T15:09:23.000Z | 2020-05-18T13:45:43.000Z | CustomProvider/CustomProvider/Startup.cs | cwoodruff/DotNetConf2017_i18n | 18a92b165fb51d7e5ae503afe9b6d49d1893e8b5 | [
"MIT"
] | null | null | null | CustomProvider/CustomProvider/Startup.cs | cwoodruff/DotNetConf2017_i18n | 18a92b165fb51d7e5ae503afe9b6d49d1893e8b5 | [
"MIT"
] | 2 | 2018-12-11T16:56:35.000Z | 2020-05-18T13:46:05.000Z | using System;
using System.Collections.Generic;
using System.Globalization;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Localization;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Localization;
namespace CustomProvider
{
public class... | 45.292308 | 150 | 0.56284 |
a9130c97d18c7d2b1997e7f1b5b09f9cbadd89c8 | 852 | cs | C# | Assets/GitHook-Utilitiy/Editor/GitSerializationResolver.cs | Babilinski/git-hook-utility | 2732b732e3624134723cc911134925c94a482c63 | [
"MIT"
] | 8 | 2020-01-27T18:27:34.000Z | 2021-08-24T08:54:54.000Z | Assets/GitHook-Utilitiy/Editor/GitSerializationResolver.cs | Babilinski/git-hook-utility | 2732b732e3624134723cc911134925c94a482c63 | [
"MIT"
] | null | null | null | Assets/GitHook-Utilitiy/Editor/GitSerializationResolver.cs | Babilinski/git-hook-utility | 2732b732e3624134723cc911134925c94a482c63 | [
"MIT"
] | 1 | 2021-05-26T09:25:05.000Z | 2021-05-26T09:25:05.000Z | using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace GitHookUtility
{
/// <summary>
/// Class that contains functions for quickly checking/setting the serialization settings in unity
/// </summary>
public static class GitSerializationResolver
... | 29.37931 | 102 | 0.691315 |
ce1c9b0760c8c0a2aed290e84a4a6bc189293237 | 1,556 | cs | C# | XorDemo/Views/MainWindow.xaml.cs | IrmaVeoll/Neatron | f9843249674a94a70ee87b7d32dc3a417ad4d884 | [
"MIT"
] | 13 | 2019-07-01T23:12:43.000Z | 2020-01-11T16:02:22.000Z | XorDemo/Views/MainWindow.xaml.cs | IrmaVeoll/Neatron | f9843249674a94a70ee87b7d32dc3a417ad4d884 | [
"MIT"
] | null | null | null | XorDemo/Views/MainWindow.xaml.cs | IrmaVeoll/Neatron | f9843249674a94a70ee87b7d32dc3a417ad4d884 | [
"MIT"
] | 1 | 2021-04-30T04:58:42.000Z | 2021-04-30T04:58:42.000Z | using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using Avalonia.Media;
using OxyPlot;
using OxyPlot.Axes;
using ReactiveUI;
using XorDemo.ViewModels;
using Axis = OxyPlot.Avalonia.Axis;
using LinearAxis = OxyPlot.Avalonia.LinearAxis;
namespace XorDemo.Views
{
public class MainWindow : ReactiveW... | 33.826087 | 85 | 0.616967 |
ed0034f7af8681abd0377ab121f1bcb82c7483fe | 344 | cs | C# | src/DataMigrator/StandaloneDatabase/Models/JobParameter.cs | datacrud/tilespad-data-migrator | 7a8785b49cfe9a1cd98d460268fe0751f570a429 | [
"MIT"
] | 2 | 2021-12-30T12:40:04.000Z | 2022-02-21T22:47:22.000Z | src/DataMigrator/StandaloneDatabase/Models/JobParameter.cs | datacrud/tilespad-data-migrator | 7a8785b49cfe9a1cd98d460268fe0751f570a429 | [
"MIT"
] | null | null | null | src/DataMigrator/StandaloneDatabase/Models/JobParameter.cs | datacrud/tilespad-data-migrator | 7a8785b49cfe9a1cd98d460268fe0751f570a429 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
namespace StandaloneDatabase.Models
{
public partial class JobParameter
{
public int Id { get; set; }
public int JobId { get; set; }
public string Name { get; set; }
public string Value { get; set; }
public virtual Job Jo... | 21.5 | 44 | 0.610465 |
90f368f8d178db69fbc43d6d327ecc6ca0fdc05f | 4,903 | cs | C# | SocialCareCaseViewerApi.Tests/V1/UseCase/CaseStatus/CaseStatusExecuteUpdateUseCaseTests.cs | LBHackney-IT/social-care-case-viewer-api | cf8834a5e1ec074c3ce944f3558e8e7d94ba5160 | [
"MIT"
] | 1 | 2022-03-11T18:42:08.000Z | 2022-03-11T18:42:08.000Z | SocialCareCaseViewerApi.Tests/V1/UseCase/CaseStatus/CaseStatusExecuteUpdateUseCaseTests.cs | JohnFarrellDev/social-care-case-viewer-api-fork | f1851ff8896a0397fd4aebbe160bdd3104f57c42 | [
"MIT"
] | 48 | 2021-02-09T12:31:45.000Z | 2022-03-29T07:37:22.000Z | SocialCareCaseViewerApi.Tests/V1/UseCase/CaseStatus/CaseStatusExecuteUpdateUseCaseTests.cs | JohnFarrellDev/social-care-case-viewer-api-fork | f1851ff8896a0397fd4aebbe160bdd3104f57c42 | [
"MIT"
] | 2 | 2021-11-16T16:47:26.000Z | 2021-12-02T08:39:28.000Z | using FluentAssertions;
using Moq;
using NUnit.Framework;
using SocialCareCaseViewerApi.Tests.V1.Helpers;
using SocialCareCaseViewerApi.V1.Boundary.Requests;
using SocialCareCaseViewerApi.V1.Exceptions;
using SocialCareCaseViewerApi.V1.Factories;
using SocialCareCaseViewerApi.V1.Gateways.Interfaces;
using SocialCareCas... | 44.171171 | 133 | 0.707934 |
b103b53a63ca4773e1064dee47585f94d02db0f9 | 2,105 | cs | C# | src/web/Fig.Web/Facades/CommonEnumerationFacade.cs | mzbrau/fig | 1f956be992c53cb597d365b2807fa280cf2ff643 | [
"Apache-2.0"
] | 1 | 2022-03-08T15:38:25.000Z | 2022-03-08T15:38:25.000Z | src/web/Fig.Web/Facades/CommonEnumerationFacade.cs | mzbrau/fig | 1f956be992c53cb597d365b2807fa280cf2ff643 | [
"Apache-2.0"
] | null | null | null | src/web/Fig.Web/Facades/CommonEnumerationFacade.cs | mzbrau/fig | 1f956be992c53cb597d365b2807fa280cf2ff643 | [
"Apache-2.0"
] | null | null | null | using Fig.Contracts.Common;
using Fig.Web.Converters;
using Fig.Web.Models.CommonEnumerations;
using Fig.Web.Services;
namespace Fig.Web.Facades;
public class CommonEnumerationFacade : ICommonEnumerationFacade
{
private const string CommonEnumerationsRoute = "commonenumerations";
private readonly I... | 29.236111 | 117 | 0.637055 |
b114fa2c9fe622dac40655a1c50d9f1587221df5 | 829 | cs | C# | src/Libraries/UnitTests.Common/InMemoryDataStoreProvider.cs | tuminskiy/SenDevXafDashboards | f43c63bb72d86492cdd0d894c443ff748237fdcd | [
"MIT"
] | null | null | null | src/Libraries/UnitTests.Common/InMemoryDataStoreProvider.cs | tuminskiy/SenDevXafDashboards | f43c63bb72d86492cdd0d894c443ff748237fdcd | [
"MIT"
] | null | null | null | src/Libraries/UnitTests.Common/InMemoryDataStoreProvider.cs | tuminskiy/SenDevXafDashboards | f43c63bb72d86492cdd0d894c443ff748237fdcd | [
"MIT"
] | null | null | null | using System;
using DevExpress.ExpressApp.Xpo;
using DevExpress.Xpo.DB;
namespace UnitTests
{
public class InMemoryDataStoreProvider : IXpoDataStoreProvider
{
private readonly IDataStore dataStore;
public InMemoryDataStoreProvider(IDataStore dataStore)
{
this.dataStore = dataStore;
}
public string C... | 21.815789 | 100 | 0.768396 |
b192e5054d159d25b2b2222b5a77888621918663 | 7,150 | cs | C# | CSharp/MasterReloBot/Commute/DirectionsInfo.cs | MarySam/TestBot | d123f0608c3fcd52f5a45514f216c4654acead39 | [
"MIT"
] | null | null | null | CSharp/MasterReloBot/Commute/DirectionsInfo.cs | MarySam/TestBot | d123f0608c3fcd52f5a45514f216c4654acead39 | [
"MIT"
] | null | null | null | CSharp/MasterReloBot/Commute/DirectionsInfo.cs | MarySam/TestBot | d123f0608c3fcd52f5a45514f216c4654acead39 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MasterReloBot.Directions
{
//All of our Directions Properties.
public class DirectionsInfo
{
public Geocoded_Waypoints[] geocoded_waypoints { get; set; }
public Route[] routes { get; s... | 26.383764 | 69 | 0.545175 |
95cea17c3ca02529ccf6bcd043bb627e0917a648 | 2,023 | cs | C# | Emulator/Processor/Instructions/CALL.cs | clavierpaul/Gamemu | 4c068b345b76d45cc336d1d1b6e94e7d5a6db38b | [
"MIT"
] | null | null | null | Emulator/Processor/Instructions/CALL.cs | clavierpaul/Gamemu | 4c068b345b76d45cc336d1d1b6e94e7d5a6db38b | [
"MIT"
] | null | null | null | Emulator/Processor/Instructions/CALL.cs | clavierpaul/Gamemu | 4c068b345b76d45cc336d1d1b6e94e7d5a6db38b | [
"MIT"
] | null | null | null | using Gamemu.Emulator.Processor.Addressing;
using static Gamemu.Emulator.Processor.Instructions.Condition;
namespace Gamemu.Emulator.Processor.Instructions
{
[Instruction(Opcode = 0xCD, Cycles = 24, Source = AddressingMode.Immediate16)]
[Instruction(Opcode = 0xC4, Cycles = 12, CyclesAlternate = ... | 42.145833 | 179 | 0.607514 |
d933c9e9ea9d87697589e4a0153f8125abec7676 | 739 | cs | C# | 3D_Engine/3D_Engine/Vector2.cs | mlugg/C-_3D_Engine | 0463741a1c701a52f499dfb2d0b6d74f29547980 | [
"WTFPL"
] | 1 | 2017-01-21T11:20:21.000Z | 2017-01-21T11:20:21.000Z | 3D_Engine/3D_Engine/Vector2.cs | mlugg/C-_3D_Engine | 0463741a1c701a52f499dfb2d0b6d74f29547980 | [
"WTFPL"
] | 1 | 2017-01-21T11:24:18.000Z | 2017-02-01T17:42:36.000Z | 3D_Engine/3D_Engine/Vector2.cs | mlugg/C-_3D_Engine | 0463741a1c701a52f499dfb2d0b6d74f29547980 | [
"WTFPL"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _3D_Engine
{
class Vector2
{
public Vector2(float x, float y)
{
this.x = x;
this.y = y;
}
public static Vector2 operator +(Vect... | 20.527778 | 62 | 0.519621 |
c9577868619111888392e5ef36c46aaef55038d5 | 1,245 | cs | C# | src/GameLogic/Views/ChatMessageType.cs | ADMTec/OpenMU | c09863807d862b9fa82e291fd34926074972acfe | [
"MIT"
] | 1 | 2022-01-17T06:34:24.000Z | 2022-01-17T06:34:24.000Z | src/GameLogic/Views/ChatMessageType.cs | ADMTec/OpenMU | c09863807d862b9fa82e291fd34926074972acfe | [
"MIT"
] | null | null | null | src/GameLogic/Views/ChatMessageType.cs | ADMTec/OpenMU | c09863807d862b9fa82e291fd34926074972acfe | [
"MIT"
] | 1 | 2021-04-05T19:03:52.000Z | 2021-04-05T19:03:52.000Z | // <copyright file="ChatMessageType.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.GameLogic.Views;
/// <summary>
/// The type of a chat message.
/// </summary>
public enum ChatMessageType
{
///... | 24.411765 | 101 | 0.614458 |
977362e0323cfd322f8e8100a73fedf30abae725 | 1,942 | cs | C# | src/UrlShortener.Api/Program.cs | Nik4321/UrlShortener | 5a8094461e1b9d2da7c4d637db60d303cb24bfe1 | [
"MIT"
] | null | null | null | src/UrlShortener.Api/Program.cs | Nik4321/UrlShortener | 5a8094461e1b9d2da7c4d637db60d303cb24bfe1 | [
"MIT"
] | 2 | 2020-01-29T12:29:28.000Z | 2021-09-29T21:39:26.000Z | src/UrlShortener.Api/Program.cs | Nik4321/UrlShortener | 5a8094461e1b9d2da7c4d637db60d303cb24bfe1 | [
"MIT"
] | null | null | null | using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
using System.Diagnostics.CodeAnalysis;
using UrlShortener.Data;
using UrlShortener.Data.... | 31.836066 | 79 | 0.585479 |
3f2c009c9a9707040d6ab51a351182a02e353e16 | 1,147 | cs | C# | src/SIO.Domain/Extensions/ServiceCollectionExtensions.cs | sound-it-out/sio-translation-option-importer | 8f378173f10497d125b4c6e8e141ee341a63d231 | [
"Apache-2.0"
] | null | null | null | src/SIO.Domain/Extensions/ServiceCollectionExtensions.cs | sound-it-out/sio-translation-option-importer | 8f378173f10497d125b4c6e8e141ee341a63d231 | [
"Apache-2.0"
] | null | null | null | src/SIO.Domain/Extensions/ServiceCollectionExtensions.cs | sound-it-out/sio-translation-option-importer | 8f378173f10497d125b4c6e8e141ee341a63d231 | [
"Apache-2.0"
] | null | null | null | using System;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using SIO.Domain.TranslationOptions.CommandHandlers;
using SIO.Domain.TranslationOptions.Commands;
using SIO.Domain.TranslationOptions.Queries;
using SIO.Domain.TranslationOptions.QueryHandlers;
using SIO.Domain.Tra... | 44.115385 | 145 | 0.793374 |
1be552c76bc9da72cd63dca63bd1761077403e88 | 777 | cs | C# | Source/Simulator/Common/Messages/Error.cs | mortend/fuse-studio | ae299fc6bc04aa3db7b4e66034109ffe96b142b9 | [
"MIT"
] | 324 | 2018-05-14T08:17:17.000Z | 2022-02-21T14:50:07.000Z | Source/Simulator/Common/Messages/Error.cs | mortend/fuse-studio | ae299fc6bc04aa3db7b4e66034109ffe96b142b9 | [
"MIT"
] | 27 | 2018-05-14T15:17:46.000Z | 2021-04-20T12:01:38.000Z | Source/Simulator/Common/Messages/Error.cs | mortend/fuse-studio | ae299fc6bc04aa3db7b4e66034109ffe96b142b9 | [
"MIT"
] | 53 | 2018-05-14T07:56:17.000Z | 2022-01-04T06:33:11.000Z | using System.IO;
using Uno;
using Outracks.Simulator.Bytecode;
namespace Outracks.Simulator.Protocol
{
public sealed class Error : IBinaryMessage
{
public static readonly string MessageType = "Error";
public string Type { get { return MessageType; } }
public ExceptionInfo Exception { get; private set; }
p... | 19.923077 | 55 | 0.712999 |
e46dc6898cba1ad9071c157f1795c12c85db5c98 | 53,725 | cs | C# | HIVacSim/HIVacSim/Group.cs | itvieira/HIVacSim | 235ab755a3e1a114f9f2f6978bf29eeae44b203b | [
"MIT"
] | 1 | 2021-02-05T12:15:04.000Z | 2021-02-05T12:15:04.000Z | HIVacSim/HIVacSim/Group.cs | itvieira/HIVacSim | 235ab755a3e1a114f9f2f6978bf29eeae44b203b | [
"MIT"
] | null | null | null | HIVacSim/HIVacSim/Group.cs | itvieira/HIVacSim | 235ab755a3e1a114f9f2f6978bf29eeae44b203b | [
"MIT"
] | null | null | null | // ----------------------------------------------------------------------------
// <copyright file="Group.cs" company="HIVacSim">
// Copyright (c) 2014 HIVacSim Contributors
// </copyright>
// <author>Israel Vieira</author>
// ----------------------------------------------------------------------------
namespace HIV... | 32.521186 | 119 | 0.446961 |
f298fac22b49bf9bc4cafa17ebc7d427c7f62edc | 8,991 | cs | C# | C# DB Fundamentals/Databases Advanced - Entity Framework/Introduction to EntityFramework/02. Database First/StartUp.cs | DanielBankov/SoftUni | 378b55e249cdaa9570b101238c289cf0102ba946 | [
"MIT"
] | null | null | null | C# DB Fundamentals/Databases Advanced - Entity Framework/Introduction to EntityFramework/02. Database First/StartUp.cs | DanielBankov/SoftUni | 378b55e249cdaa9570b101238c289cf0102ba946 | [
"MIT"
] | null | null | null | C# DB Fundamentals/Databases Advanced - Entity Framework/Introduction to EntityFramework/02. Database First/StartUp.cs | DanielBankov/SoftUni | 378b55e249cdaa9570b101238c289cf0102ba946 | [
"MIT"
] | null | null | null | using Microsoft.EntityFrameworkCore;
using SoftUni.Data;
using SoftUni.Models;
using System;
using System.Globalization;
using System.Linq;
using System.Text;
namespace SoftUni
{
public class StartUp
{
public static void Main()
{
using (SoftUniContext context = new SoftUniContext()... | 32.110714 | 116 | 0.463241 |
d312f5575fd37a82e447da2e5c48198d5a4bc6b6 | 133 | cs | C# | src/ItsMyConsole.Tools.AzureDevOps/Models/Api/ExceptionApi.cs | dtarroz/ItsMyConsole.Tools.AzureDevOps | 35cf7983daa60582efd32613ab920b678c4517cd | [
"MIT"
] | null | null | null | src/ItsMyConsole.Tools.AzureDevOps/Models/Api/ExceptionApi.cs | dtarroz/ItsMyConsole.Tools.AzureDevOps | 35cf7983daa60582efd32613ab920b678c4517cd | [
"MIT"
] | null | null | null | src/ItsMyConsole.Tools.AzureDevOps/Models/Api/ExceptionApi.cs | dtarroz/ItsMyConsole.Tools.AzureDevOps | 35cf7983daa60582efd32613ab920b678c4517cd | [
"MIT"
] | null | null | null | namespace ItsMyConsole.Tools.AzureDevOps
{
internal class ExceptionApi
{
public string Message { get; set; }
}
}
| 16.625 | 43 | 0.654135 |
0d272c9016f3987712e15ad1b1f19b81e35a1d44 | 187 | cs | C# | MeseMe.Infrastructure/Events/UserDisconnectedEvent.cs | AndreiLucaci/MeseMe | e3f660299e5b5fc5a3587c83917c5201f575b3f4 | [
"MIT"
] | null | null | null | MeseMe.Infrastructure/Events/UserDisconnectedEvent.cs | AndreiLucaci/MeseMe | e3f660299e5b5fc5a3587c83917c5201f575b3f4 | [
"MIT"
] | null | null | null | MeseMe.Infrastructure/Events/UserDisconnectedEvent.cs | AndreiLucaci/MeseMe | e3f660299e5b5fc5a3587c83917c5201f575b3f4 | [
"MIT"
] | null | null | null | using MeseMe.Infrastructure.EventPayloads;
using Prism.Events;
namespace MeseMe.Infrastructure.Events
{
public class UserDisconnectedEvent : PubSubEvent<UserConnectionPayload>
{
}
}
| 18.7 | 72 | 0.818182 |
d66ba72b1af4cab25fe14f1c7faaf1e1fe770bce | 417 | cs | C# | src/Core/Domain/Common/Events/EntityDeletedEvent.cs | slingncrypto/dotnet-webapi-boilerplate | 3a541f8a9bceb636071968ba5175f57f28446cac | [
"MIT"
] | 3 | 2022-03-07T23:39:42.000Z | 2022-03-31T16:43:20.000Z | src/Core/Domain/Common/Events/EntityDeletedEvent.cs | slingncrypto/dotnet-webapi-boilerplate | 3a541f8a9bceb636071968ba5175f57f28446cac | [
"MIT"
] | 9 | 2022-02-14T07:30:27.000Z | 2022-03-14T07:27:24.000Z | src/Core/Domain/Common/Events/EntityDeletedEvent.cs | slingncrypto/dotnet-webapi-boilerplate | 3a541f8a9bceb636071968ba5175f57f28446cac | [
"MIT"
] | 1 | 2022-02-15T21:42:17.000Z | 2022-02-15T21:42:17.000Z | namespace FSH.WebApi.Domain.Common.Events;
public static class EntityDeletedEvent
{
public static EntityDeletedEvent<TEntity> WithEntity<TEntity>(TEntity entity)
where TEntity : IEntity
=> new(entity);
}
public class EntityDeletedEvent<TEntity> : DomainEvent
where TEntity : IEntity
{
inter... | 24.529412 | 81 | 0.731415 |
d6ff00ef4687cc594bfe63b13d100bfe69e4ed03 | 1,308 | cs | C# | AddressServices/StandardizedAddress.cs | hdpham77/NuGetPackageExplorer | d3900162944b9bce03f146521915f04681b13894 | [
"MIT"
] | null | null | null | AddressServices/StandardizedAddress.cs | hdpham77/NuGetPackageExplorer | d3900162944b9bce03f146521915f04681b13894 | [
"MIT"
] | null | null | null | AddressServices/StandardizedAddress.cs | hdpham77/NuGetPackageExplorer | d3900162944b9bce03f146521915f04681b13894 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace CERS.AddressServices
{
public class StandardizedAddress : ParsedAddress, IAddress
{
public string Company { get; set; }
public string Street { get; set; }
public string StreetWithoutSuiteNumber { get;... | 24.222222 | 63 | 0.694954 |
6e7f7326dbe2c4928df09583c9e33c2f3c10c431 | 6,159 | cs | C# | src/Meadow.Modbus/Clients/ModbusTcpClient.cs | WildernessLabs/Meadow.Modbus | a4f168af42feed9b8628bdbd6ba463b68ab94391 | [
"Apache-2.0"
] | null | null | null | src/Meadow.Modbus/Clients/ModbusTcpClient.cs | WildernessLabs/Meadow.Modbus | a4f168af42feed9b8628bdbd6ba463b68ab94391 | [
"Apache-2.0"
] | null | null | null | src/Meadow.Modbus/Clients/ModbusTcpClient.cs | WildernessLabs/Meadow.Modbus | a4f168af42feed9b8628bdbd6ba463b68ab94391 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Net;
using System.Net.Sockets;
using System.Threading.Tasks;
namespace Meadow.Modbus
{
public class ModbusTcpClient : ModbusClientBase, IDisposable
{
public const short DefaultModbusTCPPort = 502;
public IPAddress Destination { get; }
public short Port { get... | 33.840659 | 139 | 0.542458 |
f7d506a4f76140e898d97fbd917544fff09c6b87 | 1,778 | cs | C# | WaveSabreConvert/RenoiseParser.cs | LeStahL/WaveSabre | 2a603ac1b3e9c30390a977f5bfb71766552e9c62 | [
"MIT"
] | 228 | 2019-02-18T19:13:31.000Z | 2022-03-30T00:52:55.000Z | WaveSabreConvert/RenoiseParser.cs | LeStahL/WaveSabre | 2a603ac1b3e9c30390a977f5bfb71766552e9c62 | [
"MIT"
] | 64 | 2019-02-20T17:38:47.000Z | 2022-01-25T20:21:00.000Z | WaveSabreConvert/RenoiseParser.cs | thijskruithof/WaveSabre | d2d0c76432284a86780deda45b35a9aa9377d79e | [
"MIT"
] | 31 | 2019-02-20T14:16:40.000Z | 2022-01-05T11:25:52.000Z | using System.IO;
using System.IO.Compression;
using System.Xml.Serialization;
using Renoise;
namespace WaveSabreConvert
{
public class RenoiseParser
{
public RenoiseSong Process(string fileName)
{
var song = new RenoiseSong();
return Process(File.ReadAllBy... | 31.192982 | 95 | 0.462317 |
734beeefd71b5c89f324455f1a033a672510e29f | 2,585 | cs | C# | src/SFA.DAS.Vacancies.Manage.UnitTests/Application/TrainingCourses/Queries/WhenHandlingGetTrainingCourses.cs | SkillsFundingAgency/das-apim-endpoints | 5a4057e6960a7295daa6d7292b50761466a1c02f | [
"MIT"
] | 4 | 2021-07-03T07:18:55.000Z | 2022-03-30T14:44:26.000Z | src/SFA.DAS.Vacancies.Manage.UnitTests/Application/TrainingCourses/Queries/WhenHandlingGetTrainingCourses.cs | SkillsFundingAgency/das-apim-endpoints | 5a4057e6960a7295daa6d7292b50761466a1c02f | [
"MIT"
] | 162 | 2020-07-13T08:25:08.000Z | 2022-03-31T18:05:51.000Z | src/SFA.DAS.Vacancies.Manage.UnitTests/Application/TrainingCourses/Queries/WhenHandlingGetTrainingCourses.cs | SkillsFundingAgency/das-apim-endpoints | 5a4057e6960a7295daa6d7292b50761466a1c02f | [
"MIT"
] | 2 | 2020-08-03T09:21:29.000Z | 2021-04-11T08:32:42.000Z | using System.Threading;
using System.Threading.Tasks;
using AutoFixture.NUnit3;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using SFA.DAS.SharedOuterApi.Configuration;
using SFA.DAS.SharedOuterApi.InnerApi.Requests;
using SFA.DAS.SharedOuterApi.Interfaces;
using SFA.DAS.Testing.AutoFixture;
using SFA.DAS... | 42.377049 | 120 | 0.695551 |
80cfc557c44e627a17a459f38b11afca5d37b13d | 241 | cs | C# | src/ActiveText/IViewModel.cs | danielcrenna/ActiveText | 94e45f59c0fec2bc5459f863c23a5ca4d21e234f | [
"Apache-2.0"
] | 1 | 2020-03-31T21:23:31.000Z | 2020-03-31T21:23:31.000Z | src/ActiveText/IViewModel.cs | danielcrenna/ActiveText | 94e45f59c0fec2bc5459f863c23a5ca4d21e234f | [
"Apache-2.0"
] | null | null | null | src/ActiveText/IViewModel.cs | danielcrenna/ActiveText | 94e45f59c0fec2bc5459f863c23a5ca4d21e234f | [
"Apache-2.0"
] | null | null | null | // Copyright (c) Daniel Crenna & Contributors. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace ActiveText
{
public interface IViewModel
{
}
} | 26.777778 | 111 | 0.759336 |
446660131417e9b83dfd155d1f0f6ac99df3a50c | 14,711 | cs | C# | ClubPenguin.DecorationInventory/DecorationInventoryService.cs | smdx24/CPI-Source-Code | 7602749d447dc73f24ecd9e08c50d2031721abf4 | [
"MIT"
] | 8 | 2019-06-04T19:49:27.000Z | 2022-03-19T13:39:41.000Z | ClubPenguin.DecorationInventory/DecorationInventoryService.cs | smdx24/CPI-Source-Code | 7602749d447dc73f24ecd9e08c50d2031721abf4 | [
"MIT"
] | null | null | null | ClubPenguin.DecorationInventory/DecorationInventoryService.cs | smdx24/CPI-Source-Code | 7602749d447dc73f24ecd9e08c50d2031721abf4 | [
"MIT"
] | 5 | 2020-05-05T04:06:29.000Z | 2022-02-09T21:12:34.000Z | // DecorationInventoryService
using ClubPenguin.Core;
using ClubPenguin.DecorationInventory;
using ClubPenguin.Net;
using ClubPenguin.Net.Domain;
using ClubPenguin.Net.Domain.Decoration;
using DevonLocalization.Core;
using Disney.Kelowna.Common;
using Disney.LaunchPadFramework;
using Disney.MobileNetwork;
using System;... | 36.144963 | 187 | 0.780097 |
505d7af4e1366c9f2eef1ebc0419ccdb4b3f938c | 4,734 | cs | C# | src/go-src-converted/cmd/oldlink/internal/loader/loader_LoaderStruct.cs | rgwood/go2cs | 9d9b931c53153bc1598268951de779ad9216e631 | [
"MIT"
] | 249 | 2018-06-02T10:42:32.000Z | 2022-03-23T20:54:45.000Z | src/go-src-converted/cmd/oldlink/internal/loader/loader_LoaderStruct.cs | rgwood/go2cs | 9d9b931c53153bc1598268951de779ad9216e631 | [
"MIT"
] | 14 | 2019-01-22T18:55:14.000Z | 2022-03-13T21:26:45.000Z | src/go-src-converted/cmd/oldlink/internal/loader/loader_LoaderStruct.cs | rgwood/go2cs | 9d9b931c53153bc1598268951de779ad9216e631 | [
"MIT"
] | 35 | 2018-08-01T18:04:30.000Z | 2022-02-23T03:25:25.000Z | //---------------------------------------------------------
// <auto-generated>
// This code was generated by a tool. Changes to this
// file may cause incorrect behavior and will be lost
// if the code is regenerated.
//
// Generated on 2020 October 09 05:51:31 UTC
// </auto-generated>
//--------------... | 43.431193 | 621 | 0.602028 |
574f2b6b5f4a22f27edca915172e56b279c411e4 | 1,596 | cs | C# | CodeGeneration/DynamicLoader.cs | npolyak/NP.Concepts | a40f8b987ccf2091909c66be1d9c08d6df38128d | [
"Apache-2.0"
] | null | null | null | CodeGeneration/DynamicLoader.cs | npolyak/NP.Concepts | a40f8b987ccf2091909c66be1d9c08d6df38128d | [
"Apache-2.0"
] | null | null | null | CodeGeneration/DynamicLoader.cs | npolyak/NP.Concepts | a40f8b987ccf2091909c66be1d9c08d6df38128d | [
"Apache-2.0"
] | null | null | null | using NP.Utilities;
using System.Reflection;
namespace NP.Concepts.CodeGeneration
{
public static class DynamicLoader
{
public const string GENERATED_NAMESPACE_NAME = "Generated";
public static object GetDynamicObjByTypeName(string dynamicType)
{
string fullDynamicTypeName... | 28 | 91 | 0.575188 |
9407bed016fd9dcc36be30df88a7b87adf2bc4e7 | 3,094 | cs | C# | Src/Dev/Toolbox.Core/Toolbox.Standard/Telemetry/Providers/ConsoleEventLogger.cs | khooversoft/Toolbox.Core | 0bf330700c6cc272f4bb4cf2289ab64ec39f95bc | [
"MIT"
] | null | null | null | Src/Dev/Toolbox.Core/Toolbox.Standard/Telemetry/Providers/ConsoleEventLogger.cs | khooversoft/Toolbox.Core | 0bf330700c6cc272f4bb4cf2289ab64ec39f95bc | [
"MIT"
] | null | null | null | Src/Dev/Toolbox.Core/Toolbox.Standard/Telemetry/Providers/ConsoleEventLogger.cs | khooversoft/Toolbox.Core | 0bf330700c6cc272f4bb4cf2289ab64ec39f95bc | [
"MIT"
] | null | null | null | // Copyright (c) KhooverSoft. All rights reserved.
// Licensed under the MIT License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Khooversoft.Toolbox.Standard
{
public class ConsoleEventL... | 35.976744 | 167 | 0.501939 |
f538cbc122a375a15373dbe1bcb37b2a69ac6543 | 459 | cs | C# | src/Umbraco.Web/Dashboards/RedirectUrlDashboard.cs | jimlofgren/Umbraco-CMS | 230bf1052cde249587d4ce06a2fb23859094f414 | [
"MIT"
] | 2 | 2021-02-04T23:10:11.000Z | 2022-01-30T01:40:20.000Z | src/Umbraco.Web/Dashboards/RedirectUrlDashboard.cs | jimlofgren/Umbraco-CMS | 230bf1052cde249587d4ce06a2fb23859094f414 | [
"MIT"
] | 197 | 2021-07-28T08:24:22.000Z | 2022-03-25T21:37:30.000Z | src/Umbraco.Web/Dashboards/RedirectUrlDashboard.cs | jimlofgren/Umbraco-CMS | 230bf1052cde249587d4ce06a2fb23859094f414 | [
"MIT"
] | 14 | 2021-03-26T16:50:47.000Z | 2022-03-24T18:32:06.000Z | using System;
using Umbraco.Core.Composing;
using Umbraco.Core.Dashboards;
namespace Umbraco.Web.Dashboards
{
[Weight(20)]
public class RedirectUrlDashboard : IDashboard
{
public string Alias => "contentRedirectManager";
public string[] Sections => new [] { "content" };
public st... | 24.157895 | 74 | 0.67756 |
134f559188148f35d33b2c9753b8b485ddfa7a07 | 2,602 | cs | C# | source/UnaryHeap.Utilities/UnaryHeap.Utilities/Misc/WaveFileFormatExtension.cs | SheepNine/UnaryHeap | d1f50b842510ef9fea878cdb4ee2424dfe691a45 | [
"MIT"
] | 1 | 2016-08-23T20:23:29.000Z | 2016-08-23T20:23:29.000Z | source/UnaryHeap.Utilities/UnaryHeap.Utilities/Misc/WaveFileFormatExtension.cs | SheepNine/UnaryHeap | d1f50b842510ef9fea878cdb4ee2424dfe691a45 | [
"MIT"
] | null | null | null | source/UnaryHeap.Utilities/UnaryHeap.Utilities/Misc/WaveFileFormatExtension.cs | SheepNine/UnaryHeap | d1f50b842510ef9fea878cdb4ee2424dfe691a45 | [
"MIT"
] | null | null | null | using System;
using System.IO;
using System.Text;
namespace UnaryHeap.Utilities.Misc
{
/// <summary>
/// Provides a set of static methods for generating WAVE files.
/// </summary>
public static class WaveFileFormatExtension
{
// --- This class currently only supports one format: ... | 36.647887 | 91 | 0.568025 |
9a148e134a5d4e750912656150de725ae05baff5 | 1,589 | cs | C# | g1/Class13/AsyncProgramming/AsyncCalculator/Program.cs | sedc-codecademy/skwd8-06-csharpadv | 273ab9d41e0c41eccf18ca43b266babb9a5bb5f3 | [
"MIT"
] | null | null | null | g1/Class13/AsyncProgramming/AsyncCalculator/Program.cs | sedc-codecademy/skwd8-06-csharpadv | 273ab9d41e0c41eccf18ca43b266babb9a5bb5f3 | [
"MIT"
] | null | null | null | g1/Class13/AsyncProgramming/AsyncCalculator/Program.cs | sedc-codecademy/skwd8-06-csharpadv | 273ab9d41e0c41eccf18ca43b266babb9a5bb5f3 | [
"MIT"
] | 4 | 2020-06-08T17:37:42.000Z | 2020-06-19T15:42:59.000Z | using System;
using System.Threading;
using System.Threading.Tasks;
namespace AsyncCalculator
{
class Program
{
static void Main(string[] args)
{
// var result = CalculateAsync().Result;
//CalculateThree(result);
var result = CalculateAsync();
va... | 23.367647 | 72 | 0.480176 |
9aadc1e98d03d01c7d80f9ffcbc7213282b35d5e | 163 | cs | C# | LoopringAPI/Models/ApiResults/ApiMarketsGetResult.cs | taranasus/LoopringAPI | 7f9154384c19131d53bf1a2d81257b213483310d | [
"Apache-2.0"
] | 8 | 2021-12-12T17:42:01.000Z | 2022-01-06T11:01:17.000Z | LoopringAPI/Models/ApiResults/ApiMarketsGetResult.cs | fudgebucket27/LoopringSharp | 7f9154384c19131d53bf1a2d81257b213483310d | [
"Apache-2.0"
] | 8 | 2022-01-13T04:39:38.000Z | 2022-03-14T04:18:26.000Z | LoopringAPI/Models/ApiResults/ApiMarketsGetResult.cs | fudgebucket27/LoopringSharp | 7f9154384c19131d53bf1a2d81257b213483310d | [
"Apache-2.0"
] | 2 | 2022-01-06T22:38:08.000Z | 2022-01-07T03:11:53.000Z | using System.Collections.Generic;
namespace LoopringSharp
{
public class ApiMarketsGetResult
{
public List<Market> markets { get; set; }
}
}
| 16.3 | 49 | 0.674847 |
f88099315098cbe47a676bb81a4f5b6227494b59 | 2,409 | cs | C# | Daemon/Program.cs | asymetrixs/CarrierLink | 1bf88b92fe116f56dfa859b0afd6fd36295a51cb | [
"MIT"
] | 4 | 2020-11-13T09:42:09.000Z | 2021-10-05T03:38:13.000Z | Daemon/Program.cs | asymetrixs/CarrierLink | 1bf88b92fe116f56dfa859b0afd6fd36295a51cb | [
"MIT"
] | null | null | null | Daemon/Program.cs | asymetrixs/CarrierLink | 1bf88b92fe116f56dfa859b0afd6fd36295a51cb | [
"MIT"
] | null | null | null | namespace CarrierLink.Controller.Daemon
{
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using NLog;
using NLog.Extensions.Logging;
using System.Runtime.Loader;
us... | 41.534483 | 136 | 0.560399 |
721de1624982955c79d4cf61004eba88d34cebc0 | 2,081 | cs | C# | Geckofx-Core/Generated/nsIPackagedAppChannelListener.cs | CharlesZHENG/Geckofx | 6c553a0890845daca9d334ac0ba152e407f0002f | [
"X11"
] | 12 | 2018-09-08T13:53:53.000Z | 2022-01-30T12:45:46.000Z | Geckofx-Core/Generated/nsIPackagedAppChannelListener.cs | CharlesZHENG/Geckofx | 6c553a0890845daca9d334ac0ba152e407f0002f | [
"X11"
] | 3 | 2018-05-31T19:45:46.000Z | 2022-02-20T21:26:00.000Z | Geckofx-Core/Generated/nsIPackagedAppChannelListener.cs | CharlesZHENG/Geckofx | 6c553a0890845daca9d334ac0ba152e407f0002f | [
"X11"
] | null | null | null | // --------------------------------------------------------------------------------------------
// Version: MPL 1.1/GPL 2.0/LGPL 2.1
//
// The contents of this file are subject to the Mozilla Public License Version
// 1.1 (the "License"); you may not use this file except in compliance with
// the License. You may... | 39.264151 | 99 | 0.631427 |
19ae7b6700540064c86d9bc5ca6f91761cb45ea0 | 1,840 | cs | C# | src/Services/CustomerArea/CustomerArea.API/Models/User/Field.cs | lefevbre-organization/eShopOnContainers | 857dca95cfd44b7ca6551a7c9ec0531e4e4a7d0b | [
"MIT"
] | null | null | null | src/Services/CustomerArea/CustomerArea.API/Models/User/Field.cs | lefevbre-organization/eShopOnContainers | 857dca95cfd44b7ca6551a7c9ec0531e4e4a7d0b | [
"MIT"
] | 3 | 2021-02-25T17:45:17.000Z | 2021-04-05T12:12:52.000Z | src/Services/CustomerArea/CustomerArea.API/Models/User/Field.cs | lefevbre-organization/eShopOnContainers | 857dca95cfd44b7ca6551a7c9ec0531e4e4a7d0b | [
"MIT"
] | null | null | null | using MongoDB.Bson.Serialization.Attributes;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace Lefebvre.eLefebvreOnContainers.Services.CustomerArea.API.Models
{
[BsonNoId]
public class Field : IFieldMembers
{
[JsonProperty("id", NullValueHandling = NullValueHandling.Ignore)]
... | 35.384615 | 92 | 0.622283 |
560e077fde6e6b8949a7c532af94f89a89debf6f | 1,338 | cs | C# | 04.ExercisesInheritance/ExercisesInheritance/Animals/Program.cs | YonchevSimeon/CSharp-OOP-Basics | 63f239e193d1461ac9624a1a3950953df91e765f | [
"MIT"
] | null | null | null | 04.ExercisesInheritance/ExercisesInheritance/Animals/Program.cs | YonchevSimeon/CSharp-OOP-Basics | 63f239e193d1461ac9624a1a3950953df91e765f | [
"MIT"
] | null | null | null | 04.ExercisesInheritance/ExercisesInheritance/Animals/Program.cs | YonchevSimeon/CSharp-OOP-Basics | 63f239e193d1461ac9624a1a3950953df91e765f | [
"MIT"
] | null | null | null | namespace Animals
{
using System;
class Program
{
static void Main(string[] args)
{
string input;
while((input = Console.ReadLine()) != "Beast!")
{
try
{
Animal animal = GetAnimal(input);
... | 27.875 | 66 | 0.413303 |
2cf7daf073ecf00ba68ff1a0af620370a2456d50 | 4,596 | cs | C# | Portent/Collections/CompoundSuggestItemCollection.cs | jeanbern/portent | 2423c09a659a35f2ce19dfe02d3278caf50c8c7f | [
"MIT"
] | null | null | null | Portent/Collections/CompoundSuggestItemCollection.cs | jeanbern/portent | 2423c09a659a35f2ce19dfe02d3278caf50c8c7f | [
"MIT"
] | null | null | null | Portent/Collections/CompoundSuggestItemCollection.cs | jeanbern/portent | 2423c09a659a35f2ce19dfe02d3278caf50c8c7f | [
"MIT"
] | null | null | null | using System;
using System.Collections;
using System.Collections.Generic;
#if !DEBUG
using System.Diagnostics;
#endif
namespace Portent
{
internal sealed class CompoundSuggestItemCollection : IEnumerable<SuggestItem>, IDisposable
{
private readonly SuggestItemEnumerator _myEnumerator;
public r... | 29.844156 | 370 | 0.508486 |
ab9cfc7f9b9b02f6f6f1f6ca1032cdc2698cfb98 | 132 | cs | C# | Importer/DMI/DirectionTypes.cs | DogZeroX/RSIEdit | e84cb2b1c52beb1196da3d21354693dcd473a5b8 | [
"MIT"
] | null | null | null | Importer/DMI/DirectionTypes.cs | DogZeroX/RSIEdit | e84cb2b1c52beb1196da3d21354693dcd473a5b8 | [
"MIT"
] | null | null | null | Importer/DMI/DirectionTypes.cs | DogZeroX/RSIEdit | e84cb2b1c52beb1196da3d21354693dcd473a5b8 | [
"MIT"
] | null | null | null | namespace Importer.DMI
{
public enum DirectionTypes
{
None = 1,
Cardinal = 4,
Diagonal = 8
}
}
| 13.2 | 30 | 0.507576 |
63fb52d5eb16ae1a0d24eb16df4b33b49046426f | 6,809 | cs | C# | Src/DevAge.Windows.Forms/Drawing/VisualElements/BackgroundLinearGradient.cs | janis3000/sourcegrid | 03dbae93a9ca4ddd11f8c16612bce79489777826 | [
"MIT"
] | 20 | 2019-01-04T17:03:04.000Z | 2022-01-27T06:46:36.000Z | Src/DevAge.Windows.Forms/Drawing/VisualElements/BackgroundLinearGradient.cs | janis3000/sourcegrid | 03dbae93a9ca4ddd11f8c16612bce79489777826 | [
"MIT"
] | 4 | 2018-09-21T06:08:28.000Z | 2022-01-29T06:01:56.000Z | Src/DevAge.Windows.Forms/Drawing/VisualElements/BackgroundLinearGradient.cs | janis3000/sourcegrid | 03dbae93a9ca4ddd11f8c16612bce79489777826 | [
"MIT"
] | 14 | 2020-02-06T08:41:29.000Z | 2022-01-26T06:11:04.000Z | using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
namespace DevAge.Drawing.VisualElements
{
/// <summary>
/// Class used to draw a standard linear gradient background. If FirstColor == SecondColor a solid color is drawed.
/// </summary>
[Serializable]
public c... | 39.587209 | 516 | 0.587458 |
272808a0fdfee32ddabe72e913a8e8d4eb6f9a6e | 1,888 | cs | C# | vs/src/CodeStream.VisualStudio/Services/Providers/ShellSettingsProvider.cs | xujuntwt95329/codestream | c470ba7ea681d2b992c9b8c702880e737f552bf7 | [
"Apache-2.0"
] | 553 | 2020-06-24T04:41:39.000Z | 2022-03-30T19:34:32.000Z | vs/src/CodeStream.VisualStudio/Services/Providers/ShellSettingsProvider.cs | xujuntwt95329/codestream | c470ba7ea681d2b992c9b8c702880e737f552bf7 | [
"Apache-2.0"
] | 450 | 2020-06-17T13:05:11.000Z | 2022-03-31T07:43:48.000Z | vs/src/CodeStream.VisualStudio/Services/Providers/ShellSettingsProvider.cs | ConnectionMaster/codestream | 48075872469d3a8ba4aa69d3614edd9602ffb23b | [
"Apache-2.0"
] | 134 | 2020-06-14T18:21:31.000Z | 2022-03-19T12:10:57.000Z | using System;
using Microsoft.VisualStudio.Shell.Settings;
namespace CodeStream.VisualStudio.Services.Providers {
public interface ISettingsProvider {
bool TryGetString(string collectionName, string propertyName, out string value);
void SetString(string collectionName, string propertyName, string data);
}
int... | 34.327273 | 98 | 0.775424 |
537281bdbfdb75b4b7d34678a04f69de82096115 | 2,664 | cs | C# | Library/Installers/MvcInstaller.cs | efirpo/lil-free-library-with-react | 043aec9280e0f78fa3dcaf029efbb5395edb50d1 | [
"MIT"
] | null | null | null | Library/Installers/MvcInstaller.cs | efirpo/lil-free-library-with-react | 043aec9280e0f78fa3dcaf029efbb5395edb50d1 | [
"MIT"
] | null | null | null | Library/Installers/MvcInstaller.cs | efirpo/lil-free-library-with-react | 043aec9280e0f78fa3dcaf029efbb5395edb50d1 | [
"MIT"
] | null | null | null | using System.Collections.Generic;
using System.Text;
using FluentValidation.AspNetCore;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Configur... | 35.052632 | 103 | 0.695195 |
06557fc5dc49e47060bcdc8b9462dbae4ad16f6c | 973 | cs | C# | SchedulerBot/SchedulerBot.Infrastructure.Utils/RandomByteGenerator.cs | Scheduler-Bot/scheduler-bot | 9f9e55aed18211d99a8c276101fe9959c1b33853 | [
"MIT"
] | null | null | null | SchedulerBot/SchedulerBot.Infrastructure.Utils/RandomByteGenerator.cs | Scheduler-Bot/scheduler-bot | 9f9e55aed18211d99a8c276101fe9959c1b33853 | [
"MIT"
] | 22 | 2018-03-30T07:19:00.000Z | 2018-09-08T11:02:35.000Z | SchedulerBot/SchedulerBot.Infrastructure.Utils/RandomByteGenerator.cs | Scheduler-Bot/scheduler-bot | 9f9e55aed18211d99a8c276101fe9959c1b33853 | [
"MIT"
] | null | null | null | using System;
using System.Security.Cryptography;
using SchedulerBot.Infrastructure.Interfaces.Utils;
namespace SchedulerBot.Infrastructure.Utils
{
/// <summary>
/// Provides a way of generating a cryptographically strong random sequence of bytes.
/// </summary>
public sealed class RandomByteGenerator : IRandomBy... | 22.113636 | 86 | 0.715313 |
c43c3c249ed7c270fe5b3677a447f0368d500dc7 | 933 | cs | C# | KotoriServer/Controllers/SiteController.cs | kotorihq/kotori-server | 60061cc958ea8ea673afffa036110a90103a9bbe | [
"MIT"
] | null | null | null | KotoriServer/Controllers/SiteController.cs | kotorihq/kotori-server | 60061cc958ea8ea673afffa036110a90103a9bbe | [
"MIT"
] | 73 | 2017-10-07T21:57:01.000Z | 2018-03-17T08:45:12.000Z | KotoriServer/Controllers/SiteController.cs | kotorihq/kotori-server | 60061cc958ea8ea673afffa036110a90103a9bbe | [
"MIT"
] | null | null | null | using KotoriServer.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using System.Diagnostics;
using KotoriCore;
namespace KotoriServer.Controllers
{
public class SiteController : Controller
{
Kotori _kotori;
/// <summary>
/// Initializes a new instance... | 27.441176 | 116 | 0.589496 |
27caa0135593f1cc271b443185c7229aec455954 | 916 | cs | C# | TicketCheckStation/Entity/model/BaseDataModel.cs | crazywolfcode/Ticket | 9e0c0d489b8921f20bcdd16822f60b0e4460aba9 | [
"MIT"
] | null | null | null | TicketCheckStation/Entity/model/BaseDataModel.cs | crazywolfcode/Ticket | 9e0c0d489b8921f20bcdd16822f60b0e4460aba9 | [
"MIT"
] | null | null | null | TicketCheckStation/Entity/model/BaseDataModel.cs | crazywolfcode/Ticket | 9e0c0d489b8921f20bcdd16822f60b0e4460aba9 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TicketCheckStation
{
public class BaseDataModel
{
private static String DateTimeFormat = "yyyy-MM-dd HH:mm:ss";
public static String GetSql(TableSync table)
{
... | 39.826087 | 230 | 0.677948 |
7e504150b6db5aaf1d1cb63c02fab693164c27cf | 9,460 | cs | C# | HKX2/Builders/hkaiNavMeshBuilder.cs | SyllabusGames/DSMapStudio | f102a4f6844c72a6e65a534e50ab2f77d01ce0ab | [
"MIT"
] | 128 | 2019-12-15T21:08:37.000Z | 2022-03-23T16:46:12.000Z | HKX2/Builders/hkaiNavMeshBuilder.cs | SyllabusGames/DSMapStudioRe | f102a4f6844c72a6e65a534e50ab2f77d01ce0ab | [
"MIT"
] | 22 | 2020-01-05T22:26:53.000Z | 2022-03-30T18:43:50.000Z | HKX2/Builders/hkaiNavMeshBuilder.cs | SyllabusGames/DSMapStudioRe | f102a4f6844c72a6e65a534e50ab2f77d01ce0ab | [
"MIT"
] | 27 | 2019-12-15T16:30:59.000Z | 2022-03-31T10:45:44.000Z | using System;
using System.Collections.Generic;
using System.Numerics;
using System.Runtime.InteropServices;
using System.Text;
namespace HKX2.Builders
{
public static class NavMeshNative
{
[DllImport("NavGen.dll")]
public static extern bool SetNavmeshBuildParams(float cs, float ch, float slop... | 39.58159 | 152 | 0.509725 |
d7f1e2f33cac763148911a20240cc26420348f5d | 292 | cs | C# | Sample/CQRSCode/Commands/CreateShoppingCart.cs | akselsson/CQRS-Demo | bede978418eb99966db7cbb78a81f277c28b36af | [
"Apache-2.0"
] | 1 | 2020-06-29T12:45:32.000Z | 2020-06-29T12:45:32.000Z | Sample/CQRSCode/Commands/CreateShoppingCart.cs | akselsson/CQRS-Demo | bede978418eb99966db7cbb78a81f277c28b36af | [
"Apache-2.0"
] | null | null | null | Sample/CQRSCode/Commands/CreateShoppingCart.cs | akselsson/CQRS-Demo | bede978418eb99966db7cbb78a81f277c28b36af | [
"Apache-2.0"
] | null | null | null | using System;
using CQRSlite.Commanding;
namespace CQRSCode.Commands
{
public class CreateShoppingCart : Command
{
public CreateShoppingCart(Guid id, int expectedVersion)
{
AggregateId = id;
ExpectedVersion = expectedVersion;
}
}
} | 20.857143 | 63 | 0.636986 |
5214905b54e6d9acd8dc0303254fc84a31483097 | 9,704 | cs | C# | src/IcpcResolver/Window/AwardUtilities.cs | hktkqj/IcpcResolver.Net | 8d16859e83f5762dbebb203cc53a717a9ec8ae0e | [
"MIT"
] | null | null | null | src/IcpcResolver/Window/AwardUtilities.cs | hktkqj/IcpcResolver.Net | 8d16859e83f5762dbebb203cc53a717a9ec8ae0e | [
"MIT"
] | null | null | null | src/IcpcResolver/Window/AwardUtilities.cs | hktkqj/IcpcResolver.Net | 8d16859e83f5762dbebb203cc53a717a9ec8ae0e | [
"MIT"
] | 1 | 2021-09-25T18:04:34.000Z | 2021-09-25T18:04:34.000Z | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Diagnostics;
namespace IcpcResolver.Window
{
class AwardUtilities
{
public List<TeamRankInfo> TeamRankInfos;
public List<FirstSolveInfo> FirstSolveInfos;
public string LastSolveTeamId;
... | 45.345794 | 120 | 0.587284 |
0c9e0dee658692fd082ad758ad6158882d9cf1ce | 1,626 | cs | C# | LEM_Editor_Files/Node_LEM/SettingScript/NodeLEM_Settings.cs | bestcolour/Linear-Event-Manager | 35aa6c2ba56817711acadcb3edcd91f0b899fcc2 | [
"MIT"
] | null | null | null | LEM_Editor_Files/Node_LEM/SettingScript/NodeLEM_Settings.cs | bestcolour/Linear-Event-Manager | 35aa6c2ba56817711acadcb3edcd91f0b899fcc2 | [
"MIT"
] | null | null | null | LEM_Editor_Files/Node_LEM/SettingScript/NodeLEM_Settings.cs | bestcolour/Linear-Event-Manager | 35aa6c2ba56817711acadcb3edcd91f0b899fcc2 | [
"MIT"
] | null | null | null | using UnityEngine;
namespace LEM_Editor
{
[CreateAssetMenu(fileName = k_DefaultFileName, menuName = "NodeLEM Settings"),]
public class NodeLEM_Settings : ScriptableObject
{
// <summary>
// DontSave = NodeEditor doesnt save itself at all,
// AlwaysSave = NodeEditor will always save ... | 42.789474 | 358 | 0.698032 |
8a2dfff6a533896c8b56fc946d6ae0f38ee7d414 | 979 | cs | C# | PR - Primer proyecto/Assets/Scripts/FollowCamera.cs | Alzound/Programacion-Redes | 1acb6752c97496a307b7c96bda2c5f86911fbbf8 | [
"MIT"
] | null | null | null | PR - Primer proyecto/Assets/Scripts/FollowCamera.cs | Alzound/Programacion-Redes | 1acb6752c97496a307b7c96bda2c5f86911fbbf8 | [
"MIT"
] | null | null | null | PR - Primer proyecto/Assets/Scripts/FollowCamera.cs | Alzound/Programacion-Redes | 1acb6752c97496a307b7c96bda2c5f86911fbbf8 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FollowCamera : MonoBehaviour
{
public Transform target;
public Vector3 offset = new Vector3(0, 1, 0);
public float speed = 100;
public float rotSpeed = 100;
public float height = 10;
public float distanc... | 27.971429 | 105 | 0.66905 |
23d7a59f9454a4f7dc4721f2a5fe3e77dde2daa4 | 2,714 | cs | C# | dotnet/FreieWahl/FreieWahl.Voting/Registrations/IRegistrationStore.cs | michivo/buergerchain | 83240a2e28086bc5ede9ef332cc44a0e31f26071 | [
"MIT"
] | 7 | 2018-05-03T06:18:31.000Z | 2019-04-02T08:28:53.000Z | dotnet/FreieWahl/FreieWahl.Voting/Registrations/IRegistrationStore.cs | michivo/buergerchain | 83240a2e28086bc5ede9ef332cc44a0e31f26071 | [
"MIT"
] | 23 | 2018-02-06T09:10:12.000Z | 2018-12-07T08:36:41.000Z | dotnet/FreieWahl/FreieWahl.Voting/Registrations/IRegistrationStore.cs | michivo/buergerchain | 83240a2e28086bc5ede9ef332cc44a0e31f26071 | [
"MIT"
] | null | null | null | using System.Collections.Generic;
using System.Threading.Tasks;
namespace FreieWahl.Voting.Registrations
{
/// <summary>
/// stores all open and completed registrations.
/// </summary>
public interface IRegistrationStore
{
/// <summary>
/// adds an open registration
... | 44.491803 | 141 | 0.633751 |
1e82cdc38fbbd673a56f0c3c71c47aed9b904748 | 23,739 | cs | C# | UI/Menus/LutMenu.designer.cs | AnthonyNystrom/MediImage | 97120573b5fd1db1928e5e44e422371aacdceaf6 | [
"Unlicense"
] | 3 | 2015-11-05T21:42:22.000Z | 2021-02-23T01:44:06.000Z | UI/Menus/LutMenu.designer.cs | AnthonyNystrom/MediImage | 97120573b5fd1db1928e5e44e422371aacdceaf6 | [
"Unlicense"
] | null | null | null | UI/Menus/LutMenu.designer.cs | AnthonyNystrom/MediImage | 97120573b5fd1db1928e5e44e422371aacdceaf6 | [
"Unlicense"
] | 1 | 2021-02-23T01:44:09.000Z | 2021-02-23T01:44:09.000Z | using Genetibase.NuGenMediImage.UI.Controls;
namespace Genetibase.NuGenMediImage.UI.Menus
{
partial class LutMenu
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
... | 61.65974 | 163 | 0.642698 |
3d8ad759d6f32572ba1536a2594c8dd0302e14b4 | 374 | cs | C# | asp.net-core-example/Proje.DataAccess/Concrete/EntityFrameworkCore/Repositories/EfUserRepository.cs | smskmrym/asp.net-core-example | af907e0f7fbe7fc05107a30ef831924aaba63a8d | [
"MIT"
] | null | null | null | asp.net-core-example/Proje.DataAccess/Concrete/EntityFrameworkCore/Repositories/EfUserRepository.cs | smskmrym/asp.net-core-example | af907e0f7fbe7fc05107a30ef831924aaba63a8d | [
"MIT"
] | null | null | null | asp.net-core-example/Proje.DataAccess/Concrete/EntityFrameworkCore/Repositories/EfUserRepository.cs | smskmrym/asp.net-core-example | af907e0f7fbe7fc05107a30ef831924aaba63a8d | [
"MIT"
] | null | null | null | using Proje.DataAccess.Concrete.EntityFrameworkCore.Contexts;
using Proje.DataAccess.Interfaces;
using Proje.Entities.Concrete;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Proje.DataAccess.Concrete.EntityFrameworkCore.Repositories
{
public class EfUserRepository... | 23.375 | 71 | 0.807487 |
fc7aedc4dd9e86fc96ed3981b7bdb83a95c451df | 977 | cs | C# | azure-mobileservices-net/sample/Documents.MobileServices.Todolist/Documents.MobileServices.Todolist/App_Start/WebApiConfig.cs | AndyTulpule/DocumentDb | b5e2728bc37421c053cf8b89c203c3ae166292b4 | [
"MIT"
] | null | null | null | azure-mobileservices-net/sample/Documents.MobileServices.Todolist/Documents.MobileServices.Todolist/App_Start/WebApiConfig.cs | AndyTulpule/DocumentDb | b5e2728bc37421c053cf8b89c203c3ae166292b4 | [
"MIT"
] | null | null | null | azure-mobileservices-net/sample/Documents.MobileServices.Todolist/Documents.MobileServices.Todolist/App_Start/WebApiConfig.cs | AndyTulpule/DocumentDb | b5e2728bc37421c053cf8b89c203c3ae166292b4 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Data.Entity;
using System.Web.Http;
using Documents.MobileServices.Todolist.DataObjects;
using Microsoft.WindowsAzure.Mobile.Service;
namespace Documents.MobileServices.Todolist
{
public static class WebApiConfig
... | 30.53125 | 92 | 0.698055 |
fc84c6761d13092d6b842901cdc36d9d6493b8cb | 526 | cs | C# | src/Sander0542.UnraidAPI.Types/ApiKey.cs | Sander0542/UnraidAPI | 1ec015357c405bf6ce19352dc43b613095f6e27f | [
"MIT"
] | null | null | null | src/Sander0542.UnraidAPI.Types/ApiKey.cs | Sander0542/UnraidAPI | 1ec015357c405bf6ce19352dc43b613095f6e27f | [
"MIT"
] | null | null | null | src/Sander0542.UnraidAPI.Types/ApiKey.cs | Sander0542/UnraidAPI | 1ec015357c405bf6ce19352dc43b613095f6e27f | [
"MIT"
] | null | null | null | using System.Text.Json.Serialization;
namespace Sander0542.UnraidAPI.Types
{
public class ApiKey
{
[JsonPropertyName("name")]
public string Name { get; set; }
[JsonPropertyName("key")]
public string Key { get; set; }
[JsonPropertyName("description")]
public st... | 22.869565 | 47 | 0.602662 |
fc9fc9043eb13b760151453bcea4c3af425c565c | 1,166 | cs | C# | Libraries/Atlas.Core/Extensions/DateTimeExtensions.cs | garyhertel/Atlas | 9e40967d87b31cd5e1eccb6e00ad46c645ad567a | [
"MIT"
] | 3 | 2021-04-12T03:46:15.000Z | 2022-02-10T04:15:37.000Z | Libraries/Atlas.Core/Extensions/DateTimeExtensions.cs | garyhertel/Atlas | 9e40967d87b31cd5e1eccb6e00ad46c645ad567a | [
"MIT"
] | null | null | null | Libraries/Atlas.Core/Extensions/DateTimeExtensions.cs | garyhertel/Atlas | 9e40967d87b31cd5e1eccb6e00ad46c645ad567a | [
"MIT"
] | null | null | null | using System;
namespace Atlas.Extensions
{
public static class DateTimeExtensions
{
public static DateTime Trim(this DateTime date, long ticks = TimeSpan.TicksPerSecond)
{
return new DateTime(date.Ticks - (date.Ticks % ticks), date.Kind);
}
public static DateTime Trim(this DateTime dateTime, TimeSpan tim... | 26.5 | 87 | 0.735849 |
fca2675cc9e2d580efd78bd0145d4503b8e6fe08 | 631 | cs | C# | Section_1_LaptopPricePrediction/src_1_6_end/SampleRegression.Model/DataModels/ModelOutput.cs | elrod68/Hands-On-Machine-Learning-for-.NET-Developers-V | df7061252a41057bbd0a89612c2ba0aa62326579 | [
"MIT"
] | null | null | null | Section_1_LaptopPricePrediction/src_1_6_end/SampleRegression.Model/DataModels/ModelOutput.cs | elrod68/Hands-On-Machine-Learning-for-.NET-Developers-V | df7061252a41057bbd0a89612c2ba0aa62326579 | [
"MIT"
] | null | null | null | Section_1_LaptopPricePrediction/src_1_6_end/SampleRegression.Model/DataModels/ModelOutput.cs | elrod68/Hands-On-Machine-Learning-for-.NET-Developers-V | df7061252a41057bbd0a89612c2ba0aa62326579 | [
"MIT"
] | null | null | null | //*****************************************************************************************
//* *
//* This is an auto-generated file by Microsoft ML.NET CLI (Command-Line Interface) tool. *
//* ... | 37.117647 | 91 | 0.290016 |
964e9be9807902a50562e1a1467ec85bbc9a07f7 | 966 | cs | C# | src/Cosmos.Serialization.MessagePack/Cosmos/Dynamic/DynamicEnums/DynamicEnumNameResolver.cs | alexinea/dotnet-static-pages | d76a122c51fa6c1e9dd75d923d0a9e9dbb79d5fc | [
"Apache-2.0"
] | 1 | 2020-02-19T16:14:08.000Z | 2020-02-19T16:14:08.000Z | src/Cosmos.Serialization.MessagePack/Cosmos/Dynamic/DynamicEnums/DynamicEnumNameResolver.cs | alexinea/dotnet-static-pages | d76a122c51fa6c1e9dd75d923d0a9e9dbb79d5fc | [
"Apache-2.0"
] | 1 | 2020-04-03T06:39:19.000Z | 2020-04-03T06:39:19.000Z | src/Cosmos.Serialization.MessagePack/Cosmos/Dynamic/DynamicEnums/DynamicEnumNameResolver.cs | alexinea/dotnet-static-pages | d76a122c51fa6c1e9dd75d923d0a9e9dbb79d5fc | [
"Apache-2.0"
] | null | null | null | using Cosmos.Reflection;
using MessagePack;
using MessagePack.Formatters;
namespace Cosmos.Dynamic.DynamicEnums
{
public class DynamicEnumNameResolver : IFormatterResolver
{
public static readonly DynamicEnumNameResolver Instance = new DynamicEnumNameResolver();
private DynamicEnumNameResolve... | 33.310345 | 110 | 0.651139 |
1fab38532fadc78c1340f3270a13a276a02ef40c | 818 | cs | C# | Kata3 - Tema/Kata3/Data/Book.cs | CristiCristea/DOT-NET---laboratoare | 514c6279f613e392cc1c38401d47d9c656350da8 | [
"Apache-2.0"
] | null | null | null | Kata3 - Tema/Kata3/Data/Book.cs | CristiCristea/DOT-NET---laboratoare | 514c6279f613e392cc1c38401d47d9c656350da8 | [
"Apache-2.0"
] | null | null | null | Kata3 - Tema/Kata3/Data/Book.cs | CristiCristea/DOT-NET---laboratoare | 514c6279f613e392cc1c38401d47d9c656350da8 | [
"Apache-2.0"
] | null | null | null | using System;
namespace Data
{
public class Book
{
private Book()
{
}
public Guid Id { get; private set; }
public string Title { get; private set; }
public int Year { get; private set; }
public double Price { get; private set; }
public string... | 21.526316 | 86 | 0.522005 |
ac4e76bc0f726b70b3aa0e19cd3030dce6a0971d | 3,400 | cs | C# | Manatee.Trello/Json/IJsonActionData.cs | alexrazv/Manatee.Trello | 42f00b5e7c33f6fabd6001dc60419114eea4c57b | [
"MIT"
] | 116 | 2016-06-24T12:26:01.000Z | 2022-03-24T12:00:53.000Z | Manatee.Trello/Json/IJsonActionData.cs | alexrazv/Manatee.Trello | 42f00b5e7c33f6fabd6001dc60419114eea4c57b | [
"MIT"
] | 236 | 2016-06-23T14:51:39.000Z | 2021-02-05T06:04:26.000Z | Manatee.Trello/Json/IJsonActionData.cs | alexrazv/Manatee.Trello | 42f00b5e7c33f6fabd6001dc60419114eea4c57b | [
"MIT"
] | 62 | 2016-06-23T14:47:55.000Z | 2022-02-28T13:06:27.000Z | using System;
namespace Manatee.Trello.Json
{
/// <summary>
/// Defines the JSON structure for the ActionData object.
/// </summary>
public interface IJsonActionData
{
/// <summary>
/// Gets or sets an attachment associated with the action if any.
/// </summary>
[JsonDeserialize]
IJsonAttac... | 30.630631 | 80 | 0.632647 |
879e7ae9a749208fed8386a834abe4bf88e573b0 | 1,371 | cs | C# | Microsoft.DotNet.ImageBuilder/src/Commands/GenerateTagsReadmeOptions.cs | dagood/docker-tools | 09774ae60c6616c294b651f22f557e2844d66a63 | [
"MIT"
] | null | null | null | Microsoft.DotNet.ImageBuilder/src/Commands/GenerateTagsReadmeOptions.cs | dagood/docker-tools | 09774ae60c6616c294b651f22f557e2844d66a63 | [
"MIT"
] | null | null | null | Microsoft.DotNet.ImageBuilder/src/Commands/GenerateTagsReadmeOptions.cs | dagood/docker-tools | 09774ae60c6616c294b651f22f557e2844d66a63 | [
"MIT"
] | null | null | null | // 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.CommandLine;
namespace Microsoft.DotNet.ImageBuilder.Commands
{
public class GenerateTagsReadmeOpt... | 34.275 | 102 | 0.651349 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.