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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d1f8ccf0d4d11d3542cc64fc3a07afdc1851436d | 697 | cs | C# | src/Xpdf.Wrapper.Tests/XpdfHelperTest.cs | masilver99/Xpdf.Wrapper | e476c2015cf9e8e369801d1deb08773043599d78 | [
"MIT"
] | null | null | null | src/Xpdf.Wrapper.Tests/XpdfHelperTest.cs | masilver99/Xpdf.Wrapper | e476c2015cf9e8e369801d1deb08773043599d78 | [
"MIT"
] | null | null | null | src/Xpdf.Wrapper.Tests/XpdfHelperTest.cs | masilver99/Xpdf.Wrapper | e476c2015cf9e8e369801d1deb08773043599d78 | [
"MIT"
] | 1 | 2020-11-15T05:26:25.000Z | 2020-11-15T05:26:25.000Z | namespace Xpdf.Wrapper.Tests
{
using System;
using System.IO;
using Xunit;
using Wrapper;
public class XpdfHelperTest
{
[Fact]
public void ToText_ShouldReturnText()
{
// Arrange
string workingDirectory;
#if NETCOREAPP1_1
workingDirec... | 21.78125 | 95 | 0.591105 |
df73d4111ee7b0fd19406fdc8456d319baeb2ada | 815 | cs | C# | Nextt_Gestao_Compra/Nextt_Gestao_Compra.Infre.CrossCutting/Helpers/AutoMapper/DomainToViewModelMappingProfile.cs | Philipe1985/NexttWeb | 06af07474cc2185c9fc3cf3555fdf3fcf1029608 | [
"MIT"
] | null | null | null | Nextt_Gestao_Compra/Nextt_Gestao_Compra.Infre.CrossCutting/Helpers/AutoMapper/DomainToViewModelMappingProfile.cs | Philipe1985/NexttWeb | 06af07474cc2185c9fc3cf3555fdf3fcf1029608 | [
"MIT"
] | null | null | null | Nextt_Gestao_Compra/Nextt_Gestao_Compra.Infre.CrossCutting/Helpers/AutoMapper/DomainToViewModelMappingProfile.cs | Philipe1985/NexttWeb | 06af07474cc2185c9fc3cf3555fdf3fcf1029608 | [
"MIT"
] | null | null | null | using AutoMapper;
using Nextt_Gestao_Compra.Aplicacao.ViewModel;
using Nextt_Gestao_Compra.Dominio.Entidades;
namespace Nextt_Gestao_Compra.Infre.CrossCutting.Helpers.AutoMapper
{
public class DomainToViewModelMappingProfile : Profile
{
public DomainToViewModelMappingProfile()
{
Cr... | 37.045455 | 124 | 0.692025 |
12c8c4d50928866daef5e55ac0c11a8c75414290 | 1,416 | cs | C# | Scripts/Gameplay/Pong/PUP.cs | TheKleee/SoccerMark | 47bcb17f3a40960a0315ccb21527ee88a2082e43 | [
"Apache-2.0"
] | null | null | null | Scripts/Gameplay/Pong/PUP.cs | TheKleee/SoccerMark | 47bcb17f3a40960a0315ccb21527ee88a2082e43 | [
"Apache-2.0"
] | null | null | null | Scripts/Gameplay/Pong/PUP.cs | TheKleee/SoccerMark | 47bcb17f3a40960a0315ccb21527ee88a2082e43 | [
"Apache-2.0"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using MEC;
public class PUP : MonoBehaviour
{
[Header("Power Type:")]
public PowerType pType;
[Header("Vfx:")]
public GameObject vfx;
float lifeSpan;
Vector3 scale = new Vector3(1.25f, 1.25f, 1.25f);... | 26.716981 | 68 | 0.531073 |
49a7a129eccba50b54520846e01c50d19070e0a2 | 1,218 | cs | C# | SystemChecker.Model/Data/Repositories/UserRepository.cs | MattJeanes/SystemChecker | e610f9c77154151b7b7ddb3cdfa6907965e8fd2b | [
"MIT"
] | 6 | 2018-03-21T16:53:20.000Z | 2022-01-16T11:31:24.000Z | SystemChecker.Model/Data/Repositories/UserRepository.cs | MattJeanes/SystemChecker | e610f9c77154151b7b7ddb3cdfa6907965e8fd2b | [
"MIT"
] | null | null | null | SystemChecker.Model/Data/Repositories/UserRepository.cs | MattJeanes/SystemChecker | e610f9c77154151b7b7ddb3cdfa6907965e8fd2b | [
"MIT"
] | 3 | 2018-05-01T14:34:49.000Z | 2020-04-07T09:58:31.000Z | using SystemChecker.Model.Data.Entities;
using SystemChecker.Model.Data.Interfaces;
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace SystemChecker.Model.Data.Repositories
{
public class UserRepository : Repository<User>, IUserRepository
{
pu... | 29 | 90 | 0.593596 |
c69a3584ec0b66ce446ae8c60bc9a1881f5717ef | 1,001 | cs | C# | UltraDAQ_Lite/Global/CGlobalColor.cs | AlbertZhaoz/NET_UltraDAQ | 2e9986072c6204e6708cd6eb7a1290aa944b4b3a | [
"Apache-2.0"
] | 2 | 2020-11-03T12:17:50.000Z | 2021-02-22T08:49:39.000Z | UltraDAQ_Lite/Global/CGlobalColor.cs | AlbertZhaoz/NET_UltraDAQ | 2e9986072c6204e6708cd6eb7a1290aa944b4b3a | [
"Apache-2.0"
] | null | null | null | UltraDAQ_Lite/Global/CGlobalColor.cs | AlbertZhaoz/NET_UltraDAQ | 2e9986072c6204e6708cd6eb7a1290aa944b4b3a | [
"Apache-2.0"
] | 1 | 2021-02-22T08:49:43.000Z | 2021-02-22T08:49:43.000Z | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace saker_Winform.Global
{
public class CGlobalColor
{
#region
/*波形线颜色*/
public static List<Color> lineColor = new List<Color> {
ColorT... | 30.333333 | 63 | 0.66034 |
7f4bc2a88a2b399cfea598811032646aa1f615b4 | 270 | cs | C# | aspnet/GrabzIt/COM/IGrabzItException.cs | Vman45/grabzit | 24d918c899cf5c1e585c5c5b7f2dd4527e9fef6c | [
"MIT"
] | 67 | 2015-06-30T14:19:00.000Z | 2022-03-30T23:17:11.000Z | aspnet/GrabzIt/COM/IGrabzItException.cs | RajuHarry/grabzit | 24d918c899cf5c1e585c5c5b7f2dd4527e9fef6c | [
"MIT"
] | 21 | 2016-06-04T20:36:59.000Z | 2022-02-26T03:34:52.000Z | aspnet/GrabzIt/COM/IGrabzItException.cs | RajuHarry/grabzit | 24d918c899cf5c1e585c5c5b7f2dd4527e9fef6c | [
"MIT"
] | 41 | 2015-04-14T19:15:19.000Z | 2022-01-29T18:28:10.000Z | using GrabzIt.Enums;
using System;
using System.Runtime.InteropServices;
namespace GrabzIt.COM
{
[InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
public interface IGrabzItException
{
ErrorCode Code
{
get;
}
}
}
| 16.875 | 58 | 0.655556 |
7ff91793fe80dfc927074980c2ddeebe24a36148 | 54,963 | cs | C# | Logger/Settings/EngineeringMode.designer.cs | Turux/ergofirmware | 20a11221c3c8f1fd2a86c2c881419e46d3a4c617 | [
"MIT"
] | null | null | null | Logger/Settings/EngineeringMode.designer.cs | Turux/ergofirmware | 20a11221c3c8f1fd2a86c2c881419e46d3a4c617 | [
"MIT"
] | null | null | null | Logger/Settings/EngineeringMode.designer.cs | Turux/ergofirmware | 20a11221c3c8f1fd2a86c2c881419e46d3a4c617 | [
"MIT"
] | null | null | null | namespace HMI
{
partial class EngineeringMode
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
#region Windows Form Designer generated code
/// <summary>
/// Required m... | 59.291262 | 103 | 0.629642 |
0575b46642fe924b90a1c7180e27b4878f8da825 | 1,583 | cs | C# | src/GlutSvrWeb/Services/GlutSvrExtensions.cs | vincoss/glut | 25de2a58881f47a852733666b901e42ddd634747 | [
"MS-PL"
] | 1 | 2021-02-18T13:40:05.000Z | 2021-02-18T13:40:05.000Z | src/GlutSvrWeb/Services/GlutSvrExtensions.cs | vincoss/glut | 25de2a58881f47a852733666b901e42ddd634747 | [
"MS-PL"
] | 10 | 2019-10-25T05:47:51.000Z | 2022-03-02T05:51:22.000Z | src/GlutSvrWeb/Services/GlutSvrExtensions.cs | vincoss/glut | 25de2a58881f47a852733666b901e42ddd634747 | [
"MS-PL"
] | null | null | null | using GlutSvrWeb.Dto;
using Microsoft.AspNetCore.Http;
using System;
using System.Linq;
namespace GlutSvrWeb.Services
{
public static class GlutSvrExtensions
{
public static decimal GetPercent(this decimal value, int totalItems)
{
if(totalItems <= 0)
{
... | 30.442308 | 119 | 0.538219 |
af8c423733194337fa2992bf3a4e56ea7a809262 | 1,515 | cs | C# | src/WWB.UnifyApi/Converter/LongToStringConverter.cs | my6521/WWB.UnifyApi | b4aaa32aacdc4b1858553cf752ae0bd70049cca3 | [
"MIT"
] | null | null | null | src/WWB.UnifyApi/Converter/LongToStringConverter.cs | my6521/WWB.UnifyApi | b4aaa32aacdc4b1858553cf752ae0bd70049cca3 | [
"MIT"
] | null | null | null | src/WWB.UnifyApi/Converter/LongToStringConverter.cs | my6521/WWB.UnifyApi | b4aaa32aacdc4b1858553cf752ae0bd70049cca3 | [
"MIT"
] | null | null | null | using Newtonsoft.Json;
using System;
namespace WWB.UnifyApi.Converter
{
public class LongToStringConverter : JsonConverter
{
/// <summary>
/// 是否开启自定义反序列化,值为true时,反序列化时会走ReadJson方法,值为false时,不走ReadJson方法,而是默认的反序列化
/// </summary>
public override bool CanRead => false;
//... | 29.705882 | 120 | 0.557096 |
d4c9d15dac8b17d6b78e40e5b5287910de5b3614 | 33,106 | cs | C# | source/Playnite/MetaProviders/MetadataDownloader.cs | Slippy2k/Playnite | 00285040bb3e22077006f3078d3c8ace372e595f | [
"MIT"
] | null | null | null | source/Playnite/MetaProviders/MetadataDownloader.cs | Slippy2k/Playnite | 00285040bb3e22077006f3078d3c8ace372e595f | [
"MIT"
] | null | null | null | source/Playnite/MetaProviders/MetadataDownloader.cs | Slippy2k/Playnite | 00285040bb3e22077006f3078d3c8ace372e595f | [
"MIT"
] | null | null | null | using NLog;
using Playnite.Database;
using Playnite.Models;
using Playnite.Providers.BattleNet;
using Playnite.Providers.GOG;
using Playnite.Providers.Origin;
using Playnite.Providers.Steam;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpres... | 37.663254 | 165 | 0.43693 |
8a75c28e590ecf2eb1d28c51a09d66abca138eb7 | 1,736 | cs | C# | 15.HexToDec/15.HexToDec.cs | opalqnka/CSharp-Part-6-Homework | 8f658557ef3f69579232ea1c19029ddb85b89f1a | [
"MIT"
] | null | null | null | 15.HexToDec/15.HexToDec.cs | opalqnka/CSharp-Part-6-Homework | 8f658557ef3f69579232ea1c19029ddb85b89f1a | [
"MIT"
] | null | null | null | 15.HexToDec/15.HexToDec.cs | opalqnka/CSharp-Part-6-Homework | 8f658557ef3f69579232ea1c19029ddb85b89f1a | [
"MIT"
] | null | null | null | /*Problem 15. Hexadecimal to Decimal Number
Using loops write a program that converts a hexadecimal integer number to its decimal form.
The input is entered as string. The output should be a variable of type long.
Do not use the built-in .NET functionality.
Examples:
hexadecimal decimal
FE 254
1AE3 ... | 32.148148 | 91 | 0.502304 |
1e23f2b30d78242720e100dc101f779b494f69c4 | 1,330 | cshtml | C# | ColumbiaPT/Views/Home/Index.cshtml | demitrih/ColumbiaPT | 09883244a26be9e9540d5c53e78e28b4bad5115a | [
"MIT"
] | null | null | null | ColumbiaPT/Views/Home/Index.cshtml | demitrih/ColumbiaPT | 09883244a26be9e9540d5c53e78e28b4bad5115a | [
"MIT"
] | null | null | null | ColumbiaPT/Views/Home/Index.cshtml | demitrih/ColumbiaPT | 09883244a26be9e9540d5c53e78e28b4bad5115a | [
"MIT"
] | null | null | null | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a href="" class="btn btn-primary btn-lg">Learn more »</a></p>
</div>
<div class="r... | 42.903226 | 138 | 0.62406 |
1e92056290204c7374a94a8182f9d9c688e1da0d | 1,237 | cs | C# | LocalPackages/net.peeweek.build-frontend/Editor/Assets/SceneListAssetFactory.cs | peeweek/HDSimpleGame | 503dce5b91c90809b21320c50802c7a66dcf7d22 | [
"MIT"
] | 56 | 2019-02-01T23:08:22.000Z | 2022-03-26T04:04:20.000Z | LocalPackages/net.peeweek.build-frontend/Editor/Assets/SceneListAssetFactory.cs | AlexChesser/HDSimpleGame | e99b32b656c6f68f0ced48d884b82dc79de94394 | [
"MIT"
] | 2 | 2019-09-18T01:12:42.000Z | 2021-05-28T17:37:00.000Z | LocalPackages/net.peeweek.build-frontend/Editor/Assets/SceneListAssetFactory.cs | AlexChesser/HDSimpleGame | e99b32b656c6f68f0ced48d884b82dc79de94394 | [
"MIT"
] | 13 | 2019-02-02T04:51:44.000Z | 2022-03-29T09:51:36.000Z | using UnityEngine;
using UnityEditor.Callbacks;
using UnityEditor.ProjectWindowCallback;
using System.IO;
namespace UnityEditor.VFXToolbox.ImageSequencer
{
internal class SceneListAssetFactory
{
[MenuItem("Assets/Create/Build/Scene List", priority = BuildFrontend.CreateAssetMenuPriority)]
priva... | 35.342857 | 165 | 0.696847 |
fcc9e2a289dac416214287da98b047f4fc3dc3fa | 561 | cs | C# | Nonograms/Assets/Scripts/LevelManager.cs | santanor/Nonograms | 454a67f1cb10a1af041090654a44a57d2c46dd9a | [
"Apache-2.0"
] | 1 | 2015-06-20T12:33:54.000Z | 2015-06-20T12:33:54.000Z | Nonograms/Assets/Scripts/LevelManager.cs | santanor/Nonograms | 454a67f1cb10a1af041090654a44a57d2c46dd9a | [
"Apache-2.0"
] | null | null | null | Nonograms/Assets/Scripts/LevelManager.cs | santanor/Nonograms | 454a67f1cb10a1af041090654a44a57d2c46dd9a | [
"Apache-2.0"
] | null | null | null | using UnityEngine;
using System.Collections;
public class LevelManager : MonoBehaviour {
// Use this for initialization
void Start ()
{
FindObjectOfType<PanelValidator>().onPanelValidated += onPanelValidated;
}
void onPanelValidated(bool isValid)
{
if(isValid)
{
GameObject go = new GameObject("Lev... | 20.035714 | 75 | 0.702317 |
966ed37118309248f31533adea4adb29a254b7e0 | 270 | cs | C# | ProjectManagement/ProjectManagement/Commun/Observer/IAuthObserver.cs | manh-hoang-nguyen/BIM4PM-AddinRevit | c1471e1dae3b8de92d891797a366819a0e52c824 | [
"MIT"
] | 2 | 2020-02-20T17:52:25.000Z | 2020-05-27T07:59:41.000Z | ProjectManagement/ProjectManagement/Commun/Observer/IAuthObserver.cs | manh-hoang-nguyen/BIM4PM-AddinRevit | c1471e1dae3b8de92d891797a366819a0e52c824 | [
"MIT"
] | null | null | null | ProjectManagement/ProjectManagement/Commun/Observer/IAuthObserver.cs | manh-hoang-nguyen/BIM4PM-AddinRevit | c1471e1dae3b8de92d891797a366819a0e52c824 | [
"MIT"
] | 1 | 2020-12-15T02:13:32.000Z | 2020-12-15T02:13:32.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BIM4PM.UI.Commun
{
public interface IAuthObserver
{
// Receive update from subject
void Update(IAuth subject);
}
}
| 18 | 38 | 0.711111 |
87802d2f688fddbf617fd08ae7c7d7b7dea22d8e | 541 | cs | C# | src/QSP/LibraryExtension/English.cs | JetStream96/QSimPlanner | fcd207a90bd0db9f7bd6e92a44fc2eccce3e680a | [
"MIT"
] | 60 | 2016-07-29T17:22:09.000Z | 2022-03-12T08:21:26.000Z | src/QSP/LibraryExtension/English.cs | rklomp/QSimPlanner | 0395089da87c38646e7a0f7f37d26b44027b982c | [
"MIT"
] | 30 | 2016-08-07T07:34:25.000Z | 2021-09-11T07:03:53.000Z | src/QSP/LibraryExtension/English.cs | rklomp/QSimPlanner | 0395089da87c38646e7a0f7f37d26b44027b982c | [
"MIT"
] | 23 | 2017-07-13T23:53:05.000Z | 2022-03-03T23:31:44.000Z | using System.Collections.Generic;
using System.Linq;
namespace QSP.LibraryExtension
{
public static class English
{
public static string Combined(this IReadOnlyList<string> items)
{
var count = items.Count;
if (count == 1) return items[0];
return string.Join... | 27.05 | 89 | 0.580407 |
e21906a0f07f908f2481cfee631518e436f88f3e | 2,694 | cs | C# | Data Structures and Algorithms/Homework Assignments/11. Graphs and Graph Algorithms/NGenerics/Threading/AsyncCompletedEventArgs.cs | vic-alexiev/TelerikAcademy | 251ef33b69dea596eef4caaad674b2ba6489a863 | [
"MIT"
] | 4 | 2015-10-17T11:56:32.000Z | 2017-05-04T20:47:23.000Z | Data Structures and Algorithms/Homework Assignments/11. Graphs and Graph Algorithms/NGenerics/Threading/AsyncCompletedEventArgs.cs | vic-alexiev/TelerikAcademy | 251ef33b69dea596eef4caaad674b2ba6489a863 | [
"MIT"
] | null | null | null | Data Structures and Algorithms/Homework Assignments/11. Graphs and Graph Algorithms/NGenerics/Threading/AsyncCompletedEventArgs.cs | vic-alexiev/TelerikAcademy | 251ef33b69dea596eef4caaad674b2ba6489a863 | [
"MIT"
] | 13 | 2015-03-05T06:44:55.000Z | 2020-02-15T14:08:10.000Z | /*
Copyright 2007-2013 The NGenerics Team
(https://github.com/ngenerics/ngenerics/wiki/Team)
This program is licensed under the GNU Lesser General Public License (LGPL). You should
have received a copy of the license along with the source code. If not, an online copy
of the license can be found at http://ww... | 34.987013 | 122 | 0.611359 |
3e8a400322fc8b14919fe55176722f7e4d7ea683 | 290 | cs | C# | src/FluentDiagrams/Filters/FilterChain.cs | ctollerud/FluentDiagrams | a7b194e7d5bc734513519a85257c74bd60bceaa7 | [
"MIT"
] | null | null | null | src/FluentDiagrams/Filters/FilterChain.cs | ctollerud/FluentDiagrams | a7b194e7d5bc734513519a85257c74bd60bceaa7 | [
"MIT"
] | null | null | null | src/FluentDiagrams/Filters/FilterChain.cs | ctollerud/FluentDiagrams | a7b194e7d5bc734513519a85257c74bd60bceaa7 | [
"MIT"
] | null | null | null | using System.Collections.Generic;
namespace FluentDiagrams.Core.Filters
{
public class FilterChain : IFilterComponent
{
public FilterChain( ICollection<IFilterComponent> components )
{
Components = components;
}
public ICollection<IFilterComponent> Components { get; }
}
}
| 19.333333 | 64 | 0.762069 |
2089178fd2b1aad1469b6f037dcc4fabf681d63c | 446 | cs | C# | Model/EventInfo.cs | IdleLands/DesktopFE | 3268009e1c371f18554678ed18faeb7b8c3c9b04 | [
"MIT"
] | 1 | 2015-04-19T15:42:51.000Z | 2015-04-19T15:42:51.000Z | Model/EventInfo.cs | IdleLands/DesktopFE | 3268009e1c371f18554678ed18faeb7b8c3c9b04 | [
"MIT"
] | 8 | 2015-01-23T14:55:57.000Z | 2015-02-09T20:41:06.000Z | Model/EventInfo.cs | IdleLands/DesktopFE | 3268009e1c371f18554678ed18faeb7b8c3c9b04 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IdleLandsGUI.Model
{
public class EventInfo
{
public string createdAt { get; set; }
public string player { get; set; }
public string message { get; set; }
... | 23.473684 | 45 | 0.634529 |
96f83b248d3830feee7b3fcd1170f4829a3b16ee | 2,566 | cs | C# | source/Raml.Parser/Builders/MethodBuilder.cs | raml-org/raml-dotnet-parser-2 | 9ad3eddbe8de7a0f23fc4753c2769384a26fcd81 | [
"Apache-2.0"
] | 16 | 2016-09-22T20:54:29.000Z | 2019-01-28T19:46:55.000Z | source/Raml.Parser/Builders/MethodBuilder.cs | raml-org/raml-dotnet-parser-2 | 9ad3eddbe8de7a0f23fc4753c2769384a26fcd81 | [
"Apache-2.0"
] | 21 | 2016-09-07T14:44:40.000Z | 2019-03-01T14:21:12.000Z | source/Raml.Parser/Builders/MethodBuilder.cs | raml-org/raml-dotnet-parser-2 | 9ad3eddbe8de7a0f23fc4753c2769384a26fcd81 | [
"Apache-2.0"
] | 9 | 2015-11-13T01:12:52.000Z | 2019-04-30T18:50:51.000Z | using System;
using System.Collections.Generic;
using System.Dynamic;
using Raml.Parser.Expressions;
namespace Raml.Parser.Builders
{
public class MethodBuilder
{
public Method Build(IDictionary<string, object> dynamicRaml, string defaultMediaType)
{
var method = new Method();
new BasicInfoBuilder(... | 35.150685 | 117 | 0.708496 |
8c38aedf77ff6c94e0a96885d640c7a440476c8e | 537 | cs | C# | Project1WebApp/Project1.DataAccess/Entities/Product.cs | 1909-sep30-net/marielle-project1 | 38b9751b59caa78549c9ad7e53cd0925ac093fea | [
"MIT"
] | null | null | null | Project1WebApp/Project1.DataAccess/Entities/Product.cs | 1909-sep30-net/marielle-project1 | 38b9751b59caa78549c9ad7e53cd0925ac093fea | [
"MIT"
] | null | null | null | Project1WebApp/Project1.DataAccess/Entities/Product.cs | 1909-sep30-net/marielle-project1 | 38b9751b59caa78549c9ad7e53cd0925ac093fea | [
"MIT"
] | null | null | null | using System.Collections.Generic;
namespace Project1.DataAccess.Entities
{
public partial class Product
{
public Product()
{
CustOrder = new HashSet<CustOrder>();
Inventory = new HashSet<Inventory>();
}
public int ProductId { get; set; }
public ... | 26.85 | 69 | 0.603352 |
f139759eddfc33959882ed9d02149d127bf90390 | 1,240 | cs | C# | src/AdventOfCode/Year2016/Day06.cs | andreibsk/AdventOfCode | d85010456733315c3ae6107b162c80c777935435 | [
"MIT"
] | 2 | 2019-12-21T21:38:16.000Z | 2020-11-17T12:11:42.000Z | src/AdventOfCode/Year2016/Day06.cs | andreibsk/AdventOfCode | d85010456733315c3ae6107b162c80c777935435 | [
"MIT"
] | 1 | 2021-03-02T18:28:09.000Z | 2021-03-02T18:28:09.000Z | src/AdventOfCode/Year2016/Day06.cs | andreibsk/AdventOfCode | d85010456733315c3ae6107b162c80c777935435 | [
"MIT"
] | 1 | 2019-12-17T17:01:03.000Z | 2019-12-17T17:01:03.000Z | namespace AdventOfCode.Year2016;
public class Day06 : Puzzle
{
private readonly string[] _messages;
public Day06(string[] input) : base(input)
{
_messages = input;
}
public override DateTime Date => new DateTime(2016, 12, 6);
public override string Title => "Signals and Noise";
public override string? Calc... | 28.837209 | 66 | 0.609677 |
0e4476128f9ea37cb09c7af376140a998acb623e | 542 | cs | C# | MenuController.cs | alexbochel/SaveThePigs | 48c13425c923e891e219fc81fc0fdc14824bdaf7 | [
"Apache-2.0"
] | null | null | null | MenuController.cs | alexbochel/SaveThePigs | 48c13425c923e891e219fc81fc0fdc14824bdaf7 | [
"Apache-2.0"
] | null | null | null | MenuController.cs | alexbochel/SaveThePigs | 48c13425c923e891e219fc81fc0fdc14824bdaf7 | [
"Apache-2.0"
] | null | null | null | using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
using UnityEngine.SocialPlatforms.GameCenter;
/**
* This class allows for the changing of scenes.
*
* @version 1.5.2016
* @author Alexander James Bochel
*/
public class MenuController : MonoBehaviour
{
/**
... | 21.68 | 53 | 0.653137 |
4e3898edeec47830c13f643c72ccdcc78a5bfa67 | 29,789 | cs | C# | Amazon.IonDotnet/Internals/PagedWriterBuffer.cs | carolinemengbq/ion-dotnet | 3b18595ad659c84d7cc3311640b60078500b8436 | [
"Apache-2.0"
] | null | null | null | Amazon.IonDotnet/Internals/PagedWriterBuffer.cs | carolinemengbq/ion-dotnet | 3b18595ad659c84d7cc3311640b60078500b8436 | [
"Apache-2.0"
] | null | null | null | Amazon.IonDotnet/Internals/PagedWriterBuffer.cs | carolinemengbq/ion-dotnet | 3b18595ad659c84d7cc3311640b60078500b8436 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2020 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://www.apache.org/licenses/LICENSE-2.0
*
* or in the... | 39.299472 | 150 | 0.56061 |
fabee25e964fb9c417ba9a8b2c0e520c90afb1d6 | 1,801 | cs | C# | src/Raider.Services/Commands/VoidCommandHandler.cs | raider-net/Raider | faed8a1c045258c603a846e04da8521dbf4a087a | [
"Apache-2.0"
] | 3 | 2021-01-27T20:31:15.000Z | 2021-01-28T07:17:00.000Z | src/Raider.Services/Commands/VoidCommandHandler.cs | raider-net/Raider | faed8a1c045258c603a846e04da8521dbf4a087a | [
"Apache-2.0"
] | null | null | null | src/Raider.Services/Commands/VoidCommandHandler.cs | raider-net/Raider | faed8a1c045258c603a846e04da8521dbf4a087a | [
"Apache-2.0"
] | null | null | null | using Raider.Commands;
using Raider.Services.Aspects;
using System;
namespace Raider.Services.Commands
{
public abstract class CommandHandler<TCommand, TContext, TBuilder> : ICommandHandler<TCommand>, IDisposable
where TCommand : ICommand
where TContext : CommandHandlerContext
where TBuilder : CommandHandle... | 37.520833 | 140 | 0.780677 |
ddf2e68c50470a5bb79d584511c0ac49723f73f9 | 4,393 | cs | C# | Shared/UIPath.Dropbox.Shared.Activities/AsyncTaskCodeActivity.cs | aefox/UIPath.Dropbox.Activities | 3e5665447aade76fb066e00237ece837b21859dc | [
"MIT"
] | 1 | 2018-12-25T11:18:06.000Z | 2018-12-25T11:18:06.000Z | Shared/UIPath.Dropbox.Shared.Activities/AsyncTaskCodeActivity.cs | aefox/UIPath.Dropbox.Activities | 3e5665447aade76fb066e00237ece837b21859dc | [
"MIT"
] | null | null | null | Shared/UIPath.Dropbox.Shared.Activities/AsyncTaskCodeActivity.cs | aefox/UIPath.Dropbox.Activities | 3e5665447aade76fb066e00237ece837b21859dc | [
"MIT"
] | null | null | null | using System;
using System.Activities;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
namespace UIPath.Dropbox.Shared.Activities
{
public abstract class AsyncTaskCodeActivity : AsyncCodeActivity, IDisposable
{
private CancellationTokenSource _cancellation... | 33.030075 | 156 | 0.57455 |
fbef2334e78e5c10ac02d386152cce255e3888d3 | 353 | cs | C# | SymLinker.Linker/LinkCreators/LinuxSymLinkCreator.cs | huffSamuel/SymLinker | 12ec3ba742a4517253e1e2c217a3d6d36cbbdc6f | [
"MIT"
] | 10 | 2017-10-15T00:12:33.000Z | 2022-03-18T12:10:54.000Z | SymLinker.Linker/LinkCreators/LinuxSymLinkCreator.cs | huffSamuel/SymLinker | 12ec3ba742a4517253e1e2c217a3d6d36cbbdc6f | [
"MIT"
] | null | null | null | SymLinker.Linker/LinkCreators/LinuxSymLinkCreator.cs | huffSamuel/SymLinker | 12ec3ba742a4517253e1e2c217a3d6d36cbbdc6f | [
"MIT"
] | 3 | 2019-08-11T15:50:24.000Z | 2020-03-16T00:09:51.000Z | using System;
using System.Collections.Generic;
using System.Text;
namespace SymLinker.Linker.LinkCreators
{
internal class LinuxSymLinkCreator : ISymLinkCreator
{
public bool CreateSymLink(string linkPath, string targetPath, bool file)
{
throw new NotImplementedException("LinuxSym... | 23.533333 | 80 | 0.705382 |
220d2943bae4bc59eb808b0222c85ce271ce1b21 | 2,595 | cs | C# | LanguagePicker.cs | nightstrike/GoodMerge2 | 7260e4c76749a9ca301f5994c763485d416e410d | [
"BSD-3-Clause"
] | 3 | 2017-07-08T03:18:30.000Z | 2022-03-23T13:24:31.000Z | LanguagePicker.cs | nightstrike/GoodMerge2 | 7260e4c76749a9ca301f5994c763485d416e410d | [
"BSD-3-Clause"
] | null | null | null | LanguagePicker.cs | nightstrike/GoodMerge2 | 7260e4c76749a9ca301f5994c763485d416e410d | [
"BSD-3-Clause"
] | 8 | 2017-07-08T03:18:32.000Z | 2022-02-15T06:19:24.000Z | using System;
using System.Xml;
using System.Drawing;
using System.Reflection;
using System.Windows.Forms;
namespace GoodMerge {
public class LanguagePicker : Form {
public TreeView Tree;
private Button ButtonOK;
private ImageList Images;
public LanguagePicker(XmlNodeList xnl) {... | 37.071429 | 142 | 0.528709 |
d01c5d9ad12bb116fa389cf1c3239d4d07dffa2e | 416 | cs | C# | Indexer/DataStructures/UrlSiteMapperRecord.cs | pourmand1376/Crawler | 7e727a2c5ade77ce46ee92cfd7dd7b6a21d0c4a6 | [
"MIT"
] | 1 | 2019-07-15T11:09:55.000Z | 2019-07-15T11:09:55.000Z | Indexer/DataStructures/UrlSiteMapperRecord.cs | pourmand1376/Crawler | 7e727a2c5ade77ce46ee92cfd7dd7b6a21d0c4a6 | [
"MIT"
] | null | null | null | Indexer/DataStructures/UrlSiteMapperRecord.cs | pourmand1376/Crawler | 7e727a2c5ade77ce46ee92cfd7dd7b6a21d0c4a6 | [
"MIT"
] | null | null | null | using LiteDB;
namespace Indexer
{
public class UrlSiteMapperRecord
{
[BsonId]
//کد ذخیره شده سایت
public int Id { get; set; }
//ادرس
[BsonField]
public string Url { get; set; }
//خلاصه یا چکیده سایت
[BsonField]
public string Abstract { ge... | 19.809524 | 44 | 0.519231 |
d03d2a88625837d310ffaa4097dd52ff8806db5d | 3,955 | cs | C# | src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/NativeMemory.cs | berkansasmaz/runtime | 7626c5d8be527d6735eddcdc7c97423211d8f9e9 | [
"MIT"
] | null | null | null | src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/NativeMemory.cs | berkansasmaz/runtime | 7626c5d8be527d6735eddcdc7c97423211d8f9e9 | [
"MIT"
] | null | null | null | src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/NativeMemory.cs | berkansasmaz/runtime | 7626c5d8be527d6735eddcdc7c97423211d8f9e9 | [
"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.
using System.Numerics;
using System.Runtime.CompilerServices;
namespace System.Runtime.InteropServices
{
public static unsafe partial class NativeMemory
{
/// <summa... | 59.029851 | 255 | 0.650063 |
7896cbc8160342dace2ca88b58ccbee4b2c0eb7a | 844 | cs | C# | Inheritance/Inheritance_Product_Info/Form1.cs | kadir-code/OOP_Applications | 3257c28a455bf58ef397088eb6d6428d301faea3 | [
"MIT"
] | 6 | 2021-10-01T15:34:12.000Z | 2021-12-20T16:05:28.000Z | Inheritance/Inheritance_Product_Info/Form1.cs | kadir-code/OOP_Applications | 3257c28a455bf58ef397088eb6d6428d301faea3 | [
"MIT"
] | null | null | null | Inheritance/Inheritance_Product_Info/Form1.cs | kadir-code/OOP_Applications | 3257c28a455bf58ef397088eb6d6428d301faea3 | [
"MIT"
] | null | null | null | using Inheritance_Product.Models.Entities;
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;
namespace Inheritance_Product
{
public parti... | 27.225806 | 150 | 0.627962 |
2d5863af1b65318697e8403c9f037439a48ab890 | 2,511 | cs | C# | Site/Startup.cs | Vladimir-Zakharenkov/shevkunenko.site | 0c8978b9896f7232a903db75f400d34a976f8b2f | [
"Unlicense"
] | null | null | null | Site/Startup.cs | Vladimir-Zakharenkov/shevkunenko.site | 0c8978b9896f7232a903db75f400d34a976f8b2f | [
"Unlicense"
] | null | null | null | Site/Startup.cs | Vladimir-Zakharenkov/shevkunenko.site | 0c8978b9896f7232a903db75f400d34a976f8b2f | [
"Unlicense"
] | null | null | null | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.WebEncoders;
using System.Text.Encodings.Web;
using System.Text.Unicode;
using Microsoft.Extensions.Configuration;
using Microsoft.Entity... | 31.78481 | 104 | 0.626045 |
d541a1267a1001b6733342cd5aad290a67b106c9 | 463 | cs | C# | Source/SpinTwitter/Models/TootVisibility.cs | MihaMarkic/SpinTwitter | 16d349749f5767205d94c51c0e6aa7e735f12d39 | [
"MIT"
] | null | null | null | Source/SpinTwitter/Models/TootVisibility.cs | MihaMarkic/SpinTwitter | 16d349749f5767205d94c51c0e6aa7e735f12d39 | [
"MIT"
] | 8 | 2019-04-08T12:40:41.000Z | 2020-03-14T10:34:32.000Z | Source/SpinTwitter/Models/TootVisibility.cs | MihaMarkic/SpinTwitter | 16d349749f5767205d94c51c0e6aa7e735f12d39 | [
"MIT"
] | null | null | null | namespace SpinTwitter.Models
{
/// <summary>
/// Toot visibility
/// </summary>
public enum TootVisibility
{
/// <summary>
/// public
/// </summary>
Public,
/// <summary>
/// unlisted
/// </summary>
Unlisted,
/// <summary>
... | 17.807692 | 30 | 0.406048 |
641aae97f592c26f33928b65c2b5cb79dde93b14 | 5,382 | cs | C# | tests/Microsoft.AspNet.SignalR.Client.Tests/Client/Transports/AutoTransportFacts.cs | jbruening/SignalR | 3a219c101587333d562f04f30903d50ad9773e1c | [
"Apache-2.0"
] | 2 | 2015-11-14T16:25:46.000Z | 2016-03-28T00:18:29.000Z | tests/Microsoft.AspNet.SignalR.Client.Tests/Client/Transports/AutoTransportFacts.cs | jbruening/SignalR | 3a219c101587333d562f04f30903d50ad9773e1c | [
"Apache-2.0"
] | 1 | 2019-06-25T05:56:05.000Z | 2019-06-25T05:56:05.000Z | tests/Microsoft.AspNet.SignalR.Client.Tests/Client/Transports/AutoTransportFacts.cs | jbruening/SignalR | 3a219c101587333d562f04f30903d50ad9773e1c | [
"Apache-2.0"
] | 2 | 2021-08-12T19:25:10.000Z | 2021-09-17T15:52:32.000Z |
using System;
using System.Collections.Generic;
using System.Threading;
using Microsoft.AspNet.SignalR.Client.Http;
using Microsoft.AspNet.SignalR.Client.Infrastructure;
using Moq;
using System.Threading.Tasks;
using Moq.Protected;
using Xunit;
using Newtonsoft.Json;
namespace Microsoft.AspNet.SignalR.Client.Transpo... | 46.396552 | 129 | 0.607952 |
64fbebed62675aa391264c21c1e15f1f4c47afcd | 6,161 | cs | C# | tracer/src/Datadog.Trace/Activity/ActivityListenerDelegatesBuilder.cs | DataDog/dd-trace-csharp | f89656714d76f1254ceb426b84ecb16ebc7ab270 | [
"Apache-2.0"
] | 13 | 2018-09-15T07:51:10.000Z | 2018-11-18T13:48:22.000Z | tracer/src/Datadog.Trace/Activity/ActivityListenerDelegatesBuilder.cs | DataDog/dd-trace-csharp | f89656714d76f1254ceb426b84ecb16ebc7ab270 | [
"Apache-2.0"
] | 38 | 2018-08-17T16:12:02.000Z | 2018-11-19T23:30:25.000Z | tracer/src/Datadog.Trace/Activity/ActivityListenerDelegatesBuilder.cs | DataDog/dd-trace-csharp | f89656714d76f1254ceb426b84ecb16ebc7ab270 | [
"Apache-2.0"
] | 7 | 2018-09-11T13:04:27.000Z | 2018-11-13T17:18:14.000Z | // <copyright file="ActivityListenerDelegatesBuilder.cs" company="Datadog">
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2017 Datadog, Inc.
// </copyright>
#null... | 41.628378 | 202 | 0.639182 |
a4261cf5c6e796112973d75b650a55d0c4424f05 | 12,289 | cs | C# | library/Peregrine.Library/perStringHelper.cs | Peregrine66/PeregrinesView | ab050ccdaa307145d5ab4816f5f2fec92667bdb3 | [
"MIT"
] | 17 | 2018-04-04T16:21:05.000Z | 2021-12-16T09:14:30.000Z | library/Peregrine.Library/perStringHelper.cs | Shystee/PeregrinesView | ab050ccdaa307145d5ab4816f5f2fec92667bdb3 | [
"MIT"
] | 2 | 2018-05-24T19:37:27.000Z | 2021-02-17T09:15:36.000Z | library/Peregrine.Library/perStringHelper.cs | Shystee/PeregrinesView | ab050ccdaa307145d5ab4816f5f2fec92667bdb3 | [
"MIT"
] | 7 | 2018-10-18T09:41:52.000Z | 2021-12-02T06:26:21.000Z | using System.Linq;
using System.Text.RegularExpressions;
namespace Peregrine.Library
{
using System.Globalization;
using System.Text;
public static class perStringHelper
{
/// <summary>
/// Convert a byte array to a string using Ascii encoding
/// </summary>
/// <param... | 41.79932 | 194 | 0.578322 |
bd2ed44800cc955419d5782fae48f492874a1528 | 2,433 | cs | C# | AdvancedCollections/CitiesByContinenAndCountry/Program.cs | NikolaVodenicharov/ProgrammingFundamentalsExtended | 01a38b6c70190770a3500d6556e8c12f6e2fa5e2 | [
"MIT"
] | null | null | null | AdvancedCollections/CitiesByContinenAndCountry/Program.cs | NikolaVodenicharov/ProgrammingFundamentalsExtended | 01a38b6c70190770a3500d6556e8c12f6e2fa5e2 | [
"MIT"
] | null | null | null | AdvancedCollections/CitiesByContinenAndCountry/Program.cs | NikolaVodenicharov/ProgrammingFundamentalsExtended | 01a38b6c70190770a3500d6556e8c12f6e2fa5e2 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CitiesByContinenAndCountry
{
class Program
{
static void Main(string[] args)
{
var continentCountryCity = new Dictionary<string, Dictionary<string, List<str... | 35.779412 | 168 | 0.5709 |
e06eb571d77504d22ccc4a22bf61c409643d5739 | 1,689 | cs | C# | Assets/HoloToolkit-Examples/Medical/Scripts/TapToPlaceScene.cs | CMDann/hololense-starter | 478305748990454e637865f04059b01bd625932c | [
"MIT"
] | 5 | 2017-05-22T03:41:36.000Z | 2020-11-19T21:34:58.000Z | Assets/HoloToolkit-Examples/Medical/Scripts/TapToPlaceScene.cs | CMDann/hololense-starter | 478305748990454e637865f04059b01bd625932c | [
"MIT"
] | null | null | null | Assets/HoloToolkit-Examples/Medical/Scripts/TapToPlaceScene.cs | CMDann/hololense-starter | 478305748990454e637865f04059b01bd625932c | [
"MIT"
] | 1 | 2019-08-15T14:02:16.000Z | 2019-08-15T14:02:16.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using HoloToolkit.Unity.InputModule;
using UnityEngine;
namespace HoloToolkit.Unity
{
/// <summary>
/// Lightweight game object placement
/// ... | 28.627119 | 92 | 0.554174 |
34d5e15080ce253af24223e06c2639cc77247fd4 | 1,094 | cs | C# | Grumpy.Common/Interfaces/IProcessInformation.cs | GrumpyBusted/Grumpy.Common | 877fdafdc1a3f34defc2ccac9ede1530db0f41ff | [
"MIT"
] | 1 | 2018-01-12T22:24:52.000Z | 2018-01-12T22:24:52.000Z | Grumpy.Common/Interfaces/IProcessInformation.cs | GrumpyBusted/Grumpy.Common | 877fdafdc1a3f34defc2ccac9ede1530db0f41ff | [
"MIT"
] | null | null | null | Grumpy.Common/Interfaces/IProcessInformation.cs | GrumpyBusted/Grumpy.Common | 877fdafdc1a3f34defc2ccac9ede1530db0f41ff | [
"MIT"
] | 1 | 2019-07-25T09:31:18.000Z | 2019-07-25T09:31:18.000Z | namespace Grumpy.Common.Interfaces
{
/// <summary>
/// Get information about the current process and session
/// </summary>
public interface IProcessInformation
{
/// <summary>
/// Application Name
/// </summary>
string ApplicationName { get; }
/// <... | 22.791667 | 61 | 0.449726 |
2bacc7c53f9fa544fe630828bc9a2353be543318 | 2,091 | cs | C# | Form1.cs | pabloatien/Veterinario_2021 | 1e8770bc9a1f3ff8ffe54ce3d4eca6a40f045621 | [
"0BSD"
] | null | null | null | Form1.cs | pabloatien/Veterinario_2021 | 1e8770bc9a1f3ff8ffe54ce3d4eca6a40f045621 | [
"0BSD"
] | null | null | null | Form1.cs | pabloatien/Veterinario_2021 | 1e8770bc9a1f3ff8ffe54ce3d4eca6a40f045621 | [
"0BSD"
] | 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;
namespace EjemploTabs_2021
{
public partial class Form1 : Form
{
public Form1()
... | 25.5 | 199 | 0.541368 |
7d0c16411aee63e15372a4c033c0e36982dd913c | 257 | cs | C# | Eventi.Contracts/V1/Responses/SponsorResponse.cs | EnisMulic/Even | cb0f1d07c967bf3645ebb85d76b01d1ff577d1b6 | [
"MIT"
] | null | null | null | Eventi.Contracts/V1/Responses/SponsorResponse.cs | EnisMulic/Even | cb0f1d07c967bf3645ebb85d76b01d1ff577d1b6 | [
"MIT"
] | 1 | 2020-09-30T06:48:45.000Z | 2020-09-30T06:48:45.000Z | Eventi.Contracts/V1/Responses/SponsorResponse.cs | EnisMulic/Even | cb0f1d07c967bf3645ebb85d76b01d1ff577d1b6 | [
"MIT"
] | 1 | 2022-03-15T19:54:33.000Z | 2022-03-15T19:54:33.000Z | namespace Eventi.Contracts.V1.Responses
{
public class SponsorResponse
{
public int ID { get; set; }
public string Name { get; set; }
public string PhoneNumber { get; set; }
public string Email { get; set; }
}
}
| 23.363636 | 47 | 0.59144 |
7d1d324fdd5752342b44337474afed8b471e5d88 | 340 | cs | C# | tysila4/ConsoleUtils/ConsoleActions/MoveCursorRightAction.cs | jncronin/tysila | 5ebb13b7a6b32cac30e87505e34cf910c1604e8f | [
"MIT"
] | 6 | 2019-04-02T20:57:11.000Z | 2022-03-25T14:03:08.000Z | tysila4/ConsoleUtils/ConsoleActions/MoveCursorRightAction.cs | jncronin/tysila | 5ebb13b7a6b32cac30e87505e34cf910c1604e8f | [
"MIT"
] | 1 | 2020-10-06T06:02:39.000Z | 2021-09-04T15:24:09.000Z | tysila4/ConsoleUtils/ConsoleActions/MoveCursorRightAction.cs | jncronin/tysila | 5ebb13b7a6b32cac30e87505e34cf910c1604e8f | [
"MIT"
] | 1 | 2019-04-02T22:28:11.000Z | 2019-04-02T22:28:11.000Z |
using System;
namespace ConsoleUtils.ConsoleActions
{
public class MoveCursorRightAction : IConsoleAction
{
public void Execute(IConsole console, ConsoleKeyInfo consoleKeyInfo)
{
console.CursorPosition = Math.Min(console.CurrentLine.Length, console.CursorPosition + 1);
... | 24.285714 | 103 | 0.664706 |
34d0451ac31bc871fe21948c30ceeb774ab106b5 | 5,150 | cs | C# | src/Batch/Client/Src/Azure.Batch/Generated/MetadataItem.cs | DiogenesPolanco/azure-sdk-for-net | 48760c21346b41f8153122e035b19ed5003c776f | [
"MIT"
] | null | null | null | src/Batch/Client/Src/Azure.Batch/Generated/MetadataItem.cs | DiogenesPolanco/azure-sdk-for-net | 48760c21346b41f8153122e035b19ed5003c776f | [
"MIT"
] | null | null | null | src/Batch/Client/Src/Azure.Batch/Generated/MetadataItem.cs | DiogenesPolanco/azure-sdk-for-net | 48760c21346b41f8153122e035b19ed5003c776f | [
"MIT"
] | 1 | 2018-11-08T03:03:53.000Z | 2018-11-08T03:03:53.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
//
// This... | 34.333333 | 139 | 0.612039 |
6588a1b938efe40f2f321263305aaab64630d4e8 | 261 | cs | C# | src/Fixie/Execution.cs | chan18/fixie | 6a6c3fb7e7c50fc94db991ff83067eb3717495b3 | [
"MIT"
] | null | null | null | src/Fixie/Execution.cs | chan18/fixie | 6a6c3fb7e7c50fc94db991ff83067eb3717495b3 | [
"MIT"
] | null | null | null | src/Fixie/Execution.cs | chan18/fixie | 6a6c3fb7e7c50fc94db991ff83067eb3717495b3 | [
"MIT"
] | null | null | null | namespace Fixie
{
using System.Threading.Tasks;
/// <summary>
/// Defines a test class lifecycle, to be executed once per test class.
/// </summary>
public interface Execution
{
Task RunAsync(TestAssembly testAssembly);
}
} | 21.75 | 75 | 0.639847 |
5a36dd760293781a8e5497fc9e7f7cb667f35471 | 3,398 | cs | C# | Command/AutofacExtensions.cs | klmcwhirter/tpldfexplore | 9589609dfcedd31984c921432a256f883c54a0f3 | [
"MIT"
] | null | null | null | Command/AutofacExtensions.cs | klmcwhirter/tpldfexplore | 9589609dfcedd31984c921432a256f883c54a0f3 | [
"MIT"
] | null | null | null | Command/AutofacExtensions.cs | klmcwhirter/tpldfexplore | 9589609dfcedd31984c921432a256f883c54a0f3 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using Autofac;
using tpldfexplore.Batch;
using tpldfexplore.Dataflow;
namespace tpldfexplore.Command
{
public static class AutofacExtensions
{
public static void RegisterCommands(this ContainerBuilder builder, string name, int iterations = 100)
{
... | 53.09375 | 127 | 0.627722 |
d38f5f7ec25ea06db4fba0f1a70a300df2456348 | 2,729 | cs | C# | Assignment3/shared/src/serialization/StreamUtil.cs | TeodorVecerdi/saxion_networking | c2fffdee7c9d9b8d7c859d569e0a0200fecb6ad0 | [
"MIT"
] | 1 | 2021-04-12T19:31:26.000Z | 2021-04-12T19:31:26.000Z | Assignment3/shared/src/serialization/StreamUtil.cs | TeodorVecerdi/saxion_networking | c2fffdee7c9d9b8d7c859d569e0a0200fecb6ad0 | [
"MIT"
] | null | null | null | Assignment3/shared/src/serialization/StreamUtil.cs | TeodorVecerdi/saxion_networking | c2fffdee7c9d9b8d7c859d569e0a0200fecb6ad0 | [
"MIT"
] | null | null | null | using System;
using System.Net.Sockets;
namespace shared.serialization {
/**
* StreamUtil class should be used whenever you want to send/receive bytes over a TcpClient connection.
* The reason is that communication across a TcpClient does not preserve message boundaries.
* In other words 1 send MIGHT equal ... | 42.640625 | 104 | 0.624771 |
9157f324ecdb3f4eb8ceeb21dc02d0f2bb45ffd0 | 29,135 | cs | C# | jaackd-reality-oculus/Assets/MeshBaker/Editor/MB_TextureBakerEditorConfigureTextureArrays.cs | jjhegedus/jaackd-reality | edd4112c6c540384bc030c8cace3fd4cd714cf54 | [
"MIT"
] | null | null | null | jaackd-reality-oculus/Assets/MeshBaker/Editor/MB_TextureBakerEditorConfigureTextureArrays.cs | jjhegedus/jaackd-reality | edd4112c6c540384bc030c8cace3fd4cd714cf54 | [
"MIT"
] | null | null | null | jaackd-reality-oculus/Assets/MeshBaker/Editor/MB_TextureBakerEditorConfigureTextureArrays.cs | jjhegedus/jaackd-reality | edd4112c6c540384bc030c8cace3fd4cd714cf54 | [
"MIT"
] | null | null | null | //----------------------------------------------
// MeshBaker
// Copyright © 2011-2012 Ian Deane
//----------------------------------------------
using UnityEngine;
using System.Collections;
using System.IO;
using System;
using System.Collections.Specialized;
using System.Collections.Generic;
using System.T... | 53.069217 | 260 | 0.524421 |
cb0e16214299703c9ea3af03a96bc75dd3b80e38 | 2,518 | cs | C# | AlgebraicCalculator/CalculatorTests/CalculatorExtensionsTests.cs | daeer73/Interview-Examples | a2aabe977e96eefbff6439fff7f8bfc47004ab63 | [
"MIT"
] | null | null | null | AlgebraicCalculator/CalculatorTests/CalculatorExtensionsTests.cs | daeer73/Interview-Examples | a2aabe977e96eefbff6439fff7f8bfc47004ab63 | [
"MIT"
] | null | null | null | AlgebraicCalculator/CalculatorTests/CalculatorExtensionsTests.cs | daeer73/Interview-Examples | a2aabe977e96eefbff6439fff7f8bfc47004ab63 | [
"MIT"
] | null | null | null | using Calculator;
using FluentAssertions;
using Xunit;
namespace CalculatorTests
{
public class CalculatorExtensionsTests
{
[Theory]
[InlineData("")]
[InlineData(" ")]
public void Test_calculate_with_empty_input_returns_zero(string input)
{
// Arrange.
... | 25.18 | 98 | 0.49166 |
cb4f4abb30e194cf9363213905b5abf594b80deb | 1,982 | cs | C# | src/GitHub.App/ViewModels/Dialog/Clone/RepositoryUrlViewModel.cs | ptoninato/VisualStudio | ad6ccfe4ffb17a801719cab10690ed22c40b9b6e | [
"MIT"
] | null | null | null | src/GitHub.App/ViewModels/Dialog/Clone/RepositoryUrlViewModel.cs | ptoninato/VisualStudio | ad6ccfe4ffb17a801719cab10690ed22c40b9b6e | [
"MIT"
] | null | null | null | src/GitHub.App/ViewModels/Dialog/Clone/RepositoryUrlViewModel.cs | ptoninato/VisualStudio | ad6ccfe4ffb17a801719cab10690ed22c40b9b6e | [
"MIT"
] | null | null | null | using System;
using System.ComponentModel.Composition;
using System.Threading.Tasks;
using GitHub.Extensions;
using GitHub.Models;
using GitHub.Primitives;
using GitHub.ViewModels;
using GitHub.ViewModels.Dialog.Clone;
using ReactiveUI;
namespace GitHub.App.ViewModels.Dialog.Clone
{
[Export(typeof(IRepositoryUrlV... | 30.030303 | 108 | 0.563068 |
6db03804f19c73d401d73c46f12709f9ec566ceb | 312 | cs | C# | QALib/WebKnoxResponse.cs | sunilpottumuttu/NLP-Based-Question-And-Answering-System | d4ea7761901c47b0da4ae94fc202626fde940843 | [
"Apache-2.0"
] | 4 | 2016-04-28T09:34:11.000Z | 2019-10-02T10:48:19.000Z | QALib/WebKnoxResponse.cs | sunilpottumuttu/NLP-Based-Question-And-Answering-System | d4ea7761901c47b0da4ae94fc202626fde940843 | [
"Apache-2.0"
] | null | null | null | QALib/WebKnoxResponse.cs | sunilpottumuttu/NLP-Based-Question-And-Answering-System | d4ea7761901c47b0da4ae94fc202626fde940843 | [
"Apache-2.0"
] | 2 | 2016-04-28T09:34:12.000Z | 2022-03-11T01:15:52.000Z | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QALib
{
public class WebKnoxResponse
{
[JsonProperty(PropertyName = "answer")]
public string Answer { get; set; }
}
}
| 19.5 | 48 | 0.666667 |
6dc71050edd74cc4e4af54327b06baa58f1dc0fc | 1,826 | cs | C# | jrogalan_csharp/src/GildedRose.Console/Program.cs | scmallorca/gilded-rose-dojo | 6b6b9758fe81581401c3011ea6a0fe7015b3647a | [
"MIT"
] | 1 | 2017-03-11T23:48:03.000Z | 2017-03-11T23:48:03.000Z | jrogalan_csharp/src/GildedRose.Console/Program.cs | scmallorca/gilded-rose-dojo | 6b6b9758fe81581401c3011ea6a0fe7015b3647a | [
"MIT"
] | null | null | null | jrogalan_csharp/src/GildedRose.Console/Program.cs | scmallorca/gilded-rose-dojo | 6b6b9758fe81581401c3011ea6a0fe7015b3647a | [
"MIT"
] | 5 | 2017-02-20T13:12:13.000Z | 2020-11-10T19:30:19.000Z | using static System.Console;
using GildedRose;
using GildedRose.Entities;
using System.Collections.Generic;
using GildedRose.Console.Core.Extensions;
using System;
namespace GildedRose.Console
{
public class Program
{
public static List<Item> GetInventory() =>
new List<Item>
{
... | 31.482759 | 112 | 0.45126 |
31203fa7c21ec2ccc952820e0160bb332043c2bd | 1,667 | cs | C# | XmlTools.Library/Processor.cs | RupertAvery/XmlTools | cccf2bd5f8dca6e171855a5f805eb1f3f2503ca3 | [
"MIT",
"Unlicense"
] | null | null | null | XmlTools.Library/Processor.cs | RupertAvery/XmlTools | cccf2bd5f8dca6e171855a5f805eb1f3f2503ca3 | [
"MIT",
"Unlicense"
] | null | null | null | XmlTools.Library/Processor.cs | RupertAvery/XmlTools | cccf2bd5f8dca6e171855a5f805eb1f3f2503ca3 | [
"MIT",
"Unlicense"
] | null | null | null | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.Linq;
namespace XmlTools
{
public class Processor
{
public int FileCount { get; private set; }
public bool Indented { get; set; }
publi... | 29.767857 | 103 | 0.55069 |
45111ee992c655616106291c42661f78baad9806 | 1,903 | cs | C# | SeaShell.Reflection/InjectStringCommand.cs | carlubian/SeaShell | d3519c164b5bbb0cdc15b86059ec00e2742737bd | [
"MIT"
] | null | null | null | SeaShell.Reflection/InjectStringCommand.cs | carlubian/SeaShell | d3519c164b5bbb0cdc15b86059ec00e2742737bd | [
"MIT"
] | 17 | 2020-03-23T17:41:07.000Z | 2021-11-24T03:13:05.000Z | SeaShell.Reflection/InjectStringCommand.cs | carlubian/SeaShell | d3519c164b5bbb0cdc15b86059ec00e2742737bd | [
"MIT"
] | null | null | null | using SeaShell.Core.Extensibility;
using static SeaShell.Core.Extensibility.Parameters.ParameterCheckBuilder;
using SeaShell.Core.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using SeaShell.Core.Extensibility.DuckTyping;
using DotNet.Misc.Extensions.Linq;
namespace SeaShell.Reflection
{
... | 34.6 | 108 | 0.598529 |
458419e99b4ae427dc761fbfb25d946fb1de90cf | 1,567 | cs | C# | test/CacheManager.Config.Tests/MultiInstanceTests.cs | uQr/CacheManager | 5799094f5a1ac7e85926d5411f90119eebbf29b1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | test/CacheManager.Config.Tests/MultiInstanceTests.cs | uQr/CacheManager | 5799094f5a1ac7e85926d5411f90119eebbf29b1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | test/CacheManager.Config.Tests/MultiInstanceTests.cs | uQr/CacheManager | 5799094f5a1ac7e85926d5411f90119eebbf29b1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace CacheManager.Core
{
public class MultiInstanceTests
{
public class RunConfiguration
{
public ICacheManagerConfiguration CacheConfiguration { get; set; }
// in seconds
... | 28.490909 | 78 | 0.515635 |
1cc3c9c8fbc70610ebb27374c642f9def0574365 | 1,728 | cs | C# | src/MassTransit/Context/PublishContextConverterFactory.cs | timmi4sa/MassTransit | dd6782d042451d80e8b0cb667a7d389878d79b40 | [
"Apache-2.0"
] | 1 | 2017-06-12T17:07:13.000Z | 2017-06-12T17:07:13.000Z | src/MassTransit/Context/PublishContextConverterFactory.cs | timmi4sa/MassTransit | dd6782d042451d80e8b0cb667a7d389878d79b40 | [
"Apache-2.0"
] | null | null | null | src/MassTransit/Context/PublishContextConverterFactory.cs | timmi4sa/MassTransit | dd6782d042451d80e8b0cb667a7d389878d79b40 | [
"Apache-2.0"
] | null | null | null | // Copyright 2007-2017 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// http://www.apache.org/licenses/LICENSE-2.0... | 39.272727 | 141 | 0.673611 |
1cdd018aa7043cd229e8e075cce267f984b19bbd | 1,265 | cs | C# | CanvasApi.Client/AssignmentGroups/Models/IAssignmentGroupGetOptions.cs | dbagnoli/CanvasApi | 585449596f6cd161d5671ea8d9f81dcd1e750ee8 | [
"MIT"
] | 2 | 2021-03-11T01:52:51.000Z | 2022-03-10T02:53:21.000Z | CanvasApi.Client/AssignmentGroups/Models/IAssignmentGroupGetOptions.cs | dbagnoli/CanvasApi | 585449596f6cd161d5671ea8d9f81dcd1e750ee8 | [
"MIT"
] | 1 | 2021-04-20T22:05:03.000Z | 2021-04-20T22:06:25.000Z | CanvasApi.Client/AssignmentGroups/Models/IAssignmentGroupGetOptions.cs | dbagnoli/CanvasApi | 585449596f6cd161d5671ea8d9f81dcd1e750ee8 | [
"MIT"
] | 2 | 2021-04-20T17:45:00.000Z | 2021-11-08T02:10:50.000Z | using System.Collections.Generic;
using CanvasApi.Client.AssignmentGroups.Enums;
using TiberHealth.Serializer.Attributes;
namespace CanvasApi.Client.AssignmentGroups.Models
{
public interface IAssignmentGroupGetOptions
{
/// <summary>
/// sociations to include with the group. “discussion_topic... | 45.178571 | 371 | 0.699605 |
cefc744e4c3b423cb9097f7c1d46a5bd1e31d63d | 155 | cs | C# | SmartDataViewer/Assets/3rdPlugins/SmartDataViewer/Script/DebugModule/Interface/IResChecker.cs | KeyleXiao/UNITY3D-DATA-VIEWER | 7a3996f60010cddb8c0999804f2b20ede69c210f | [
"Apache-2.0"
] | 130 | 2017-01-19T07:34:14.000Z | 2022-03-28T02:14:36.000Z | SmartDataViewer/Assets/3rdPlugins/SmartDataViewer/Script/DebugModule/Interface/IResChecker.cs | KeyleXiao/UNITY3D-DATA-VIEWER | 7a3996f60010cddb8c0999804f2b20ede69c210f | [
"Apache-2.0"
] | 1 | 2018-04-07T17:50:38.000Z | 2018-04-08T03:46:33.000Z | SmartDataViewer/Assets/3rdPlugins/SmartDataViewer/Script/DebugModule/Interface/IResChecker.cs | KeyleXiao/UNITY3D-DATA-VIEWER | 7a3996f60010cddb8c0999804f2b20ede69c210f | [
"Apache-2.0"
] | 42 | 2017-01-19T02:25:19.000Z | 2021-12-17T08:02:21.000Z |
namespace DebugModule
{
public interface IResChecker
{
string Check(object obj);
string OnApplicationQuit();
}
}
| 12.916667 | 36 | 0.574194 |
0a1c7881174815ba88fdbed548c4d31be9966cc2 | 393 | cs | C# | Imagin.Common/Input/EventArgs.Generic.cs | imagin-tech/Imagin.NET | 325ce29cf1a3149a2b48f87a9e8fd000d609699d | [
"BSD-2-Clause"
] | 61 | 2016-09-09T08:35:06.000Z | 2022-01-31T08:18:43.000Z | Imagin.Common/Input/EventArgs.Generic.cs | lwFace/Imagin.NET | f445cc573cea2d2a22301b6947d6add0c34ead4f | [
"BSD-2-Clause"
] | 344 | 2016-09-10T02:22:26.000Z | 2022-03-02T19:33:54.000Z | Imagin.Common/Input/EventArgs.Generic.cs | lwFace/Imagin.NET | f445cc573cea2d2a22301b6947d6add0c34ead4f | [
"BSD-2-Clause"
] | 18 | 2016-12-15T09:50:02.000Z | 2021-11-07T14:26:33.000Z | using System;
namespace Imagin.Common.Input
{
public class EventArgs<T> : EventArgs
{
readonly T _value;
public T Value => _value;
readonly object _parameter;
public object Parameter => _parameter;
public EventArgs(T value, object parameter = null)
{
... | 19.65 | 58 | 0.572519 |
7a4712cdebd05c397651c97b99a24304147a4f07 | 784 | cs | C# | Assets/Code/Loadlevel.cs | chineseliuyongchao/Bird-of-angry | fafc88cec24f2f7d19911a35a839af64281103b1 | [
"Apache-2.0"
] | null | null | null | Assets/Code/Loadlevel.cs | chineseliuyongchao/Bird-of-angry | fafc88cec24f2f7d19911a35a839af64281103b1 | [
"Apache-2.0"
] | null | null | null | Assets/Code/Loadlevel.cs | chineseliuyongchao/Bird-of-angry | fafc88cec24f2f7d19911a35a839af64281103b1 | [
"Apache-2.0"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Loadlevel : MonoBehaviour
{
private void Awake()
{
Instantiate(Resources.Load(PlayerPrefs.GetString("nowLevel")));//加载该关卡对应场景
}
}
// 正常 受伤 最大值 最小值 碰撞体 x偏 y偏
//红鸟 159 66 ... | 30.153846 | 82 | 0.404337 |
8cc5f4321287330c6474b5c53f0869275bde124c | 2,850 | cs | C# | IBTracker/Utils/Logger.cs | Sophochka/IBTracker | 85afb6b3b33a5b659aa0d52e0cf47039a0668243 | [
"MIT"
] | null | null | null | IBTracker/Utils/Logger.cs | Sophochka/IBTracker | 85afb6b3b33a5b659aa0d52e0cf47039a0668243 | [
"MIT"
] | null | null | null | IBTracker/Utils/Logger.cs | Sophochka/IBTracker | 85afb6b3b33a5b659aa0d52e0cf47039a0668243 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Threading;
namespace IBTracker.Utils
{
public static class Logger
{
public enum Level
{
None,
Info,
Debug,
}
private ... | 30 | 137 | 0.518947 |
36ac21bd5903305503e8ec3138830af17c6c5998 | 202 | cs | C# | src/Parlot/Fluent/ISequenceParser.cs | Sciumo/parlot | 909a717f8ceddb33e410b6694e5a49f78de53165 | [
"BSD-3-Clause"
] | 196 | 2021-01-01T01:27:05.000Z | 2022-02-11T16:09:41.000Z | src/Parlot/Fluent/ISequenceParser.cs | Sciumo/parlot | 909a717f8ceddb33e410b6694e5a49f78de53165 | [
"BSD-3-Clause"
] | 36 | 2021-01-01T21:01:15.000Z | 2022-03-16T16:06:43.000Z | src/Parlot/Fluent/ISequenceParser.cs | Sciumo/parlot | 909a717f8ceddb33e410b6694e5a49f78de53165 | [
"BSD-3-Clause"
] | 24 | 2021-01-01T10:01:58.000Z | 2022-03-16T16:57:21.000Z | using Parlot.Compilation;
namespace Parlot.Fluent
{
public interface ISkippableSequenceParser
{
SkippableCompilationResult[] BuildSkippableParsers(CompilationContext context);
}
}
| 20.2 | 87 | 0.762376 |
3c0c545767ebcbbf72822bf6ae9b839aaa034f40 | 3,259 | cs | C# | src/BackEnd/src/WebPersonal.BackEnd.Data/Repositories/AcademicProjectRepository.cs | ElectNewt/WebPersonal | 64c87bdc8c5490c5209d26b843b1d613529dfd74 | [
"MIT"
] | null | null | null | src/BackEnd/src/WebPersonal.BackEnd.Data/Repositories/AcademicProjectRepository.cs | ElectNewt/WebPersonal | 64c87bdc8c5490c5209d26b843b1d613529dfd74 | [
"MIT"
] | 1 | 2021-05-18T13:29:15.000Z | 2021-05-25T20:20:08.000Z | src/BackEnd/src/WebPersonal.BackEnd.Data/Repositories/AcademicProjectRepository.cs | ElectNewt/WebPersonal | 64c87bdc8c5490c5209d26b843b1d613529dfd74 | [
"MIT"
] | 4 | 2020-07-19T16:35:54.000Z | 2022-01-27T01:50:02.000Z | using Dapper;
using System.Data.Common;
using System.Linq;
using System.Threading.Tasks;
using WebPersonal.BackEnd.Model.Entity;
using WebPersonal.BackEnd.Model.Repositories.Queries;
using WebPersonal.Shared.Data.Db;
namespace WebPersonal.BackEnd.Model.Repositories
{
public class AcademicProjectRepository : BaseR... | 50.921875 | 179 | 0.624118 |
2e8b1a6fae892d256405ba2581cad432972d14ac | 173 | cs | C# | Cafebabe/Attribute/JavaAnnotationElementArrayValue.cs | Parzivail-Modding-Team/ModelPainter | 3c32dbd518d752fea3c6da79451bfdf151e5fcf3 | [
"MIT"
] | null | null | null | Cafebabe/Attribute/JavaAnnotationElementArrayValue.cs | Parzivail-Modding-Team/ModelPainter | 3c32dbd518d752fea3c6da79451bfdf151e5fcf3 | [
"MIT"
] | null | null | null | Cafebabe/Attribute/JavaAnnotationElementArrayValue.cs | Parzivail-Modding-Team/ModelPainter | 3c32dbd518d752fea3c6da79451bfdf151e5fcf3 | [
"MIT"
] | null | null | null | namespace Cafebabe.Attribute;
public record JavaAnnotationElementArrayValue(JavaTagType TagType, JavaAnnotationElementValue[] Values) : JavaAnnotationElementValue(TagType); | 57.666667 | 142 | 0.878613 |
bc104cdb09adc78783d48ebd08ad2083db7c2fdf | 474 | cs | C# | src/Nut.Results/Extensions/T_Flatten.cs | Archway-SharedLib/Nut.Results | 51cbb155ef145c8083904504d1c91a6e1a386f51 | [
"Apache-2.0"
] | null | null | null | src/Nut.Results/Extensions/T_Flatten.cs | Archway-SharedLib/Nut.Results | 51cbb155ef145c8083904504d1c91a6e1a386f51 | [
"Apache-2.0"
] | 17 | 2020-10-30T09:29:05.000Z | 2021-12-29T15:42:27.000Z | src/Nut.Results/Extensions/T_Flatten.cs | Archway-SharedLib/Nut.Results | 51cbb155ef145c8083904504d1c91a6e1a386f51 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Text;
namespace Nut.Results
{
public static partial class ResultExtensions
{
public static Result<T> Flatten<T>(this Result<Result<T>> source)
=> source.IsError ? Result.Error<T>(source.GetError()) : source.Get();
... | 29.625 | 83 | 0.64557 |
0ffdbbf99c6bec450e3532beb624888eac336088 | 1,897 | cs | C# | iEmosoft_TestExecutioner/ScreenCaptures/DemoStoreImg.cs | andrew041/IEmosoft_EndToEndTestingFrameWork | b0a6dd486b64303629d3ddd1cea3455b53453c5f | [
"MIT"
] | 3 | 2021-12-04T03:45:21.000Z | 2022-02-14T21:42:59.000Z | iEmosoft_TestExecutioner/ScreenCaptures/DemoStoreImg.cs | andrew041/IEmosoft_EndToEndTestingFrameWork | b0a6dd486b64303629d3ddd1cea3455b53453c5f | [
"MIT"
] | null | null | null | iEmosoft_TestExecutioner/ScreenCaptures/DemoStoreImg.cs | andrew041/IEmosoft_EndToEndTestingFrameWork | b0a6dd486b64303629d3ddd1cea3455b53453c5f | [
"MIT"
] | 1 | 2022-02-14T21:43:09.000Z | 2022-02-14T21:43:09.000Z | using aUI.Automation.DbObjects;
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace aUI.Automation.ScreenCaptures
{
public class DemoStoreImg
{
private static Object loc... | 31.616667 | 122 | 0.574591 |
fdfdc2e22a7a3a87d0cd21f5911a3fec6428f538 | 236 | cs | C# | RMS.Models/ResponseModels/SpecialtyResponseModel.cs | HristoSpasov/VUTP-RMS-BE | bb1594b6da3a60b5e500b91d79f6c273bff0c8f7 | [
"MIT"
] | 1 | 2021-02-22T18:05:24.000Z | 2021-02-22T18:05:24.000Z | RMS.Models/ResponseModels/SpecialtyResponseModel.cs | HristoSpasov/VUTP-RMS-BE | bb1594b6da3a60b5e500b91d79f6c273bff0c8f7 | [
"MIT"
] | null | null | null | RMS.Models/ResponseModels/SpecialtyResponseModel.cs | HristoSpasov/VUTP-RMS-BE | bb1594b6da3a60b5e500b91d79f6c273bff0c8f7 | [
"MIT"
] | null | null | null | namespace RMS.API.Models.ResponseModels
{
using System;
public class SpecialtyResponseModel
{
public string Id { get; set; }
public string Name { get; set; }
public int Grade { get; set; }
}
} | 18.153846 | 40 | 0.597458 |
d7289b8db106bce53c0aa6e46efeb329e05d5da9 | 3,557 | cs | C# | SubscriberService/SubscriberWebService/Services/Implementation/EventDataService.cs | ntisservices/ntis-dotnet-web-services-Release2.5 | 3c938d50afad8ba8f7d991e677506b0f87a60933 | [
"MIT"
] | 2 | 2015-01-28T12:47:49.000Z | 2015-08-03T14:15:11.000Z | SubscriberService/SubscriberWebService/Services/Implementation/EventDataService.cs | ntisservices/ntis-dotnet-web-services-Release2.5 | 3c938d50afad8ba8f7d991e677506b0f87a60933 | [
"MIT"
] | 1 | 2015-07-23T10:30:35.000Z | 2015-07-23T10:30:35.000Z | SubscriberService/SubscriberWebService/Services/Implementation/EventDataService.cs | ntisservices/ntis-dotnet-web-services-Release2.5 | 3c938d50afad8ba8f7d991e677506b0f87a60933 | [
"MIT"
] | 2 | 2015-02-10T07:21:15.000Z | 2018-10-04T15:07:11.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using log4net;
using System.Web.Services.Protocols;
namespace SubscriberWebService.Services
{
public class EventDataService : AbstractDatexService, IEventDataService
{
#region IEventDataService Members
... | 36.295918 | 141 | 0.589823 |
d7d9b2fc45002b0a6053bd25490bac955b15fe0b | 382 | cs | C# | Waterskibaan/Model/Move/Omdraaien.cs | wilkodekkers/Waterskibaan | 5100f13ceca19e552c628a06cb7da9c7666d550e | [
"MIT"
] | 1 | 2019-11-06T12:55:35.000Z | 2019-11-06T12:55:35.000Z | Waterskibaan/Model/Move/Omdraaien.cs | wilkodekkers/Waterskibaan | 5100f13ceca19e552c628a06cb7da9c7666d550e | [
"MIT"
] | 1 | 2019-10-14T13:36:20.000Z | 2019-10-16T19:10:46.000Z | Waterskibaan/Model/Move/Omdraaien.cs | wilkodekkers/Waterskibaan | 5100f13ceca19e552c628a06cb7da9c7666d550e | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Waterskibaan
{
class Omdraaien : IMoves
{
public int Move()
{
return new Random().Next(100) > 50 ? 3 : 0;
}
public override string ToString(... | 18.190476 | 55 | 0.570681 |
6d8701313a368ff0b8fc98814074fd280228dd8d | 1,474 | cs | C# | RTTicTacToe.CQRS/WriteModel/Handlers/GameCommandHandlers.cs | aosyatnik/RTTicTacToe | e19a5300037f8ebbd7c5cbc76b9b392c10f81a38 | [
"MIT"
] | 2 | 2020-02-04T07:38:57.000Z | 2021-09-02T07:39:11.000Z | RTTicTacToe.CQRS/WriteModel/Handlers/GameCommandHandlers.cs | zleao/RTTicTacToe | 47be8c9e396dc3d920a4851e4d21fef836e79a10 | [
"MIT"
] | null | null | null | RTTicTacToe.CQRS/WriteModel/Handlers/GameCommandHandlers.cs | zleao/RTTicTacToe | 47be8c9e396dc3d920a4851e4d21fef836e79a10 | [
"MIT"
] | null | null | null | using System.Threading;
using System.Threading.Tasks;
using CQRSlite.Commands;
using CQRSlite.Domain;
using RTTicTacToe.CQRS.WriteModel.Commands;
using RTTicTacToe.CQRS.WriteModel.Domain;
namespace RTTicTacToe.CQRS.WriteModel.Handlers
{
public class GameCommandHandlers : ICommandHandler<CreateGame>,
ICanc... | 35.095238 | 107 | 0.675034 |
29a2bde9478f11546658d27803545c31cc9193a9 | 830 | cs | C# | EscherAuth/SignatureCalculator.cs | tt0th/escher-csharp | 313ce74f06ea55aba990edcf6dc92a89dd90c7f6 | [
"MIT"
] | 1 | 2018-03-19T01:31:11.000Z | 2018-03-19T01:31:11.000Z | EscherAuth/SignatureCalculator.cs | tt0th/escher-csharp | 313ce74f06ea55aba990edcf6dc92a89dd90c7f6 | [
"MIT"
] | 1 | 2022-02-17T19:54:28.000Z | 2022-02-17T19:54:28.000Z | EscherAuth/SignatureCalculator.cs | tt0th/escher-csharp | 313ce74f06ea55aba990edcf6dc92a89dd90c7f6 | [
"MIT"
] | 1 | 2019-01-18T10:31:58.000Z | 2019-01-18T10:31:58.000Z | using System;
using System.Text;
using EscherAuth.Hash;
namespace EscherAuth
{
public class SignatureCalculator
{
public static string Sign(string stringToSign, string secret, DateTime dateTime, EscherConfig config)
{
var hmac = HashHelper.GetHMacImplementation(config.HashAlgorithm... | 31.923077 | 109 | 0.674699 |
95deb77af02aaf0c0b36c6dc5fe5a752f070adcc | 1,113 | cs | C# | src/Management/src/EndpointBase/Metrics/MetricsResponseConverter.cs | mzakrzewski/Steeltoe | 9322d0627673c9c96d71b584d190284649c4005d | [
"Apache-2.0"
] | 495 | 2020-04-16T15:55:36.000Z | 2022-03-29T12:36:37.000Z | src/Management/src/EndpointBase/Metrics/MetricsResponseConverter.cs | mzakrzewski/Steeltoe | 9322d0627673c9c96d71b584d190284649c4005d | [
"Apache-2.0"
] | 575 | 2020-04-14T16:35:53.000Z | 2022-03-31T20:19:43.000Z | src/Management/src/EndpointBase/Metrics/MetricsResponseConverter.cs | mzakrzewski/Steeltoe | 9322d0627673c9c96d71b584d190284649c4005d | [
"Apache-2.0"
] | 90 | 2020-04-14T16:37:25.000Z | 2022-03-30T18:10:38.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Steeltoe.Management.En... | 35.903226 | 123 | 0.657682 |
95e29fe320fd8b7ffc8a53ad0f08d2d50988f162 | 8,877 | cs | C# | Vendstor/Forms/Printing.Designer.cs | franznkemaka/Vendstor | 566ac391a759a76563f5e45c1fa47a2c4c86d37c | [
"MIT"
] | 8 | 2020-10-05T16:03:06.000Z | 2022-02-07T02:47:22.000Z | Vendstor/Forms/Printing.Designer.cs | franznkemaka/Vendstor | 566ac391a759a76563f5e45c1fa47a2c4c86d37c | [
"MIT"
] | null | null | null | Vendstor/Forms/Printing.Designer.cs | franznkemaka/Vendstor | 566ac391a759a76563f5e45c1fa47a2c4c86d37c | [
"MIT"
] | 2 | 2020-12-28T09:21:19.000Z | 2021-01-29T07:19:39.000Z | namespace Vendstor.Forms
{
partial class Printing
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <... | 52.526627 | 155 | 0.616875 |
95e5e4f5be1a9c952457897c733b8d58f0accda6 | 12,597 | cs | C# | src/Dekstop/DiamondTrading/Master/FrmKapanMaster.Designer.cs | infologs/DTSolutions | 4de8d26a9505800cb86571b6a3f4d4c2ff20223f | [
"Apache-2.0"
] | null | null | null | src/Dekstop/DiamondTrading/Master/FrmKapanMaster.Designer.cs | infologs/DTSolutions | 4de8d26a9505800cb86571b6a3f4d4c2ff20223f | [
"Apache-2.0"
] | null | null | null | src/Dekstop/DiamondTrading/Master/FrmKapanMaster.Designer.cs | infologs/DTSolutions | 4de8d26a9505800cb86571b6a3f4d4c2ff20223f | [
"Apache-2.0"
] | null | null | null |
namespace DiamondTrading.Master
{
partial class FrmKapanMaster
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>... | 52.4875 | 180 | 0.628007 |
d9dfd0fc562a9dbe83593149e86df8d1b8788164 | 1,152 | cs | C# | HeffayPresentsAchievements/Controllers/UserController.cs | Markemp/OcelotAchievements | cd628aebb01b78ba077cab8db01d23b144e24f15 | [
"MIT"
] | 1 | 2021-08-07T03:52:12.000Z | 2021-08-07T03:52:12.000Z | HeffayPresentsAchievements/Controllers/UserController.cs | Markemp/OcelotAchievements | cd628aebb01b78ba077cab8db01d23b144e24f15 | [
"MIT"
] | null | null | null | HeffayPresentsAchievements/Controllers/UserController.cs | Markemp/OcelotAchievements | cd628aebb01b78ba077cab8db01d23b144e24f15 | [
"MIT"
] | null | null | null | using HeffayPresentsAchievements.Models;
using HeffayPresentsAchievements.Models.Dtos.Game;
using HeffayPresentsAchievements.Models.Dtos.User;
using HeffayPresentsAchievements.Services.UserService;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;... | 28.8 | 88 | 0.710069 |
904bcf3229a0a53927a5156acfd28aa6ad931b06 | 7,444 | cs | C# | AutoSobel2/ExpressionNormalizer.cs | GDanovski/AutoSobel2 | 77af5a947938de96c33c66f0a4c040500850db2b | [
"MIT"
] | null | null | null | AutoSobel2/ExpressionNormalizer.cs | GDanovski/AutoSobel2 | 77af5a947938de96c33c66f0a4c040500850db2b | [
"MIT"
] | null | null | null | AutoSobel2/ExpressionNormalizer.cs | GDanovski/AutoSobel2 | 77af5a947938de96c33c66f0a4c040500850db2b | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
using CellToolDK;
using System.IO;
namespace AutoSobel2
{
class ExpressionNormalizer
{
public static void Process(double background,TifFileInfo fi)
{
... | 33.990868 | 114 | 0.368888 |
d3025312d7bd1c1c4cecfb090653d3dc00215542 | 2,220 | cs | C# | UnitTests/PInvoke/Security/AdvApi32/ProcessThreadsApiTests.cs | DigitalPlatform/Vanara | caee9eba3af69ddafecc00e8581f745734ac6bf2 | [
"MIT"
] | 1,037 | 2017-12-11T13:31:25.000Z | 2022-03-29T02:00:56.000Z | UnitTests/PInvoke/Security/AdvApi32/ProcessThreadsApiTests.cs | DigitalPlatform/Vanara | caee9eba3af69ddafecc00e8581f745734ac6bf2 | [
"MIT"
] | 254 | 2017-12-23T12:33:55.000Z | 2022-03-26T03:05:41.000Z | UnitTests/PInvoke/Security/AdvApi32/ProcessThreadsApiTests.cs | DigitalPlatform/Vanara | caee9eba3af69ddafecc00e8581f745734ac6bf2 | [
"MIT"
] | 158 | 2018-01-04T14:05:16.000Z | 2022-03-22T13:16:39.000Z | using NUnit.Framework;
using System;
using static Vanara.PInvoke.AdvApi32;
using static Vanara.PInvoke.Kernel32;
namespace Vanara.PInvoke.Tests
{
[TestFixture]
public class ProcessThreadsApiTests
{
[Test]
public void CreateProcessAsUserTest()
{
Assert.That(OpenProcessToken(GetCurrentProcess(), TokenAccess... | 41.111111 | 223 | 0.771171 |
72aaa20b26966b882eb94171105eea6cbfc97ca7 | 2,045 | cs | C# | Eliza.UI/Widgets/RewardItemDataGroup.cs | adiktus/Eliza | 7c5040c28c738a39692e36e95fdc80afa97662ac | [
"MIT"
] | 4 | 2021-07-04T02:49:15.000Z | 2022-03-31T12:09:55.000Z | Eliza.UI/Widgets/RewardItemDataGroup.cs | adiktus/Eliza | 7c5040c28c738a39692e36e95fdc80afa97662ac | [
"MIT"
] | 7 | 2021-06-27T15:28:10.000Z | 2022-03-29T05:13:37.000Z | Eliza.UI/Widgets/RewardItemDataGroup.cs | adiktus/Eliza | 7c5040c28c738a39692e36e95fdc80afa97662ac | [
"MIT"
] | 2 | 2022-03-23T19:56:37.000Z | 2022-03-27T12:41:38.000Z | using Eliza.UI.Helpers;
using Eto.Forms;
namespace Eliza.UI.Widgets
{
public class RewardItemDataGroup : VBox
{
private Model.Field.RewardItemData _rewardItemData;
private SpinBox itemId;
private SpinBox amount;
private SpinBox level;
public RewardItemDataGroup(Model.... | 31.461538 | 126 | 0.53643 |
0d318cc51c20800db3691a59e05421087e0da80e | 454 | cs | C# | kkde/kagex/NullActionInfo.cs | mryp/kkde | 5db2d5e1ca9144c750137995ee7d771d9e343d22 | [
"MIT"
] | 13 | 2018-01-25T04:19:20.000Z | 2022-01-12T21:25:42.000Z | kkde/kagex/NullActionInfo.cs | mryp/kkde | 5db2d5e1ca9144c750137995ee7d771d9e343d22 | [
"MIT"
] | null | null | null | kkde/kagex/NullActionInfo.cs | mryp/kkde | 5db2d5e1ca9144c750137995ee7d771d9e343d22 | [
"MIT"
] | 1 | 2021-11-08T19:13:12.000Z | 2021-11-08T19:13:12.000Z | using System;
using System.Collections.Generic;
using System.Text;
namespace kkde.kagex
{
/// <summary>
/// NULLを表すアクションハンドラ
/// </summary>
public class NullActionInfo : IActionInfo
{
string m_value = "null";
public string Value
{
get { return m_value; }
set { m_value = value; }
}
public string... | 14.645161 | 49 | 0.665198 |
b1d3e448ab13eebdbad77e0c803a194ea01711ed | 352 | cs | C# | MoreMoney/MoneyCore/Ascii.cs | ysjr-2002/moneymore | 52ae1341e165d941e10ee6ac277b1ba22da09b3b | [
"MIT"
] | null | null | null | MoreMoney/MoneyCore/Ascii.cs | ysjr-2002/moneymore | 52ae1341e165d941e10ee6ac277b1ba22da09b3b | [
"MIT"
] | null | null | null | MoreMoney/MoneyCore/Ascii.cs | ysjr-2002/moneymore | 52ae1341e165d941e10ee6ac277b1ba22da09b3b | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MoneyCore
{
class Ascii
{
public const int D = 0x44;
public const int R = 0x52;
public const int S = 0x53;
public const int T = 0x54;
public co... | 18.526316 | 40 | 0.630682 |
796c08677038aeab7fc26a23c9b25070b4af95a2 | 1,691 | cs | C# | Protobuild.FunctionalTests/ExampleCocos2DXNATest.cs | SjB/Protobuild | 69ff9cf00811ffefcb9641bdc9da9cb450f1cf03 | [
"MIT"
] | null | null | null | Protobuild.FunctionalTests/ExampleCocos2DXNATest.cs | SjB/Protobuild | 69ff9cf00811ffefcb9641bdc9da9cb450f1cf03 | [
"MIT"
] | null | null | null | Protobuild.FunctionalTests/ExampleCocos2DXNATest.cs | SjB/Protobuild | 69ff9cf00811ffefcb9641bdc9da9cb450f1cf03 | [
"MIT"
] | null | null | null | namespace Protobuild.Tests
{
using System.IO;
using Xunit;
public class ExampleCocos2DXNATest : ProtobuildTest
{
[Fact]
public void GenerationIsCorrect()
{
this.SetupTest("ExampleCocos2DXNA");
this.Generate("Windows");
Assert.True(File.Exis... | 42.275 | 118 | 0.660556 |
0d0ac13971039b37b87357348ed6adea8f9229f9 | 13,642 | cs | C# | LiveSplit/Components/LiveSplit.Splits/UI/Components/SplitsComponent.cs | mysidia/LiveSplit-Sid | 876a62dfa66fe725fde31a5d9535b90ad3742603 | [
"MIT"
] | null | null | null | LiveSplit/Components/LiveSplit.Splits/UI/Components/SplitsComponent.cs | mysidia/LiveSplit-Sid | 876a62dfa66fe725fde31a5d9535b90ad3742603 | [
"MIT"
] | null | null | null | LiveSplit/Components/LiveSplit.Splits/UI/Components/SplitsComponent.cs | mysidia/LiveSplit-Sid | 876a62dfa66fe725fde31a5d9535b90ad3742603 | [
"MIT"
] | null | null | null | using LiveSplit.Model;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Windows.Forms;
namespace LiveSplit.UI.Components
{
public class SplitsComponent : IComponent
{
public ComponentRendererComponent InternalComponen... | 39.656977 | 144 | 0.55725 |
f70458800501ee4440d780360b711d88776d011d | 410 | cs | C# | OpenClosedAfter/Triangle.cs | StaticSphere/oop-fundamentals | 64515cc33a9df398526e576df9cf7d0833762efa | [
"MIT"
] | null | null | null | OpenClosedAfter/Triangle.cs | StaticSphere/oop-fundamentals | 64515cc33a9df398526e576df9cf7d0833762efa | [
"MIT"
] | null | null | null | OpenClosedAfter/Triangle.cs | StaticSphere/oop-fundamentals | 64515cc33a9df398526e576df9cf7d0833762efa | [
"MIT"
] | null | null | null | namespace OpenClosedAfter
{
public class Triangle : IShape
{
public decimal Width { get; set; }
public decimal Height { get; set; }
public Triangle() { }
public Triangle(decimal width, decimal height)
{
Width = width;
Height = height;
... | 22.777778 | 65 | 0.519512 |
9e37ec639e62b4ec20408b4d5ec082b9cfce139d | 1,833 | cs | C# | SharpToolkit.Extensions.Collections.Test/LambdaComparerTests.cs | SharpToolkit/Extensions | 4d9b7458843a5a10691756de1a12923414022a08 | [
"MIT"
] | 1 | 2017-07-11T08:50:37.000Z | 2017-07-11T08:50:37.000Z | SharpToolkit.Extensions.Collections.Test/LambdaComparerTests.cs | SharpToolkit/Extensions | 4d9b7458843a5a10691756de1a12923414022a08 | [
"MIT"
] | null | null | null | SharpToolkit.Extensions.Collections.Test/LambdaComparerTests.cs | SharpToolkit/Extensions | 4d9b7458843a5a10691756de1a12923414022a08 | [
"MIT"
] | null | null | null | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace SharpToolkit.Extensions.Collections.Test
{
[TestClass]
public class LambdaComparerTests
{
class CompareTarget
{
publi... | 24.44 | 71 | 0.429351 |
9eb3980fe319c8eeaf06adc4b05c6cd1a74e7ce8 | 479 | cs | C# | src/Service.TutorialTime.Client/TutorialTimeClientFactory.cs | MyJetEducation/Service.TutorialTime | d05e9a7ae7e1b294aa7402febebd908772e53d1b | [
"MIT"
] | null | null | null | src/Service.TutorialTime.Client/TutorialTimeClientFactory.cs | MyJetEducation/Service.TutorialTime | d05e9a7ae7e1b294aa7402febebd908772e53d1b | [
"MIT"
] | null | null | null | src/Service.TutorialTime.Client/TutorialTimeClientFactory.cs | MyJetEducation/Service.TutorialTime | d05e9a7ae7e1b294aa7402febebd908772e53d1b | [
"MIT"
] | null | null | null | using JetBrains.Annotations;
using Microsoft.Extensions.Logging;
using Service.Grpc;
using Service.TutorialTime.Grpc;
namespace Service.TutorialTime.Client
{
[UsedImplicitly]
public class TutorialTimeClientFactory : GrpcClientFactory
{
public TutorialTimeClientFactory(string grpcServiceUrl, ILogger logger) : bas... | 28.176471 | 119 | 0.816284 |
444195f8d4ae55999e9e9fa4a3bcd44aef9fa059 | 1,472 | cs | C# | Plugins/Aspose.Words Vs OpenXML Words/Aspose.Words VS OpenXML/AsposeWords/AsposeWords features/Insert a comment.cs | Web-Dev-Collaborative/Aspose.Words-for-.NET | bf62ae46d38c0514485f47e9a0e6d295dcf818f1 | [
"MIT"
] | 310 | 2016-04-18T06:50:54.000Z | 2022-03-29T13:24:09.000Z | Plugins/Aspose.Words Vs OpenXML Words/Aspose.Words VS OpenXML/AsposeWords/AsposeWords features/Insert a comment.cs | Web-Dev-Collaborative/Aspose.Words-for-.NET | bf62ae46d38c0514485f47e9a0e6d295dcf818f1 | [
"MIT"
] | 34 | 2016-04-15T16:39:43.000Z | 2022-01-04T18:13:20.000Z | Plugins/Aspose.Words Vs OpenXML Words/Aspose.Words VS OpenXML/AsposeWords/AsposeWords features/Insert a comment.cs | Web-Dev-Collaborative/Aspose.Words-for-.NET | bf62ae46d38c0514485f47e9a0e6d295dcf818f1 | [
"MIT"
] | 149 | 2016-04-08T03:30:01.000Z | 2022-03-27T14:55:25.000Z | // Copyright (c) Aspose 2002-2021. All Rights Reserved.
using Aspose.Words;
using NUnit.Framework;
namespace AsposeWordsVSOpenXML.AsposeWords_features
{
[TestFixture]
public class InsertAComment : TestUtil
{
[Test]
public void InsertACommentFeature()
{
Document doc = n... | 31.319149 | 77 | 0.610054 |
676a3ef3d8e8511df4c388eb0eee37154dc011ae | 2,607 | cs | C# | Source/Mosa.UnitTests/MosaUnitTestAttribute.cs | charsleysa/MOSA-Project | 14c2ea356d9705e38234504b83d0bf0425970cb9 | [
"BSD-3-Clause"
] | 294 | 2015-01-21T00:42:54.000Z | 2022-03-31T10:01:51.000Z | Source/Mosa.UnitTests/MosaUnitTestAttribute.cs | charsleysa/MOSA-Project | 14c2ea356d9705e38234504b83d0bf0425970cb9 | [
"BSD-3-Clause"
] | 252 | 2015-01-04T05:31:16.000Z | 2022-02-02T22:12:09.000Z | Source/Mosa.UnitTests/MosaUnitTestAttribute.cs | charsleysa/MOSA-Project | 14c2ea356d9705e38234504b83d0bf0425970cb9 | [
"BSD-3-Clause"
] | 104 | 2015-01-21T00:42:58.000Z | 2022-03-18T08:34:00.000Z | // Copyright (c) MOSA Project. Licensed under the New BSD License.
using System;
namespace Mosa.UnitTests
{
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
public class MosaUnitTestAttribute : Attribute
{
public String Series { get; set; }
public object Param1 { get; }
public object Param2 ... | 23.486486 | 135 | 0.713464 |
a67df2f8ba648278983f736e2e69e4c2c87e47cd | 2,948 | cs | C# | C#/C#-Part-Two/08. Text-Files/05.MaximalAreaSum/MaxAreaSumatorFromFile.cs | Horwits/Telerik-Academy-2016-2017 | e291cafa232ca5033eff43ee9a62c2d05df88300 | [
"MIT"
] | null | null | null | C#/C#-Part-Two/08. Text-Files/05.MaximalAreaSum/MaxAreaSumatorFromFile.cs | Horwits/Telerik-Academy-2016-2017 | e291cafa232ca5033eff43ee9a62c2d05df88300 | [
"MIT"
] | null | null | null | C#/C#-Part-Two/08. Text-Files/05.MaximalAreaSum/MaxAreaSumatorFromFile.cs | Horwits/Telerik-Academy-2016-2017 | e291cafa232ca5033eff43ee9a62c2d05df88300 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
class MaxAreaSumatorFromFile
{
public static List<string> GetTextFromTextFile(StreamReader reader)
{
var readedLines = new List<string>();
using (reader)
{
var currentLine... | 24.773109 | 77 | 0.471167 |
0b877748a0d32a59c43d4bec1e496e00ff691c01 | 303 | cs | C# | src/CQRS.Specs/- Test Infrastructure -/MongoFake/MongoActionFactory.cs | delimaxdev/DX.CQRS | aab316eef44dec9242145fdca7fded93b62d6b17 | [
"MIT"
] | null | null | null | src/CQRS.Specs/- Test Infrastructure -/MongoFake/MongoActionFactory.cs | delimaxdev/DX.CQRS | aab316eef44dec9242145fdca7fded93b62d6b17 | [
"MIT"
] | null | null | null | src/CQRS.Specs/- Test Infrastructure -/MongoFake/MongoActionFactory.cs | delimaxdev/DX.CQRS | aab316eef44dec9242145fdca7fded93b62d6b17 | [
"MIT"
] | 1 | 2020-01-10T08:18:49.000Z | 2020-01-10T08:18:49.000Z | namespace Mongo
{
internal class MongoActionFactory : MongoActionFluentInterface<MongoAction> {
public static readonly MongoActionFactory Default = new MongoActionFactory();
protected override MongoAction OnCreate(MongoAction action) {
return action;
}
}
}
| 27.545455 | 85 | 0.70297 |
dd4f67d5ad93f2725fbe15a41c977935ea882826 | 531 | cs | C# | pg.dat/builder/attributes/DatFileAttribute.cs | gruenwaldlk/pg.dat | 6a4c9f3c27fb1064808281cead2edc4877589421 | [
"MIT"
] | null | null | null | pg.dat/builder/attributes/DatFileAttribute.cs | gruenwaldlk/pg.dat | 6a4c9f3c27fb1064808281cead2edc4877589421 | [
"MIT"
] | null | null | null | pg.dat/builder/attributes/DatFileAttribute.cs | gruenwaldlk/pg.dat | 6a4c9f3c27fb1064808281cead2edc4877589421 | [
"MIT"
] | null | null | null | using System.Collections.Generic;
using System.Globalization;
using System.Runtime.CompilerServices;
using pg.dat.utility;
using pg.util.interfaces;
[assembly: InternalsVisibleTo("pg.dat.test")]
namespace pg.dat.builder.attributes
{
internal sealed class DatFileAttribute : IBuilderAttribute
{
private ... | 24.136364 | 62 | 0.689266 |
c2d34e107a7ffc0230900f98e4e8b882b0e05d1e | 5,705 | cs | C# | src/Sphere10.Framework.Windows.Forms/Controls/AppointmentBook/ViewModels/BaseAppointmentBookViewModel.cs | Sphere10/Framework | 5f6d9ed67dd6ec3b938d9d24223aa92ca21d9e2e | [
"MIT"
] | 1 | 2020-05-22T00:02:56.000Z | 2020-05-22T00:02:56.000Z | src/Sphere10.Framework.Windows.Forms/Controls/AppointmentBook/ViewModels/BaseAppointmentBookViewModel.cs | Sphere10/Framework | 5f6d9ed67dd6ec3b938d9d24223aa92ca21d9e2e | [
"MIT"
] | null | null | null | src/Sphere10.Framework.Windows.Forms/Controls/AppointmentBook/ViewModels/BaseAppointmentBookViewModel.cs | Sphere10/Framework | 5f6d9ed67dd6ec3b938d9d24223aa92ca21d9e2e | [
"MIT"
] | 1 | 2020-12-22T02:37:51.000Z | 2020-12-22T02:37:51.000Z | //-----------------------------------------------------------------------
// <copyright file="BaseAppointmentBookViewModel.cs" company="Sphere 10 Software">
//
// Copyright (c) Sphere 10 Software. All rights reserved. (http://www.sphere10.com)
//
// Distributed under the MIT software license, see the accompanying file
... | 29.25641 | 102 | 0.687117 |
c2e5b65c8bea0b43cd485e4190bebe34abfb4a7a | 1,518 | cs | C# | DigitalIcebreakers.Test/Lobby/Given_a_player_exists_in_a_lobby_When_joining_another_lobby.cs | kcootedinh/DigitalIcebreakers | 062139b141a73e282fa75eb3a10245f55c650a01 | [
"MIT"
] | null | null | null | DigitalIcebreakers.Test/Lobby/Given_a_player_exists_in_a_lobby_When_joining_another_lobby.cs | kcootedinh/DigitalIcebreakers | 062139b141a73e282fa75eb3a10245f55c650a01 | [
"MIT"
] | 3 | 2022-02-14T10:01:42.000Z | 2022-02-27T15:42:58.000Z | DigitalIcebreakers.Test/Lobby/Given_a_player_exists_in_a_lobby_When_joining_another_lobby.cs | kcootedinh/DigitalIcebreakers | 062139b141a73e282fa75eb3a10245f55c650a01 | [
"MIT"
] | null | null | null | using DigitalIcebreakers;
using DigitalIcebreakers.Test;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Shouldly;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DigitalIcebreakers.Test
{
[TestClass]
public class Given_a_player_exists_in_a_l... | 32.297872 | 160 | 0.628458 |
6c43744c723be6000abe01e9d47a2c869cb06a7c | 1,688 | cshtml | C# | src/Website/Views/Reservations/Index.cshtml | mauroservienti/welcome-to-the-state-machine-demos | efd58dbe66240f34c43350d81ecdb5ebc80a27f6 | [
"MIT"
] | 17 | 2019-05-28T10:26:19.000Z | 2022-03-12T11:26:54.000Z | src/Website/Views/Reservations/Index.cshtml | mauroservienti/welcome-to-the-state-machine-demos | efd58dbe66240f34c43350d81ecdb5ebc80a27f6 | [
"MIT"
] | 34 | 2019-05-02T05:49:58.000Z | 2022-03-28T04:01:36.000Z | src/Website/Views/Reservations/Index.cshtml | mauroservienti/welcome-to-the-state-machine-demos | efd58dbe66240f34c43350d81ecdb5ebc80a27f6 | [
"MIT"
] | 3 | 2020-05-12T08:16:34.000Z | 2020-09-06T08:51:46.000Z | @{
ViewData["Title"] = "Your reservations";
}
<div class="text-center">
<h1 class="display-4">My Reservations</h1>
</div>
@if (Model.Reservation == null)
{
<span>No reservations found.</span>
}
else
{
<ul>
@foreach (dynamic reservedTicket in Model.Reservation.ReservedTickets)
{
... | 26.375 | 115 | 0.533768 |
09dd6667e75a296b6758b0fa0306e0f8a086cba1 | 5,031 | cs | C# | TSVD/Radical/src/netcore45/Radical.Windows.Presentation/Behaviors/PageKeyboardMouseNavigationBehavior.cs | uditagarwal97/nekara-artifact | b210ccaf751aca6bae7189d4f4db537b6158c525 | [
"MIT"
] | 2 | 2021-07-15T15:58:18.000Z | 2021-07-16T14:37:26.000Z | TSVD/Radical/src/netcore45/Radical.Windows.Presentation/Behaviors/PageKeyboardMouseNavigationBehavior.cs | uditagarwal97/nekara-artifact | b210ccaf751aca6bae7189d4f4db537b6158c525 | [
"MIT"
] | null | null | null | TSVD/Radical/src/netcore45/Radical.Windows.Presentation/Behaviors/PageKeyboardMouseNavigationBehavior.cs | uditagarwal97/nekara-artifact | b210ccaf751aca6bae7189d4f4db537b6158c525 | [
"MIT"
] | 2 | 2021-07-15T12:19:06.000Z | 2021-09-06T04:28:19.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Topics.Radical.Windows.Behaviors;
using Topics.Radical.Windows.Presentation.ComponentModel;
using Windows.System;
using Windows.UI.Core;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
name... | 40.572581 | 108 | 0.555158 |
eb27b43a0ee597886767b4cd9a98b968574c1797 | 4,670 | cs | C# | src/Data/Maui.Data/Scripts/ImportStockExchanges.cs | bg0jr/Maui | 5e326e4d07959682173e3ef8d5269ed0fd758347 | [
"BSD-3-Clause"
] | null | null | null | src/Data/Maui.Data/Scripts/ImportStockExchanges.cs | bg0jr/Maui | 5e326e4d07959682173e3ef8d5269ed0fd758347 | [
"BSD-3-Clause"
] | null | null | null | src/Data/Maui.Data/Scripts/ImportStockExchanges.cs | bg0jr/Maui | 5e326e4d07959682173e3ef8d5269ed0fd758347 | [
"BSD-3-Clause"
] | 1 | 2020-06-05T20:19:19.000Z | 2020-06-05T20:19:19.000Z | using System.Linq;
using System.Transactions;
using Blade;
using Maui.Entities;
using Maui;
using Maui.Logging;
using Maui.Shell;
using Blade.Logging;
using Blade.Shell;
namespace Maui.Data.Scripts
{
public class ImportStockExchanges : ScriptBase
{
private static readonly ILogger myLogge... | 63.972603 | 182 | 0.574304 |
01e15295eb28729d371cf19aae10f9c5a23886e1 | 2,883 | cs | C# | src/Reliance.Core/Services/Commands/DevOps/GetDashboardCommand.cs | BenVanZyl/Reliance | 25a638d9dc846bc63204dbb53aa4d34944e02e9d | [
"MIT"
] | 1 | 2020-07-21T08:52:33.000Z | 2020-07-21T08:52:33.000Z | src/Reliance.Core/Services/Commands/DevOps/GetDashboardCommand.cs | BenVanZyl/Reliance | 25a638d9dc846bc63204dbb53aa4d34944e02e9d | [
"MIT"
] | null | null | null | src/Reliance.Core/Services/Commands/DevOps/GetDashboardCommand.cs | BenVanZyl/Reliance | 25a638d9dc846bc63204dbb53aa4d34944e02e9d | [
"MIT"
] | null | null | null | using MediatR;
using Reliance.Core.Infrastructure;
using Reliance.Core.Services.Infrastructure;
using Reliance.Core.Services.Queries.DevOps;
using Reliance.Web.Client.Dto.Dashboard;
using SnowStorm.QueryExecutors;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.T... | 34.321429 | 118 | 0.51717 |
13b3f6a56226b2166b443ea3ac3155bd7526b87f | 12,338 | cs | C# | dp2Circulation/Reader/OpenPatronXmlDialog.Designer.cs | DigitalPlatform/dp2 | 3569d87083730c27311bb04658e3bb839aaca568 | [
"Apache-2.0"
] | 95 | 2015-05-06T08:38:37.000Z | 2022-03-08T03:08:17.000Z | dp2Circulation/Reader/OpenPatronXmlDialog.Designer.cs | DigitalPlatform/dp2 | 3569d87083730c27311bb04658e3bb839aaca568 | [
"Apache-2.0"
] | 929 | 2015-05-08T07:12:29.000Z | 2022-03-31T08:33:38.000Z | dp2Circulation/Reader/OpenPatronXmlDialog.Designer.cs | DigitalPlatform/dp2 | 3569d87083730c27311bb04658e3bb839aaca568 | [
"Apache-2.0"
] | 60 | 2015-05-20T10:41:25.000Z | 2021-08-10T03:50:32.000Z | namespace dp2Circulation
{
partial class OpenPatronXmlFileDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary... | 57.654206 | 177 | 0.654077 |
13e9ef625f163134d30ff7d2b29e7fe56333c239 | 1,096 | cs | C# | Assets/Scripts/Client/Mediators/MainGame/CollMediator.cs | gellios3/Tic-Tac-Toe | 141b60f61913d0b46dcb38e1a1bbd02593a62b87 | [
"MIT"
] | null | null | null | Assets/Scripts/Client/Mediators/MainGame/CollMediator.cs | gellios3/Tic-Tac-Toe | 141b60f61913d0b46dcb38e1a1bbd02593a62b87 | [
"MIT"
] | null | null | null | Assets/Scripts/Client/Mediators/MainGame/CollMediator.cs | gellios3/Tic-Tac-Toe | 141b60f61913d0b46dcb38e1a1bbd02593a62b87 | [
"MIT"
] | null | null | null | using Client.Signals;
using Client.Views.MainGame;
using Mediators;
using Services;
namespace Client.Mediators.MainGame
{
public class CollMediator : TargetMediator<CollView>
{
/// <summary>
/// Map service
/// </summary>
[Inject]
public MapService MapService { get; set;... | 26.095238 | 70 | 0.531022 |
f80afe6679676cd39ad2a5b4bf03f2d822f3fd42 | 46,926 | cs | C# | TheEcodesPCL/TheEcodesPCL/Ecodes.cs | alshell7/TheEcodesPCL | e033c505013d64dcbda9aaf0dda6b669bec19719 | [
"MIT",
"Unlicense"
] | null | null | null | TheEcodesPCL/TheEcodesPCL/Ecodes.cs | alshell7/TheEcodesPCL | e033c505013d64dcbda9aaf0dda6b669bec19719 | [
"MIT",
"Unlicense"
] | null | null | null | TheEcodesPCL/TheEcodesPCL/Ecodes.cs | alshell7/TheEcodesPCL | e033c505013d64dcbda9aaf0dda6b669bec19719 | [
"MIT",
"Unlicense"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TheEcodes;
namespace TheEcodes
{
/// <summary>
/// A class to get all the valid information of a particular E code.
/// </summary>
/// <remarks></remarks>
public sealed class EcodeInformation
{
... | 49.5 | 241 | 0.540276 |
c1d9705b414da2402b969716a1f381472882ee19 | 8,136 | cs | C# | Assets/Scripts/ChatInteraction/ChatManager.cs | s4safeld/BeV2V | cd22ea650d55e817a0fe55f50ad3d8a9e7db84a6 | [
"Apache-2.0"
] | null | null | null | Assets/Scripts/ChatInteraction/ChatManager.cs | s4safeld/BeV2V | cd22ea650d55e817a0fe55f50ad3d8a9e7db84a6 | [
"Apache-2.0"
] | null | null | null | Assets/Scripts/ChatInteraction/ChatManager.cs | s4safeld/BeV2V | cd22ea650d55e817a0fe55f50ad3d8a9e7db84a6 | [
"Apache-2.0"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Photon.Pun;
using Photon.Chat;
using ExitGames.Client.Photon;
using UnityEngine.UI;
using System.IO;
using System;
public class ChatManager : MonoBehaviour, IChatClientListener
{
ChatClient chatClient;
int subscribedChannels ... | 28.851064 | 165 | 0.542527 |
de6672046e6fdafe56b4970a15017ac5553655ab | 359 | cs | C# | Assets/_ButtonOnPointer.cs | Iamdevelope/WitBaiduAPI-PJW | c575b50b083a4b11e046197ad715769d2491fce8 | [
"Apache-2.0"
] | 1 | 2018-12-11T05:17:28.000Z | 2018-12-11T05:17:28.000Z | Assets/_ButtonOnPointer.cs | Iamdevelope/WitBaiduAPI-PJW | c575b50b083a4b11e046197ad715769d2491fce8 | [
"Apache-2.0"
] | null | null | null | Assets/_ButtonOnPointer.cs | Iamdevelope/WitBaiduAPI-PJW | c575b50b083a4b11e046197ad715769d2491fce8 | [
"Apache-2.0"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class _ButtonOnPointer : MonoBehaviour,IPointerDownHandler,IPointerUpHandler {
public bool isDown;
public void OnPointerDown(PointerEventData data){
isDown=true;
}
public void OnPointerUp(Pointe... | 23.933333 | 85 | 0.81337 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.