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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
275772adf3895e2ba78ae4245b279548e05a040b | 470 | cs | C# | Ex_Files_C_Sharp_Design_Patterns/Ch05/05_03/DesignPatterns/Decorator/ConcreteComponent/CompactCar.cs | jonmcquade/csharp-snippets | 71440d95295d233e6a994b7bfbbae0b3b1f16049 | [
"MIT"
] | 9 | 2019-09-27T21:19:31.000Z | 2021-12-08T18:05:08.000Z | Ex_Files_C_Sharp_Design_Patterns/Ch05/05_03/DesignPatterns/Decorator/ConcreteComponent/CompactCar.cs | jenmcquade/csharp-snippets | 71440d95295d233e6a994b7bfbbae0b3b1f16049 | [
"MIT"
] | null | null | null | Ex_Files_C_Sharp_Design_Patterns/Ch05/05_03/DesignPatterns/Decorator/ConcreteComponent/CompactCar.cs | jenmcquade/csharp-snippets | 71440d95295d233e6a994b7bfbbae0b3b1f16049 | [
"MIT"
] | 3 | 2020-01-15T14:29:27.000Z | 2022-02-19T15:49:44.000Z | using Decorator.Component;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Decorator.ConcreteComponent
{
// ConcreteComponent
public class CompactCar : Car
{
public CompactCar()
{
Description = "Compa... | 21.363636 | 63 | 0.668085 |
dfc206901630a7d58cc4a3ca3316011aae77384a | 3,257 | cs | C# | Zwyssigly.ImageServer.Embedded/EmbeddedThumbnailService.cs | Zwyssigly/Zwyssigly.ImageServer | b9e9dc38f36cc3b6a8e5324b6176438a0e3c1d6f | [
"Apache-2.0"
] | null | null | null | Zwyssigly.ImageServer.Embedded/EmbeddedThumbnailService.cs | Zwyssigly/Zwyssigly.ImageServer | b9e9dc38f36cc3b6a8e5324b6176438a0e3c1d6f | [
"Apache-2.0"
] | null | null | null | Zwyssigly.ImageServer.Embedded/EmbeddedThumbnailService.cs | Zwyssigly/Zwyssigly.ImageServer | b9e9dc38f36cc3b6a8e5324b6176438a0e3c1d6f | [
"Apache-2.0"
] | null | null | null | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Zwyssigly.Functional;
using Zwyssigly.ImageServer.Contracts;
using Zwyssigly.ImageServer.Thumbnails;
namespace Zwyssigly.ImageServer.Embedded
{
public class EmbeddedThumbnailService : IThumbnailService
{
private r... | 44.616438 | 192 | 0.642923 |
dfd17d4ffa6d5d44e7ed59bfcdf1a2c8c8dbc6e0 | 426 | cs | C# | Bibabook/Bibabook.Implementation/Models/Post.cs | ignacy130/bibabook | e33e0f47a4f65ae456f63fb892105d5bb6def164 | [
"Unlicense"
] | null | null | null | Bibabook/Bibabook.Implementation/Models/Post.cs | ignacy130/bibabook | e33e0f47a4f65ae456f63fb892105d5bb6def164 | [
"Unlicense"
] | null | null | null | Bibabook/Bibabook.Implementation/Models/Post.cs | ignacy130/bibabook | e33e0f47a4f65ae456f63fb892105d5bb6def164 | [
"Unlicense"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Contract;
using System.ComponentModel.DataAnnotations;
namespace Bibabook.Implementation.Models
{
public class Post : Entity, IPostComment
{
public Guid PostID { get; set; }
[StringLength(3000)]
... | 25.058824 | 66 | 0.704225 |
1291080b7e30acca3911eded0b93e2073da11e23 | 5,961 | cs | C# | Assets/Scripts/IAJ.Unity/DecisionMaking/MCTS/NewMCTSBiasedPlayout.cs | miguel-amaral/iaj-project-3 | 9c99b0a23dbe2477fa13b76e22904bcf56fdd7df | [
"MIT"
] | null | null | null | Assets/Scripts/IAJ.Unity/DecisionMaking/MCTS/NewMCTSBiasedPlayout.cs | miguel-amaral/iaj-project-3 | 9c99b0a23dbe2477fa13b76e22904bcf56fdd7df | [
"MIT"
] | null | null | null | Assets/Scripts/IAJ.Unity/DecisionMaking/MCTS/NewMCTSBiasedPlayout.cs | miguel-amaral/iaj-project-3 | 9c99b0a23dbe2477fa13b76e22904bcf56fdd7df | [
"MIT"
] | null | null | null |
using Assets.Scripts.DecisionMakingActions;
using Assets.Scripts.GameManager;
using Assets.Scripts.IAJ.Unity.DecisionMaking.GOB;
using System.Collections.Generic;
using UnityEngine;
namespace Assets.Scripts.IAJ.Unity.DecisionMaking.MCTS {
class NewMCTSBiasedPlayout : NewMCTS{
private const int ManaWeig... | 38.707792 | 149 | 0.48096 |
7f33a7929d73c2dd92a71f8e59aa339206c9424b | 996 | cs | C# | ApplicationApp/Services/PaisService.cs | WallaceMoreiraSilva/ProjetoSensores | 2b4f8729e39b394fdabee02d340a7d4c5b6ad65f | [
"MIT"
] | null | null | null | ApplicationApp/Services/PaisService.cs | WallaceMoreiraSilva/ProjetoSensores | 2b4f8729e39b394fdabee02d340a7d4c5b6ad65f | [
"MIT"
] | null | null | null | ApplicationApp/Services/PaisService.cs | WallaceMoreiraSilva/ProjetoSensores | 2b4f8729e39b394fdabee02d340a7d4c5b6ad65f | [
"MIT"
] | null | null | null | using ProjetoDDD.Sensores.Application.Interfaces;
using ProjetoDDD.Sensores.Domain.Entities;
using System.Collections.Generic;
using System.Threading.Tasks;
using ProjetoDDD.Sensores.Domain.Interfaces;
namespace ProjetoDDD.Sensores.Application.Services
{
public class PaisService : IPaisService
{
IPais... | 22.636364 | 53 | 0.598394 |
79e06b2618b52781d29b22786848acdbbadf2e43 | 6,492 | cs | C# | src/EFCore/Metadata/Conventions/Internal/DiscriminatorConvention.cs | pedropbazzo/Entity-Framework | db7bdafdca6a36e76d201c56ec709c9c4ea107a0 | [
"Apache-2.0"
] | 1 | 2020-02-09T05:51:20.000Z | 2020-02-09T05:51:20.000Z | src/EFCore/Metadata/Conventions/Internal/DiscriminatorConvention.cs | Wrank/EntityFrameworkCore | df8a6e39933a6f5ed3bc50be4771d5ab58159805 | [
"Apache-2.0"
] | null | null | null | src/EFCore/Metadata/Conventions/Internal/DiscriminatorConvention.cs | Wrank/EntityFrameworkCore | df8a6e39933a6f5ed3bc50be4771d5ab58159805 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.Diagnostics;
using Microsoft.Entit... | 49.938462 | 113 | 0.647566 |
79f5f03a0935b3f3dff9165dfe9c78cd45bc26d4 | 3,788 | cs | C# | Molten.Font/FontTableList.cs | Syncaidius/MoltenEngine | 02734542f7d195eed02764b8f4ab71c0cb13e484 | [
"MIT"
] | 79 | 2018-02-05T15:16:21.000Z | 2022-03-30T15:14:10.000Z | Molten.Font/FontTableList.cs | Zeracronius/MoltenEngine | 02734542f7d195eed02764b8f4ab71c0cb13e484 | [
"MIT"
] | 24 | 2018-03-14T18:52:33.000Z | 2022-03-29T06:13:59.000Z | Molten.Font/FontTableList.cs | Zeracronius/MoltenEngine | 02734542f7d195eed02764b8f4ab71c0cb13e484 | [
"MIT"
] | 5 | 2018-12-10T00:44:01.000Z | 2022-02-09T06:53:50.000Z | using System;
using System.Collections.Generic;
namespace Molten.Font
{
/// <summary>Stores font tables by their tag and type. Also stores the headers of unsupported tables.</summary>
public class FontTableList
{
Dictionary<string, FontTable> _byTag;
Dictionary<Type, FontTable> _byType;
... | 36.776699 | 136 | 0.582365 |
031b674b603cda97474b8c3552be001ed34a5592 | 742 | cs | C# | GeometryTest/Geometry2D/Line2DTests.cs | tk-yoshimura/Geometry | adf58b16061d55f4756c870617a6ffa36ffcf72b | [
"MIT"
] | null | null | null | GeometryTest/Geometry2D/Line2DTests.cs | tk-yoshimura/Geometry | adf58b16061d55f4756c870617a6ffa36ffcf72b | [
"MIT"
] | null | null | null | GeometryTest/Geometry2D/Line2DTests.cs | tk-yoshimura/Geometry | adf58b16061d55f4756c870617a6ffa36ffcf72b | [
"MIT"
] | null | null | null | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Geometry.Geometry2D.Tests {
[TestClass()]
public class Line2DTests {
[TestMethod()]
public void Line2DTest() {
Line2D line1 = new(new Vector2D(6, 1), new Vector2D(-1, 2));
Line2D line2 = Matrix2D.Move(2, 4) *... | 35.333333 | 95 | 0.58221 |
03705e7f7e903422a2aae6319f6da74f6796f7c8 | 815 | cs | C# | C# - Part 1/06. LoopsHW/06. CalculateNAndK/CalculateNK.cs | vtoshkova/Telerik-Academy-2015 | 196e27eddb7b6484c692ef6f824d34a685dc6e39 | [
"MIT"
] | null | null | null | C# - Part 1/06. LoopsHW/06. CalculateNAndK/CalculateNK.cs | vtoshkova/Telerik-Academy-2015 | 196e27eddb7b6484c692ef6f824d34a685dc6e39 | [
"MIT"
] | null | null | null | C# - Part 1/06. LoopsHW/06. CalculateNAndK/CalculateNK.cs | vtoshkova/Telerik-Academy-2015 | 196e27eddb7b6484c692ef6f824d34a685dc6e39 | [
"MIT"
] | null | null | null | //Problem 6. Calculate N! / K!
//Write a program that calculates n! / k! for given n and k (1 < k < n < 100). Use only one loop.
using System;
using System.Numerics;
class CalculateNK
{
static void Main()
{
Console.Write("Enter integer k between 1 and 100: ");
int k = int.Parse(Console.ReadLin... | 24.69697 | 97 | 0.479755 |
7e4e524d82df4b059679ec0c4f5c6aa6f85838a5 | 729 | cs | C# | DataModel/ConfigurationModel/Classes/ExperimentConfig.cs | thomashjorth/SmartRisoMono | ae8dac6f3bbfec6af212fc6cc4febf4dc4ff5a57 | [
"MIT"
] | null | null | null | DataModel/ConfigurationModel/Classes/ExperimentConfig.cs | thomashjorth/SmartRisoMono | ae8dac6f3bbfec6af212fc6cc4febf4dc4ff5a57 | [
"MIT"
] | null | null | null | DataModel/ConfigurationModel/Classes/ExperimentConfig.cs | thomashjorth/SmartRisoMono | ae8dac6f3bbfec6af212fc6cc4febf4dc4ff5a57 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
namespace DataModel.ConfigurationModel.Classes
{
public class ExperimentConfig : VisualizationConfig
{
public Guid Id;
public string Unit;
public VisualizationConfig Visualization1;
public VisualizationConfig Visualization2;
public ExperimentConfig (string h... | 28.038462 | 115 | 0.727023 |
7e88ac480868490ed93d5764f2ac33ac3d5b4ba2 | 197 | cs | C# | src/NameSorter.App/Options.cs | AUSBird/CA-NameSorter | b8200f51cf892cbd650ffb954c26152fe93db10e | [
"MIT"
] | null | null | null | src/NameSorter.App/Options.cs | AUSBird/CA-NameSorter | b8200f51cf892cbd650ffb954c26152fe93db10e | [
"MIT"
] | null | null | null | src/NameSorter.App/Options.cs | AUSBird/CA-NameSorter | b8200f51cf892cbd650ffb954c26152fe93db10e | [
"MIT"
] | null | null | null | using CommandLine;
namespace NameSorter.App
{
public class Options
{
[Option('i')] public bool Invert { get; set; }
[Option('f')] public string InFile { get; set; }
}
} | 19.7 | 56 | 0.588832 |
0f34a9ce21116b15cf13c9ae565b7ec7b4fe8964 | 655 | cs | C# | mcs/class/System.XML/Test/System.Xml.Schema/XmlSchemaExceptionTests.cs | lefb766/mono | 4f458a4ff72bc6c5e07f82aec9040d355cbb8f5c | [
"Apache-2.0"
] | 469 | 2019-01-23T12:21:59.000Z | 2022-03-10T15:50:42.000Z | mcs/class/System.XML/Test/System.Xml.Schema/XmlSchemaExceptionTests.cs | lefb766/mono | 4f458a4ff72bc6c5e07f82aec9040d355cbb8f5c | [
"Apache-2.0"
] | 83 | 2015-07-16T01:31:41.000Z | 2016-01-13T02:15:47.000Z | mcs/class/System.XML/Test/System.Xml.Schema/XmlSchemaExceptionTests.cs | lefb766/mono | 4f458a4ff72bc6c5e07f82aec9040d355cbb8f5c | [
"Apache-2.0"
] | 36 | 2019-01-23T22:17:09.000Z | 2022-01-20T15:41:34.000Z | // Copyright (c) 2014 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
//
// Unit tests for XmlSchemaException
//
// Author:
// Eberhard Beilharz <eb1@sil.org>
//
using System;
using System.Xml.Schema;
using NUnit.Framework;
namespace MonoTests.System.Xml
{... | 23.392857 | 90 | 0.723664 |
c65f25078f1aed4550a591fbb386600523cc5e7a | 18,022 | cs | C# | FluentInterfaceCreator/Resources/Literals.Designer.cs | ScottLilly/FluentInterfaceCreator | 7a83a476f4d9b90361fcd4361603b05262928563 | [
"MIT"
] | 56 | 2016-11-04T16:57:04.000Z | 2022-02-11T21:34:22.000Z | FluentInterfaceCreator/Resources/Literals.Designer.cs | ScottLilly/FluentInterfaceCreator | 7a83a476f4d9b90361fcd4361603b05262928563 | [
"MIT"
] | 4 | 2017-01-20T12:55:22.000Z | 2018-08-05T12:25:22.000Z | FluentInterfaceCreator/Resources/Literals.Designer.cs | ScottLilly/FluentInterfaceCreator | 7a83a476f4d9b90361fcd4361603b05262928563 | [
"MIT"
] | 9 | 2017-01-20T12:50:08.000Z | 2022-02-11T21:34:26.000Z | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 33.87594 | 185 | 0.527023 |
6635b9ceee377f098dede6510abb57f97d43cbd1 | 10,687 | cs | C# | src/DigiDiscord/Managers/GatewayManager.cs | jameslen/DigiDiscord | 66487d86b0bcb7418d7f798860624c8c22ca1647 | [
"MIT"
] | 4 | 2017-02-09T16:04:58.000Z | 2019-04-13T14:10:29.000Z | src/DigiDiscord/Managers/GatewayManager.cs | jameslen/DigiDiscord | 66487d86b0bcb7418d7f798860624c8c22ca1647 | [
"MIT"
] | null | null | null | src/DigiDiscord/Managers/GatewayManager.cs | jameslen/DigiDiscord | 66487d86b0bcb7418d7f798860624c8c22ca1647 | [
"MIT"
] | null | null | null | using DigiDiscord.Utilities;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
// Source Docs: https://github.com/hammerandch... | 34.698052 | 293 | 0.503883 |
af082d924ee91db46a0a06150736b55f23f97d5e | 2,127 | cs | C# | Onvif.Open/Onvif.Open.Device.Management/Implementation/Client/DeviceDateTime.cs | sarthak-k/Onvif.Open | ed64251f02100c313acf040867200f311e799424 | [
"MIT"
] | 17 | 2016-07-31T15:37:38.000Z | 2021-06-16T07:40:53.000Z | Onvif.Open/Onvif.Open.Device.Management/Implementation/Client/DeviceDateTime.cs | sarthak-k/Onvif.Open | ed64251f02100c313acf040867200f311e799424 | [
"MIT"
] | 3 | 2017-05-17T10:10:30.000Z | 2017-08-09T01:33:07.000Z | Onvif.Open/Onvif.Open.Device.Management/Implementation/Client/DeviceDateTime.cs | sarthak-k/Onvif.Open | ed64251f02100c313acf040867200f311e799424 | [
"MIT"
] | 5 | 2017-08-31T14:44:57.000Z | 2020-07-04T06:57:19.000Z | // Sarthak Killedar
// 2016-03-07 @ 11:37 PM
using System;
using Onvif.Open.Core.Abstract.Interface.Device;
using Onvif.Open.Core.Operations;
using Onvif.Open.Device.Management.Implementation.Extention;
using Onvif.Open.Device.Management.Ver10.DeviceManagement;
using DateTime = System.DateTime;
namespace O... | 30.385714 | 106 | 0.64645 |
699c0415fd395178dfa3e26450abab65393c73c1 | 5,177 | cs | C# | JSSoft.Fonts.ApplicationHost/Dialogs/ViewModels/ExportSettingsViewModel.cs | s2quake/JSSoft.Font | 21a592cb3072beb9675f0e695c07b65867f57a80 | [
"MIT"
] | 1 | 2020-03-18T04:51:24.000Z | 2020-03-18T04:51:24.000Z | JSSoft.Fonts.ApplicationHost/Dialogs/ViewModels/ExportSettingsViewModel.cs | s2quake/JSSoft.Fonts | 21a592cb3072beb9675f0e695c07b65867f57a80 | [
"MIT"
] | 1 | 2020-03-12T00:51:49.000Z | 2020-03-12T08:17:28.000Z | JSSoft.Fonts.ApplicationHost/Dialogs/ViewModels/ExportSettingsViewModel.cs | s2quake/JSSoft.Font | 21a592cb3072beb9675f0e695c07b65867f57a80 | [
"MIT"
] | null | null | null | // MIT License
//
// Copyright (c) 2020 Jeesu Choi
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modif... | 31.95679 | 96 | 0.59069 |
b81eb91ba70eae5c485973bda9b62807accf1a65 | 1,033 | cs | C# | CQRS_Validation_FluentValidator/Application/Users/Commands/CreateUser/CreateUserCommandHandler.cs | CodeMazeBlog/cqrs-validation-mediatr-fluentvalidation | e446b0512108fdbac6a3ea5c307dc79ed7fa77b1 | [
"MIT"
] | 16 | 2021-10-09T13:47:03.000Z | 2022-03-16T08:12:05.000Z | CQRS_Validation_FluentValidator/Application/Users/Commands/CreateUser/CreateUserCommandHandler.cs | CodeMazeBlog/cqrs-validation-mediatr-fluentvalidation | e446b0512108fdbac6a3ea5c307dc79ed7fa77b1 | [
"MIT"
] | null | null | null | CQRS_Validation_FluentValidator/Application/Users/Commands/CreateUser/CreateUserCommandHandler.cs | CodeMazeBlog/cqrs-validation-mediatr-fluentvalidation | e446b0512108fdbac6a3ea5c307dc79ed7fa77b1 | [
"MIT"
] | 2 | 2021-11-10T09:19:52.000Z | 2021-11-30T12:54:53.000Z | using System.Threading;
using System.Threading.Tasks;
using Application.Abstractions.Messaging;
using Application.Contracts.Users;
using Domain.Entities;
using Domain.Repositories;
using Mapster;
namespace Application.Users.Commands.CreateUser
{
internal sealed class CreateUserCommandHandler : ICommandHandler<Cre... | 31.30303 | 110 | 0.7212 |
5e09b4e3c6e0e4e41e5e0714b51515cfd85ab884 | 9,536 | cs | C# | csharp/Rekompenco.cs | Winnak/Rekompenco | 38a69b5bdc5b41b948904d8c50d172725758624c | [
"MIT"
] | null | null | null | csharp/Rekompenco.cs | Winnak/Rekompenco | 38a69b5bdc5b41b948904d8c50d172725758624c | [
"MIT"
] | null | null | null | csharp/Rekompenco.cs | Winnak/Rekompenco | 38a69b5bdc5b41b948904d8c50d172725758624c | [
"MIT"
] | null | null | null | /* MIT License
*
* Copyright (c) 2017 Erik Høyrup Jørgensen
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | 38.764228 | 117 | 0.556732 |
c12ef9f9c3a5c813949a7793bd78c0ef532cf67f | 1,923 | cs | C# | _Out/Server/ClientBin/source/Assets/_NF/NFCoreEx/NFCElement.cs | bigflyzhou/stafastframe | 8f84711e8f631df7103e1ff57c4472ef78f74c0c | [
"Apache-2.0"
] | 1 | 2016-05-24T12:38:05.000Z | 2016-05-24T12:38:05.000Z | _Out/Server/ClientBin/source/Assets/_NF/NFCoreEx/NFCElement.cs | hloong/NoahGameFrame | 85f608a16a0a82085ab37b9f9b8269de2fd99c74 | [
"Apache-2.0"
] | null | null | null | _Out/Server/ClientBin/source/Assets/_NF/NFCoreEx/NFCElement.cs | hloong/NoahGameFrame | 85f608a16a0a82085ab37b9f9b8269de2fd99c74 | [
"Apache-2.0"
] | 1 | 2020-10-27T12:44:18.000Z | 2020-10-27T12:44:18.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NFCoreEx
{
class NFCElement : NFIElement
{
public NFCElement()
{
mxPropertyManager = new NFCPropertyManager(new NFIDENTID());
}
public override NFIPropertyManager GetPropertyM... | 24.341772 | 78 | 0.539782 |
379265b287ad5e01a50f6913227896dad143e29a | 4,779 | cs | C# | SMSEditor/Data/Enumerations.cs | xfixium/SMSEditor | a3663fc4f6573a0b67011a7215e87b402e624130 | [
"MIT"
] | 8 | 2021-10-09T11:44:23.000Z | 2022-03-09T17:41:13.000Z | SMSEditor/Data/Enumerations.cs | xfixium/SMSEditor | a3663fc4f6573a0b67011a7215e87b402e624130 | [
"MIT"
] | null | null | null | SMSEditor/Data/Enumerations.cs | xfixium/SMSEditor | a3663fc4f6573a0b67011a7215e87b402e624130 | [
"MIT"
] | null | null | null | //
// SMS Editor
// Copyright (C) 2021 xfixium | xfixium@yahoo.com
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to ... | 32.510204 | 169 | 0.561205 |
d437263bbc77f5b1c6eb429623d66838b857c743 | 783 | cs | C# | UnitTests/P1426/Test.cs | ch200c/leetcode-cs | 12208171ee7d744def2322176c1c9363cc28a584 | [
"MIT"
] | null | null | null | UnitTests/P1426/Test.cs | ch200c/leetcode-cs | 12208171ee7d744def2322176c1c9363cc28a584 | [
"MIT"
] | null | null | null | UnitTests/P1426/Test.cs | ch200c/leetcode-cs | 12208171ee7d744def2322176c1c9363cc28a584 | [
"MIT"
] | null | null | null | using Xunit;
namespace UnitTests.P1426
{
public class Test
{
[Fact]
public void Test1()
{
var solution = new LeetCode.P1426.Solution();
var result = solution.CountElements(new int[] { 1, 2, 3 });
Assert.Equal(2, result);
}
[Fact]
... | 24.46875 | 80 | 0.491699 |
2304a8fd009694a2a9632d58bb6fd25efda7e1c2 | 19,412 | cs | C# | FlubuCore/Tasks/Docker/Service/DockerServiceCreateTask.cs | dungjk/flubu.core | 8a67fc70d01a20458dad46a722eb8e40f84512d2 | [
"BSD-2-Clause"
] | null | null | null | FlubuCore/Tasks/Docker/Service/DockerServiceCreateTask.cs | dungjk/flubu.core | 8a67fc70d01a20458dad46a722eb8e40f84512d2 | [
"BSD-2-Clause"
] | null | null | null | FlubuCore/Tasks/Docker/Service/DockerServiceCreateTask.cs | dungjk/flubu.core | 8a67fc70d01a20458dad46a722eb8e40f84512d2 | [
"BSD-2-Clause"
] | null | null | null |
//-----------------------------------------------------------------------
// <auto-generated />
//-----------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using FlubuCore.Context;
using FlubuCore.Tasks;
using FlubuCore.Tasks.Process;
na... | 31.158909 | 108 | 0.569596 |
d4e91a26381c73d975f828947ebf05769e8671a1 | 271 | cs | C# | SomeExampleFunctions/Shared/Configuration.cs | gsag/azure-functions-lab | 8793b2b2ab7e4794f3fd40c421007c3caa515527 | [
"MIT"
] | 1 | 2021-09-30T18:48:56.000Z | 2021-09-30T18:48:56.000Z | SomeExampleFunctions/Shared/Configuration.cs | gsag/azure-functions-lab | 8793b2b2ab7e4794f3fd40c421007c3caa515527 | [
"MIT"
] | null | null | null | SomeExampleFunctions/Shared/Configuration.cs | gsag/azure-functions-lab | 8793b2b2ab7e4794f3fd40c421007c3caa515527 | [
"MIT"
] | 1 | 2021-10-29T20:35:47.000Z | 2021-10-29T20:35:47.000Z | using System;
namespace SomeExampleFunctions.Shared
{
public static class Configuration
{
public static string ValueOf(string key)
{
return Environment.GetEnvironmentVariable(key, EnvironmentVariableTarget.Process);
}
}
}
| 20.846154 | 94 | 0.678967 |
d4fd7e820a4304746e6409e7925caff0d57ee86b | 1,291 | cs | C# | Zergatul/Network/ASN1/Structures/ECDSASignatureValue.cs | Zergatul/ZergatulLib | 9f864fe6e7a3cb7236a63d575387fa4db3b0f5da | [
"MIT"
] | 5 | 2017-07-26T20:08:50.000Z | 2021-10-14T11:30:06.000Z | Zergatul/Network/ASN1/Structures/ECDSASignatureValue.cs | Zergatul/ZergatulLib | 9f864fe6e7a3cb7236a63d575387fa4db3b0f5da | [
"MIT"
] | null | null | null | Zergatul/Network/ASN1/Structures/ECDSASignatureValue.cs | Zergatul/ZergatulLib | 9f864fe6e7a3cb7236a63d575387fa4db3b0f5da | [
"MIT"
] | 1 | 2018-03-10T19:50:13.000Z | 2018-03-10T19:50:13.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zergatul.Math;
namespace Zergatul.Network.Asn1.Structures
{
/// <summary>
/// https://tools.ietf.org/html/rfc4492#page-21
/// </summary>
public class ECDSASignatureValue
{
... | 25.82 | 78 | 0.587142 |
1e68170c30760ed9b259275a78cf6f07eda8ef54 | 4,571 | cs | C# | Assets/Gridlike/Lib/Scripts/GridListener.cs | GibsS/gridlike-Unity | 1f8b1e002ad371e318283679c0998d4aaa5d9f05 | [
"MIT"
] | 3 | 2020-08-03T12:49:28.000Z | 2021-12-17T05:43:21.000Z | Assets/Gridlike/Lib/Scripts/GridListener.cs | GibsS/gridlike-Unity | 1f8b1e002ad371e318283679c0998d4aaa5d9f05 | [
"MIT"
] | null | null | null | Assets/Gridlike/Lib/Scripts/GridListener.cs | GibsS/gridlike-Unity | 1f8b1e002ad371e318283679c0998d4aaa5d9f05 | [
"MIT"
] | 1 | 2020-03-08T13:31:49.000Z | 2020-03-08T13:31:49.000Z | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gridlike {
/// <summary>
/// I really wish I could find a better name for this type of component. A GridListener gets signaled of changes in what information
/// is to be "shown" about the Grid it is attached to. When signale... | 33.123188 | 136 | 0.628965 |
1ec4dfc91a628f11dc15c6a9e2aba5ccc6b99878 | 7,391 | cs | C# | osu.Game/Graphics/UserInterface/OsuTextBox.cs | byspeece/ArchOSU | 4cf4618bd176f55e4b821d1db2817555f993ab62 | [
"MIT"
] | 20 | 2021-01-09T23:57:30.000Z | 2022-02-18T20:45:14.000Z | osu.Game/Graphics/UserInterface/OsuTextBox.cs | byspeece/ArchOSU | 4cf4618bd176f55e4b821d1db2817555f993ab62 | [
"MIT"
] | 3 | 2020-12-11T00:57:38.000Z | 2020-12-16T19:07:30.000Z | osu.Game/Graphics/UserInterface/OsuTextBox.cs | byspeece/ArchOSU | 4cf4618bd176f55e4b821d1db2817555f993ab62 | [
"MIT"
] | 3 | 2020-11-17T11:18:06.000Z | 2020-11-22T01:13:34.000Z | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu.Framework.Audio.Track;
using osu.Framew... | 34.537383 | 159 | 0.55324 |
3db08848ba0c0a89e5674b51809aa2140d055dd2 | 794 | cs | C# | roles/lib/files/FWO.Middleware/RequestParameters/GroupParameters.cs | tpurschke/firewall-orchestrator | 4af751dcd3bf0baf6272e41af82ef08c26579df6 | [
"Apache-2.0"
] | 16 | 2021-06-28T09:17:49.000Z | 2022-03-10T16:43:26.000Z | roles/lib/files/FWO.Middleware/RequestParameters/GroupParameters.cs | tpurschke/firewall-orchestrator | 4af751dcd3bf0baf6272e41af82ef08c26579df6 | [
"Apache-2.0"
] | 374 | 2021-06-28T09:25:22.000Z | 2022-03-29T11:13:46.000Z | roles/lib/files/FWO.Middleware/RequestParameters/GroupParameters.cs | tpurschke/firewall-orchestrator | 4af751dcd3bf0baf6272e41af82ef08c26579df6 | [
"Apache-2.0"
] | 15 | 2021-06-28T09:39:51.000Z | 2022-01-26T07:06:48.000Z | namespace FWO.Middleware.RequestParameters
{
public class GroupGetParameters
{
public int LdapId { get; set; }
public string SearchPattern { get; set; } = "";
}
public class GroupGetReturnParameters
{
public string GroupDn { get; set; } = "";
public List<string> Mem... | 24.8125 | 71 | 0.581864 |
95023028b1784dd727ed852a9ebf983da6446d77 | 1,602 | cs | C# | src/ShadyNagy.Swagger.Infrastructure/Data/EfRepository.cs | ShadyNagy/Swagger | 689af6a5510ee58684745afc4f49e52ff1d33bbc | [
"MIT"
] | 1 | 2021-01-21T15:53:40.000Z | 2021-01-21T15:53:40.000Z | src/ShadyNagy.Swagger.Infrastructure/Data/EfRepository.cs | ShadyNagy/Swagger | 689af6a5510ee58684745afc4f49e52ff1d33bbc | [
"MIT"
] | null | null | null | src/ShadyNagy.Swagger.Infrastructure/Data/EfRepository.cs | ShadyNagy/Swagger | 689af6a5510ee58684745afc4f49e52ff1d33bbc | [
"MIT"
] | null | null | null | using ShadyNagy.Swagger.SharedKernel.Interfaces;
using ShadyNagy.Swagger.SharedKernel;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ShadyNagy.Swagger.Infrastructure.Data
{
public class EfRepository : IRepository
{
private rea... | 26.262295 | 84 | 0.67166 |
95265be3ad48c0c5297c83d5d2d2b1cae7961470 | 1,885 | cs | C# | LambdaExpressionConsole/Program.cs | OzieDeviL/Lab06-Lambdas | 2086488cc87c857a2ad067c76c793efdf61f88c9 | [
"MIT"
] | null | null | null | LambdaExpressionConsole/Program.cs | OzieDeviL/Lab06-Lambdas | 2086488cc87c857a2ad067c76c793efdf61f88c9 | [
"MIT"
] | null | null | null | LambdaExpressionConsole/Program.cs | OzieDeviL/Lab06-Lambdas | 2086488cc87c857a2ad067c76c793efdf61f88c9 | [
"MIT"
] | null | null | null | using DelegateLibrary;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LambdaExpressionConsole
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Lambda Expressions:");
Con... | 31.416667 | 72 | 0.541114 |
87436c5000478e604f6ab2a56c2d5bd3ebdaa36d | 1,065 | cs | C# | src/DotNetStatus/Microsoft.Fx.Portability.ObjectModel/BreakingChangeAnalyzerStatusChartColors.cs | Bhaskers-Blu-Org2/dotnet-apiweb | 80ae5f043406ee1fa85baf5ddfe7f7f7e6b1c83f | [
"MIT"
] | 4 | 2019-06-22T14:24:32.000Z | 2021-04-20T15:55:40.000Z | src/DotNetStatus/Microsoft.Fx.Portability.ObjectModel/BreakingChangeAnalyzerStatusChartColors.cs | microsoft/dotnet-apiweb | 80ae5f043406ee1fa85baf5ddfe7f7f7e6b1c83f | [
"MIT"
] | null | null | null | src/DotNetStatus/Microsoft.Fx.Portability.ObjectModel/BreakingChangeAnalyzerStatusChartColors.cs | microsoft/dotnet-apiweb | 80ae5f043406ee1fa85baf5ddfe7f7f7e6b1c83f | [
"MIT"
] | 7 | 2019-11-02T21:51:45.000Z | 2021-11-10T07:20:24.000Z | using System;
namespace Microsoft.Fx.Portability.ObjectModel
{
public static class BreakingChangeAnalyzerStatusChartColors
{
public static string GetColor(BreakingChangeAnalyzerStatus breakingChangeAnalyzerStatus)
{
switch (breakingChangeAnalyzerStatus)
{
... | 39.444444 | 147 | 0.598122 |
e26db38cc7b0406dd95badb23f0574a6fd2defd3 | 964 | cs | C# | Unity/Assets/Unfex/Scripts/Views/Core/ProgressIndicatorBase.cs | unfernojp/Unfex | 010d0244a5a8c87d5b0e18c7ed6cd0d6c0c98c25 | [
"MIT"
] | 22 | 2017-10-16T13:44:06.000Z | 2019-09-04T15:49:06.000Z | Unity/Assets/Unfex/Scripts/Views/Core/ProgressIndicatorBase.cs | unfernojp/Unfex | 010d0244a5a8c87d5b0e18c7ed6cd0d6c0c98c25 | [
"MIT"
] | null | null | null | Unity/Assets/Unfex/Scripts/Views/Core/ProgressIndicatorBase.cs | unfernojp/Unfex | 010d0244a5a8c87d5b0e18c7ed6cd0d6c0c98c25 | [
"MIT"
] | null | null | null | /**
* Unfex - unferno extentions
*
* @overview Unfex provides a basic set of classes that can be used as a foundation for application development.
* @author taka:unferno.jp
* @version 1.0.0
* @see http://unferno.jp/
*
* Licensed under the MIT License
* http://www.opensource.org/licenses/mit-license.php
*... | 17.527273 | 112 | 0.681535 |
5b2912b91904aecf2a61571dab55b9876555a810 | 739 | cs | C# | snippets/csharp/System/String/Join/join2.cs | cston/dotnet-api-docs | 17c58dc9d579eba45f6f20bb08ad5ff0a63dec47 | [
"CC-BY-4.0",
"MIT"
] | 1 | 2022-03-09T02:25:54.000Z | 2022-03-09T02:25:54.000Z | snippets/csharp/System/String/Join/join2.cs | cston/dotnet-api-docs | 17c58dc9d579eba45f6f20bb08ad5ff0a63dec47 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | snippets/csharp/System/String/Join/join2.cs | cston/dotnet-api-docs | 17c58dc9d579eba45f6f20bb08ad5ff0a63dec47 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | // Sample for String.Join(String, String[], int int)
using System;
class Sample
{
public static void Main()
{
//<snippet1>
String[] val = {"apple", "orange", "grape", "pear"};
String sep = ", ";
String result;
Console.WriteLine("sep = '{0}'", sep);
Console.Wr... | 29.56 | 97 | 0.493911 |
1aa030e6fa72826e52e2c0525415ac9831526680 | 725 | cs | C# | Source/SharpVectorCore/Svg/BasicTypes/ISvgAnimatedBoolean.cs | johncao158/SharpVectors | 6b72acccdc44e7b6062ab0119c7a2d90e7c2392c | [
"BSD-3-Clause"
] | 450 | 2017-12-17T20:49:46.000Z | 2022-03-30T02:55:40.000Z | Source/SharpVectorCore/Svg/BasicTypes/ISvgAnimatedBoolean.cs | johncao158/SharpVectors | 6b72acccdc44e7b6062ab0119c7a2d90e7c2392c | [
"BSD-3-Clause"
] | 192 | 2017-11-29T02:32:28.000Z | 2021-12-27T21:47:24.000Z | Source/SharpVectorCore/Svg/BasicTypes/ISvgAnimatedBoolean.cs | johncao158/SharpVectors | 6b72acccdc44e7b6062ab0119c7a2d90e7c2392c | [
"BSD-3-Clause"
] | 112 | 2018-01-10T07:17:27.000Z | 2022-03-02T06:29:17.000Z | namespace SharpVectors.Dom.Svg
{
/// <summary>
/// Used for attributes of type boolean which can be animated.
/// </summary>
public interface ISvgAnimatedBoolean
{
/// <summary>
/// The base value of the given attribute before applying
/// any animations. Inheriting class should throw an exception ... | 29 | 67 | 0.655172 |
20ac4d899a0d359006748657c39e31ddcaf37ac4 | 75 | cs | C# | Assets/Sources/Features/Exit/DeleteOnExitComponent.cs | JamesMcMahon/entitas-2d-roguelike | 120295528b08ec15666adffa46aa85191a23af0b | [
"MIT"
] | 135 | 2015-09-13T04:56:15.000Z | 2022-03-03T06:00:03.000Z | Assets/Sources/Features/Exit/DeleteOnExitComponent.cs | guojiank/entitas-2d-roguelike | b9274ebfd8a17cd759732d1cf290a2ae7e6b54d4 | [
"MIT"
] | 2 | 2016-07-18T03:21:09.000Z | 2017-07-06T11:57:07.000Z | Assets/Sources/Features/Exit/DeleteOnExitComponent.cs | guojiank/entitas-2d-roguelike | b9274ebfd8a17cd759732d1cf290a2ae7e6b54d4 | [
"MIT"
] | 38 | 2015-09-13T04:56:17.000Z | 2022-01-09T15:24:56.000Z | using Entitas;
[Pool]
public class DeleteOnExitComponent : IComponent
{
}
| 10.714286 | 47 | 0.773333 |
e72f982a7184a7e768d3ccf74f76d48292556b79 | 671 | cs | C# | Assets/Scripts/UpdateScore.cs | xmliszt/stop-the-stampede | c03e63f7319a03804da666faeaedc0d65eeed99f | [
"MIT"
] | null | null | null | Assets/Scripts/UpdateScore.cs | xmliszt/stop-the-stampede | c03e63f7319a03804da666faeaedc0d65eeed99f | [
"MIT"
] | null | null | null | Assets/Scripts/UpdateScore.cs | xmliszt/stop-the-stampede | c03e63f7319a03804da666faeaedc0d65eeed99f | [
"MIT"
] | null | null | null | using UnityEngine;
using TMPro;
public class UpdateScore : MonoBehaviour
{
public TextMeshProUGUI scoreText;
public TextMeshProUGUI highScore;
// Start is called before the first frame update
void Start()
{
scoreText.SetText("Score: 0");
highScore.SetText("High Score: " + PlayerPref... | 24.851852 | 74 | 0.605067 |
4e666b51e7055b681fd49e9e3957fc31aa76e817 | 288 | cs | C# | src/SEAQ/Comparators/NotAnyWordComparator.cs | oklacoder/seaq | ff18096c720e520730975f3d36c8f80376ce2586 | [
"MIT"
] | null | null | null | src/SEAQ/Comparators/NotAnyWordComparator.cs | oklacoder/seaq | ff18096c720e520730975f3d36c8f80376ce2586 | [
"MIT"
] | 19 | 2022-02-28T23:59:56.000Z | 2022-03-15T18:04:30.000Z | src/SEAQ/Comparators/NotAnyWordComparator.cs | oklacoder/seaq | ff18096c720e520730975f3d36c8f80376ce2586 | [
"MIT"
] | null | null | null | namespace seaq
{
public class NotAnyWordComparator :
DefaultComparator
{
const string _display = "Not Any Words";
const string _value = "notAnyWord";
public NotAnyWordComparator()
: base(_display, _value)
{
}
}
}
| 18 | 48 | 0.5625 |
16197649b0bbbd27b419f3f4c309724d05ea73b8 | 1,179 | cs | C# | 15. Objects and Classes - Lab/04. Distance between Points/StartUp.cs | thelad43/Programming-Fundamentals-SoftUni | 15323b391b51320b9a9cbc96eecfa005088529d8 | [
"MIT"
] | null | null | null | 15. Objects and Classes - Lab/04. Distance between Points/StartUp.cs | thelad43/Programming-Fundamentals-SoftUni | 15323b391b51320b9a9cbc96eecfa005088529d8 | [
"MIT"
] | null | null | null | 15. Objects and Classes - Lab/04. Distance between Points/StartUp.cs | thelad43/Programming-Fundamentals-SoftUni | 15323b391b51320b9a9cbc96eecfa005088529d8 | [
"MIT"
] | null | null | null | namespace _04.Distance_between_Points
{
using System;
using System.Linq;
public class StartUp
{
public static void Main()
{
var firstPointTokens = Console.ReadLine()
.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries)
.Select(in... | 34.676471 | 84 | 0.578456 |
d07c247185aa8abf22d8b4f343dbe15e88c909f0 | 8,060 | cs | C# | Glowstick Forest/Assets/BNG Framework/Scripts/Core/PlayerClimbing.cs | niksigouin/GlowFo | ee6f0ef6f126e45475fd61673d1a561ce66b19da | [
"MIT"
] | null | null | null | Glowstick Forest/Assets/BNG Framework/Scripts/Core/PlayerClimbing.cs | niksigouin/GlowFo | ee6f0ef6f126e45475fd61673d1a561ce66b19da | [
"MIT"
] | null | null | null | Glowstick Forest/Assets/BNG Framework/Scripts/Core/PlayerClimbing.cs | niksigouin/GlowFo | ee6f0ef6f126e45475fd61673d1a561ce66b19da | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace BNG {
public class PlayerClimbing : MonoBehaviour {
[Header("Climbing Transforms")]
public Transform LeftControllerTransform;
public Transform RightControllerTransform;
[Header("Capsule Setti... | 35.196507 | 192 | 0.54268 |
41f2c7dfad0a064c229409fffed34cc244382cf6 | 327 | cs | C# | dockerDemos/08-docker-dot-net/02-dotnet-fx-sample/Startup.cs | rstropek/DockerVS2015Intro | 87d0af88053cd1d7c8f336078edae3356b188706 | [
"MIT"
] | 39 | 2015-01-30T20:05:50.000Z | 2022-01-26T03:52:53.000Z | dockerDemos/08-docker-dot-net/02-dotnet-fx-sample/Startup.cs | sharmamukesh76/dockervs2015 | e92e9b68e8d2e9ba2dc05c0a14c1bd3fb845378d | [
"MIT"
] | 22 | 2015-05-07T12:23:11.000Z | 2022-02-27T10:24:24.000Z | dockerDemos/08-docker-dot-net/02-dotnet-fx-sample/Startup.cs | sharmamukesh76/dockervs2015 | e92e9b68e8d2e9ba2dc05c0a14c1bd3fb845378d | [
"MIT"
] | 14 | 2015-05-12T04:57:44.000Z | 2021-07-21T13:26:56.000Z | using Microsoft.Owin;
using Owin;
[assembly: OwinStartup(typeof(DotNetFxMiniSample.Startup))]
namespace DotNetFxMiniSample
{
public class Startup
{
public void Configuration(IAppBuilder app)
{
app.Run(async context => await context.Response.WriteAsync("Hello World!"));
}
... | 20.4375 | 88 | 0.663609 |
7bb638cc0790c9fb262c9d0aa5f6acc74c64b41a | 9,201 | cs | C# | BatchFileConvertor/Form1.cs | FallStar0/BatchFileConvertor | 6e771b5b7902949ffecf4fe47a10a849e477ad7d | [
"Apache-2.0"
] | 4 | 2019-08-20T02:00:25.000Z | 2020-04-29T03:25:48.000Z | BatchFileConvertor/Form1.cs | FallStar0/BatchFileConvertor | 6e771b5b7902949ffecf4fe47a10a849e477ad7d | [
"Apache-2.0"
] | null | null | null | BatchFileConvertor/Form1.cs | FallStar0/BatchFileConvertor | 6e771b5b7902949ffecf4fe47a10a849e477ad7d | [
"Apache-2.0"
] | null | null | null | using System;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Linq;
namespace BatchFileConvertor
{
public partial class Form1 : Form
{
private ConvertLogic logic = new ConvertLogic();
public Form1()
{
InitializeComponent();
Init();
... | 32.512367 | 131 | 0.465493 |
bdca4260bcc30fb29e0a3f656d59ae7cab494ae5 | 960 | cs | C# | Assets/A-STEROID/Scripts/Utils/DebrisPool.cs | alelievr/TwoColorsGameJam | 069d32c9cf2c13452434c2349a2da0f6408b462b | [
"MIT"
] | null | null | null | Assets/A-STEROID/Scripts/Utils/DebrisPool.cs | alelievr/TwoColorsGameJam | 069d32c9cf2c13452434c2349a2da0f6408b462b | [
"MIT"
] | null | null | null | Assets/A-STEROID/Scripts/Utils/DebrisPool.cs | alelievr/TwoColorsGameJam | 069d32c9cf2c13452434c2349a2da0f6408b462b | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DebrisPool : GameObjectPool
{
public static DebrisPool instance;
protected Queue<DebrisController> debrisPool = null;
protected override void Awake()
{
base.Awake();
debrisPool = new Queue<DebrisControll... | 20.425532 | 68 | 0.713542 |
7ed0833eadd75fdc51b2e2b06b7a19bf47a87e1a | 6,057 | cs | C# | Assets/iRDS/DemoScenes/DemoScene1/Scripts/New ChooseCarScripts/MenuManager.cs | StarshatterWars/Racing | 885d77f6e43356d419481a20b8f414e810322827 | [
"Apache-2.0"
] | null | null | null | Assets/iRDS/DemoScenes/DemoScene1/Scripts/New ChooseCarScripts/MenuManager.cs | StarshatterWars/Racing | 885d77f6e43356d419481a20b8f414e810322827 | [
"Apache-2.0"
] | null | null | null | Assets/iRDS/DemoScenes/DemoScene1/Scripts/New ChooseCarScripts/MenuManager.cs | StarshatterWars/Racing | 885d77f6e43356d419481a20b8f414e810322827 | [
"Apache-2.0"
] | null | null | null | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using IRDS.ChampionshipSystem;
using UnityEngine.SceneManagement;
public class MenuManager : MonoBehaviour {
public bool dontDestroyOnLoad = false;
public int defaultLaps = 10;
public int teamSelectedByPlayer = 0;
public string carC... | 25.028926 | 158 | 0.642067 |
7d774860edce7ecbb3101c7e309ded26431ca51d | 603 | cs | C# | src/Libraries/FaraMedia.Services/Installation/Shared/LikeInstaller.cs | m-sadegh-sh/FaraMedia | 87bb0450cedff5080e87bb2526bd0c2c9a7b4e77 | [
"MIT"
] | null | null | null | src/Libraries/FaraMedia.Services/Installation/Shared/LikeInstaller.cs | m-sadegh-sh/FaraMedia | 87bb0450cedff5080e87bb2526bd0c2c9a7b4e77 | [
"MIT"
] | null | null | null | src/Libraries/FaraMedia.Services/Installation/Shared/LikeInstaller.cs | m-sadegh-sh/FaraMedia | 87bb0450cedff5080e87bb2526bd0c2c9a7b4e77 | [
"MIT"
] | null | null | null | namespace FaraMedia.Services.Installation.Shared {
using FaraMedia.Data.Schemas.Shared;
using FaraMedia.Services.Installation.Abstraction;
using NHibernate;
public sealed class LikeInstaller : ResourceInstallerBase {
public override void InstallResources(IStatelessSession session) {
... | 33.5 | 82 | 0.666667 |
341b07b9fecb90bccb37d94ca52a7055eeb30815 | 462 | cs | C# | AppConfig/ConfigSettings.cs | olegbruev/OrderMakerServer | 64089373452e06b499711affd29eca126e4bdb5c | [
"MIT"
] | null | null | null | AppConfig/ConfigSettings.cs | olegbruev/OrderMakerServer | 64089373452e06b499711affd29eca126e4bdb5c | [
"MIT"
] | null | null | null | AppConfig/ConfigSettings.cs | olegbruev/OrderMakerServer | 64089373452e06b499711affd29eca126e4bdb5c | [
"MIT"
] | null | null | null | /*
MTD OrderMaker - http://ordermaker.org
Copyright (c) 2019 Oleg Bruev <job4bruev@gmail.com>. All rights reserved.
*/
namespace Mtd.OrderMaker.Server.AppConfig
{
public class ConfigSettings
{
public string EmailSupport { get; set; }
public string DefaultUSR { get; set; }
publi... | 25.666667 | 77 | 0.640693 |
5a8ce61a03ed4aec49ea6d987ebe3ce9377740a8 | 280 | cs | C# | GreasyPlatypusSlapper/InputManagement/IManagesUserInteraction.cs | vchelaru/GreasyPlatypusSlapper | 5d5cecc9c2ee8688b39c733b25c44432408f951e | [
"MIT"
] | null | null | null | GreasyPlatypusSlapper/InputManagement/IManagesUserInteraction.cs | vchelaru/GreasyPlatypusSlapper | 5d5cecc9c2ee8688b39c733b25c44432408f951e | [
"MIT"
] | null | null | null | GreasyPlatypusSlapper/InputManagement/IManagesUserInteraction.cs | vchelaru/GreasyPlatypusSlapper | 5d5cecc9c2ee8688b39c733b25c44432408f951e | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GreasyPlatypusSlapper.InputManagement
{
public interface IManagesUserInteraction
{
void LoadUserInteractionState(IUserInteractionState state);
}
}
| 20 | 61 | 0.828571 |
8909d9613e80183611ecb1c669b1b6e8bd000979 | 230 | cs | C# | Sabio.Web/Models/Requests/PersonDeleteRequest.cs | entrotech/deployapp | 41e44f8295a4a06f8d8a8bde2778a2b52148692a | [
"MIT"
] | null | null | null | Sabio.Web/Models/Requests/PersonDeleteRequest.cs | entrotech/deployapp | 41e44f8295a4a06f8d8a8bde2778a2b52148692a | [
"MIT"
] | null | null | null | Sabio.Web/Models/Requests/PersonDeleteRequest.cs | entrotech/deployapp | 41e44f8295a4a06f8d8a8bde2778a2b52148692a | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Sabio.Web.Models.Requests
{
public class PersonDeleteRequest : PersonAddRequest
{
public int id { get; set; }
}
} | 19.166667 | 55 | 0.708696 |
31147e4c43ccfb434fb6053e8bb73b60bf3b1f89 | 347 | cs | C# | Projects/p0/p0/UI/UI.cs | 042020-dotnet-uta/dariusVallejo-rep0 | d215cf4124e7e20a971c958f76d23b48c52a8183 | [
"MIT"
] | null | null | null | Projects/p0/p0/UI/UI.cs | 042020-dotnet-uta/dariusVallejo-rep0 | d215cf4124e7e20a971c958f76d23b48c52a8183 | [
"MIT"
] | null | null | null | Projects/p0/p0/UI/UI.cs | 042020-dotnet-uta/dariusVallejo-rep0 | d215cf4124e7e20a971c958f76d23b48c52a8183 | [
"MIT"
] | null | null | null | using System.Collections.Generic;
namespace p0
{
/// <summary>
/// Interface for creating interactable UIs
/// </summary>
interface UserInterface
{
// Required public for interface
public List<string> options { get; set; }
void build();
void prompt();
void s... | 20.411765 | 49 | 0.587896 |
dbac09661587ffe75323ca867db8f6329a6090a5 | 52,230 | cs | C# | test/Microsoft.TemplateEngine.Cli.UnitTests/TemplateResolutionTests/HelpTemplateListResolverTests.cs | jesmi-ops/azure | 4ed6e823f0eba7dd7a444e9f3b693836d6b63775 | [
"MIT"
] | null | null | null | test/Microsoft.TemplateEngine.Cli.UnitTests/TemplateResolutionTests/HelpTemplateListResolverTests.cs | jesmi-ops/azure | 4ed6e823f0eba7dd7a444e9f3b693836d6b63775 | [
"MIT"
] | null | null | null | test/Microsoft.TemplateEngine.Cli.UnitTests/TemplateResolutionTests/HelpTemplateListResolverTests.cs | jesmi-ops/azure | 4ed6e823f0eba7dd7a444e9f3b693836d6b63775 | [
"MIT"
] | null | null | null | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using Xunit;
using Microsoft.TemplateEngine.Edge.Settings;
using Microsoft.TemplateEngine.... | 50.610465 | 214 | 0.58185 |
e80c610a1ebab14237e89d82783683c905aaf110 | 4,240 | cs | C# | CSharpPartTwo/04. Numeral Systems/06. Binary to hexadecimal/06. Binary to hexadecimal.cs | HMNikolova/Telerik_Academy | ae48fa71e8af3a82c3f81e7eb8309c2a34f8c33d | [
"MIT"
] | null | null | null | CSharpPartTwo/04. Numeral Systems/06. Binary to hexadecimal/06. Binary to hexadecimal.cs | HMNikolova/Telerik_Academy | ae48fa71e8af3a82c3f81e7eb8309c2a34f8c33d | [
"MIT"
] | null | null | null | CSharpPartTwo/04. Numeral Systems/06. Binary to hexadecimal/06. Binary to hexadecimal.cs | HMNikolova/Telerik_Academy | ae48fa71e8af3a82c3f81e7eb8309c2a34f8c33d | [
"MIT"
] | null | null | null | using System;
using System.Text;
class BinaryToHexadecimal
{
static void Main()
{
//• Write a program to convert binary numbers to hexadecimal numbers (directly).
string hexadecimalNumber = ConvertBinaryToHexadecimal(GetBinaryNumber());
Console.WriteLine("Convert binary numbers to hex... | 28.843537 | 88 | 0.355896 |
7ab4ee7f676274fb8cdfdd507d28276f71849926 | 589 | cs | C# | Scriber/Language/ParserResult.cs | science-docs/Scriber | 2d6dc9e5782cec14ccc8bf49ba1c3b56aaff1c32 | [
"MIT"
] | 4 | 2020-07-24T12:13:57.000Z | 2021-07-02T11:49:02.000Z | Scriber/Language/ParserResult.cs | science-docs/Scriber | 2d6dc9e5782cec14ccc8bf49ba1c3b56aaff1c32 | [
"MIT"
] | 1 | 2021-01-19T10:56:31.000Z | 2021-01-19T10:56:31.000Z | Scriber/Language/ParserResult.cs | science-docs/Scriber | 2d6dc9e5782cec14ccc8bf49ba1c3b56aaff1c32 | [
"MIT"
] | 1 | 2020-07-31T16:39:09.000Z | 2020-07-31T16:39:09.000Z | using Scriber.Language.Syntax;
using System;
using System.Collections.Generic;
namespace Scriber.Language
{
public class ParserResult
{
public IEnumerable<SyntaxNode> Nodes { get; }
public IEnumerable<ParserIssue> Issues { get; }
public ParserResult(IEnumerable<SyntaxNode> nodes, IEnu... | 24.541667 | 91 | 0.628183 |
5ae86cc1c395f469f88ed5f82eb33731d1d03a69 | 24,863 | cs | C# | Source/MQTTnet.Tests/Formatter/MqttPacketSerialization_V3_Tests.cs | behroozbc/MQTTnet | 80aaca63f99b3bea2ee0733467014c75eab67a53 | [
"MIT"
] | 198 | 2022-01-07T01:09:57.000Z | 2022-03-31T21:18:24.000Z | Source/MQTTnet.Tests/Formatter/MqttPacketSerialization_V3_Tests.cs | behroozbc/MQTTnet | 80aaca63f99b3bea2ee0733467014c75eab67a53 | [
"MIT"
] | 82 | 2022-01-07T22:58:39.000Z | 2022-03-31T20:42:32.000Z | Source/MQTTnet.Tests/Formatter/MqttPacketSerialization_V3_Tests.cs | behroozbc/MQTTnet | 80aaca63f99b3bea2ee0733467014c75eab67a53 | [
"MIT"
] | 44 | 2022-01-08T02:31:09.000Z | 2022-03-31T18:46:47.000Z | // 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.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MQTTn... | 50.32996 | 164 | 0.6313 |
cf0a5cc87b1cfb8eab44ad13b8c8a8a8af3d4a09 | 363 | cs | C# | src/Dotnet5.GraphQL3.Store.Domain/Entities/Reviews/IReviewBuilder.cs | danieljoris/Dotnet5.GraphQL3.WebApplication | 66f1f3f3e612ee4733c0eb71f3076071e93dbb9f | [
"MIT"
] | null | null | null | src/Dotnet5.GraphQL3.Store.Domain/Entities/Reviews/IReviewBuilder.cs | danieljoris/Dotnet5.GraphQL3.WebApplication | 66f1f3f3e612ee4733c0eb71f3076071e93dbb9f | [
"MIT"
] | null | null | null | src/Dotnet5.GraphQL3.Store.Domain/Entities/Reviews/IReviewBuilder.cs | danieljoris/Dotnet5.GraphQL3.WebApplication | 66f1f3f3e612ee4733c0eb71f3076071e93dbb9f | [
"MIT"
] | null | null | null | using System;
using Dotnet5.GraphQL3.Domain.Abstractions.Builders;
namespace Dotnet5.GraphQL3.Store.Domain.Entities.Reviews
{
public interface IReviewBuilder : IBuilder<Review, Guid>
{
IReviewBuilder WithTitle(string title);
IReviewBuilder WithComment(string comment);
IReviewBuilder Wi... | 30.25 | 60 | 0.752066 |
00647f83fc0f3effac1406a3e43987d8badb9a17 | 358 | cs | C# | Godbert/Controls/IRawDataColumn.cs | shambarick/SaintCoinach-1 | 60a389a3bb70fb2746e6aa696a2d7b083e92f7f8 | [
"WTFPL"
] | 266 | 2015-09-16T20:54:40.000Z | 2022-01-04T07:07:27.000Z | Godbert/Controls/IRawDataColumn.cs | shambarick/SaintCoinach-1 | 60a389a3bb70fb2746e6aa696a2d7b083e92f7f8 | [
"WTFPL"
] | 48 | 2016-08-24T01:21:03.000Z | 2021-05-27T21:26:36.000Z | Godbert/Controls/IRawDataColumn.cs | shambarick/SaintCoinach-1 | 60a389a3bb70fb2746e6aa696a2d7b083e92f7f8 | [
"WTFPL"
] | 150 | 2015-11-06T16:43:51.000Z | 2022-01-28T20:19:36.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SaintCoinach.Ex.Relational;
namespace Godbert.Controls {
public interface IRawDataColumn {
IComparer<object> GetComparer(System.ComponentModel.ListSortDirection direction);
Rel... | 25.571429 | 89 | 0.765363 |
a8561e58179f887604730699419a6c2373ca4388 | 1,345 | cs | C# | src/Casimodo.Mojen/Models/MojAnyKeysConfig.cs | Casimodo72/Casimodo.Lib | 38859552632185b223ad036e6f61b5cb9ece18d3 | [
"Apache-2.0"
] | null | null | null | src/Casimodo.Mojen/Models/MojAnyKeysConfig.cs | Casimodo72/Casimodo.Lib | 38859552632185b223ad036e6f61b5cb9ece18d3 | [
"Apache-2.0"
] | 1 | 2021-08-18T20:55:08.000Z | 2021-08-18T20:55:08.000Z | src/Casimodo.Mojen/Models/MojAnyKeysConfig.cs | Casimodo72/Casimodo.Lib | 38859552632185b223ad036e6f61b5cb9ece18d3 | [
"Apache-2.0"
] | null | null | null | using Casimodo.Lib.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Casimodo.Lib.Mojen
{
[DataContract(Namespace = MojContract.Ns)]
public class MojAnyKeyItemConfig
{
[DataMember]... | 24.454545 | 103 | 0.622305 |
c84e127663313a18f2c1def94994bc4dc3dacf7a | 1,863 | cs | C# | Exam Preparation 09.07.2017/Exam/Programming Fundamentals Exam - 09 July 2017 Part 1/02. Pokemon Don't Go/PokemonDontGo.cs | genadi60/Softuni | d772247ea0d497cbad11e82909017871cf8a5030 | [
"Apache-2.0"
] | null | null | null | Exam Preparation 09.07.2017/Exam/Programming Fundamentals Exam - 09 July 2017 Part 1/02. Pokemon Don't Go/PokemonDontGo.cs | genadi60/Softuni | d772247ea0d497cbad11e82909017871cf8a5030 | [
"Apache-2.0"
] | null | null | null | Exam Preparation 09.07.2017/Exam/Programming Fundamentals Exam - 09 July 2017 Part 1/02. Pokemon Don't Go/PokemonDontGo.cs | genadi60/Softuni | d772247ea0d497cbad11e82909017871cf8a5030 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Linq;
using System.Numerics;
public class PokemonDontGo
{
public static void Main()
{
var numbers = Console.ReadLine()
.Split(" ".ToCharArray(), StringSplitOptions.RemoveEmptyEntries)
.Select(x => x.Trim())
.Select(BigInteger.Parse)
... | 27.80597 | 76 | 0.416532 |
b3f62f426524fbc79bd2e723e5ffb1ba79ee535b | 452 | cs | C# | src/api/Authorization/HasPersistentClaimRequirement.cs | sergeysolovev/leaves-api | 40f77c4f61b544ae421fe914728020a77b8d056c | [
"MIT"
] | null | null | null | src/api/Authorization/HasPersistentClaimRequirement.cs | sergeysolovev/leaves-api | 40f77c4f61b544ae421fe914728020a77b8d056c | [
"MIT"
] | null | null | null | src/api/Authorization/HasPersistentClaimRequirement.cs | sergeysolovev/leaves-api | 40f77c4f61b544ae421fe914728020a77b8d056c | [
"MIT"
] | null | null | null | using Microsoft.AspNetCore.Authorization;
namespace Leaves.Api
{
public class HasPersistentClaimRequirement : IAuthorizationRequirement
{
public HasPersistentClaimRequirement(string claimType, string requiredValue)
{
ClaimType = claimType;
RequiredValue = requiredValue;... | 26.588235 | 84 | 0.674779 |
7a138a5c0c873a9d55e3432cec3752aa033cebca | 9,863 | cs | C# | Editor/Blend2DAttributeDrawer.cs | vertxxyz/Vertx.Attributes | fa2a4edd0f23c1a9deb58fdd2ebf82b583bbc222 | [
"MIT"
] | 8 | 2020-11-27T20:38:30.000Z | 2022-02-24T19:58:58.000Z | Editor/Blend2DAttributeDrawer.cs | vertxxyz/Vertx.Attributes | fa2a4edd0f23c1a9deb58fdd2ebf82b583bbc222 | [
"MIT"
] | null | null | null | Editor/Blend2DAttributeDrawer.cs | vertxxyz/Vertx.Attributes | fa2a4edd0f23c1a9deb58fdd2ebf82b583bbc222 | [
"MIT"
] | null | null | null | using UnityEngine;
using UnityEditor;
using System.Reflection;
using UnityEngine.Rendering;
#if UNITY_MATHEMATICS
using Unity.Mathematics;
#endif
namespace Vertx.Attributes.Editor {
[CustomPropertyDrawer(typeof(Blend2DAttribute))]
public class Blend2DAttributeDrawer : PropertyDrawer
{
private const float blendBo... | 37.645038 | 149 | 0.665923 |
7a6eb141668d2a37b1c1daf4645bb5a2ff583d75 | 518 | cs | C# | src/DxfLibrary/Parse/Entities/HatchBoundaryParser.cs | rena0157/DxfLibrary | 98d35fc2cdfe72fe2afa2b954885f7e2e1bd62d0 | [
"MIT"
] | 1 | 2022-01-19T13:10:53.000Z | 2022-01-19T13:10:53.000Z | src/DxfLibrary/Parse/Entities/HatchBoundaryParser.cs | rena0157/DxfLibrary | 98d35fc2cdfe72fe2afa2b954885f7e2e1bd62d0 | [
"MIT"
] | null | null | null | src/DxfLibrary/Parse/Entities/HatchBoundaryParser.cs | rena0157/DxfLibrary | 98d35fc2cdfe72fe2afa2b954885f7e2e1bd62d0 | [
"MIT"
] | null | null | null | // HatchBoundaryParser.cs
// By: Adam Renaud
// Created: 2019-04-24
using System;
using DxfLibrary.DxfSpec;
using DxfLibrary.Entities;
using DxfLibrary.Geometry;
using DxfLibrary.IO;
namespace DxfLibrary.Parse.Entities
{
public class HatchBoundaryParser : IDxfEntityParser<GeoBase, string, object, object, GeoBase>... | 25.9 | 114 | 0.722008 |
2e4f267c591de3b902e6e4b40efe0f69cdcadfae | 1,560 | cs | C# | src/Sphere10.Framework/Collections/SequentialGuidGenerator.cs | Sphere10/Framework | 5f6d9ed67dd6ec3b938d9d24223aa92ca21d9e2e | [
"MIT"
] | 1 | 2020-05-22T00:02:56.000Z | 2020-05-22T00:02:56.000Z | src/Sphere10.Framework/Collections/SequentialGuidGenerator.cs | Sphere10/Framework | 5f6d9ed67dd6ec3b938d9d24223aa92ca21d9e2e | [
"MIT"
] | null | null | null | src/Sphere10.Framework/Collections/SequentialGuidGenerator.cs | Sphere10/Framework | 5f6d9ed67dd6ec3b938d9d24223aa92ca21d9e2e | [
"MIT"
] | 1 | 2020-12-22T02:37:51.000Z | 2020-12-22T02:37:51.000Z | //-----------------------------------------------------------------------
// <copyright file="SequentialGuidGenerator.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
// LI... | 26.440678 | 83 | 0.637821 |
4c39f18c73b791e80563dc01ddcdfff69c6423fb | 698 | cs | C# | src/test/iEEDID.ConsoleApp/ComponentModel/Parser/IParser.cs | iAJTin/iEEDID | 8b3078d75c7984c1b26a583bd0df8ee1aac0c08c | [
"MIT"
] | 7 | 2019-06-09T23:59:11.000Z | 2021-11-21T00:24:47.000Z | src/test/iEEDID.ConsoleApp/ComponentModel/Parser/IParser.cs | iAJTin/iEEDID | 8b3078d75c7984c1b26a583bd0df8ee1aac0c08c | [
"MIT"
] | 1 | 2020-06-11T22:56:30.000Z | 2020-07-31T22:24:26.000Z | src/test/iEEDID.ConsoleAppCore/ComponentModel/Parser/IParser.cs | iAJTin/iEEDID | 8b3078d75c7984c1b26a583bd0df8ee1aac0c08c | [
"MIT"
] | 1 | 2020-05-25T03:31:07.000Z | 2020-05-25T03:31:07.000Z |
namespace iEEDID.ComponentModel.Parser
{
using iTin.Logging.ComponentModel;
using iTin.Hardware.Specification;
/// <summary>
/// Defines a generic parser for <see cref="EEDID"/> instances.
/// </summary>
internal interface IParser
{
/// <summary>
/// Gets or sets the logg... | 25.851852 | 81 | 0.54298 |
3ab6c061926d02d194ccbc3bb81fe6dc66b41a80 | 1,580 | cs | C# | ExtensionMethods.cs | austinwagner/PyGet | 59d804c4813b0e585b28cba72f4b5d9fc70a7f0f | [
"Apache-2.0"
] | null | null | null | ExtensionMethods.cs | austinwagner/PyGet | 59d804c4813b0e585b28cba72f4b5d9fc70a7f0f | [
"Apache-2.0"
] | null | null | null | ExtensionMethods.cs | austinwagner/PyGet | 59d804c4813b0e585b28cba72f4b5d9fc70a7f0f | [
"Apache-2.0"
] | null | null | null | namespace PackageManagement
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
/// <summary>
/// Extension method class.
/// </summary>
internal static class ExtensionMethods
{
/// <summary>
/// Reads all of the lines ... | 33.617021 | 111 | 0.570886 |
3b4688c81d5fafd2a29cf4e870204bccc518452b | 3,610 | cs | C# | DotnetBackground/ProcessLauncher.cs | javiertuya/dotnet-background | bf3af7ac9cb9192e0c1db3899fd6c36480ae8f28 | [
"MIT"
] | 4 | 2022-01-04T19:25:10.000Z | 2022-02-07T23:27:25.000Z | DotnetBackground/ProcessLauncher.cs | javiertuya/dotnet-background | bf3af7ac9cb9192e0c1db3899fd6c36480ae8f28 | [
"MIT"
] | 1 | 2022-02-07T08:44:16.000Z | 2022-02-09T18:18:10.000Z | DotnetBackground/ProcessLauncher.cs | javiertuya/dotnet-background | bf3af7ac9cb9192e0c1db3899fd6c36480ae8f28 | [
"MIT"
] | null | null | null | using System;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
namespace DotnetBackground
{
/// <summary>
/// Manages the main methods to run and kill processes
/// </summary>
public class ProcessLauncher
{
public const string PidFileName = "dotnet-backgroun... | 38.404255 | 118 | 0.550139 |
0fd5c5a2c74a64e86fbe7308fc1b9a46455c8a66 | 419 | cs | C# | src/lcdb/Table/LayerTable.cs | 15831944/LitCad-1 | 62af0f7d06ca8400c7d5f65ce62fb509d695a6f3 | [
"MIT"
] | 2 | 2018-10-14T03:00:54.000Z | 2019-05-28T15:38:19.000Z | src/lcdb/Table/LayerTable.cs | AlbertMin/LitCAD | 62af0f7d06ca8400c7d5f65ce62fb509d695a6f3 | [
"MIT"
] | null | null | null | src/lcdb/Table/LayerTable.cs | AlbertMin/LitCAD | 62af0f7d06ca8400c7d5f65ce62fb509d695a6f3 | [
"MIT"
] | 2 | 2020-09-12T13:38:10.000Z | 2021-10-31T04:54:42.000Z | using System;
using System.Collections.Generic;
namespace LitCAD.DatabaseServices
{
public class LayerTable : DBTable
{
public ObjectId layerZeroId = ObjectId.Null;
internal LayerTable(Database db)
: base(db, Database.LayerTableId)
{
Layer layerZero = new Layer... | 20.95 | 52 | 0.599045 |
d75cf95329ff201d0cb2b9862d8b35e3e1d85613 | 631 | cs | C# | ios11/DragAndDropMastering/DragSource/Classes/QRDetectionResult.cs | susairajs/ios-samples | 6c3869949046a6f9c05d5aaa477dd335715e58ac | [
"MIT"
] | 863 | 2016-09-02T06:42:51.000Z | 2022-03-27T08:29:38.000Z | ios11/DragAndDropMastering/DragSource/Classes/QRDetectionResult.cs | susairajs/ios-samples | 6c3869949046a6f9c05d5aaa477dd335715e58ac | [
"MIT"
] | 182 | 2016-09-01T20:43:50.000Z | 2022-03-31T14:24:31.000Z | ios11/DragAndDropMastering/DragSource/Classes/QRDetectionResult.cs | susairajs/ios-samples | 6c3869949046a6f9c05d5aaa477dd335715e58ac | [
"MIT"
] | 1,111 | 2016-09-01T17:41:09.000Z | 2022-03-29T19:08:16.000Z | using System;
using UIKit;
using CoreGraphics;
using Foundation;
namespace DragSource
{
public class QRDetectionResult : NSObject
{
#region Computed Properties
public UIImage CroppedImage { get; set; }
public CGRect RectInOriginalImage { get; set; } = CGRect.Empty;
public string Message { get; set; } = "";
... | 20.354839 | 92 | 0.730586 |
1c464e169e64e5dd0cf01c582554ea4bbe7d4752 | 113 | cshtml | C# | auth/AuthWebApplication/AuthWebApplication/Views/_ViewImports.cshtml | guitarrapc/CSharpPracticesLab | 2017c2e385cfeb7f270a56b90a93468edb3cca7f | [
"MIT"
] | 3 | 2019-05-15T09:03:13.000Z | 2020-02-04T10:29:11.000Z | auth/AuthWebApplication/AuthWebApplication/Views/_ViewImports.cshtml | guitarrapc/CSharpPracticesLab | 2017c2e385cfeb7f270a56b90a93468edb3cca7f | [
"MIT"
] | null | null | null | auth/AuthWebApplication/AuthWebApplication/Views/_ViewImports.cshtml | guitarrapc/CSharpPracticesLab | 2017c2e385cfeb7f270a56b90a93468edb3cca7f | [
"MIT"
] | null | null | null | @using AuthWebApplication
@using AuthWebApplication.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 28.25 | 52 | 0.849558 |
f377eda3e81233a7d8193abacf693d0fc25927e9 | 154 | cs | C# | Application/Interfaces/IChatHistoryService.cs | hiimdat95/chatbot | eed34108db36a34b1502ae08fb138dacb2e86921 | [
"Apache-2.0"
] | null | null | null | Application/Interfaces/IChatHistoryService.cs | hiimdat95/chatbot | eed34108db36a34b1502ae08fb138dacb2e86921 | [
"Apache-2.0"
] | null | null | null | Application/Interfaces/IChatHistoryService.cs | hiimdat95/chatbot | eed34108db36a34b1502ae08fb138dacb2e86921 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Text;
namespace Application.Interfaces
{
public class IChatHistoryService
{
}
} | 15.4 | 36 | 0.746753 |
eed757c163d99ea17c33601d31acbd9dafa0bf66 | 897 | cs | C# | LQC/Transaction.cs | reweter/LQC | e3471992a2ec5d29634ff40120ea487f22cd13a5 | [
"MIT"
] | 1 | 2021-07-08T10:43:21.000Z | 2021-07-08T10:43:21.000Z | LQC/Transaction.cs | reweter/LQC | e3471992a2ec5d29634ff40120ea487f22cd13a5 | [
"MIT"
] | null | null | null | LQC/Transaction.cs | reweter/LQC | e3471992a2ec5d29634ff40120ea487f22cd13a5 | [
"MIT"
] | null | null | null | using System;
namespace LQC
{
public sealed class Transaction : ITransaction
{
public decimal Sum { get; }
public string AddressRecipient { get; }
public string AddressSender { get; }
public string CheckSum { get; }
public Transaction(decimal sum, string add... | 28.03125 | 142 | 0.498328 |
c9d43ac9dbed5e728bca67b1d58adfd54f607576 | 1,521 | cs | C# | LambdaAppConfig/Configuration/ConfigurationReader.cs | mgorski-mg/app-config-usage-dotnet | cbba2d871793d4a7cdfdbb614373ea39d0c1977a | [
"Apache-2.0"
] | null | null | null | LambdaAppConfig/Configuration/ConfigurationReader.cs | mgorski-mg/app-config-usage-dotnet | cbba2d871793d4a7cdfdbb614373ea39d0c1977a | [
"Apache-2.0"
] | null | null | null | LambdaAppConfig/Configuration/ConfigurationReader.cs | mgorski-mg/app-config-usage-dotnet | cbba2d871793d4a7cdfdbb614373ea39d0c1977a | [
"Apache-2.0"
] | null | null | null | using System;
using Amazon.Extensions.Configuration.SystemsManager;
using Amazon.Extensions.NETCore.Setup;
using Microsoft.Extensions.Configuration;
namespace LambdaAppConfig.Configuration
{
public static class ConfigurationReader
{
private static IConfigurationRoot config;
public static void ... | 37.097561 | 125 | 0.552268 |
da8a955ec40bd9c664c2139c28272ed93f4576e6 | 1,094 | cs | C# | ContosoBot/ContosoBot/azuremanager.cs | Donutnz/ContosoBot | 86722bdd24c9a93e8dd90d2b75d80f3cbd4baa2f | [
"MIT"
] | null | null | null | ContosoBot/ContosoBot/azuremanager.cs | Donutnz/ContosoBot | 86722bdd24c9a93e8dd90d2b75d80f3cbd4baa2f | [
"MIT"
] | null | null | null | ContosoBot/ContosoBot/azuremanager.cs | Donutnz/ContosoBot | 86722bdd24c9a93e8dd90d2b75d80f3cbd4baa2f | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.WindowsAzure.MobileServices;
using ContosoBot.DataModels;
using System.Threading.Tasks;
using System.Text;
namespace ContosoBot {
public class azuremanager {
private static azuremanager instance;
p... | 28.051282 | 93 | 0.617002 |
dad5f7d663a75dc5dc332a06b182f60c67751370 | 9,009 | cs | C# | C#/Loon2MonoGame/LoonMonoGame-Lib/loon/geom/Clip.cs | cping/LGame | 6ee0daf43841cbafc9638f73e35cbb1c30bf69ad | [
"Apache-2.0"
] | 428 | 2015-01-02T17:25:20.000Z | 2022-03-26T20:38:48.000Z | C#/Loon2MonoGame/LoonMonoGame-Lib/loon/geom/Clip.cs | TheMadTitanSkid/LGame | 6ee0daf43841cbafc9638f73e35cbb1c30bf69ad | [
"Apache-2.0"
] | 26 | 2015-01-19T15:05:48.000Z | 2021-06-13T14:22:29.000Z | C#/Loon2MonoGame/LoonMonoGame-Lib/loon/geom/Clip.cs | TheMadTitanSkid/LGame | 6ee0daf43841cbafc9638f73e35cbb1c30bf69ad | [
"Apache-2.0"
] | 153 | 2015-01-07T08:40:09.000Z | 2022-02-28T01:47:07.000Z | using loon.utils;
namespace loon.geom
{
public class Clip
{
private Clip _parent;
private int _displayWidth;
private int _displayHeight;
private float _offX, _offY;
private float _widthRatio, _heightRatio;
private float _factor;
private int _regio... | 26.113043 | 148 | 0.468531 |
f4e17c27767f4e5a3a833bf2a92a4e845616b2ca | 1,103 | cs | C# | MassageStudioLorem/Data/Models/Masseur.cs | lulzzz/MassageStudioLorem | 6a77b1826d1c126c4cc61c3836602eed5d02677f | [
"MIT"
] | 8 | 2021-08-01T18:46:02.000Z | 2022-03-15T15:59:49.000Z | MassageStudioLorem/Data/Models/Masseur.cs | lulzzz/MassageStudioLorem | 6a77b1826d1c126c4cc61c3836602eed5d02677f | [
"MIT"
] | null | null | null | MassageStudioLorem/Data/Models/Masseur.cs | lulzzz/MassageStudioLorem | 6a77b1826d1c126c4cc61c3836602eed5d02677f | [
"MIT"
] | 1 | 2021-08-01T18:46:02.000Z | 2021-08-01T18:46:02.000Z | namespace MassageStudioLorem.Data.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Enums;
using static Global.GlobalConstants.DataValidations;
public class Masseur
{
public Masseur()
{
this.Id = Guid.N... | 25.068182 | 66 | 0.608341 |
1b90ef0dd478608ca39bff8ffed5d48bd8951e77 | 2,515 | cs | C# | WPFSKillTree/ViewModels/Crafting/UniqueCraftingViewModel.cs | l0g0sys/PoESkillTree | f4a6119be852315ca88c63d91a1acfb5901d4b8a | [
"MIT"
] | null | null | null | WPFSKillTree/ViewModels/Crafting/UniqueCraftingViewModel.cs | l0g0sys/PoESkillTree | f4a6119be852315ca88c63d91a1acfb5901d4b8a | [
"MIT"
] | null | null | null | WPFSKillTree/ViewModels/Crafting/UniqueCraftingViewModel.cs | l0g0sys/PoESkillTree | f4a6119be852315ca88c63d91a1acfb5901d4b8a | [
"MIT"
] | 1 | 2021-11-15T13:54:33.000Z | 2021-11-15T13:54:33.000Z | using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using MoreLinq;
using PoESkillTree.Common.Model.Items.Enums;
using POESKillTree.Model.Items;
using POESKillTree.Model.Items.Enums;
using POESKillTree.Model.Items.Mods;
namespace POESKillTree.ViewModels.Crafting
{
/// <summ... | 35.422535 | 127 | 0.583698 |
e44349bbcb8fbae4eca127419d0ed8f3b590100a | 835 | cs | C# | Unity/UnityEngine.cs | KingEnderBrine/TypeTreeDumper | 4554585c29b5849917533ee4d912605e8bf490d2 | [
"MIT"
] | 18 | 2020-08-17T00:12:56.000Z | 2022-03-10T14:24:05.000Z | Unity/UnityEngine.cs | KingEnderBrine/TypeTreeDumper | 4554585c29b5849917533ee4d912605e8bf490d2 | [
"MIT"
] | 12 | 2020-08-18T04:03:43.000Z | 2022-02-12T23:37:41.000Z | Unity/UnityEngine.cs | KingEnderBrine/TypeTreeDumper | 4554585c29b5849917533ee4d912605e8bf490d2 | [
"MIT"
] | 4 | 2020-08-17T00:12:59.000Z | 2021-09-17T10:08:22.000Z | namespace Unity
{
// todo: should all classes just take a UnityEngine argument?
public class UnityEngine
{
public UnityVersion Version { get; }
public CommonString CommonString { get; }
public TypeTreeFactory TypeTreeFactory { get; }
public RuntimeTypeArray Run... | 30.925926 | 84 | 0.628743 |
0daf4d9e9ffeb24b441e913b851738c71fced950 | 1,020 | cs | C# | Famoser.OfflineMedia.UnitTests/Local/ProgressionService.cs | florianalexandermoser/OfflineMedia | 67297b28a8f9b94607ddb7c8f80efa6bb2b2de08 | [
"MIT"
] | 1 | 2016-06-14T05:31:39.000Z | 2016-06-14T05:31:39.000Z | Famoser.OfflineMedia.UnitTests/Local/ProgressionService.cs | florianalexandermoser/OfflineMedia | 67297b28a8f9b94607ddb7c8f80efa6bb2b2de08 | [
"MIT"
] | 12 | 2016-05-11T15:49:31.000Z | 2017-10-15T12:52:09.000Z | Famoser.OfflineMedia.UnitTests/Local/ProgressionService.cs | florianalexandermoser/OfflineMedia | 67297b28a8f9b94607ddb7c8f80efa6bb2b2de08 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Famoser.OfflineMedia.Business.Enums;
using Famoser.OfflineMedia.Business.Models.Progress;
using Famoser.OfflineMedia.Business.Services.Interfaces;
namespace Famoser.Of... | 21.25 | 67 | 0.621569 |
59126f1b5f900cbaf9560d5457c8d87bca41237a | 1,686 | cs | C# | schlexcel.tests/FitFileConverterTests.cs | tm011064/schlexcel | efaadeced079245260db4a5384ed36af5506e1a1 | [
"MIT"
] | null | null | null | schlexcel.tests/FitFileConverterTests.cs | tm011064/schlexcel | efaadeced079245260db4a5384ed36af5506e1a1 | [
"MIT"
] | null | null | null | schlexcel.tests/FitFileConverterTests.cs | tm011064/schlexcel | efaadeced079245260db4a5384ed36af5506e1a1 | [
"MIT"
] | null | null | null | using System;
using System.IO;
using Xunit;
namespace schlexcel.tests
{
public class FitFileConverterTests
{
[Fact]
public void WhenParsing()
{
var bs = AppContext.BaseDirectory;
var filesFolder = Path.Combine(AppContext.BaseDirectory, "Files");
var destinationFilePath = Path.Combin... | 34.408163 | 85 | 0.642942 |
798a3efb7c70b1515950eb35cfe25efd42799c16 | 512 | cs | C# | Sources/Visualization/Microsoft.Psi.Visualization.Windows/Adapters/IntToDoubleAdapter.cs | CMU-TBD/psi | b82550d1b719f1405b068197bf9b593033ce55d7 | [
"MIT"
] | 332 | 2019-05-10T20:30:40.000Z | 2022-03-14T08:42:33.000Z | Sources/Visualization/Microsoft.Psi.Visualization.Windows/Adapters/IntToDoubleAdapter.cs | CMU-TBD/psi | b82550d1b719f1405b068197bf9b593033ce55d7 | [
"MIT"
] | 117 | 2019-06-12T21:13:03.000Z | 2022-03-19T00:32:20.000Z | Sources/Visualization/Microsoft.Psi.Visualization.Windows/Adapters/IntToDoubleAdapter.cs | CMU-TBD/psi | b82550d1b719f1405b068197bf9b593033ce55d7 | [
"MIT"
] | 73 | 2019-05-08T21:39:06.000Z | 2022-03-24T08:34:26.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
namespace Microsoft.Psi.Visualization.Adapters
{
using Microsoft.Psi.Visualization.Data;
/// <summary>
/// Implements a stream adapter from int into double.
/// </summary>
[StreamAdapter]
public cl... | 28.444444 | 77 | 0.671875 |
7c342cadb2fd9480edd6d3d6b5372404a0749595 | 996 | cs | C# | JokeAndPunchLine/JokeAndPunchLine/Form1.cs | franciscog123/Windows-Forms-Apps | 0413ea632cda2da920adb74dc042719cb48babd8 | [
"MIT"
] | null | null | null | JokeAndPunchLine/JokeAndPunchLine/Form1.cs | franciscog123/Windows-Forms-Apps | 0413ea632cda2da920adb74dc042719cb48babd8 | [
"MIT"
] | null | null | null | JokeAndPunchLine/JokeAndPunchLine/Form1.cs | franciscog123/Windows-Forms-Apps | 0413ea632cda2da920adb74dc042719cb48babd8 | [
"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;
namespace JokeAndPunchLine
{
public partial class JokeForm : Form
{
bool clicked = false... | 21.652174 | 80 | 0.560241 |
7c40aa3056d56956aa0445675d809aeb1674874a | 1,131 | cs | C# | templates/Bellatrix.Web.GettingStarted/15. Troubleshooting- Full Page Screenshots on Fail/FullPageScreenshotsOnFailTests.cs | alexandrejulien/BELLATRIX | a714eb60f08075a4692bb94ebccb409b2a295b54 | [
"Apache-2.0"
] | 1 | 2021-02-18T19:52:17.000Z | 2021-02-18T19:52:17.000Z | templates/Bellatrix.Web.GettingStarted/15. Troubleshooting- Full Page Screenshots on Fail/FullPageScreenshotsOnFailTests.cs | alexandrejulien/BELLATRIX | a714eb60f08075a4692bb94ebccb409b2a295b54 | [
"Apache-2.0"
] | null | null | null | templates/Bellatrix.Web.GettingStarted/15. Troubleshooting- Full Page Screenshots on Fail/FullPageScreenshotsOnFailTests.cs | alexandrejulien/BELLATRIX | a714eb60f08075a4692bb94ebccb409b2a295b54 | [
"Apache-2.0"
] | null | null | null | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Bellatrix.Web.GettingStarted
{
// If you open the testFrameworkSettings file, you find the screenshotsSettings section that controls this lifecycle.
// "screenshotsSettings": {
// "isEnabled": "true",
// "filePath": "ApplicationData... | 43.5 | 131 | 0.70557 |
7c53649223b9389c8849769ae98ca7bc11028f72 | 2,487 | cs | C# | test/Phork.Blazor.Reactivity.Tests/PropertyObserverTests.cs | phorks/phork-blazor-reactivity | 627891050854c30867471c4a87ba72fe9f0e767f | [
"MIT"
] | 2 | 2022-02-28T06:52:23.000Z | 2022-03-24T03:00:44.000Z | test/Phork.Blazor.Reactivity.Tests/PropertyObserverTests.cs | phorks/phork-blazor-reactivity | 627891050854c30867471c4a87ba72fe9f0e767f | [
"MIT"
] | null | null | null | test/Phork.Blazor.Reactivity.Tests/PropertyObserverTests.cs | phorks/phork-blazor-reactivity | 627891050854c30867471c4a87ba72fe9f0e767f | [
"MIT"
] | null | null | null | using System;
using Moq;
using Phork.Blazor.Reactivity.Tests.Models;
using Phork.Blazor.Services;
using Xunit;
namespace Phork.Blazor.Reactivity.Tests;
public class PropertyObserverTests : IDisposable
{
private readonly PropertyObserver sut;
private readonly Mock<EventHandler> callback = new();
private ... | 28.586207 | 98 | 0.703659 |
dce304b15e799e66d4c8fe5cb5d901108b72abdb | 735 | cs | C# | JuanMartin.Kernel/RuleEngine/Redirect.cs | jmbotero/JuanMartin.Kernel | 00c73f5608ec5fe429aee5e1dd9277d55fcc0c37 | [
"MIT"
] | null | null | null | JuanMartin.Kernel/RuleEngine/Redirect.cs | jmbotero/JuanMartin.Kernel | 00c73f5608ec5fe429aee5e1dd9277d55fcc0c37 | [
"MIT"
] | null | null | null | JuanMartin.Kernel/RuleEngine/Redirect.cs | jmbotero/JuanMartin.Kernel | 00c73f5608ec5fe429aee5e1dd9277d55fcc0c37 | [
"MIT"
] | null | null | null | using System;
namespace JuanMartin.Kernel.RuleEngine
{
public class Redirect : IAction
{
private Rule _parent;
private string _targetName;
public Redirect(Rule Parent, string TargetName)
{
_parent = Parent;
_targetName = TargetName;
... | 24.5 | 161 | 0.534694 |
6cf49b55ea37e7e30b753abe8b0902bfc71c5797 | 2,559 | cs | C# | Csharp/SampleCartDemo/OneTimePayments/SetPaymentDetails.aspx.designer.cs | lpostiglione/amazon-pay-sdk-samples | e0f389371c06975ae8f34ac32e4767cf496efabd | [
"Apache-2.0"
] | 29 | 2017-07-12T08:07:10.000Z | 2021-12-06T02:18:35.000Z | Csharp/SampleCartDemo/OneTimePayments/SetPaymentDetails.aspx.designer.cs | lpostiglione/amazon-pay-sdk-samples | e0f389371c06975ae8f34ac32e4767cf496efabd | [
"Apache-2.0"
] | 20 | 2017-07-19T07:20:35.000Z | 2021-08-13T07:08:43.000Z | Csharp/SampleCartDemo/OneTimePayments/SetPaymentDetails.aspx.designer.cs | sgmelayu/amazon-pay-sdk-samples | 5ee8062249d76fa70af7d4fce165d0c4bc3c2fa6 | [
"Apache-2.0"
] | 28 | 2017-07-16T04:39:31.000Z | 2021-12-06T02:18:21.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.
// </auto-generated>
//----------------------------------------... | 36.557143 | 105 | 0.557249 |
e5f0d1eaff95fea2c0fbfe254a59fa23ed287e3e | 2,206 | cs | C# | Assets/Scripts/Mobs/EnemySpawnManager.cs | Drakonkinst/gmtk-game-jam-2020 | 14e31437be84bbce45af1063d86ec624770a4562 | [
"Apache-2.0"
] | null | null | null | Assets/Scripts/Mobs/EnemySpawnManager.cs | Drakonkinst/gmtk-game-jam-2020 | 14e31437be84bbce45af1063d86ec624770a4562 | [
"Apache-2.0"
] | null | null | null | Assets/Scripts/Mobs/EnemySpawnManager.cs | Drakonkinst/gmtk-game-jam-2020 | 14e31437be84bbce45af1063d86ec624770a4562 | [
"Apache-2.0"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemySpawnManager : MonoBehaviour
{
public static EnemySpawnManager Instance;
public Transform enemyParent;
public float spawnInterval = 2.0f;
public float minSpawnDistance = 5.0f;
public GameObject enemyTy... | 29.413333 | 84 | 0.613781 |
0bc961c244faa2e588c4de50b6933d2a8cf63a29 | 5,571 | cs | C# | SmokeMe/SmokeTestAutoFinder.cs | 42skillz/SmokeMe | 8ac966af004b330833bc418d0d0d0d6bff9dbc02 | [
"Apache-2.0"
] | 8 | 2020-12-20T22:15:24.000Z | 2022-01-05T18:42:16.000Z | SmokeMe/SmokeTestAutoFinder.cs | 42skillz/SmokeMe | 8ac966af004b330833bc418d0d0d0d6bff9dbc02 | [
"Apache-2.0"
] | 7 | 2021-03-23T17:02:02.000Z | 2021-05-14T15:29:07.000Z | SmokeMe/SmokeTestAutoFinder.cs | 42skillz/SmokeMe | 8ac966af004b330833bc418d0d0d0d6bff9dbc02 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using SmokeMe.Helpers;
using TypeExtensions = SmokeMe.Helpers.TypeExtensions;
namespace SmokeMe
{
/// <summary>
/// Responsible to find and instantiate smoke tests to be run within an executable.
/// </summary>
... | 37.897959 | 168 | 0.560941 |
50d085829a454339ee580305dd0cf66da5feb521 | 510 | cs | C# | shared/OrderContext.Snapshotter/Functions/Extensions/DocumentExtensions.cs | eyazici90/OrderContext-EventSourcing | 872ed6c062aec467e53b563bb59b81c7f833ffca | [
"MIT"
] | 15 | 2019-08-27T15:59:36.000Z | 2021-01-24T17:17:52.000Z | shared/OrderContext.Snapshotter/Functions/Extensions/DocumentExtensions.cs | eyazici90/OrderContext-EventSourcing | 872ed6c062aec467e53b563bb59b81c7f833ffca | [
"MIT"
] | null | null | null | shared/OrderContext.Snapshotter/Functions/Extensions/DocumentExtensions.cs | eyazici90/OrderContext-EventSourcing | 872ed6c062aec467e53b563bb59b81c7f833ffca | [
"MIT"
] | 3 | 2019-09-02T13:58:17.000Z | 2020-12-18T14:49:32.000Z |
using ImGalaxy.ES.CosmosDB.Documents;
using Microsoft.Azure.Documents;
using Newtonsoft.Json;
using System;
namespace OrderContext.Snapshotter.Functions.Extensions
{
public static class DocumentExtensions
{
public static EventDocument ToEventDoc(this Document @event)
{
var e = ((... | 22.173913 | 78 | 0.660784 |
09bb8fa56af9c5ab37686b9d07b2c5d428748480 | 13,426 | cs | C# | Source/RTSPPlayerServer/RTSPPlayerServer.Service/Base/IO/EndianBinaryReader.cs | Grandbrain/RTSPPlayer | 5f8243575d97f5491fee8cb1569f80622e66bbb5 | [
"MIT"
] | 1 | 2020-11-02T16:59:42.000Z | 2020-11-02T16:59:42.000Z | Source/RTSPPlayerServer/RTSPPlayerServer.Service/Base/IO/EndianBinaryReader.cs | Grandbrain/RTSPPlayer | 5f8243575d97f5491fee8cb1569f80622e66bbb5 | [
"MIT"
] | null | null | null | Source/RTSPPlayerServer/RTSPPlayerServer.Service/Base/IO/EndianBinaryReader.cs | Grandbrain/RTSPPlayer | 5f8243575d97f5491fee8cb1569f80622e66bbb5 | [
"MIT"
] | null | null | null | using System;
using System.IO;
using System.Text;
using RTSPPlayerServer.Service.Base.Utilities;
namespace RTSPPlayerServer.Service.Base.IO
{
/// <summary>
/// Reads primitive data types as binary values from a stream with a specific encoding and endianness.
/// </summary>
public class EndianBinaryRead... | 58.885965 | 120 | 0.644943 |
57ecc88854fa8d355db7eed197ec43b7ebb53b03 | 1,120 | cs | C# | src/IContainerContext.cs | mgth/stashbox | f8417df6a8b33c876fe21ac0816dfbfebcc26b67 | [
"MIT"
] | 113 | 2016-07-24T04:51:05.000Z | 2022-03-02T19:10:17.000Z | src/IContainerContext.cs | mgth/stashbox | f8417df6a8b33c876fe21ac0816dfbfebcc26b67 | [
"MIT"
] | 105 | 2017-02-23T16:22:09.000Z | 2022-03-08T20:44:12.000Z | src/IContainerContext.cs | mgth/stashbox | f8417df6a8b33c876fe21ac0816dfbfebcc26b67 | [
"MIT"
] | 18 | 2017-03-07T20:38:18.000Z | 2021-08-25T13:29:56.000Z | using Stashbox.Configuration;
using Stashbox.Registration;
using Stashbox.Resolution;
namespace Stashbox
{
/// <summary>
/// Represents the container context.
/// </summary>
public interface IContainerContext
{
/// <summary>
/// The service registration repository.
/// </su... | 26.046512 | 63 | 0.586607 |
f5cb8fc5056ff96352f32898c27c57caa9e44915 | 4,046 | cs | C# | Libraries/Slf/Ast/Ast/Members/IIntermediateMethodMember.cs | AlexanderMorou/AbstractionProject | 13ed52268973df3ac12e6ccdd13fec88880fa346 | [
"MS-PL"
] | null | null | null | Libraries/Slf/Ast/Ast/Members/IIntermediateMethodMember.cs | AlexanderMorou/AbstractionProject | 13ed52268973df3ac12e6ccdd13fec88880fa346 | [
"MS-PL"
] | null | null | null | Libraries/Slf/Ast/Ast/Members/IIntermediateMethodMember.cs | AlexanderMorou/AbstractionProject | 13ed52268973df3ac12e6ccdd13fec88880fa346 | [
"MS-PL"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Text;
using AllenCopeland.Abstraction.Slf.Abstract;
using AllenCopeland.Abstraction.Slf.Abstract.Members;
using AllenCopeland.Abstraction.Slf.Ast.Expressions;
using AllenCopeland.Abstraction.Slf.Ast.Statements;
/*--------------------------------------... | 54.675676 | 272 | 0.669303 |
92453114f19bf2998dd9b6bb13957dbb88d83132 | 890 | cs | C# | src/E5R.Architecture.Core/MetaTagAttribute.cs | e5r/E5R.Architecture | 5b2e243256dea8413671a206c2ff0c685cf05b47 | [
"Apache-2.0"
] | 1 | 2022-02-10T07:12:43.000Z | 2022-02-10T07:12:43.000Z | src/E5R.Architecture.Core/MetaTagAttribute.cs | e5r/E5R.Architecture | 5b2e243256dea8413671a206c2ff0c685cf05b47 | [
"Apache-2.0"
] | 17 | 2018-04-02T21:59:50.000Z | 2022-03-25T15:49:18.000Z | src/E5R.Architecture.Core/MetaTagAttribute.cs | e5r/E5R.Architecture | 5b2e243256dea8413671a206c2ff0c685cf05b47 | [
"Apache-2.0"
] | 1 | 2018-03-24T18:37:27.000Z | 2018-03-24T18:37:27.000Z | // Copyright (c) E5R Development Team. All rights reserved.
// This file is a part of E5R.Architecture.
// Licensed under the Apache version 2.0: https://github.com/e5r/manifest/blob/master/license/APACHE-2.0.txt
using System;
namespace E5R.Architecture.Core
{
[AttributeUsage(AttributeTargets.All, AllowMultiple ... | 31.785714 | 108 | 0.652809 |
92a3f6c4f5aa5764fb11796d8e336ddbe721d79b | 9,478 | cs | C# | dogger-source-code/Dog/DogCharacter.cs | blyman94/dogger | e27961b11e1c5b4e04f76071c54fc76152a2b374 | [
"MIT"
] | null | null | null | dogger-source-code/Dog/DogCharacter.cs | blyman94/dogger | e27961b11e1c5b4e04f76071c54fc76152a2b374 | [
"MIT"
] | null | null | null | dogger-source-code/Dog/DogCharacter.cs | blyman94/dogger | e27961b11e1c5b4e04f76071c54fc76152a2b374 | [
"MIT"
] | null | null | null | using Dogger.Movement;
using Dogger.Player;
using Dogger.Spawning;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Dogger.Dog
{
/// <summary>
/// The dog object used in main gameplay. Behaviours include avoiding
/// obstacles, seeking waste, and remaining within a given le... | 25.207447 | 90 | 0.666807 |
9a4f01e5b0492df0fc5960f4f55335b59c5cd941 | 1,094 | cs | C# | src/MarketingBox.Affiliate.ServiceBus/CampaignBoxes/CampaignBoxUpdated.cs | MyJetWallet/MarketingBox.BackOffice.Service | ac8b6060d6ad48ba2818a98b3fb3165fc8ef9ae0 | [
"MIT"
] | null | null | null | src/MarketingBox.Affiliate.ServiceBus/CampaignBoxes/CampaignBoxUpdated.cs | MyJetWallet/MarketingBox.BackOffice.Service | ac8b6060d6ad48ba2818a98b3fb3165fc8ef9ae0 | [
"MIT"
] | null | null | null | src/MarketingBox.Affiliate.ServiceBus/CampaignBoxes/CampaignBoxUpdated.cs | MyJetWallet/MarketingBox.BackOffice.Service | ac8b6060d6ad48ba2818a98b3fb3165fc8ef9ae0 | [
"MIT"
] | null | null | null | using System.Runtime.Serialization;
using MarketingBox.Affiliate.Service.Domain.Models.CampaignBoxes;
namespace MarketingBox.Affiliate.Service.Messages.CampaignBoxes
{
[DataContract]
public class CampaignBoxUpdated
{
[DataMember(Order = 1)] public long CampaignBoxId { get; set; }
[DataMem... | 33.151515 | 82 | 0.646252 |
f8b0235143ecc3bb380d407658fc282b0d8ca48d | 1,324 | cs | C# | samples/snippets/csharp/VS_Snippets_Wpf/MediaGallery_snip/CSharp/StretchMediaElementExample.xaml.cs | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 421 | 2018-04-01T01:57:50.000Z | 2022-03-28T15:24:42.000Z | samples/snippets/csharp/VS_Snippets_Wpf/MediaGallery_snip/CSharp/StretchMediaElementExample.xaml.cs | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 5,797 | 2018-04-02T21:12:23.000Z | 2022-03-31T23:54:38.000Z | samples/snippets/csharp/VS_Snippets_Wpf/MediaGallery_snip/CSharp/StretchMediaElementExample.xaml.cs | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 1,482 | 2018-03-31T11:26:20.000Z | 2022-03-30T22:36:45.000Z | // <SnippetMediaElementCSharpExampleWholePage>
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Data;
using System.Windows.Media;
using System.Windows.Input;
namespace SDKSam... | 31.52381 | 71 | 0.574018 |
9fdca03ca70640336c564621004264fea359b859 | 1,130 | cs | C# | src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media/Generated/CachingHint.cs | KodamaSakuno/wpf | 08d7e121b36ab78a0397f4a45607e350b97de59c | [
"MIT"
] | 5,937 | 2018-12-04T16:32:50.000Z | 2022-03-31T09:48:37.000Z | src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media/Generated/CachingHint.cs | KodamaSakuno/wpf | 08d7e121b36ab78a0397f4a45607e350b97de59c | [
"MIT"
] | 4,151 | 2018-12-04T16:38:19.000Z | 2022-03-31T18:41:14.000Z | src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media/Generated/CachingHint.cs | KodamaSakuno/wpf | 08d7e121b36ab78a0397f4a45607e350b97de59c | [
"MIT"
] | 1,084 | 2018-12-04T16:24:21.000Z | 2022-03-30T13:52:03.000Z | // 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.
//
//
// This file was generated, please do not edit it directly.
//
// Please see MilCodeGen.html for more informat... | 26.27907 | 95 | 0.671681 |
b091203f380f2287da6f12e97229b4fca36c60bf | 533 | cs | C# | Create with code 1/Unit 2/Assets/Scripts/DetectCollision.cs | 92Andy/unity-junior-programmer | 60b22463fa25d651cc1075bafb56063c7367ef8b | [
"MIT"
] | null | null | null | Create with code 1/Unit 2/Assets/Scripts/DetectCollision.cs | 92Andy/unity-junior-programmer | 60b22463fa25d651cc1075bafb56063c7367ef8b | [
"MIT"
] | null | null | null | Create with code 1/Unit 2/Assets/Scripts/DetectCollision.cs | 92Andy/unity-junior-programmer | 60b22463fa25d651cc1075bafb56063c7367ef8b | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DetectCollision : MonoBehaviour
{
private void OnTriggerEnter(Collider other)
{
if(other.tag == "Player")
{
GameOver();
}
else if(other.tag == "Bullet")
{
... | 17.193548 | 47 | 0.54409 |
196a823f466155ce4ca48903f86a1bf87a4e8f76 | 7,795 | cs | C# | ams/Common/Helper.cs | zhenghua75/ams | 962a6d9699ca515abe614282f56318efc5956d4b | [
"Apache-2.0"
] | null | null | null | ams/Common/Helper.cs | zhenghua75/ams | 962a6d9699ca515abe614282f56318efc5956d4b | [
"Apache-2.0"
] | null | null | null | ams/Common/Helper.cs | zhenghua75/ams | 962a6d9699ca515abe614282f56318efc5956d4b | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.Objects;
using System.Windows.Forms;
using DataDynamics.ActiveReports.Viewer;
using System.Reflection;
using System.Collections;
using ams.rpt;
using System.Runtime.InteropServices;
using Card;
na... | 32.752101 | 112 | 0.440667 |
a55ebc51d6d4d04d419118bf45c709024a263b9c | 1,892 | cs | C# | osu.Game/Rulesets/Mods/ModEasy.cs | jgdhs27/osu | cacb036c79048b79af32a4f355a9295caa07b867 | [
"MIT"
] | 1 | 2021-07-04T08:08:28.000Z | 2021-07-04T08:08:28.000Z | osu.Game/Rulesets/Mods/ModEasy.cs | jgdhs27/osu | cacb036c79048b79af32a4f355a9295caa07b867 | [
"MIT"
] | null | null | null | osu.Game/Rulesets/Mods/ModEasy.cs | jgdhs27/osu | cacb036c79048b79af32a4f355a9295caa07b867 | [
"MIT"
] | null | null | null | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Sprites;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
using osu.Game.Rulesets.Scori... | 31.533333 | 119 | 0.613636 |
8356e46ba708d0dc8ad2982f11dd6fccc4218853 | 3,218 | cs | C# | Assets/toinfiniityandbeyond/Tilemap/Editor/AutoTileEditor.cs | toinfiniityandbeyond/unity-tilemap | c08fad2fff7f91f081096e3d1f62b63dbdf17821 | [
"MIT"
] | 91 | 2016-08-30T13:45:50.000Z | 2018-03-16T04:40:35.000Z | Assets/toinfiniityandbeyond/Tilemap/Editor/AutoTileEditor.cs | paullj/unity-tilemap | c08fad2fff7f91f081096e3d1f62b63dbdf17821 | [
"MIT"
] | 3 | 2016-09-05T19:48:28.000Z | 2017-01-19T16:48:39.000Z | Assets/toinfiniityandbeyond/Tilemap/Editor/AutoTileEditor.cs | toinfiniityandbeyond/unity-tilemap | c08fad2fff7f91f081096e3d1f62b63dbdf17821 | [
"MIT"
] | 26 | 2016-09-04T01:26:13.000Z | 2017-11-28T05:36:58.000Z | using UnityEngine;
using UnityEditor;
using toinfiniityandbeyond.Utillity;
namespace toinfiniityandbeyond.Tilemapping {
[CustomEditor (typeof (AutoTile))]
public class AutoTileEditor : ScriptableTileEditor
{
private AutoTile autoTile;
private int [,] indexLookup = new int [,]
{
{ 4, 6, 14 ,12 },
{ 5... | 30.647619 | 142 | 0.635799 |
a204e025e3ead419d3d23dad0e7a079c302a34d7 | 6,329 | cs | C# | UJCSystem/Vokabular.MainService.Core/MainServiceCoreContainerRegistration.cs | RIDICS/ITJakub | c75ebde0c85e7ad628604770bbec7228d4d300d2 | [
"BSD-3-Clause"
] | 3 | 2017-12-31T15:27:27.000Z | 2019-12-19T08:27:45.000Z | UJCSystem/Vokabular.MainService.Core/MainServiceCoreContainerRegistration.cs | RIDICS/ITJakub | c75ebde0c85e7ad628604770bbec7228d4d300d2 | [
"BSD-3-Clause"
] | 4 | 2022-01-15T02:07:08.000Z | 2022-03-08T23:06:27.000Z | UJCSystem/Vokabular.MainService.Core/MainServiceCoreContainerRegistration.cs | RIDICS/ITJakub | c75ebde0c85e7ad628604770bbec7228d4d300d2 | [
"BSD-3-Clause"
] | 1 | 2018-03-07T20:01:39.000Z | 2018-03-07T20:01:39.000Z | using AutoMapper;
using Microsoft.Extensions.DependencyInjection;
using Vokabular.Core;
using Vokabular.MainService.Core.AutoMapperProfiles;
using Vokabular.MainService.Core.AutoMapperProfiles.Authentication;
using Vokabular.MainService.Core.AutoMapperProfiles.CardFile;
using Vokabular.MainService.Core.Communication;
... | 51.455285 | 75 | 0.687312 |
fa7dc1b6708cd8af9bfe410f4d4167fcff0a0dd7 | 3,093 | cs | C# | Icons8.UI/IconBase.cs | HorevIvan/Icons8_WPF | 63d1e77618bfe458e4b1af063b6d35fba949c53a | [
"MIT"
] | null | null | null | Icons8.UI/IconBase.cs | HorevIvan/Icons8_WPF | 63d1e77618bfe458e4b1af063b6d35fba949c53a | [
"MIT"
] | 1 | 2018-10-13T16:13:28.000Z | 2018-10-13T16:13:28.000Z | Icons8.UI/IconBase.cs | HorevIvan/Icons8_WPF | 63d1e77618bfe458e4b1af063b6d35fba949c53a | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace Icons8.UI
{
public abstract class IconBase : UserControl
{
#region Image
priva... | 27.371681 | 121 | 0.481733 |
394680d7ca584f7af226c05b6b34ceb561ab364a | 10,055 | cs | C# | src/DotNet.Business/BaseLoginLog/BaseLoginLogManager.Auto.cs | cuiwenyuan/DotNet.Util | c7820b802e7a8d9c9e7130fd5049203f0b92f162 | [
"MIT"
] | 1 | 2021-11-24T01:34:44.000Z | 2021-11-24T01:34:44.000Z | src/DotNet.Business/BaseLoginLog/BaseLoginLogManager.Auto.cs | cuiwenyuan/DotNet.Util | c7820b802e7a8d9c9e7130fd5049203f0b92f162 | [
"MIT"
] | null | null | null | src/DotNet.Business/BaseLoginLog/BaseLoginLogManager.Auto.cs | cuiwenyuan/DotNet.Util | c7820b802e7a8d9c9e7130fd5049203f0b92f162 | [
"MIT"
] | 2 | 2021-11-24T01:34:47.000Z | 2022-02-22T05:22:24.000Z | //-----------------------------------------------------------------------
// <copyright file="BaseLoginLogManager.Auto.cs" company="DotNet">
// Copyright (C) 2021, All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System.Collections.Generic;
name... | 35.157343 | 138 | 0.547986 |
46173bae6a5b256e99f73187225a73cf69f94759 | 28,899 | cs | C# | src/go-src-converted/vendor/golang.org/x/text/unicode/norm/normalize.cs | rgwood/go2cs | 9d9b931c53153bc1598268951de779ad9216e631 | [
"MIT"
] | 249 | 2018-06-02T10:42:32.000Z | 2022-03-23T20:54:45.000Z | src/go-src-converted/vendor/golang.org/x/text/unicode/norm/normalize.cs | rgwood/go2cs | 9d9b931c53153bc1598268951de779ad9216e631 | [
"MIT"
] | 14 | 2019-01-22T18:55:14.000Z | 2022-03-13T21:26:45.000Z | src/go-src-converted/vendor/golang.org/x/text/unicode/norm/normalize.cs | rgwood/go2cs | 9d9b931c53153bc1598268951de779ad9216e631 | [
"MIT"
] | 35 | 2018-08-01T18:04:30.000Z | 2022-02-23T03:25:25.000Z | // Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Note: the file data_test.go that is generated should not be checked in.
//go:generate go run maketables.go triegen.go
//go:generate go test -tags test
// Pa... | 28.471921 | 150 | 0.417765 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.