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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c959513e982718597bf08d8b6f18bc2661e7c496 | 2,143 | cs | C# | Transform/Form1.cs | timmcfadden/SCOM-Transform-Tool | c1b00b8b6b4b33b3874903aef148ef7e8f496a0c | [
"MIT"
] | null | null | null | Transform/Form1.cs | timmcfadden/SCOM-Transform-Tool | c1b00b8b6b4b33b3874903aef148ef7e8f496a0c | [
"MIT"
] | null | null | null | Transform/Form1.cs | timmcfadden/SCOM-Transform-Tool | c1b00b8b6b4b33b3874903aef148ef7e8f496a0c | [
"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 Transform
{
public partial class TransformForm : Form
{
public TransformForm()... | 29.763889 | 150 | 0.584694 |
c4918e2944b7c417c45b6303eecc79021d5c7009 | 2,785 | cs | C# | Web/Data/Migrations/20200621041408_AddUrlHost.cs | territorytools/territory-tools | 540a4f448dfe716597f53b1a3dbf64580fc5d868 | [
"MIT"
] | 1 | 2021-08-20T11:59:32.000Z | 2021-08-20T11:59:32.000Z | Web/Data/Migrations/20200621041408_AddUrlHost.cs | territorytools/territory-tools | 540a4f448dfe716597f53b1a3dbf64580fc5d868 | [
"MIT"
] | 3 | 2020-07-28T20:40:07.000Z | 2020-11-19T17:50:40.000Z | Web/Data/Migrations/20200621041408_AddUrlHost.cs | territorytools/territorytools | 540a4f448dfe716597f53b1a3dbf64580fc5d868 | [
"MIT"
] | null | null | null | using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace TerritoryTools.Web.Data.Migrations
{
public partial class AddUrlHost : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.... | 33.963415 | 122 | 0.522442 |
90a5f1ebb8784064a3f0e466c491254f5121f317 | 644 | cs | C# | MoWizz/MoWizz/Models/MovieImages.cs | F-marko/DMovies | d56f040211bc222478c0a354f4981a2e9d3621f5 | [
"Apache-2.0"
] | null | null | null | MoWizz/MoWizz/Models/MovieImages.cs | F-marko/DMovies | d56f040211bc222478c0a354f4981a2e9d3621f5 | [
"Apache-2.0"
] | null | null | null | MoWizz/MoWizz/Models/MovieImages.cs | F-marko/DMovies | d56f040211bc222478c0a354f4981a2e9d3621f5 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MoWizz.Models
{
public class MovieImages
{
public int id { get; set; }
public ImageFile[] posters { get; set; }
public ImageFile[] backdrops { get; set; }
}
public class ImageFile
... | 25.76 | 50 | 0.600932 |
936d11fc75298a6679971df0f213c73219950040 | 2,092 | cs | C# | src/RemoteDispatcher/Commands/RepoDispatchOptions.cs | salihkavaf/RemoteDispatcher | 5a6fdfd179072d175b1c16e1de68f4aff980b622 | [
"Apache-2.0"
] | null | null | null | src/RemoteDispatcher/Commands/RepoDispatchOptions.cs | salihkavaf/RemoteDispatcher | 5a6fdfd179072d175b1c16e1de68f4aff980b622 | [
"Apache-2.0"
] | null | null | null | src/RemoteDispatcher/Commands/RepoDispatchOptions.cs | salihkavaf/RemoteDispatcher | 5a6fdfd179072d175b1c16e1de68f4aff980b622 | [
"Apache-2.0"
] | null | null | null | using MatthiWare.CommandLine.Core.Attributes;
namespace RemoteDispatcher.Commands
{
public class RepoDispatchOptions
{
/// <summary>
/// Gets or sets the content type to accept in the request.
/// </summary>
[Name("a", "accept"), Description("The content type of the request... | 42.693878 | 151 | 0.594168 |
254dd4a579495425f3e8a0fdbe49161cca473e46 | 1,896 | cs | C# | src/Ocelot/Infrastructure/ConfigAwarePlaceholders.cs | madmonkey/Ocelot | 13e96a814b68c51f1a1cfbaa74ba5482cf18ab15 | [
"MIT"
] | 6,073 | 2018-03-02T10:30:14.000Z | 2022-03-30T09:25:58.000Z | src/Ocelot/Infrastructure/ConfigAwarePlaceholders.cs | madmonkey/Ocelot | 13e96a814b68c51f1a1cfbaa74ba5482cf18ab15 | [
"MIT"
] | 1,049 | 2018-03-02T10:48:09.000Z | 2022-03-31T08:27:42.000Z | src/Ocelot/Infrastructure/ConfigAwarePlaceholders.cs | madmonkey/Ocelot | 13e96a814b68c51f1a1cfbaa74ba5482cf18ab15 | [
"MIT"
] | 1,377 | 2018-03-03T16:59:29.000Z | 2022-03-31T13:33:41.000Z | namespace Ocelot.Infrastructure
{
using System;
using System.Text.RegularExpressions;
using Microsoft.Extensions.Configuration;
using Request.Middleware;
using Responses;
public class ConfigAwarePlaceholders : IPlaceholders
{
private readonly IConfiguration _configuration;
p... | 30.580645 | 101 | 0.60865 |
f40b4cbe86d699aa8b380bbe1de0ef0af330ee37 | 648 | cs | C# | src/SmartHome.Innogy/Enums/ErrorCodes.cs | andre-laskawy/lib-smarthome-innogy | b4eaca0d26e07b9aa01cf68de17f6aaa059c6d92 | [
"MIT"
] | null | null | null | src/SmartHome.Innogy/Enums/ErrorCodes.cs | andre-laskawy/lib-smarthome-innogy | b4eaca0d26e07b9aa01cf68de17f6aaa059c6d92 | [
"MIT"
] | null | null | null | src/SmartHome.Innogy/Enums/ErrorCodes.cs | andre-laskawy/lib-smarthome-innogy | b4eaca0d26e07b9aa01cf68de17f6aaa059c6d92 | [
"MIT"
] | null | null | null | ///-----------------------------------------------------------------
/// File: ErrorCodes.cs
/// Author: Andre Laskawy
/// Date: 12.10.2018 17:07:38
///-----------------------------------------------------------------
namespace SmartHome.Innogy.Enums
{
/// <summary>
... | 25.92 | 70 | 0.371914 |
0d857ae37dec1afaeea97f457feaef9ef717ca22 | 866 | cs | C# | Assets/Libraries/NLog/Formatter/DefaultLogMessageFormatter.cs | erdinckaya/prometheus | c30aeea42a1b893f5df3bbc4f8be9ee3cb01b8c0 | [
"MIT"
] | 10 | 2019-12-02T09:56:11.000Z | 2021-06-28T15:12:00.000Z | Assets/Libraries/NLog/Formatter/DefaultLogMessageFormatter.cs | erdinckaya/prometheus | c30aeea42a1b893f5df3bbc4f8be9ee3cb01b8c0 | [
"MIT"
] | null | null | null | Assets/Libraries/NLog/Formatter/DefaultLogMessageFormatter.cs | erdinckaya/prometheus | c30aeea42a1b893f5df3bbc4f8be9ee3cb01b8c0 | [
"MIT"
] | 6 | 2019-11-06T15:17:07.000Z | 2021-07-26T12:46:11.000Z | using System;
namespace NLog {
public class DefaultLogMessageFormatter {
const string Format = "{0} {1}: {2}";
static readonly int _maxLogLevelLength;
static DefaultLogMessageFormatter() {
_maxLogLevelLength = 0;
var names = Enum.GetNames(typeof(LogLevel));
... | 30.928571 | 103 | 0.566975 |
b1f5ab532bbe697de6735a9e61a2dddc5c5fb244 | 3,830 | cs | C# | Editor/Validation/ValidatorWindow.cs | LongChau/Unity3DFramework | 9472b24b38b0fe35fae2c3c0253a6cd54abe388c | [
"MIT"
] | 1 | 2019-02-01T14:05:43.000Z | 2019-02-01T14:05:43.000Z | Editor/Validation/ValidatorWindow.cs | LongChau/Unity3DFramework | 9472b24b38b0fe35fae2c3c0253a6cd54abe388c | [
"MIT"
] | null | null | null | Editor/Validation/ValidatorWindow.cs | LongChau/Unity3DFramework | 9472b24b38b0fe35fae2c3c0253a6cd54abe388c | [
"MIT"
] | null | null | null | using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEngine;
namespace Framework.Editor
{
public class ValidatorWindow : EditorView<ValidatorWindow, ValidatorPresenter>
{
private Vector2 ListScroll;
private bool ShowErrors = true;
private bool ShowWarnings ... | 34.504505 | 128 | 0.522715 |
5928f28c055a2f2bb97a740b97baed9983a730aa | 1,337 | cs | C# | src/EventStore.Core/LogV2/LogV2RecordFactory.cs | marodev/EventStore | 3b8ca301eb2b2f1a36e7fe2146fe1a03f970cb20 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | src/EventStore.Core/LogV2/LogV2RecordFactory.cs | marodev/EventStore | 3b8ca301eb2b2f1a36e7fe2146fe1a03f970cb20 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | src/EventStore.Core/LogV2/LogV2RecordFactory.cs | marodev/EventStore | 3b8ca301eb2b2f1a36e7fe2146fe1a03f970cb20 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | using System;
using EventStore.Core.LogAbstraction;
using EventStore.Core.TransactionLog.LogRecords;
namespace EventStore.Core.LogV2 {
public class LogV2RecordFactory : IRecordFactory<string> {
public LogV2RecordFactory() {
}
public ISystemLogRecord CreateEpoch(EpochRecord epoch) {
var result = new SystemL... | 26.215686 | 62 | 0.750187 |
6b32eb679a1b921e69cac2dee6016675a8a84df5 | 1,093 | cs | C# | packets/client/EntityInteractPacket.cs | legend-plus/LegendSharp | 2b0c93cebbebf2a6b213c935f45668644e2e71b6 | [
"MIT"
] | 1 | 2020-12-26T05:43:52.000Z | 2020-12-26T05:43:52.000Z | packets/client/EntityInteractPacket.cs | legend-plus/LegendSharp | 2b0c93cebbebf2a6b213c935f45668644e2e71b6 | [
"MIT"
] | null | null | null | packets/client/EntityInteractPacket.cs | legend-plus/LegendSharp | 2b0c93cebbebf2a6b213c935f45668644e2e71b6 | [
"MIT"
] | 1 | 2022-01-26T21:33:46.000Z | 2022-01-26T21:33:46.000Z | using System;
namespace Packets
{
public class EntityInteractPacket : Packet
{
public override short id { get { return -8; } }
public override string name { get { return "Entity Interact"; } }
public short interactType;
public string uuid;
public Guid guid;
pu... | 27.325 | 89 | 0.555352 |
93327876ae2bc6cd70f2118259d40d639172e4c0 | 4,302 | cs | C# | src/app-ropio/AppRopio.Payments/Best2Pay/API/Request/B2PRegisterRequest.cs | pocheshire/AppRopio.Mobile | 7110eb212efa9f7737ccd154d349acf43079b285 | [
"Apache-2.0"
] | null | null | null | src/app-ropio/AppRopio.Payments/Best2Pay/API/Request/B2PRegisterRequest.cs | pocheshire/AppRopio.Mobile | 7110eb212efa9f7737ccd154d349acf43079b285 | [
"Apache-2.0"
] | null | null | null | src/app-ropio/AppRopio.Payments/Best2Pay/API/Request/B2PRegisterRequest.cs | pocheshire/AppRopio.Mobile | 7110eb212efa9f7737ccd154d349acf43079b285 | [
"Apache-2.0"
] | 1 | 2018-08-01T04:02:43.000Z | 2018-08-01T04:02:43.000Z | using System.Collections.Generic;
using AppRopio.Payments.Best2Pay.API.Extentions;
namespace AppRopio.Payments.Best2Pay.API
{
public class B2PRegisterRequest : IB2PRequest
{
public int amount = -1;
public int currency = -1;
public string reference = @"";
public string descripti... | 37.408696 | 101 | 0.549977 |
422678c33b112d4fdaada0f6ed743521cab32e0e | 5,273 | cs | C# | LagoVista.PickAndPlace/Util/MedianFilter.cs | softwarelogistics/pick-and-place | 0fac63cc31423e5a3883ebb414e24f9ff96a2a6d | [
"MIT"
] | null | null | null | LagoVista.PickAndPlace/Util/MedianFilter.cs | softwarelogistics/pick-and-place | 0fac63cc31423e5a3883ebb414e24f9ff96a2a6d | [
"MIT"
] | null | null | null | LagoVista.PickAndPlace/Util/MedianFilter.cs | softwarelogistics/pick-and-place | 0fac63cc31423e5a3883ebb414e24f9ff96a2a6d | [
"MIT"
] | null | null | null | using LagoVista.Core.Models.Drawing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace LagoVista.PickAndPlace.Util
{
/* Not sure how we use generics here, can't really constrain Point<T> to a numeric value
* at... | 31.201183 | 115 | 0.486251 |
9ec301d15eeafa850e068c24d9e9df584f72103f | 2,380 | cs | C# | Invoices/Invoices/Application/Queries/GetInvoices.cs | robertsundstrom/accounting-app | 7a67abf1cd1b9a31a86aac50809720c29ab7108d | [
"MIT"
] | null | null | null | Invoices/Invoices/Application/Queries/GetInvoices.cs | robertsundstrom/accounting-app | 7a67abf1cd1b9a31a86aac50809720c29ab7108d | [
"MIT"
] | null | null | null | Invoices/Invoices/Application/Queries/GetInvoices.cs | robertsundstrom/accounting-app | 7a67abf1cd1b9a31a86aac50809720c29ab7108d | [
"MIT"
] | null | null | null |
using Invoices.Application;
using Invoices.Domain;
using Invoices.Domain.Enums;
using MassTransit;
using MediatR;
using Microsoft.EntityFrameworkCore;
namespace Invoices.Application.Queries;
public record GetInvoices(int Page = 1, int PageSize = 10, InvoiceType[]? Types = null, InvoiceStatus[]? Stat... | 32.162162 | 182 | 0.533193 |
b2c5877fe5eecd889dbd851a15ff5f6e243ee51c | 18,688 | cs | C# | src/MovieShop.Infrastructure/Migrations/20200131183601_MovieShopDbMigration.Designer.cs | kailakers/MovieShop | 1e9493dfb5be22b46aab8f2634be71819d7a9a71 | [
"MIT"
] | null | null | null | src/MovieShop.Infrastructure/Migrations/20200131183601_MovieShopDbMigration.Designer.cs | kailakers/MovieShop | 1e9493dfb5be22b46aab8f2634be71819d7a9a71 | [
"MIT"
] | 7 | 2021-03-10T22:31:26.000Z | 2022-02-27T06:45:07.000Z | src/MovieShop.Infrastructure/Migrations/20200131183601_MovieShopDbMigration.Designer.cs | kailakers/MovieShop | 1e9493dfb5be22b46aab8f2634be71819d7a9a71 | [
"MIT"
] | null | null | null | // <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using MovieShop.Infrastructure.Data;
n... | 36.787402 | 125 | 0.438303 |
b2ef4580eb6077fb16bb363eee44464d70b511c2 | 2,495 | cs | C# | Retro Files/BoomBang/Input.cs | DaLoE99/Servidores-DaLoE | 24765c9a913772b8702c87da1d0a4db59b461a24 | [
"MIT"
] | null | null | null | Retro Files/BoomBang/Input.cs | DaLoE99/Servidores-DaLoE | 24765c9a913772b8702c87da1d0a4db59b461a24 | [
"MIT"
] | null | null | null | Retro Files/BoomBang/Input.cs | DaLoE99/Servidores-DaLoE | 24765c9a913772b8702c87da1d0a4db59b461a24 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Diagnostics;
using System.IO;
using Snowlight.Config;
namespace Snowlight
{
public static class Input
{
/// <summary>
/// Uses invoking thread (usually main thread) as inp... | 27.722222 | 120 | 0.438477 |
40fdac0a6df1c8fc130f6d68b5a9f09d74fef885 | 1,030 | cs | C# | src/Stravaig.RulesEngine.Tests/Framework/EnumResolutionTests.cs | Stravaig-Projects/Stravaig.RulesEngine | 7321f23ade7ba113d991f13217fe7af1ea7f10a9 | [
"MIT"
] | 1 | 2021-11-26T14:34:14.000Z | 2021-11-26T14:34:14.000Z | src/Stravaig.RulesEngine.Tests/Framework/EnumResolutionTests.cs | Stravaig-Projects/Stravaig.RulesEngine | 7321f23ade7ba113d991f13217fe7af1ea7f10a9 | [
"MIT"
] | 4 | 2021-09-30T22:07:01.000Z | 2022-02-07T14:22:58.000Z | src/Stravaig.RulesEngine.Tests/Framework/EnumResolutionTests.cs | Stravaig-Projects/Stravaig.RulesEngine | 7321f23ade7ba113d991f13217fe7af1ea7f10a9 | [
"MIT"
] | null | null | null | using System;
using System.Globalization;
using System.Linq;
using NUnit.Framework;
using Shouldly;
namespace Stravaig.RulesEngine.Tests.Framework
{
[TestFixture]
public class EnumResolutionTests
{
[Test]
public void CheckType()
{
Enum stringComparison = St... | 26.410256 | 72 | 0.553398 |
0b8c204ee52960d6bb5ce8e2327cb4e2899bce99 | 1,988 | cs | C# | GitBlamer/Models/Revision.cs | sboulema/GitBlamer | d174c627d8f0a5874c8339dfe96e51d1f7dff9c0 | [
"MIT"
] | 3 | 2018-10-23T14:42:58.000Z | 2019-08-30T14:42:00.000Z | GitBlamer/Models/Revision.cs | sboulema/GitBlamer | d174c627d8f0a5874c8339dfe96e51d1f7dff9c0 | [
"MIT"
] | 10 | 2018-06-12T14:49:31.000Z | 2018-07-26T11:09:58.000Z | GitBlamer/Models/Revision.cs | sboulema/GitBlamer | d174c627d8f0a5874c8339dfe96e51d1f7dff9c0 | [
"MIT"
] | null | null | null | using Caliburn.Micro;
using GitBlamer.Helpers;
using System.Collections.Generic;
using System.Windows;
namespace GitBlamer.Models
{
public class Revision : PropertyChangedBase
{
public Revision(string input)
{
var revision = input.Split('|');
Hash = revision[0];
... | 31.555556 | 143 | 0.591046 |
509836a452adc7cadbd0e0781ef9b0b2052968ee | 341 | cs | C# | Admin.Core.Repository/Admin/OprationLog/OprationLogRepository.cs | zanderphh/Admin.Core | 80217721da31bc19fd9953d1387110113d6018ae | [
"MIT"
] | 1 | 2021-03-16T05:31:28.000Z | 2021-03-16T05:31:28.000Z | Admin.Core.Repository/Admin/OprationLog/OprationLogRepository.cs | zanderphh/Admin.Core | 80217721da31bc19fd9953d1387110113d6018ae | [
"MIT"
] | null | null | null | Admin.Core.Repository/Admin/OprationLog/OprationLogRepository.cs | zanderphh/Admin.Core | 80217721da31bc19fd9953d1387110113d6018ae | [
"MIT"
] | null | null | null | using FreeSql;
using Admin.Core.Model.Admin;
using Admin.Core.Common.Auth;
namespace Admin.Core.Repository.Admin
{
public class OprationLogRepository : RepositoryBase<OprationLogEntity>, IOprationLogRepository
{
public OprationLogRepository(UnitOfWorkManager uowm, IUser user) : base(uowm, user)
... | 24.357143 | 98 | 0.72434 |
6c3165736f91ffe50321e40f730cde3fa037864b | 15,861 | cs | C# | solutions/Virtual-Assistant/src/csharp/skills/todoskill/todoskill/Dialogs/ShowToDo/ShowToDoItemDialog.cs | AllcryptoquickDevelopment/AI | c8742b309734915163c01f06f7eb598bca43d04e | [
"MIT"
] | 1 | 2020-10-05T05:09:27.000Z | 2020-10-05T05:09:27.000Z | solutions/Virtual-Assistant/src/csharp/skills/todoskill/todoskill/Dialogs/ShowToDo/ShowToDoItemDialog.cs | AllcryptoquickDevelopment/AI | c8742b309734915163c01f06f7eb598bca43d04e | [
"MIT"
] | null | null | null | solutions/Virtual-Assistant/src/csharp/skills/todoskill/todoskill/Dialogs/ShowToDo/ShowToDoItemDialog.cs | AllcryptoquickDevelopment/AI | c8742b309734915163c01f06f7eb598bca43d04e | [
"MIT"
] | null | null | null | using System;
using System.Collections.Specialized;
using System.Threading;
using System.Threading.Tasks;
using Luis;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Schema;
using Microsoft.Bot.Solutions.Dialogs;
using Microsoft.Bot.Solutions.Extensions;
using Microsoft.Bot.Soluti... | 44.181058 | 189 | 0.591135 |
09e6bc09ad7df29db92108a81cf83841310545e2 | 676 | cs | C# | src/FoxIDs/Logic/Exceptions/SamlRequestException.cs | ITfoxtec/FoxIDs | 843aaef6c887e9ea5d3db65bb935916cf60e02f9 | [
"Apache-2.0"
] | 19 | 2019-09-05T09:00:42.000Z | 2022-01-26T14:15:22.000Z | src/FoxIDs/Logic/Exceptions/SamlRequestException.cs | ITfoxtec/FoxIDs | 843aaef6c887e9ea5d3db65bb935916cf60e02f9 | [
"Apache-2.0"
] | 65 | 2020-10-04T20:03:04.000Z | 2022-03-26T19:45:10.000Z | src/FoxIDs/Logic/Exceptions/SamlRequestException.cs | ITfoxtec/FoxIDs | 843aaef6c887e9ea5d3db65bb935916cf60e02f9 | [
"Apache-2.0"
] | 6 | 2020-04-24T13:42:47.000Z | 2022-01-18T10:05:23.000Z | using ITfoxtec.Identity.Saml2.Schemas;
using System;
using System.Runtime.Serialization;
namespace FoxIDs.Logic
{
[Serializable]
public class SamlRequestException : EndpointException
{
public Saml2StatusCodes Status { get; set; }
public SamlRequestException() { }
public SamlReques... | 33.8 | 114 | 0.707101 |
f5442fd80ead7ff53e617bfc6d02834934562ff4 | 3,454 | cs | C# | src/YL.Utils/Files/FileUtil.cs | ZhengDaoWang/KopSoftWms | c923aeba6216934cbadee76514699380b8cb7300 | [
"MIT"
] | 7 | 2019-03-05T08:02:32.000Z | 2021-02-02T12:10:40.000Z | src/YL.Utils/Files/FileUtil.cs | ZhengDaoWang/KopSoftWms | c923aeba6216934cbadee76514699380b8cb7300 | [
"MIT"
] | null | null | null | src/YL.Utils/Files/FileUtil.cs | ZhengDaoWang/KopSoftWms | c923aeba6216934cbadee76514699380b8cb7300 | [
"MIT"
] | 2 | 2020-09-09T04:01:44.000Z | 2020-09-17T09:40:09.000Z | using System;
using System.IO;
using System.Text;
using YL.Utils.Check;
using YL.Utils.Extensions;
using YL.Utils.Delegate;
namespace YL.Utils.Files
{
public static class FileUtil
{
/// <summary>
///判断文件是否支持读写操作
/// </summary>
/// <param name="fileName">文件路径</param>
///... | 29.02521 | 100 | 0.478286 |
01ff38e4cf7f1dfd735f217e6d8df9ca066c54e2 | 2,155 | cs | C# | sikidomok/sikidomok/Program.cs | viaxa23/gyakorlasfo | 73f7bda9cc7ea245729867848a824e45b44b7016 | [
"MIT"
] | null | null | null | sikidomok/sikidomok/Program.cs | viaxa23/gyakorlasfo | 73f7bda9cc7ea245729867848a824e45b44b7016 | [
"MIT"
] | null | null | null | sikidomok/sikidomok/Program.cs | viaxa23/gyakorlasfo | 73f7bda9cc7ea245729867848a824e45b44b7016 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace sikidomok
{
class Program
{
static void Kiiras(Negyzet negy)
{
Console.WriteLine($"A négyzet kerülete: {}");
}
static void Main(string[... | 22.925532 | 84 | 0.523434 |
bfa489e121cadda110e72bb0e8eae67ffa55a878 | 275 | cs | C# | DapperTest/EventDto.cs | Jan-Olof/dapper-test | ba45e49b12d4c4c758f0f62612ba8d4032e360f3 | [
"MIT"
] | null | null | null | DapperTest/EventDto.cs | Jan-Olof/dapper-test | ba45e49b12d4c4c758f0f62612ba8d4032e360f3 | [
"MIT"
] | null | null | null | DapperTest/EventDto.cs | Jan-Olof/dapper-test | ba45e49b12d4c4c758f0f62612ba8d4032e360f3 | [
"MIT"
] | null | null | null | namespace DapperTest
{
public record EventDto
{
public EventDto(int id, string eventName)
{
Id = id;
EventName = eventName;
}
public int Id { get; init; }
public string EventName { get; init; }
}
} | 19.642857 | 49 | 0.512727 |
13499e86f518d3db3e0ced713e607e13adc48281 | 1,817 | cs | C# | Assets/Scenes/Section3/Coroutines/FromCoroutineSample3.cs | genkitoyama/UniRx-mySamples | e8e3cd836727b71c911a52777f5b6b50b902bc75 | [
"MIT"
] | null | null | null | Assets/Scenes/Section3/Coroutines/FromCoroutineSample3.cs | genkitoyama/UniRx-mySamples | e8e3cd836727b71c911a52777f5b6b50b902bc75 | [
"MIT"
] | null | null | null | Assets/Scenes/Section3/Coroutines/FromCoroutineSample3.cs | genkitoyama/UniRx-mySamples | e8e3cd836727b71c911a52777f5b6b50b902bc75 | [
"MIT"
] | null | null | null | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UniRx;
namespace Samples.Section3.Coroutines
{
public class FromCoroutineSample3 : MonoBehaviour
{
//長押し判定の閾値
private readonly float longPressThresholdSeconds = 1f;
// Start is called b... | 26.720588 | 88 | 0.425427 |
47bae1a43f78356694795cb5d46ae83404be625a | 1,452 | cs | C# | Chapter06/src/EA.TMS.DataAccess/Core/DataContext.cs | wagnerhsu/packt-Enterprise-Application-Architecture-with-NET-Core | 7d340792c907629193ca7e844111c8c4c94abb6e | [
"MIT"
] | null | null | null | Chapter06/src/EA.TMS.DataAccess/Core/DataContext.cs | wagnerhsu/packt-Enterprise-Application-Architecture-with-NET-Core | 7d340792c907629193ca7e844111c8c4c94abb6e | [
"MIT"
] | null | null | null | Chapter06/src/EA.TMS.DataAccess/Core/DataContext.cs | wagnerhsu/packt-Enterprise-Application-Architecture-with-NET-Core | 7d340792c907629193ca7e844111c8c4c94abb6e | [
"MIT"
] | null | null | null | using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using EA.TMS.Common.Entities;
using Microsoft.Extensions.Configuration;
namespace TMS.DataAccess.Core
{
public class DataCo... | 31.565217 | 146 | 0.659091 |
f87e3f6e893e07e2cd1f90cbdb805cd0c1e2e548 | 782 | cs | C# | projects/Prototype/Prototype/ViewModels/ViewModelBase.cs | thirdplay/TestSolution | 469999dc6b4e1ce84ddfd3142caef634b0e38b55 | [
"MIT"
] | null | null | null | projects/Prototype/Prototype/ViewModels/ViewModelBase.cs | thirdplay/TestSolution | 469999dc6b4e1ce84ddfd3142caef634b0e38b55 | [
"MIT"
] | null | null | null | projects/Prototype/Prototype/ViewModels/ViewModelBase.cs | thirdplay/TestSolution | 469999dc6b4e1ce84ddfd3142caef634b0e38b55 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace Prototype.ViewModels
{
/// <summary>
/// ViewModelの基底クラス。
/// </summary>
[Serializable]
public class ViewModelBase : IValidatableObject
{
/// <summary>
/// ボタン
/// </... | 22.342857 | 92 | 0.699488 |
5dbb7ac6597b066359fc0d802602b2f3fc0092ec | 12,700 | cs | C# | Microsoft.Azure.Amqp/Amqp/Encoding/AmqpBitConverter.cs | CIPop/azure-amqp | 910ca5fe6b5351ffc226aad8a0bac49b572195ec | [
"MIT"
] | null | null | null | Microsoft.Azure.Amqp/Amqp/Encoding/AmqpBitConverter.cs | CIPop/azure-amqp | 910ca5fe6b5351ffc226aad8a0bac49b572195ec | [
"MIT"
] | null | null | null | Microsoft.Azure.Amqp/Amqp/Encoding/AmqpBitConverter.cs | CIPop/azure-amqp | 910ca5fe6b5351ffc226aad8a0bac49b572195ec | [
"MIT"
] | 1 | 2021-11-19T13:22:25.000Z | 2021-11-19T13:22:25.000Z | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Azure.Amqp.Encoding
{
using System;
public static unsafe class AmqpBitConverter
{
public static sbyte ReadByte(ByteBuffer buff... | 29.262673 | 156 | 0.428819 |
5de9f52ddf2d935eedb1a0f8fbd5d85c7bffcc30 | 9,756 | cs | C# | Source/DigitalRune.Game.UI/Controls/RangeControls/Slider.cs | Drul1337/DigitalRune | a907452c8922a3360761e0569aa33110b0201b91 | [
"CC-BY-4.0",
"MS-PL"
] | 234 | 2016-06-04T21:11:43.000Z | 2022-03-09T13:02:05.000Z | Source/DigitalRune.Game.UI/Controls/RangeControls/Slider.cs | socky886/DigitalRune | a907452c8922a3360761e0569aa33110b0201b91 | [
"CC-BY-4.0",
"MS-PL"
] | 10 | 2016-06-06T11:12:36.000Z | 2021-01-05T20:48:55.000Z | Source/DigitalRune.Game.UI/Controls/RangeControls/Slider.cs | socky886/DigitalRune | a907452c8922a3360761e0569aa33110b0201b91 | [
"CC-BY-4.0",
"MS-PL"
] | 98 | 2016-06-04T21:26:50.000Z | 2022-02-23T08:10:30.000Z | // DigitalRune Engine - Copyright (C) DigitalRune GmbH
// This file is subject to the terms and conditions defined in
// file 'LICENSE.TXT', which is part of this source code package.
using System;
using System.ComponentModel;
using DigitalRune.Game.Input;
using DigitalRune.Mathematics.Algebra;
using Microsoft.Xna.Fra... | 30.392523 | 130 | 0.568163 |
b02ad716dfcf5e381c2d3d4dd2e52a80abfb3caa | 4,865 | cs | C# | src/GeneratorKit/Emit/BuildConstructorsStage.cs | GianvitoDifilippo/GeneratorKit | 377f43f05455d493b3da3631e94ef953d53f2a2a | [
"MIT"
] | 4 | 2021-12-20T20:39:44.000Z | 2021-12-23T13:30:35.000Z | src/GeneratorKit/Emit/BuildConstructorsStage.cs | GianvitoDifilippo/GeneratorKit | 377f43f05455d493b3da3631e94ef953d53f2a2a | [
"MIT"
] | null | null | null | src/GeneratorKit/Emit/BuildConstructorsStage.cs | GianvitoDifilippo/GeneratorKit | 377f43f05455d493b3da3631e94ef953d53f2a2a | [
"MIT"
] | null | null | null | #pragma warning disable RS1009 // Only internal implementations of this interface are allowed. Reason: Used only to extend the visitor to default constructors. We can find another solution if needed.
using GeneratorKit.Reflection;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Operations;
using System;
us... | 39.877049 | 200 | 0.783145 |
de18a45b2cdeea71f9644065a023152dbc914fe2 | 1,109 | cs | C# | courses/Automapper/with-automapper.cs | carloswm85/test_zone_csharp | 44eb6056a79fc7123757405f33a65087e7a23ede | [
"MIT"
] | null | null | null | courses/Automapper/with-automapper.cs | carloswm85/test_zone_csharp | 44eb6056a79fc7123757405f33a65087e7a23ede | [
"MIT"
] | null | null | null | courses/Automapper/with-automapper.cs | carloswm85/test_zone_csharp | 44eb6056a79fc7123757405f33a65087e7a23ede | [
"MIT"
] | null | null | null | using System;
using AutoMapper;
namespace AutoMapperDemo
{
class Program
{
static void Main(string[] args)
{
//Initialize the mapper
var config = new MapperConfiguration(cfg =>
cfg.CreateMap<Employee, EmployeeDTO>()
);
//Creating the source object
Employee emp = new Employee
{
Name = ... | 22.632653 | 144 | 0.644725 |
722b472b5623c3a1e1020cd5712041a651f6cff0 | 215 | cs | C# | HeroicSupport.Core/Data/IRepository.cs | MattHoneycutt/HeroicSupport | f1ffc0c2899b0714f9a6194a5284366f073bdb08 | [
"MIT"
] | 1 | 2017-02-02T21:49:45.000Z | 2017-02-02T21:49:45.000Z | HeroicSupport.Core/Data/IRepository.cs | MattHoneycutt/HeroicSupport | f1ffc0c2899b0714f9a6194a5284366f073bdb08 | [
"MIT"
] | null | null | null | HeroicSupport.Core/Data/IRepository.cs | MattHoneycutt/HeroicSupport | f1ffc0c2899b0714f9a6194a5284366f073bdb08 | [
"MIT"
] | 1 | 2021-10-04T07:43:49.000Z | 2021-10-04T07:43:49.000Z | using System.Linq;
namespace HeroicSupport.Core.Data
{
public interface IRepository<TEntity>
{
void Add(TEntity entity);
void Save();
TEntity Get<TID>(TID id);
IQueryable<TEntity> Query();
}
} | 17.916667 | 39 | 0.67907 |
c271a8c85b07971111f1a6e81fc7c293728e0561 | 242 | cs | C# | Assets/Tork/Runtime/Steering/ISteerableWheel.cs | ThorHelms/tork | e208e30a6b77799c8a58d7361d51281da93f85ad | [
"MIT"
] | null | null | null | Assets/Tork/Runtime/Steering/ISteerableWheel.cs | ThorHelms/tork | e208e30a6b77799c8a58d7361d51281da93f85ad | [
"MIT"
] | null | null | null | Assets/Tork/Runtime/Steering/ISteerableWheel.cs | ThorHelms/tork | e208e30a6b77799c8a58d7361d51281da93f85ad | [
"MIT"
] | null | null | null | using UnityEngine;
namespace Adrenak.Tork
{
public interface ISteerableWheel
{
void ResetSteering();
void SteerTowards(Vector3 turningPoint);
float GetTurningRadius();
float GetTurningAngle();
}
} | 20.166667 | 48 | 0.657025 |
26150ec9308df8aed2b2c98c33b376e739c115ae | 299 | cs | C# | src/Sfa.Tl.Matching.Models/Dto/BaseOpportunityDto.cs | uk-gov-mirror/SkillsFundingAgency.tl-matching | cb14eb7d1238e3661ae2a74f857f02027abe07a9 | [
"MIT"
] | null | null | null | src/Sfa.Tl.Matching.Models/Dto/BaseOpportunityDto.cs | uk-gov-mirror/SkillsFundingAgency.tl-matching | cb14eb7d1238e3661ae2a74f857f02027abe07a9 | [
"MIT"
] | 19 | 2018-12-31T12:03:25.000Z | 2022-02-08T09:48:06.000Z | src/Sfa.Tl.Matching.Models/Dto/BaseOpportunityDto.cs | uk-gov-mirror/SkillsFundingAgency.tl-matching | cb14eb7d1238e3661ae2a74f857f02027abe07a9 | [
"MIT"
] | 1 | 2021-04-11T08:34:31.000Z | 2021-04-11T08:34:31.000Z | using System;
namespace Sfa.Tl.Matching.Models.Dto
{
public class BaseOpportunityDto
{
public int OpportunityId { get; set; }
public int OpportunityItemId { get; set; }
public DateTime? ModifiedOn { get; set; }
public string ModifiedBy { get; set; }
}
} | 24.916667 | 50 | 0.632107 |
a5ef8fa818de78449fa62cac6843f0dcdf259908 | 1,184 | cs | C# | Strings/MultiplyBigNumber/MultiplyBigNumber.cs | yani-valeva/Programming-Fundamentals | 36ef35d3cb0a16995f6d00623e14c0c68bd6b532 | [
"MIT"
] | null | null | null | Strings/MultiplyBigNumber/MultiplyBigNumber.cs | yani-valeva/Programming-Fundamentals | 36ef35d3cb0a16995f6d00623e14c0c68bd6b532 | [
"MIT"
] | null | null | null | Strings/MultiplyBigNumber/MultiplyBigNumber.cs | yani-valeva/Programming-Fundamentals | 36ef35d3cb0a16995f6d00623e14c0c68bd6b532 | [
"MIT"
] | null | null | null | using System;
using System.Text;
public class MultiplyBigNumber
{
public static void Main()
{
string firstNumber = Console.ReadLine().TrimStart('0');
string secondNumberAsString = Console.ReadLine();
int secondNumber = int.Parse(secondNumberAsString);
StringBuilder sb = new Str... | 23.215686 | 63 | 0.464527 |
948b9d8295dc5af25841677d1723ae26e51fbd32 | 191 | cs | C# | Models/FirmOrg.cs | Jameshannah3rd/Compass | 91087eb8e61203ecff001cb17c7887f141947a05 | [
"Apache-2.0"
] | 4 | 2017-02-11T15:31:03.000Z | 2018-08-28T13:39:31.000Z | Models/FirmOrg.cs | Jameshannah3rd/Compass | 91087eb8e61203ecff001cb17c7887f141947a05 | [
"Apache-2.0"
] | 1 | 2019-06-20T19:00:53.000Z | 2019-06-20T19:00:53.000Z | Models/FirmOrg.cs | Jameshannah3rd/Compass | 91087eb8e61203ecff001cb17c7887f141947a05 | [
"Apache-2.0"
] | 2 | 2020-02-27T18:41:13.000Z | 2020-09-16T13:11:46.000Z | namespace Cosential.Integrations.Compass.Client.Models
{
public enum FirmOrg
{
Offices,
Divisions,
Studios,
PracticeAreas,
Territories
}
} | 17.363636 | 55 | 0.591623 |
8d307e9accaaa4f227226ef2c65107f02bdb9d74 | 1,765 | cs | C# | CITS-DNSMEU/DNSMEUInstaller.cs | pstatho/DNSMadeEasyUpdater | 1235e8a54142e7e874dcbacc6e58ba52ba9369b7 | [
"MIT"
] | null | null | null | CITS-DNSMEU/DNSMEUInstaller.cs | pstatho/DNSMadeEasyUpdater | 1235e8a54142e7e874dcbacc6e58ba52ba9369b7 | [
"MIT"
] | null | null | null | CITS-DNSMEU/DNSMEUInstaller.cs | pstatho/DNSMadeEasyUpdater | 1235e8a54142e7e874dcbacc6e58ba52ba9369b7 | [
"MIT"
] | null | null | null | using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration.Install;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.ServiceProcess;
using System.Threading.Tasks;
namespace Crestline.DNSMEU
{
[RunInstaller(true)]... | 20.287356 | 79 | 0.692918 |
2270bcda409f9e56ebde876c6f7c345401d6b41c | 425 | cs | C# | src/Orneholm.RadioText.Core/Storage/SrStoredEpisodeSpeech.cs | jakobehn/RadioText.net | 1c45c9cfcf3a39906c2bed35250d2099c8728ff8 | [
"MIT"
] | 1 | 2020-02-06T12:58:00.000Z | 2020-02-06T12:58:00.000Z | src/Orneholm.RadioText.Core/Storage/SrStoredEpisodeSpeech.cs | jakobehn/RadioText.net | 1c45c9cfcf3a39906c2bed35250d2099c8728ff8 | [
"MIT"
] | null | null | null | src/Orneholm.RadioText.Core/Storage/SrStoredEpisodeSpeech.cs | jakobehn/RadioText.net | 1c45c9cfcf3a39906c2bed35250d2099c8728ff8 | [
"MIT"
] | 1 | 2020-03-23T13:39:23.000Z | 2020-03-23T13:39:23.000Z | namespace Orneholm.RadioText.Core.Storage
{
public class SrStoredEpisodeSpeech
{
public int EpisodeId { get; set; }
public string SpeechBlobIdenitifier_SV { get; set; } = string.Empty;
public string SpeechUrl_SV { get; set; } = string.Empty;
public string SpeechBlobIdenitifier_... | 32.692308 | 76 | 0.661176 |
fe81dff4c33dc49abb8e34b0962ebcae5f6601f7 | 3,743 | cs | C# | src/PlayerOutLine.cs | moto2002/tianqi_src | 3f3658e5059aa790b14a5cad3c253ff957bce177 | [
"MIT"
] | 5 | 2017-06-04T12:30:50.000Z | 2018-03-12T09:33:10.000Z | src/PlayerOutLine.cs | corefan/tianqi_src | 3f3658e5059aa790b14a5cad3c253ff957bce177 | [
"MIT"
] | null | null | null | src/PlayerOutLine.cs | corefan/tianqi_src | 3f3658e5059aa790b14a5cad3c253ff957bce177 | [
"MIT"
] | 7 | 2017-07-18T13:38:00.000Z | 2020-03-29T03:42:11.000Z | using System;
using UnityEngine;
public class PlayerOutLine : MonoBehaviour
{
public Color OutLineColor = Color.get_green();
private GameObject _cameraGameObject;
private Camera _camera;
private Camera _mainCamera;
public RenderTexture _renderTextureDepth;
public RenderTexture _renderTextureOcclusion;
pub... | 46.209877 | 208 | 0.805771 |
d12a3866693f6aea717428ef3902257a712d7c1a | 865 | cs | C# | packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/OperationProxy.cs | costleya/jsii | 007b62c38edeae869e9b99396a21c765ec8ef606 | [
"Apache-2.0"
] | null | null | null | packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/OperationProxy.cs | costleya/jsii | 007b62c38edeae869e9b99396a21c765ec8ef606 | [
"Apache-2.0"
] | null | null | null | packages/jsii-pacmak/test/expected.jsii-calc-lib/dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/OperationProxy.cs | costleya/jsii | 007b62c38edeae869e9b99396a21c765ec8ef606 | [
"Apache-2.0"
] | null | null | null | using Amazon.JSII.Runtime.Deputy;
namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace
{
/// <summary>Represents an operation on values.</summary>
[JsiiTypeProxy(typeof(Operation), "@scope/jsii-calc-lib.Operation")]
internal sealed class OperationProxy : Operation
{
private OperationPro... | 32.037037 | 72 | 0.609249 |
d17134c8a649bb9ffa83269d1b0f2a444039ad1f | 7,950 | cs | C# | src/Speech/Effect/Whisper.cs | simanasch/TTSController | a840728f19df8698d2545a89fc717cae3f8987f4 | [
"Apache-2.0"
] | 81 | 2018-01-05T17:17:59.000Z | 2022-03-27T13:47:27.000Z | src/Speech/Effect/Whisper.cs | nmori/TTSController | 826e05999fc71686296c0c6cd53d9c11a5958d91 | [
"Apache-2.0"
] | 6 | 2020-12-05T17:23:06.000Z | 2021-08-10T15:19:40.000Z | src/Speech/Effect/Whisper.cs | nmori/TTSController | 826e05999fc71686296c0c6cd53d9c11a5958d91 | [
"Apache-2.0"
] | 11 | 2018-04-06T14:12:34.000Z | 2022-01-08T09:16:27.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Speech.Effect
{
/// <summary>
/// toWhisper: (c) zeta, 2017 (修正BSDライセンス)
/// https://github.com/zeta-chicken/toWhisper
/// を元に C# に移植
/// https://github.com/ksasao/toWhi... | 29.775281 | 145 | 0.347799 |
84cc3b0c825c3ebb01a8cb3dafc3de8eb4f39b17 | 2,022 | cs | C# | generators/webforms/templates/Entities/ExampleSubscriberInfoRepository.cs | gncube/generator-mydnn | 03eeaf7f3bb323e694e82180d7c91e6f067ce569 | [
"MIT"
] | null | null | null | generators/webforms/templates/Entities/ExampleSubscriberInfoRepository.cs | gncube/generator-mydnn | 03eeaf7f3bb323e694e82180d7c91e6f067ce569 | [
"MIT"
] | 4 | 2020-03-12T11:16:19.000Z | 2020-06-20T12:29:09.000Z | generators/webforms/templates/Entities/ExampleSubscriberInfoRepository.cs | gncube/generator-mydnn | 03eeaf7f3bb323e694e82180d7c91e6f067ce569 | [
"MIT"
] | null | null | null |
using System.Collections.Generic;
using DotNetNuke.Data;
namespace <%= fullNamespace %>.Entities
{
public class <%= extensionName %>SubscriberInfoRepository
{
public void CreateItem(<%= extensionName %>SubscriberInfo i)
{
using (IDataContext ctx = DataContext.Instance())
... | 31.107692 | 85 | 0.526212 |
632a7e65931a4324d3667ba1a5fb6607c2719991 | 1,668 | cs | C# | Bravura.Tests/Tonality/KeyTests.cs | ErikMuir/Bravura | 16ac20394349c815f451eee981c85a2806baf982 | [
"MIT"
] | 8 | 2018-07-23T03:02:49.000Z | 2021-09-07T07:33:11.000Z | Bravura.Tests/Tonality/KeyTests.cs | ErikMuir/Bravura | 16ac20394349c815f451eee981c85a2806baf982 | [
"MIT"
] | null | null | null | Bravura.Tests/Tonality/KeyTests.cs | ErikMuir/Bravura | 16ac20394349c815f451eee981c85a2806baf982 | [
"MIT"
] | 1 | 2020-10-08T14:11:56.000Z | 2020-10-08T14:11:56.000Z | using Xunit;
namespace Bravura.Tonality.Tests
{
public class KeyTests
{
[Fact]
public void Scale_Test()
{
var cMajorScale = new Scale(Pitches.CNatural, Modes.Major);
Assert.Equal(cMajorScale, Keys.CMajor.Scale);
var aMinorScale = new Scale(Pitches.AN... | 34.040816 | 78 | 0.619305 |
21f313f34dbe0161f50e44985bea5b8d67f8b9d8 | 652 | cs | C# | Phoneword/Phoneword/Phoneword.UWP/PhoneDialer.cs | Waguynho/TutoriaisXamain | c0727129b4c257ea1dd7f70211f35571e7883077 | [
"MIT"
] | null | null | null | Phoneword/Phoneword/Phoneword.UWP/PhoneDialer.cs | Waguynho/TutoriaisXamain | c0727129b4c257ea1dd7f70211f35571e7883077 | [
"MIT"
] | null | null | null | Phoneword/Phoneword/Phoneword.UWP/PhoneDialer.cs | Waguynho/TutoriaisXamain | c0727129b4c257ea1dd7f70211f35571e7883077 | [
"MIT"
] | null | null | null | using Phoneword.UWP;
using System;
using System.Threading.Tasks;
using Windows.ApplicationModel.Calls;
using Windows.UI.Popups;
using Xamarin.Forms;
[assembly: Dependency(typeof(PhoneDialer))]
namespace Phoneword.UWP
{
public class PhoneDialer : IDialer
{
bool dialled = false;
public bool Di... | 19.757576 | 90 | 0.610429 |
121bc0f714854b0aeda5ef26a5e2ce6423fe2bd6 | 4,147 | cs | C# | src/COMMO.Server/Handlers/Management/ServerStatusHandler.cs | SharpOTServer/CoreOpenTibiaServer | 0436049f4887d0ec3cc8e74b766103f2e5b7874d | [
"MIT"
] | 25 | 2018-03-02T20:02:55.000Z | 2021-04-28T18:58:25.000Z | src/COMMO.Server/Handlers/Management/ServerStatusHandler.cs | SharpOTServer/CoreOpenTibiaServer | 0436049f4887d0ec3cc8e74b766103f2e5b7874d | [
"MIT"
] | 17 | 2018-01-05T23:01:47.000Z | 2018-02-12T17:41:03.000Z | src/COMMO.Server/Handlers/Management/ServerStatusHandler.cs | SharpOTServer/CoreOpenTibiaServer | 0436049f4887d0ec3cc8e74b766103f2e5b7874d | [
"MIT"
] | 12 | 2018-03-06T14:11:11.000Z | 2021-10-31T08:08:32.000Z | // <copyright file="ServerStatusHandler.cs" company="2Dudes">
// Copyright (c) 2018 2Dudes. All rights reserved.
// Licensed under the MIT license.
// See LICENSE file in the project root for full license information.
// </copyright>
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
u... | 46.077778 | 138 | 0.598987 |
2c2fe1d4016840f8ae0dfb52452c041e23ba723d | 254 | cs | C# | src/CSharpFlink.Core/Task/IGlobalContext.cs | wxzz/CSharpFlink | 7d43baaabf7f8517cba6def44413e4f1b4563a0d | [
"Apache-2.0"
] | 171 | 2020-11-17T15:24:23.000Z | 2022-03-20T17:08:50.000Z | src/CSharpFlink.Core/Task/IGlobalContext.cs | csdn182tcy/CSharpFlink | 9b0f54d980c8929f5dd80c7bd70907d5705f61ff | [
"Apache-2.0"
] | 4 | 2020-11-26T09:03:40.000Z | 2020-12-28T03:08:22.000Z | src/CSharpFlink.Core/Task/IGlobalContext.cs | csdn182tcy/CSharpFlink | 9b0f54d980c8929f5dd80c7bd70907d5705f61ff | [
"Apache-2.0"
] | 39 | 2020-11-18T04:39:41.000Z | 2022-03-10T08:17:11.000Z | using CSharpFlink.Core.Calculate;
using CSharpFlink.Core.Window;
using System.Threading.Tasks.Dataflow;
namespace CSharpFlink.Core.Task
{
public interface IGlobalContext
{
ActionBlock<ICalculateContext> ActionBlock { get; set; }
}
} | 23.090909 | 64 | 0.748031 |
272b6cfcb5466d98fe178092ce79ba009d768660 | 3,273 | cs | C# | Auction/Auction.Api/Migrations/20200119194904_Initial.cs | ciprian-stingu/c-sharp-hw-final | 452b8192cb77ce6063aed964f65199db2fbe9178 | [
"MIT"
] | null | null | null | Auction/Auction.Api/Migrations/20200119194904_Initial.cs | ciprian-stingu/c-sharp-hw-final | 452b8192cb77ce6063aed964f65199db2fbe9178 | [
"MIT"
] | null | null | null | Auction/Auction.Api/Migrations/20200119194904_Initial.cs | ciprian-stingu/c-sharp-hw-final | 452b8192cb77ce6063aed964f65199db2fbe9178 | [
"MIT"
] | null | null | null | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Auction.Api.Migrations
{
public partial class Initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Auctions",
... | 36.366667 | 71 | 0.455851 |
81cfe615cb27442191c66e4cf329d80b93e5cf37 | 3,875 | cs | C# | src/Mimp.SeeSharper.DependencyInjection.Instantiation/DependencyInjectionInstantiator.cs | DavenaHack/SeeSharper.DependencyInjection | ccf6a41a6bb7e8878aa2f5886f035772462100c5 | [
"MIT"
] | 2 | 2021-07-12T11:21:08.000Z | 2021-07-12T12:42:30.000Z | src/Mimp.SeeSharper.DependencyInjection.Instantiation/DependencyInjectionInstantiator.cs | DavenaHack/SeeSharper.DependencyInjection | ccf6a41a6bb7e8878aa2f5886f035772462100c5 | [
"MIT"
] | null | null | null | src/Mimp.SeeSharper.DependencyInjection.Instantiation/DependencyInjectionInstantiator.cs | DavenaHack/SeeSharper.DependencyInjection | ccf6a41a6bb7e8878aa2f5886f035772462100c5 | [
"MIT"
] | null | null | null | using Mimp.SeeSharper.DependencyInjection.Abstraction;
using Mimp.SeeSharper.DependencyInjection.Tag.Abstraction;
using Mimp.SeeSharper.Instantiation.Abstraction;
using Mimp.SeeSharper.ObjectDescription;
using Mimp.SeeSharper.ObjectDescription.Abstraction;
using System;
using System.Collections.Generic;
using System.L... | 35.227273 | 127 | 0.593806 |
9903d9f5fd742ff350268b6efed84e610cf114f5 | 2,127 | cs | C# | DotKEGG/Databases/Composite/LigandDb.cs | Rabadash8820/DotKEGG | 52f520699807969bf4ec8dce0cd521a371254a08 | [
"MIT"
] | null | null | null | DotKEGG/Databases/Composite/LigandDb.cs | Rabadash8820/DotKEGG | 52f520699807969bf4ec8dce0cd521a371254a08 | [
"MIT"
] | 53 | 2017-03-25T08:15:26.000Z | 2017-09-15T21:48:45.000Z | DotKEGG/Databases/Composite/LigandDb.cs | Rabadash8820/DotKEGG | 52f520699807969bf4ec8dce0cd521a371254a08 | [
"MIT"
] | null | null | null | namespace DotKEGG {
/// <summary>
/// Represents the <token>LigandDbLink</token> composite database.
/// </summary>
/// <seealso cref="CNumber"/>
/// <seealso cref="ECNumber"/>
/// <seealso cref="GNumber"/>
/// <seealso cref="RNumber"/>
/// <seealso cref="RCNumber"/>
/// <seealso c... | 46.23913 | 145 | 0.631406 |
c3814433309a92bce1318879291beebdfec63674 | 1,497 | cs | C# | CloudFlare.Client/Api/Parameters/Data/Srv.cs | zingz0r/CloudFlare.Client | 0a3620aa0f29810686b13ba4443c3e354c10d14b | [
"MIT"
] | 34 | 2019-04-29T08:46:19.000Z | 2022-03-13T16:23:17.000Z | CloudFlare.Client/Api/Parameters/Data/Srv.cs | zingz0r/CloudFlare.Client | 0a3620aa0f29810686b13ba4443c3e354c10d14b | [
"MIT"
] | 29 | 2019-05-06T20:41:54.000Z | 2022-03-17T01:40:04.000Z | CloudFlare.Client/Api/Parameters/Data/Srv.cs | zingz0r/CloudFlare.Client | 0a3620aa0f29810686b13ba4443c3e354c10d14b | [
"MIT"
] | 16 | 2019-08-10T10:16:02.000Z | 2022-03-08T11:46:35.000Z | using CloudFlare.Client.Enumerators;
using Newtonsoft.Json;
namespace CloudFlare.Client.Api.Parameters.Data
{
/// <summary>
/// Srv
/// </summary>
public class Srv : IData
{
/// <summary>
/// Service name of the SRV record
/// </summary>
[JsonProperty("service")]
... | 26.732143 | 94 | 0.517702 |
b72b45887382cbf6669a460f32d5fdce73b74959 | 959 | cs | C# | CountdownTest/UnitTest1.cs | Osipion/countdown_maths_solver | b9c00e52473f6d29e7ade3e34b67b5b1c0b5839b | [
"MIT"
] | null | null | null | CountdownTest/UnitTest1.cs | Osipion/countdown_maths_solver | b9c00e52473f6d29e7ade3e34b67b5b1c0b5839b | [
"MIT"
] | null | null | null | CountdownTest/UnitTest1.cs | Osipion/countdown_maths_solver | b9c00e52473f6d29e7ade3e34b67b5b1c0b5839b | [
"MIT"
] | null | null | null | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using CountdownPlayer;
namespace CountdownTest
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void PathProducesSequentialSteps()
{
var p = new Frame(6);
var r =... | 19.979167 | 107 | 0.500521 |
79d589a8cf6e6bafe6675a39da9172838510375d | 141 | cs | C# | src/Idfy.SDK/Properties/InternalsVisibleTo.cs | JTOne123/idfy-sdk-net | a5d32a5541f0b54a3e686e97c9e51bcb9022f3f8 | [
"Apache-2.0"
] | null | null | null | src/Idfy.SDK/Properties/InternalsVisibleTo.cs | JTOne123/idfy-sdk-net | a5d32a5541f0b54a3e686e97c9e51bcb9022f3f8 | [
"Apache-2.0"
] | null | null | null | src/Idfy.SDK/Properties/InternalsVisibleTo.cs | JTOne123/idfy-sdk-net | a5d32a5541f0b54a3e686e97c9e51bcb9022f3f8 | [
"Apache-2.0"
] | null | null | null | using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Idfy.SDK.Tests")]
[assembly: InternalsVisibleTo("Idfy.SDK.Internal")] | 35.25 | 51 | 0.801418 |
664b1b55890b04919c6e712b8ebcc77acfdc5949 | 4,728 | cs | C# | GroupSpace/Controllers/GroupsController.cs | Mahmoud02/GroupSpace-API | 19c2fec105350304594345ea2a82a9626d5dab69 | [
"Apache-2.0"
] | null | null | null | GroupSpace/Controllers/GroupsController.cs | Mahmoud02/GroupSpace-API | 19c2fec105350304594345ea2a82a9626d5dab69 | [
"Apache-2.0"
] | null | null | null | GroupSpace/Controllers/GroupsController.cs | Mahmoud02/GroupSpace-API | 19c2fec105350304594345ea2a82a9626d5dab69 | [
"Apache-2.0"
] | null | null | null | using GroupSpace.BLL;
using GroupSpace.BLL.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Threading.Tasks;
// For more information on enabling Web API for empty pro... | 33.062937 | 162 | 0.587986 |
cceb9c2e41f8070c402968c53870b9fd0b496bb2 | 8,130 | cs | C# | DelaySend/Properties/Settings.Designer.cs | Cossey/delaysend | 721e108c0184814a2836020cada88a2190fa9a2b | [
"BSD-3-Clause"
] | 3 | 2020-08-16T14:36:41.000Z | 2022-03-26T09:29:52.000Z | DelaySend/Properties/Settings.Designer.cs | Cossey/delaysend | 721e108c0184814a2836020cada88a2190fa9a2b | [
"BSD-3-Clause"
] | null | null | null | DelaySend/Properties/Settings.Designer.cs | Cossey/delaysend | 721e108c0184814a2836020cada88a2190fa9a2b | [
"BSD-3-Clause"
] | null | null | null | //------------------------------------------------------------------------------
// <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>
//--... | 39.275362 | 151 | 0.567897 |
d9e6e9207490df059627d62320cf072d6800a962 | 6,000 | cs | C# | Assets/Scripts/RunCompute.cs | Riti0208/PLANETARIUM-VR | 7d50d487148208b531cb9f246d9304c4aab29643 | [
"MIT"
] | null | null | null | Assets/Scripts/RunCompute.cs | Riti0208/PLANETARIUM-VR | 7d50d487148208b531cb9f246d9304c4aab29643 | [
"MIT"
] | null | null | null | Assets/Scripts/RunCompute.cs | Riti0208/PLANETARIUM-VR | 7d50d487148208b531cb9f246d9304c4aab29643 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RunCompute : MonoBehaviour {
// struct
struct Particle {
public Vector3 position;
public float hDeg;
public float sDeg;
public Color color;
public Color colorBuffer;
pu... | 31.746032 | 187 | 0.5815 |
be6725ece0f567af01ae0dd8fdd63d01a4c567d4 | 5,304 | cs | C# | CELA-Tags_Parsing_Service/Controllers/ValuesController.cs | Bhaskers-Blu-Org2/CELA-Tag-Processing-Service | 9baeb28ab5019e90ab91dbfef34adc8a9ea5e8fa | [
"MIT"
] | 4 | 2019-05-29T05:51:10.000Z | 2021-04-20T16:21:50.000Z | CELA-Tags_Parsing_Service/Controllers/ValuesController.cs | smuckwell/CELA-Tag-Processing-Service | 6c5519ddb499ec2a77cf7b0ef8e09cae91d326fd | [
"MIT"
] | null | null | null | CELA-Tags_Parsing_Service/Controllers/ValuesController.cs | smuckwell/CELA-Tag-Processing-Service | 6c5519ddb499ec2a77cf7b0ef8e09cae91d326fd | [
"MIT"
] | 8 | 2019-05-28T21:39:16.000Z | 2021-09-13T17:18:05.000Z | using CELA_Knowledge_Managment.BusinessLogic;
using CELA_Tags_Parsing_Service.BusinessLogic;
using CELA_Knowledge_Management_Data_Services.Models;
using System.Collections.Generic;
using System.Web.Http;
using CELA_Tags_Parsing_Service.Storage;
namespace CELA_Tags_Parsing_Service.Controllers
{
public class Vers... | 48.66055 | 209 | 0.670814 |
4feeb45ce4ef454d8812d3e04346bb99620d6267 | 320 | cs | C# | Castle Bite/Assets/Script/UnitAbility/UnitAbility.cs | InconstantUA/CastleBite | 9bc284856f0005a6d3b6bc2d796b05e35df88f9f | [
"Apache-2.0"
] | null | null | null | Castle Bite/Assets/Script/UnitAbility/UnitAbility.cs | InconstantUA/CastleBite | 9bc284856f0005a6d3b6bc2d796b05e35df88f9f | [
"Apache-2.0"
] | null | null | null | Castle Bite/Assets/Script/UnitAbility/UnitAbility.cs | InconstantUA/CastleBite | 9bc284856f0005a6d3b6bc2d796b05e35df88f9f | [
"Apache-2.0"
] | null | null | null | using UnityEngine;
public abstract class UnitAbility : ScriptableObject
{
//public GameEvent gameEvent;
public TextAnimation textAnimation;
public Color abilityIsApplicableColor;
public Color abilityNotApplicableColor;
public abstract void Apply(PartyUnit activeUnit, PartyUnit destinationUnit);
}
| 29.090909 | 80 | 0.796875 |
ac0d148af6fb9f82a6a2a485c7db71b4a611dcf6 | 2,052 | cs | C# | src/Senparc.Weixin.QY/Senparc.Weixin.QY/AdvancedAPIs/Chat/ChatJson/SendChatMessageData.cs | caolingyi/WeiXinMPSDK | c2763a705863c62247500dabc8785b645871b44c | [
"Apache-2.0"
] | 12 | 2019-02-01T01:45:13.000Z | 2022-01-04T16:01:29.000Z | src/Senparc.Weixin.QY/Senparc.Weixin.QY/AdvancedAPIs/Chat/ChatJson/SendChatMessageData.cs | ping302pong/WeiXinMPSDK | 791e186ace167b4cac76fe4485f5161f89ba82cc | [
"Apache-2.0"
] | 2 | 2015-11-10T05:10:35.000Z | 2017-03-28T09:05:02.000Z | src/Senparc.Weixin.QY/Senparc.Weixin.QY/AdvancedAPIs/Chat/ChatJson/SendChatMessageData.cs | ping302pong/WeiXinMPSDK | 791e186ace167b4cac76fe4485f5161f89ba82cc | [
"Apache-2.0"
] | 14 | 2017-11-20T03:51:34.000Z | 2021-09-10T13:46:39.000Z | /*----------------------------------------------------------------
Copyright (C) 2017 Senparc
文件名:SendChatMessageData.cs
文件功能描述:会话接口返回结果
创建标识:Senparc - 20150728
----------------------------------------------------------------*/
namespace Senparc.Weixin.QY.AdvancedAPIs.Chat
{
/// <su... | 22.549451 | 67 | 0.482456 |
f099ac2a8456a73202d8d403d8368beeda3a7478 | 1,007 | cs | C# | 343. Integer Break/343_Original_DP_Optimized_by_Math.cs | webigboss/Leetcode | b92dfa7c322754a6ef985f9f199e7e2045092b1a | [
"MIT"
] | null | null | null | 343. Integer Break/343_Original_DP_Optimized_by_Math.cs | webigboss/Leetcode | b92dfa7c322754a6ef985f9f199e7e2045092b1a | [
"MIT"
] | null | null | null | 343. Integer Break/343_Original_DP_Optimized_by_Math.cs | webigboss/Leetcode | b92dfa7c322754a6ef985f9f199e7e2045092b1a | [
"MIT"
] | null | null | null | public class Solution {
public int IntegerBreak(int n) {
// Math solution
// If an optimal product contains a factor f >= 4, then you can replace it with factors 2 and f-2 without losing optimality, as 2*(f-2) = 2f-4 >= f. So you never need a factor greater than or equal to 4, meaning you only need ... | 41.958333 | 340 | 0.494538 |
1a87a14e11ac1beab15f518eee403b4e6e9d1471 | 576 | cs | C# | Assets/FullInspector2/Modules/Attributes/InspectorMarginAttribute.cs | gjroelofs/fullinspector | f567f2a0b2c477d3a794d9b03ccf571a3229b7c3 | [
"MIT"
] | 103 | 2015-02-10T14:34:47.000Z | 2022-03-29T19:33:18.000Z | Assets/FullInspector2/Modules/Attributes/InspectorMarginAttribute.cs | gjroelofs/fullinspector | f567f2a0b2c477d3a794d9b03ccf571a3229b7c3 | [
"MIT"
] | 119 | 2015-01-08T07:08:59.000Z | 2020-06-08T20:32:32.000Z | Assets/FullInspector2/Modules/Attributes/InspectorMarginAttribute.cs | gjroelofs/fullinspector | f567f2a0b2c477d3a794d9b03ccf571a3229b7c3 | [
"MIT"
] | 34 | 2015-09-15T13:22:22.000Z | 2022-02-19T20:07:23.000Z | using System;
namespace FullInspector {
/// <summary>
/// Adds whitespace above the given field or property.
/// </summary>
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
public class InspectorMarginAttribute : Attribute, IInspectorAttributeOrder {
public int Margin;
... | 25.043478 | 81 | 0.605903 |
96ef2d5081e7fffd0ee6a2b23ad5695097f25079 | 1,818 | cs | C# | HelperLibrary.Core.Localization/EmptyLocalizationDictionaryManager.cs | functionGHW/HelperLibrary | 2f41cf5cf875bdf88f49ff3ecf2b17902af14315 | [
"MIT"
] | 1 | 2019-05-07T07:57:31.000Z | 2019-05-07T07:57:31.000Z | HelperLibrary.Core.Localization/EmptyLocalizationDictionaryManager.cs | functionGHW/HelperLibrary | 2f41cf5cf875bdf88f49ff3ecf2b17902af14315 | [
"MIT"
] | null | null | null | HelperLibrary.Core.Localization/EmptyLocalizationDictionaryManager.cs | functionGHW/HelperLibrary | 2f41cf5cf875bdf88f49ff3ecf2b17902af14315 | [
"MIT"
] | 1 | 2019-01-28T13:46:13.000Z | 2019-01-28T13:46:13.000Z | /*
* FileName: EmptyLocalizationDictionaryManager.cs
* Author: functionghw<functionghw@hotmail.com>
* CreateTime: 1/21/2017 8:50:31 PM
* Version: v1.1
* Description:
* */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ... | 25.971429 | 118 | 0.576458 |
0e6b27d50d6e7fcdca3a85948b99299172267bec | 1,466 | cs | C# | YTMDesktopPlugin/Commands/LikeCommand.cs | XeroxDev/Loupedeck-plugin-YTMDesktop | 5052fdc3d79468ba1ee96fbec49d0cc3413fd700 | [
"MIT"
] | 2 | 2021-12-25T04:39:51.000Z | 2022-03-09T08:17:08.000Z | YTMDesktopPlugin/Commands/LikeCommand.cs | XeroxDev/Loupedeck-plugin-YTMDesktop | 5052fdc3d79468ba1ee96fbec49d0cc3413fd700 | [
"MIT"
] | null | null | null | YTMDesktopPlugin/Commands/LikeCommand.cs | XeroxDev/Loupedeck-plugin-YTMDesktop | 5052fdc3d79468ba1ee96fbec49d0cc3413fd700 | [
"MIT"
] | null | null | null | namespace Loupedeck.YTMDesktopPlugin.Commands
{
using System;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using Services;
using static Helper.DrawingHelper;
public class LikeCommand : PluginDynamicCommand
{
private SocketService SocketService { get; }
priv... | 31.869565 | 117 | 0.588677 |
0e9607f7f0a0fc9409d8e4f99d2f1b304176212b | 1,487 | cs | C# | src/Actions/Actions/ControlPatternAction.cs | codeofdusk/axe-windows | ede68d0ce3983ed7a50ed0690a4bc11f7e22b445 | [
"MIT"
] | 75 | 2019-05-10T21:48:25.000Z | 2022-03-17T22:33:06.000Z | src/Actions/Actions/ControlPatternAction.cs | AdrianaDJ/axe-windows | cf67365a980cc25be2931011be5f6d2190ce4c27 | [
"MIT"
] | 341 | 2019-05-09T23:00:58.000Z | 2022-03-31T21:18:39.000Z | src/Actions/Actions/ControlPatternAction.cs | AdrianaDJ/axe-windows | cf67365a980cc25be2931011be5f6d2190ce4c27 | [
"MIT"
] | 36 | 2019-05-10T21:01:16.000Z | 2022-03-18T08:28:59.000Z | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Axe.Windows.Actions.Attributes;
using Axe.Windows.Actions.Enums;
using Axe.Windows.Core.Bases;
using System.Linq;
using System.Reflection;
namespace Axe.W... | 38.128205 | 102 | 0.632818 |
142285dd81efc9a01d2f18486ecd5d517b03b3e8 | 239 | cs | C# | Pds/Pds.Api.Contracts/Client/CreateClientRequest.cs | catdog50rus/bloggers-cms | 86e7ac29c1ab32fe69df26f389b5ed03829e8c32 | [
"Apache-2.0"
] | 10 | 2021-01-24T21:11:05.000Z | 2021-03-28T22:50:43.000Z | Pds/Pds.Api.Contracts/Client/CreateClientRequest.cs | catdog50rus/bloggers-cms | 86e7ac29c1ab32fe69df26f389b5ed03829e8c32 | [
"Apache-2.0"
] | 28 | 2021-01-13T10:01:32.000Z | 2021-03-28T11:34:19.000Z | Pds/Pds.Api.Contracts/Client/CreateClientRequest.cs | catdog50rus/bloggers-cms | 86e7ac29c1ab32fe69df26f389b5ed03829e8c32 | [
"Apache-2.0"
] | 10 | 2021-01-18T19:56:23.000Z | 2021-03-22T12:02:20.000Z | using System.ComponentModel.DataAnnotations;
namespace Pds.Api.Contracts.Client
{
public class CreateClientRequest
{
[Required]
public string Name { get; set; }
public string Comment { get; set; }
}
} | 19.916667 | 45 | 0.648536 |
fadf6ebf8a118879dcf06b0bcc6ae66ffae3f5a1 | 2,042 | cs | C# | core/client/game/src/commonGame/net/sceneBaseResponse/unit/UnitRefreshBuffLastNumResponse.cs | hw233/home3 | a15a63694918483b2e4853edab197b5cdddca560 | [
"Apache-2.0"
] | 8 | 2020-08-17T09:54:20.000Z | 2021-02-08T05:25:02.000Z | core/client/game/src/commonGame/net/sceneBaseResponse/unit/UnitRefreshBuffLastNumResponse.cs | shineTeam7/home3 | a15a63694918483b2e4853edab197b5cdddca560 | [
"Apache-2.0"
] | null | null | null | core/client/game/src/commonGame/net/sceneBaseResponse/unit/UnitRefreshBuffLastNumResponse.cs | shineTeam7/home3 | a15a63694918483b2e4853edab197b5cdddca560 | [
"Apache-2.0"
] | 5 | 2020-07-24T03:07:08.000Z | 2021-11-17T14:20:15.000Z | using ShineEngine;
/// <summary>
/// 单位刷新buff剩余次数消息(generated by shine)
/// </summary>
public class UnitRefreshBuffLastNumResponse:UnitSResponse
{
/// <summary>
/// 数据类型ID
/// </summary>
public const int dataID=SceneBaseResponseType.UnitRefreshBuffLastNum;
/// <summary>
/// buff实例ID
/// </summar... | 19.264151 | 80 | 0.647894 |
0ecdd343628054aef801b4ba4dd4fed6abb939db | 2,371 | cs | C# | src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/WxaCode/WxaGetWxaCodeRequest.cs | magotop/DotNetCore.SKIT.FlurlHttpClient.Wechat | 82397f88c67ceac107d6988f9999b90916a93952 | [
"MIT"
] | 2 | 2021-11-04T12:37:15.000Z | 2021-11-04T12:37:18.000Z | src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/WxaCode/WxaGetWxaCodeRequest.cs | KimMeng2015/DotNetCore.SKIT.FlurlHttpClient.Wechat | 5c988926c7b4005b6474f5933de342925ad230e5 | [
"MIT"
] | null | null | null | src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/WxaCode/WxaGetWxaCodeRequest.cs | KimMeng2015/DotNetCore.SKIT.FlurlHttpClient.Wechat | 5c988926c7b4005b6474f5933de342925ad230e5 | [
"MIT"
] | 2 | 2021-12-02T09:08:13.000Z | 2022-01-04T02:45:14.000Z | using System;
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /wxa/getwxacode 接口的请求。</para>
/// </summary>
public class WxaGetWxaCodeRequest : WechatApiRequest
{
public static class Types
{
public cl... | 32.040541 | 71 | 0.526782 |
1602c598b9633a6e9ab206bcd15be87a3f9eb6f0 | 1,245 | cs | C# | DataProcessing/CsvDataStreamWriter.cs | lrakai/DataProcessing.NET | 86a1566d237a20c79dc290d42a57c57d6e10742d | [
"MIT"
] | null | null | null | DataProcessing/CsvDataStreamWriter.cs | lrakai/DataProcessing.NET | 86a1566d237a20c79dc290d42a57c57d6e10742d | [
"MIT"
] | null | null | null | DataProcessing/CsvDataStreamWriter.cs | lrakai/DataProcessing.NET | 86a1566d237a20c79dc290d42a57c57d6e10742d | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataProcessing
{
class CsvDataStreamWriter : IDataStreamWriter
{
public Stream WriteDataStream(DataTable table)
{
var st... | 28.953488 | 74 | 0.583936 |
14ab2b562c99cd0d945328a0b49a4963899fd366 | 1,465 | cs | C# | Table/src/TableSortLabel/TableSortLabel.cs | SuperiorBo/Skclusive.Material.Component | 97e54395625e7604ee3c1b6ce9ce0cd309162bb8 | [
"MIT"
] | null | null | null | Table/src/TableSortLabel/TableSortLabel.cs | SuperiorBo/Skclusive.Material.Component | 97e54395625e7604ee3c1b6ce9ce0cd309162bb8 | [
"MIT"
] | null | null | null | Table/src/TableSortLabel/TableSortLabel.cs | SuperiorBo/Skclusive.Material.Component | 97e54395625e7604ee3c1b6ce9ce0cd309162bb8 | [
"MIT"
] | 1 | 2020-01-22T12:34:11.000Z | 2020-01-22T12:34:11.000Z | using Microsoft.AspNetCore.Components;
using Skclusive.Core.Component;
using Skclusive.Material.Core;
using System.Collections.Generic;
namespace Skclusive.Material.Table
{
public class TableSortLabelComponent : MaterialComponent
{
public TableSortLabelComponent() : base("TableSortLabel")
{
... | 23.629032 | 83 | 0.520137 |
d07390ee15d8a90e786af236d14c1e6dc05b0120 | 517 | cs | C# | Decchi/ParsingModule/Rules/Winamp.cs | SasarinoMARi/Decchi | b229d1e571bda9d80087a742a962a30cbab0e86b | [
"MIT"
] | 2 | 2019-02-08T10:14:13.000Z | 2019-02-08T12:40:35.000Z | Decchi/ParsingModule/Rules/Winamp.cs | SasarinoMARi/Decchi | b229d1e571bda9d80087a742a962a30cbab0e86b | [
"MIT"
] | null | null | null | Decchi/ParsingModule/Rules/Winamp.cs | SasarinoMARi/Decchi | b229d1e571bda9d80087a742a962a30cbab0e86b | [
"MIT"
] | null | null | null | namespace Decchi.ParsingModule.Rules
{
internal sealed class Winamp : IParseRule
{
public Winamp() : base(
new IParseRuleOption
{
Client = "Winamp",
ParseFlag = ParseFlags.Default,
Regex = @"^([0-9]+\. )?((... | 28.722222 | 88 | 0.411992 |
78bc2599eee34bf57def789f4b2f8e9059c95d89 | 1,021 | cs | C# | source/ViewModel/Model/Header.cs | CVOSoftware/HttpHeadersViewer | 8b580e3a68cffccf8e7e8272076e022588f60030 | [
"Apache-2.0"
] | null | null | null | source/ViewModel/Model/Header.cs | CVOSoftware/HttpHeadersViewer | 8b580e3a68cffccf8e7e8272076e022588f60030 | [
"Apache-2.0"
] | null | null | null | source/ViewModel/Model/Header.cs | CVOSoftware/HttpHeadersViewer | 8b580e3a68cffccf8e7e8272076e022588f60030 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Runtime.Serialization;
using HttpHeadersViewer.ViewModel.Base;
namespace HttpHeadersViewer.ViewModel.Model
{
[DataContract]
[Serializable]
public class Header : BaseViewModel
{
#region Fields
private string key;
private string value;
#endre... | 16.737705 | 47 | 0.464251 |
1ae6b2dacee9637ea081e90dd2a747433a8ea941 | 4,581 | cs | C# | src/AllGreen.Core.Tests/XmlConfigurationTests.cs | gstamac/AllGreen | e6948b6335d552606ac6e16fc5bf6ac1e40bf225 | [
"MIT"
] | 1 | 2015-06-18T20:30:46.000Z | 2015-06-18T20:30:46.000Z | src/AllGreen.Core.Tests/XmlConfigurationTests.cs | gstamac/AllGreen | e6948b6335d552606ac6e16fc5bf6ac1e40bf225 | [
"MIT"
] | null | null | null | src/AllGreen.Core.Tests/XmlConfigurationTests.cs | gstamac/AllGreen | e6948b6335d552606ac6e16fc5bf6ac1e40bf225 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Xml;
using System.Xml.Linq;
using System.Xml.Serialization;
using FluentAssertions;
using FluentAssertions.Execution;
using FluentAssertions.Xml;
using Microsoft.VisualStudio.Test... | 44.911765 | 142 | 0.526304 |
2ffe53d72218c68dfb3dc03077ef665a9aedc30b | 467 | cs | C# | SkillsWorkflow.Services.ADBlocker/Models/UnblockUserRequest.cs | SkillsWorkflow/ADBlocker | eb1eda0b08eaa680958d988be2fb777ecabd3d4c | [
"MIT"
] | null | null | null | SkillsWorkflow.Services.ADBlocker/Models/UnblockUserRequest.cs | SkillsWorkflow/ADBlocker | eb1eda0b08eaa680958d988be2fb777ecabd3d4c | [
"MIT"
] | 2 | 2017-09-22T10:28:13.000Z | 2017-09-22T11:18:01.000Z | SkillsWorkflow.Services.ADBlocker/Models/UnblockUserRequest.cs | SkillsWorkflow/ADBlocker | eb1eda0b08eaa680958d988be2fb777ecabd3d4c | [
"MIT"
] | 2 | 2017-02-10T15:49:40.000Z | 2018-01-16T15:51:29.000Z |
using System;
namespace SkillsWorkflow.Services.ADBlocker.Models
{
public class UnblockUserRequest
{
public string Id { get; set; }
public string AdUserName { get; set; }
public DateTime? AccountExpirationDate { get; set; }
}
public class UnblockUserRequestResult
{
... | 22.238095 | 60 | 0.635974 |
64a1b8536db9ac24f9206c649544cf15b6170975 | 1,739 | cs | C# | Backend/Stars/Stars.Core/Extensions/JsonExtensions.cs | m12e/Stars | fee102d26f896bc89f29faaeab326c97d9702202 | [
"MIT"
] | null | null | null | Backend/Stars/Stars.Core/Extensions/JsonExtensions.cs | m12e/Stars | fee102d26f896bc89f29faaeab326c97d9702202 | [
"MIT"
] | null | null | null | Backend/Stars/Stars.Core/Extensions/JsonExtensions.cs | m12e/Stars | fee102d26f896bc89f29faaeab326c97d9702202 | [
"MIT"
] | null | null | null | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Globalization;
using System.IO;
namespace Stars.Core.Extensions
{
/// <summary>
/// Методы расширения для сериализации объектов в JSON
/// </summary>
public static class JsonExtensions
{
/// <summary>
/// Настройки сериализации
/// </summary>
... | 25.573529 | 101 | 0.726279 |
5170cdc699788204b392a3f47ee43d349079a581 | 653 | cs | C# | SentinelChain.Explorer/ViewModels/LatestBlockTransactionsViewModel.cs | obboylabs/sentinel-chain-explorer-dotnet | 584d3fbfb5ee79c9ed86786b935bf47eddd68290 | [
"MIT"
] | null | null | null | SentinelChain.Explorer/ViewModels/LatestBlockTransactionsViewModel.cs | obboylabs/sentinel-chain-explorer-dotnet | 584d3fbfb5ee79c9ed86786b935bf47eddd68290 | [
"MIT"
] | null | null | null | SentinelChain.Explorer/ViewModels/LatestBlockTransactionsViewModel.cs | obboylabs/sentinel-chain-explorer-dotnet | 584d3fbfb5ee79c9ed86786b935bf47eddd68290 | [
"MIT"
] | 1 | 2022-01-27T06:19:19.000Z | 2022-01-27T06:19:19.000Z | using System;
using SentinelChain.Explorer.Messages;
using SentinelChain.Explorer.Services;
using ReactiveUI;
namespace SentinelChain.Explorer.ViewModels
{
public class LatestBlockTransactionsViewModel : BlockTransactionsViewModel
{
public LatestBlockTransactionsViewModel(IWeb3ProviderService web3Prov... | 28.391304 | 115 | 0.600306 |
b5c89d93bfa63be2fc8817aeb5fe9d628c6b7878 | 972 | cs | C# | BuilderPatternAgg/BuilderPattern.cs | cacothi/design-pattern | 6fe7248665e3f8d29af717c0253f6bf32f7921b4 | [
"MIT"
] | null | null | null | BuilderPatternAgg/BuilderPattern.cs | cacothi/design-pattern | 6fe7248665e3f8d29af717c0253f6bf32f7921b4 | [
"MIT"
] | null | null | null | BuilderPatternAgg/BuilderPattern.cs | cacothi/design-pattern | 6fe7248665e3f8d29af717c0253f6bf32f7921b4 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DesignPattern.BuilderPatternAgg
{
/// <summary>
/// Builder pattern builds a complex object using simple objects and using a step by step approach.
/// This type of design pattern comes un... | 29.454545 | 130 | 0.728395 |
bdd99174190f95b84b7a460bc6db7567c0471cc4 | 1,429 | cs | C# | WDE.MVVM/MVVM/NotifyPropertyValueToObservable.cs | Intemporel/WoWDatabaseEditor | 191a9a18a04cffdc3db20ec2d504dd1e1c9ccc1d | [
"MIT"
] | 137 | 2018-08-31T00:59:26.000Z | 2022-03-28T09:13:20.000Z | WDE.MVVM/MVVM/NotifyPropertyValueToObservable.cs | Intemporel/WoWDatabaseEditor | 191a9a18a04cffdc3db20ec2d504dd1e1c9ccc1d | [
"MIT"
] | 85 | 2018-08-13T14:58:52.000Z | 2022-03-25T20:16:16.000Z | WDE.MVVM/MVVM/NotifyPropertyValueToObservable.cs | Intemporel/WoWDatabaseEditor | 191a9a18a04cffdc3db20ec2d504dd1e1c9ccc1d | [
"MIT"
] | 90 | 2017-12-15T19:49:53.000Z | 2022-03-15T23:37:24.000Z | using System;
namespace WDE.MVVM
{
internal class NotifyPropertyValueToObservable<T> : IObservable<PropertyValueChangedEventArgs> where T : INotifyPropertyValueChanged
{
private readonly T obj;
public NotifyPropertyValueToObservable(T obj)
{
this.obj = obj;
}
... | 34.02381 | 136 | 0.656403 |
553f7901c3c453cea0dd910cbce6e0c26a686eea | 469 | cs | C# | src/Localization.Accessor.Service/Service/Infrastructure/LocalizationStoreInformation.cs | ByteRain0/NetTemplate | 802cb58832ca88df5b882d5706ea33ac5ce5512d | [
"Apache-2.0"
] | null | null | null | src/Localization.Accessor.Service/Service/Infrastructure/LocalizationStoreInformation.cs | ByteRain0/NetTemplate | 802cb58832ca88df5b882d5706ea33ac5ce5512d | [
"Apache-2.0"
] | null | null | null | src/Localization.Accessor.Service/Service/Infrastructure/LocalizationStoreInformation.cs | ByteRain0/NetTemplate | 802cb58832ca88df5b882d5706ea33ac5ce5512d | [
"Apache-2.0"
] | null | null | null | using System.Collections.Generic;
using Localization.Accessor.Contracts.Contracts;
namespace Localization.Accessor.Service.Service.Infrastructure
{
/// <summary>
/// Used on the presentation layer to get the information about the available languages.
/// </summary>
public class LocalizationStoreInforma... | 31.266667 | 92 | 0.712154 |
2b6027ca32a1baa997f8e816d39f87b8f5584e39 | 400 | cs | C# | Project0/Repository/IAverager.cs | 1804-Apr-USFdotnet/AlmbladeJ_ProjectZero | c456ac09164544405196507818028b53abc5bb97 | [
"MIT"
] | null | null | null | Project0/Repository/IAverager.cs | 1804-Apr-USFdotnet/AlmbladeJ_ProjectZero | c456ac09164544405196507818028b53abc5bb97 | [
"MIT"
] | null | null | null | Project0/Repository/IAverager.cs | 1804-Apr-USFdotnet/AlmbladeJ_ProjectZero | c456ac09164544405196507818028b53abc5bb97 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Repository
{
public interface IAverager
{
void AverageRatingsAdd(int RestaurantID, int NewRating);
void AverageRatingsEdit(int RestaurantID, int OldRating, int NewRatin... | 25 | 80 | 0.745 |
2b9257a646aeac0990fe72e3c4ca0a60385dbc65 | 3,890 | cs | C# | Assets/Scripts/MapView/MapManager.cs | felix-klose/papermate | ec08da0133eab0d033f3f7201afb5759fd344f28 | [
"Apache-2.0"
] | 2 | 2021-03-28T17:55:27.000Z | 2021-03-28T17:56:46.000Z | Assets/Scripts/MapView/MapManager.cs | felix-klose/papermate | ec08da0133eab0d033f3f7201afb5759fd344f28 | [
"Apache-2.0"
] | 9 | 2021-03-28T18:47:09.000Z | 2021-03-31T16:56:12.000Z | Assets/Scripts/MapView/MapManager.cs | felix-klose/papermate | ec08da0133eab0d033f3f7201afb5759fd344f28 | [
"Apache-2.0"
] | null | null | null | /*
* This file is part of Papermate which is released under Apache License 2.0.
* See file LICENSE.txt for full license details.
*/
using UnityEngine;
using UnityEngine.Events;
namespace Papermate.MapView
{
/// <summary>
/// Singleton manager class to control map properties and display
/// </summary>
... | 30.155039 | 117 | 0.575835 |
7d671ba9e3cda48ceb4410e62766baa09053e191 | 356 | cs | C# | src/Services/Cache/DataCache.cs | ferrazpedro/playnite-mame-utility | 24cd8f5123325700ca15e71156ffac84a3a57b83 | [
"MIT"
] | 2 | 2021-11-11T18:04:35.000Z | 2022-01-21T00:58:11.000Z | src/Services/Cache/DataCache.cs | ferrazpedro/playnite-mame-utility | 24cd8f5123325700ca15e71156ffac84a3a57b83 | [
"MIT"
] | 3 | 2021-11-02T14:21:41.000Z | 2022-01-17T10:59:06.000Z | src/Services/Cache/DataCache.cs | ferrazpedro/playnite-mame-utility | 24cd8f5123325700ca15e71156ffac84a3a57b83 | [
"MIT"
] | 1 | 2021-11-11T17:20:38.000Z | 2021-11-11T17:20:38.000Z | using MAMEUtility.Models;
using Playnite.SDK.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MAMEUtility.Services.Cache
{
class DataCache
{
public static Dictionary<string, RomsetMachine> mameMachines = new Dictionar... | 22.25 | 111 | 0.761236 |
34166d9eeb9b48577140a2162a56d719042f0e1b | 3,430 | cs | C# | test/Datadog.Trace.Tests/ZipkinSerializerTests.cs | dszmigielski/signalfx-dotnet-tracing | 199a6521b80cc1ef36ce1c1f23cd7521b46a4076 | [
"Apache-2.0"
] | 26 | 2020-03-27T15:46:16.000Z | 2022-03-16T22:20:00.000Z | test/Datadog.Trace.Tests/ZipkinSerializerTests.cs | dszmigielski/signalfx-dotnet-tracing | 199a6521b80cc1ef36ce1c1f23cd7521b46a4076 | [
"Apache-2.0"
] | 140 | 2020-04-02T16:10:46.000Z | 2022-03-30T05:12:29.000Z | test/Datadog.Trace.Tests/ZipkinSerializerTests.cs | dszmigielski/signalfx-dotnet-tracing | 199a6521b80cc1ef36ce1c1f23cd7521b46a4076 | [
"Apache-2.0"
] | 19 | 2020-04-06T14:50:18.000Z | 2022-02-24T16:39:31.000Z | // Modified by SignalFx
using System.Linq;
using SignalFx.Tracing;
using SignalFx.Tracing.Agent;
using SignalFx.Tracing.Configuration;
using Xunit;
namespace Datadog.Trace.Tests
{
public class ZipkinSerializerTests
{
[Theory]
[InlineData("log not to be truncated", "log not to be truncated")]
... | 42.875 | 116 | 0.609621 |
8984c743827fc43a9d0f9b2afcedbcfc09552962 | 84 | cs | C# | ProbeAssistedLeveler/MoveMode.cs | evilC/MarlinProbeAssistedLeveler | 61fe41d8fa30e95e2869f8bc54a5dd1b6e08256f | [
"MIT"
] | 1 | 2020-04-19T15:48:18.000Z | 2020-04-19T15:48:18.000Z | ProbeAssistedLeveler/MoveMode.cs | evilC/MarlinProbeAssistedLeveler | 61fe41d8fa30e95e2869f8bc54a5dd1b6e08256f | [
"MIT"
] | null | null | null | ProbeAssistedLeveler/MoveMode.cs | evilC/MarlinProbeAssistedLeveler | 61fe41d8fa30e95e2869f8bc54a5dd1b6e08256f | [
"MIT"
] | 2 | 2021-02-19T19:18:08.000Z | 2021-03-27T12:32:22.000Z | namespace ProbeAssistedLeveler
{
public enum MoveMode { Absolute, Relative }
}
| 16.8 | 47 | 0.75 |
2b19267f2fffdd1f96cd80834baafc701189b800 | 8,139 | cs | C# | src/GameLogic/Walker.cs | psydox/OpenMU | daf68fd423e7c363c26d23612be9f12773e865c5 | [
"MIT"
] | 351 | 2017-11-23T06:41:06.000Z | 2022-03-24T14:36:48.000Z | src/GameLogic/Walker.cs | alexfructo/OpenMU | de682b9fff120c0186968371a47219186bb717e7 | [
"MIT"
] | 178 | 2017-11-25T06:15:27.000Z | 2022-02-07T20:02:50.000Z | src/GameLogic/Walker.cs | alexfructo/OpenMU | de682b9fff120c0186968371a47219186bb717e7 | [
"MIT"
] | 213 | 2017-11-23T06:52:48.000Z | 2022-03-17T06:49:40.000Z | // <copyright file="Walker.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.GameLogic
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
u... | 31.669261 | 158 | 0.485318 |
d377a147c9ddcd4171369c11b25d252cf6b69fe7 | 5,958 | cs | C# | gpmr/MohawkCollege.EHR.HL7v3.MIF/ClassAttribute.cs | avjabalpur/ccd-generator | dee379232f9994f403693fd6954fb48092526be1 | [
"Apache-2.0"
] | null | null | null | gpmr/MohawkCollege.EHR.HL7v3.MIF/ClassAttribute.cs | avjabalpur/ccd-generator | dee379232f9994f403693fd6954fb48092526be1 | [
"Apache-2.0"
] | null | null | null | gpmr/MohawkCollege.EHR.HL7v3.MIF/ClassAttribute.cs | avjabalpur/ccd-generator | dee379232f9994f403693fd6954fb48092526be1 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2008/2009 Mohawk College of Applied Arts and Technology
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. You may
* obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... | 38.43871 | 268 | 0.631923 |
a76b0011aac48505427355f2a8f4cece042301c4 | 1,378 | cs | C# | src/Dap.Protocol/Models/InstructionBreakpoint.cs | kamit9171/csharp-language-server-protocol | fa2f881d6937cc99f19a5ccdbf8bba72e7919e1c | [
"MIT"
] | null | null | null | src/Dap.Protocol/Models/InstructionBreakpoint.cs | kamit9171/csharp-language-server-protocol | fa2f881d6937cc99f19a5ccdbf8bba72e7919e1c | [
"MIT"
] | null | null | null | src/Dap.Protocol/Models/InstructionBreakpoint.cs | kamit9171/csharp-language-server-protocol | fa2f881d6937cc99f19a5ccdbf8bba72e7919e1c | [
"MIT"
] | null | null | null | using OmniSharp.Extensions.DebugAdapter.Protocol.Serialization;
namespace OmniSharp.Extensions.DebugAdapter.Protocol.Models
{
public class InstructionBreakpoint
{
/// <summary>
/// The instruction reference of the breakpoint.
/// This should be a memory or instruction pointer reference... | 38.277778 | 143 | 0.643687 |
cbf12f54a314c097162d1f2552fde783a1b09dd7 | 4,141 | cs | C# | src/Umbraco.Core/Composing/IRegister.cs | jimlofgren/Umbraco-CMS | 230bf1052cde249587d4ce06a2fb23859094f414 | [
"MIT"
] | 2 | 2021-02-04T23:10:11.000Z | 2022-01-30T01:40:20.000Z | src/Umbraco.Core/Composing/IRegister.cs | jimlofgren/Umbraco-CMS | 230bf1052cde249587d4ce06a2fb23859094f414 | [
"MIT"
] | 197 | 2021-07-28T08:24:22.000Z | 2022-03-25T21:37:30.000Z | src/Umbraco.Core/Composing/IRegister.cs | jimlofgren/Umbraco-CMS | 230bf1052cde249587d4ce06a2fb23859094f414 | [
"MIT"
] | 14 | 2021-03-26T16:50:47.000Z | 2022-03-24T18:32:06.000Z | using System;
namespace Umbraco.Core.Composing
{
/// <summary>
/// Defines a service register for Umbraco.
/// </summary>
public interface IRegister
{
/// <summary>
/// Gets the concrete container.
/// </summary>
object Concrete { get; }
/// <summary>
... | 38.700935 | 117 | 0.604926 |
6dae0ddde5f48912721cc4d6ba906860c55897eb | 1,386 | cs | C# | Exams/2014-Sample-Exam-Articles/Solution/Articles.WebAPI/Models/ArticleDataModel.cs | jsdelivrbot/Web-Services-and-Cloud | 5121974f4d8a79a7c90828f6a20bd086ade39888 | [
"MIT"
] | 8 | 2015-10-23T07:21:45.000Z | 2019-04-22T06:03:39.000Z | Exams/2014-Sample-Exam-Articles/Solution/Articles.WebAPI/Models/ArticleDataModel.cs | jsdelivrbot/Web-Services-and-Cloud | 5121974f4d8a79a7c90828f6a20bd086ade39888 | [
"MIT"
] | null | null | null | Exams/2014-Sample-Exam-Articles/Solution/Articles.WebAPI/Models/ArticleDataModel.cs | jsdelivrbot/Web-Services-and-Cloud | 5121974f4d8a79a7c90828f6a20bd086ade39888 | [
"MIT"
] | 26 | 2015-10-29T06:33:21.000Z | 2021-05-10T05:24:16.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Articles.WebAPI.Models;
using System.ComponentModel.DataAnnotations;
using System.Linq.Expressions;
using Articles.Models;
namespace Articles.WebAPI.DataModels
{
public class ArticleDataModel
{
public ArticleDat... | 25.666667 | 77 | 0.532468 |
a392b396fa2792ae8657781cd2f295eb8fecd896 | 312 | cs | C# | 3. Professional Modules/1. C# Fundamentals/2. C# OOP Basics/04. Inheritance - Exrc/06. Animals/Tomcat.cs | jstavrev/SoftwareUniversity | 60404fe653111d0b60d5084c2e7c33745f59c920 | [
"MIT"
] | null | null | null | 3. Professional Modules/1. C# Fundamentals/2. C# OOP Basics/04. Inheritance - Exrc/06. Animals/Tomcat.cs | jstavrev/SoftwareUniversity | 60404fe653111d0b60d5084c2e7c33745f59c920 | [
"MIT"
] | null | null | null | 3. Professional Modules/1. C# Fundamentals/2. C# OOP Basics/04. Inheritance - Exrc/06. Animals/Tomcat.cs | jstavrev/SoftwareUniversity | 60404fe653111d0b60d5084c2e7c33745f59c920 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Text;
public class Tomcat : Cat
{
public Tomcat(string name, string gender, int age) : base(name, gender, age)
{
base.Gender = "Male";
}
public override void ProduceSound()
{
Console.WriteLine("MEOW");
}
}
| 16.421053 | 80 | 0.628205 |
58d4f71ce71c11b954b85ce63554afa212d95ae1 | 16,783 | cs | C# | Bleak/RemoteProcess/ProcessManager.cs | TheWover/Bleak | d503517981256aed4e82fb8bef5b2175581165f9 | [
"MIT"
] | 2 | 2019-12-27T02:20:27.000Z | 2020-06-27T00:26:49.000Z | Bleak/RemoteProcess/ProcessManager.cs | djhohnstein/Bleak | d503517981256aed4e82fb8bef5b2175581165f9 | [
"MIT"
] | null | null | null | Bleak/RemoteProcess/ProcessManager.cs | djhohnstein/Bleak | d503517981256aed4e82fb8bef5b2175581165f9 | [
"MIT"
] | 1 | 2021-05-17T17:26:04.000Z | 2021-05-17T17:26:04.000Z | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Text;
using System.Text.RegularExpressions;
using Bleak.Assembly;
using Bleak.Memory;
using Bleak.ProgramDatabase;
using Bleak.RemoteProcess.Objects;
using Bleak.Shar... | 36.484783 | 187 | 0.585414 |
31eb9535a273f3d7b4b365d2080c7a4e66003da0 | 5,278 | cs | C# | Vit.Orm.EntityFramework/Vit.Orm.EntityFramework/Extensions/DbContext_DbSetExtensions.cs | serset/Vit.Library | a292d5d9ba9267f93bda48fb0f55d8bbe6a8f82a | [
"Apache-2.0"
] | 4 | 2021-06-19T15:34:02.000Z | 2021-12-31T13:59:30.000Z | Vit.Orm.EntityFramework/Vit.Orm.EntityFramework/Extensions/DbContext_DbSetExtensions.cs | serset/Vit.Library | a292d5d9ba9267f93bda48fb0f55d8bbe6a8f82a | [
"Apache-2.0"
] | null | null | null | Vit.Orm.EntityFramework/Vit.Orm.EntityFramework/Extensions/DbContext_DbSetExtensions.cs | serset/Vit.Library | a292d5d9ba9267f93bda48fb0f55d8bbe6a8f82a | [
"Apache-2.0"
] | 1 | 2021-12-31T13:59:32.000Z | 2021-12-31T13:59:32.000Z | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Vit.Extensions
{
public static partial class DbContext_DbSetExtensions
{
#region AddEntityType
... | 32.9875 | 131 | 0.604964 |
025a5a9bd863b2033d0402e9246629063cd3b053 | 582 | cs | C# | src/Logging/Logging.Testing/src/TestFrameworkFileLoggerAttribute.cs | shaynevanasperen/Extensions | 026865e0bd62db73dc71fc72ec8cc91904cd1995 | [
"Apache-2.0"
] | 6 | 2019-07-26T03:44:23.000Z | 2019-10-26T03:01:25.000Z | src/Logging/Logging.Testing/src/TestFrameworkFileLoggerAttribute.cs | shaynevanasperen/Extensions | 026865e0bd62db73dc71fc72ec8cc91904cd1995 | [
"Apache-2.0"
] | null | null | null | src/Logging/Logging.Testing/src/TestFrameworkFileLoggerAttribute.cs | shaynevanasperen/Extensions | 026865e0bd62db73dc71fc72ec8cc91904cd1995 | [
"Apache-2.0"
] | 1 | 2021-02-14T07:03:50.000Z | 2021-02-14T07:03:50.000Z | // 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;
using Microsoft.AspNetCore.Testing;
namespace Microsoft.Extensions.Logging.Testing
{
[AttributeUsage(AttributeTargets.Assembly, Allow... | 32.333333 | 111 | 0.737113 |
7ad219206004bf266b054629cff3b4c91a1a8fc7 | 718 | cs | C# | SRC/Likecoder/Components/Timestamp.cs | shenjielx/Likecoder | b1c0f62cc87bc7a7f5ebf5694dd8f447d911fdaf | [
"Apache-2.0"
] | 12 | 2019-05-05T14:00:24.000Z | 2019-07-09T01:03:42.000Z | SRC/Likecoder/Components/Timestamp.cs | shenjielx/Likecoder | b1c0f62cc87bc7a7f5ebf5694dd8f447d911fdaf | [
"Apache-2.0"
] | null | null | null | SRC/Likecoder/Components/Timestamp.cs | shenjielx/Likecoder | b1c0f62cc87bc7a7f5ebf5694dd8f447d911fdaf | [
"Apache-2.0"
] | null | null | null | using System;
namespace Likecoder
{
partial class extLikecoder
{
public static string ToUnixTimestampForNow() => DateTime.Now.ToUnixTimestamp();
public static string ToUnixTimestampForUtcNow() => DateTime.UtcNow.ToUnixTimestamp();
public static string ToUnixTimestamp(this DateTime me)
=> new DateTimeOffse... | 31.217391 | 87 | 0.760446 |
a8c969d00669ea8149b106a2d39769442d1e7062 | 310 | cs | C# | LenzShopwareApi/ApiResponse.cs | reppaDev/shopware-csharp-api-connector | 40782d1dcbd882f37c298235b6bc32764391c920 | [
"MIT"
] | 3 | 2016-06-22T10:45:21.000Z | 2021-10-01T14:53:55.000Z | LenzShopwareApi/ApiResponse.cs | reppaDev/shopware-csharp-api-connector | 40782d1dcbd882f37c298235b6bc32764391c920 | [
"MIT"
] | null | null | null | LenzShopwareApi/ApiResponse.cs | reppaDev/shopware-csharp-api-connector | 40782d1dcbd882f37c298235b6bc32764391c920 | [
"MIT"
] | 12 | 2016-07-08T11:20:51.000Z | 2022-01-26T15:08:59.000Z | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lenz.ShopwareApi
{
public class ApiResponse<TData>
{
public TData data;
public Boolean success;
public string message;
}
}
| 18.235294 | 35 | 0.706452 |
7a7f2f54300432a0625286a78b4c7cd7d29c5407 | 280 | cs | C# | src/TaskTronicApp/TaskTronic.Drive/Models/CompanyDepartments/OutputDepartmentServiceModel.cs | stefanMinch3v/MicroservicesArchitecture | 795b12dd88127e180f89cbd695145db84cee2217 | [
"MIT"
] | null | null | null | src/TaskTronicApp/TaskTronic.Drive/Models/CompanyDepartments/OutputDepartmentServiceModel.cs | stefanMinch3v/MicroservicesArchitecture | 795b12dd88127e180f89cbd695145db84cee2217 | [
"MIT"
] | 5 | 2020-07-19T19:44:53.000Z | 2022-02-27T08:34:48.000Z | src/TaskTronicApp/TaskTronic.Drive/Models/CompanyDepartments/OutputDepartmentServiceModel.cs | stefanMinch3v/MicroservicesArchitecture | 795b12dd88127e180f89cbd695145db84cee2217 | [
"MIT"
] | null | null | null | namespace TaskTronic.Drive.Models.CompanyDepartments
{
using Data.Models;
using TaskTronic.Models;
public class OutputDepartmentServiceModel : IMapFrom<Department>
{
public int DepartmentId { get; set; }
public string Name { get; set; }
}
}
| 21.538462 | 68 | 0.678571 |
3c52ee2983a93f70a8415f51ea9ef4a08bda063d | 884 | cs | C# | Assets/Scripts/PlayerScripts/States/JumpProxyState.cs | roden1978/Alpha2 | 49d5145f45a340752f2761c0e6c29bff1c9bb196 | [
"MIT"
] | null | null | null | Assets/Scripts/PlayerScripts/States/JumpProxyState.cs | roden1978/Alpha2 | 49d5145f45a340752f2761c0e6c29bff1c9bb196 | [
"MIT"
] | null | null | null | Assets/Scripts/PlayerScripts/States/JumpProxyState.cs | roden1978/Alpha2 | 49d5145f45a340752f2761c0e6c29bff1c9bb196 | [
"MIT"
] | null | null | null | using System;
using Common;
using UnityEngine;
namespace PlayerScripts.States
{
public class JumpProxyState : IState
{
private readonly Animator _animator;
public JumpProxyState(Animator animator)
{
_animator = animator;
}
public void Enter()
... | 22.1 | 79 | 0.535068 |
2edb4706f2d272c619985b8d8833f14dfd245e78 | 737 | cs | C# | C# Web Development/03. C# Advanced/02. Multidimensional Arrays/Lab/PascalTriangle/Program.cs | Vanrektus/Software-University | 9095aef6ec2c0af8804dded73436de11f9a13592 | [
"MIT"
] | null | null | null | C# Web Development/03. C# Advanced/02. Multidimensional Arrays/Lab/PascalTriangle/Program.cs | Vanrektus/Software-University | 9095aef6ec2c0af8804dded73436de11f9a13592 | [
"MIT"
] | null | null | null | C# Web Development/03. C# Advanced/02. Multidimensional Arrays/Lab/PascalTriangle/Program.cs | Vanrektus/Software-University | 9095aef6ec2c0af8804dded73436de11f9a13592 | [
"MIT"
] | null | null | null | using System;
namespace PascalTriangle
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
long[][] pascalTriangle = new long[n][];
for (int row = 0; row < n; row++)
{
pascalTriangle[row] = ... | 26.321429 | 111 | 0.451832 |
bcf0585c5a4cb948506396930e5fed8f52633279 | 1,347 | cs | C# | src/dotnet-affected/Infrastructure/Formatters/TraversalProjectOutputFormatter.cs | satano/dotnet-affected | c37aeb220543564982680f8f1e4355249339399f | [
"MIT"
] | 49 | 2021-03-22T19:20:10.000Z | 2022-03-27T12:13:23.000Z | src/dotnet-affected/Infrastructure/Formatters/TraversalProjectOutputFormatter.cs | satano/dotnet-affected | c37aeb220543564982680f8f1e4355249339399f | [
"MIT"
] | 22 | 2021-03-22T12:03:24.000Z | 2022-03-14T23:44:08.000Z | src/dotnet-affected/Infrastructure/Formatters/TraversalProjectOutputFormatter.cs | satano/dotnet-affected | c37aeb220543564982680f8f1e4355249339399f | [
"MIT"
] | 5 | 2021-04-22T07:09:37.000Z | 2022-03-14T20:50:03.000Z | using Microsoft.Build.Construction;
using Microsoft.Build.Evaluation;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Xml;
namespace Affected.Cli.Formatters
{
internal class TraversalProjectOutputFormatter : IOutputFormatter
{
public str... | 32.853659 | 100 | 0.628805 |
ead9faa03b08f05fcb7d68e5d360978beaf41e3e | 8,244 | cs | C# | GrisaiaSpriteViewer/Input/AnyKeyGesture.cs | trigger-segfault/GrisaiaSpriteViewer | c607cb5b78a83aa7c3a11f579edd1a32ffa2e90c | [
"MIT"
] | 3 | 2020-07-24T02:06:07.000Z | 2021-11-12T11:21:44.000Z | GrisaiaSpriteViewer/Input/AnyKeyGesture.cs | trigger-segfault/GrisaiaSpriteViewer | c607cb5b78a83aa7c3a11f579edd1a32ffa2e90c | [
"MIT"
] | null | null | null | GrisaiaSpriteViewer/Input/AnyKeyGesture.cs | trigger-segfault/GrisaiaSpriteViewer | c607cb5b78a83aa7c3a11f579edd1a32ffa2e90c | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using System.Windows.Markup;
namespace Grisaia.Mvvm.Input {
/// <summary>
/// AnyKeyGesture - Key and Modifier com... | 33.925926 | 131 | 0.695536 |
3b0af575b0b0187457ed551328c2bc107521fc3f | 1,596 | cs | C# | XOutput.Server/Rest/Emulation/EmulatedContollersController.cs | CarlosPBric/Output | 58bb462ea90f968b8a4a73e8d84c8425f973371f | [
"MIT"
] | 624 | 2016-11-23T17:21:02.000Z | 2022-03-29T11:37:05.000Z | XOutput.Server/Rest/Emulation/EmulatedContollersController.cs | CarlosPBric/Output | 58bb462ea90f968b8a4a73e8d84c8425f973371f | [
"MIT"
] | 458 | 2017-08-19T11:17:20.000Z | 2022-03-30T17:18:57.000Z | XOutput.Server/Rest/Emulation/EmulatedContollersController.cs | nodswal/XOutput | 58bb462ea90f968b8a4a73e8d84c8425f973371f | [
"MIT"
] | 88 | 2017-08-19T10:21:59.000Z | 2022-03-29T02:50:18.000Z | using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Linq;
using XOutput.DependencyInjection;
using XOutput.Emulation;
namespace XOutput.Rest.Emulation
{
public class EmulatedControllersController : Controller
{
private readonly EmulatedControllersService emulatedControllersSe... | 34.695652 | 130 | 0.640351 |
3b405dad3ba02ed4d70bace20775c03c3795a354 | 234 | cs | C# | Scripts/ItemAffect.cs | sophiathekitty/InventoryItemsSystem | f7abd0c1a5c97d6b6ac41523d5cb7138f95f6018 | [
"MIT"
] | null | null | null | Scripts/ItemAffect.cs | sophiathekitty/InventoryItemsSystem | f7abd0c1a5c97d6b6ac41523d5cb7138f95f6018 | [
"MIT"
] | null | null | null | Scripts/ItemAffect.cs | sophiathekitty/InventoryItemsSystem | f7abd0c1a5c97d6b6ac41523d5cb7138f95f6018 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class ItemAffect : ScriptableObject {
public string display_name;
public string discription;
public abstract void TryDo();
}
| 23.4 | 53 | 0.777778 |
4b23a1ba3c38fbbedd958a1daa5b44e6a46b2127 | 793 | cs | C# | FilmViewer.Business/Mappings/Domain/MovieDetailsDtoProfile.cs | dkleczko/FilmViewer | 053d60dc5dfca1e8630a6cefddbb3f79a52108d5 | [
"MIT"
] | null | null | null | FilmViewer.Business/Mappings/Domain/MovieDetailsDtoProfile.cs | dkleczko/FilmViewer | 053d60dc5dfca1e8630a6cefddbb3f79a52108d5 | [
"MIT"
] | null | null | null | FilmViewer.Business/Mappings/Domain/MovieDetailsDtoProfile.cs | dkleczko/FilmViewer | 053d60dc5dfca1e8630a6cefddbb3f79a52108d5 | [
"MIT"
] | null | null | null | using AutoMapper;
using FilmViewer.Business.Dto.Domain;
using FilmViewer.DAL.Model;
namespace FilmViewer.Business.Mappings.Domain
{
internal class MovieDetailsDtoProfile : Profile
{
public MovieDetailsDtoProfile()
{
CreateMap<Movie, MovieDetailsDto>()
.IncludeBase<M... | 36.045455 | 103 | 0.59773 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.