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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b963eaf5ea6d365559dd41ec82bb0f8b4d0dc25a | 179 | cs | C# | Assets/Scripts/Interfaces/Conditions/Cards/IWorkCardCondition.cs | gellios3/FateSimulator | de2db59af038f5b2588285eebb9ba0a12b3e7204 | [
"Apache-2.0"
] | null | null | null | Assets/Scripts/Interfaces/Conditions/Cards/IWorkCardCondition.cs | gellios3/FateSimulator | de2db59af038f5b2588285eebb9ba0a12b3e7204 | [
"Apache-2.0"
] | null | null | null | Assets/Scripts/Interfaces/Conditions/Cards/IWorkCardCondition.cs | gellios3/FateSimulator | de2db59af038f5b2588285eebb9ba0a12b3e7204 | [
"Apache-2.0"
] | null | null | null | using Enums.Activities;
namespace Interfaces.Conditions.Cards
{
public interface IWorkCardCondition : IActivityCardCondition
{
WorkType WorkType { get; }
}
} | 19.888889 | 64 | 0.715084 |
b9730ade710cca5d2b88f8a2201b367cac1f9735 | 466 | cs | C# | MemberPoint/MemberPoint.Business/CardLevelService.cs | hc-hub/MemberPoints | 02172a990a749b754f9a860fb68726209dbadc9b | [
"MIT"
] | null | null | null | MemberPoint/MemberPoint.Business/CardLevelService.cs | hc-hub/MemberPoints | 02172a990a749b754f9a860fb68726209dbadc9b | [
"MIT"
] | null | null | null | MemberPoint/MemberPoint.Business/CardLevelService.cs | hc-hub/MemberPoints | 02172a990a749b754f9a860fb68726209dbadc9b | [
"MIT"
] | null | null | null | using MemberPoint.Entity.POCOModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MemberPoint.Business
{
public class CardLevelService : BaseService<CardLevels>
{
#region 列表查询
#endregion
#region 新增
... | 16.068966 | 59 | 0.637339 |
b04cd0bb05b0641e6125baf62fbf2fbb35dad1e4 | 4,195 | cs | C# | Z64Utils/Common/BitWriter.cs | skawo/Z64Utils | 466d5b5fc6da1806e4f4673ea9969cf5b9eec5a0 | [
"MIT"
] | 15 | 2021-01-04T19:06:02.000Z | 2022-03-23T10:11:51.000Z | Z64Utils/Common/BitWriter.cs | skawo/Z64Utils | 466d5b5fc6da1806e4f4673ea9969cf5b9eec5a0 | [
"MIT"
] | 43 | 2021-01-04T21:47:23.000Z | 2022-03-16T12:30:23.000Z | Z64Utils/Common/BitWriter.cs | skawo/Z64Utils | 466d5b5fc6da1806e4f4673ea9969cf5b9eec5a0 | [
"MIT"
] | 5 | 2021-01-04T19:05:38.000Z | 2022-03-16T11:05:18.000Z | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Common
{
[Serializable]
public class BitWriterException : Exception
{
public BitWriterException() { }
pub... | 37.123894 | 94 | 0.551847 |
de830b7ab928643780ae8a0e657437df53d681ab | 3,111 | cs | C# | Nya/UI/ViewControllers/SettingsViewRightPanelController.cs | xSkyyy/Nya | 3934fb365226f00c4d79efbb6045fd7af900c314 | [
"MIT"
] | 17 | 2021-08-18T20:57:18.000Z | 2022-03-26T22:14:02.000Z | Nya/UI/ViewControllers/SettingsViewRightPanelController.cs | xSkyyy/Nya | 3934fb365226f00c4d79efbb6045fd7af900c314 | [
"MIT"
] | 4 | 2021-09-28T02:38:05.000Z | 2022-02-07T16:32:10.000Z | Nya/UI/ViewControllers/SettingsViewRightPanelController.cs | xSkyyy/Nya | 3934fb365226f00c4d79efbb6045fd7af900c314 | [
"MIT"
] | 5 | 2021-10-06T17:59:31.000Z | 2022-03-05T03:14:00.000Z | using BeatSaberMarkupLanguage.Attributes;
using BeatSaberMarkupLanguage.ViewControllers;
using Nya.Configuration;
using Nya.Utils;
using System.Threading.Tasks;
using TMPro;
using Tweening;
using UnityEngine.EventSystems;
using Zenject;
namespace Nya.UI.ViewControllers
{
[HotReload(RelativePathToLayout = @"..\Vie... | 39.379747 | 129 | 0.626808 |
725a04e4185720d37bd4fcb3ac5cbb8ac311a77a | 1,537 | cs | C# | MyEngine/myengine/ResourceFolder.cs | aeroson/lego-game-and-Unity-like-engine | 949b0c60fa674272b1905bdb47d8a37d8fde9fc1 | [
"Unlicense"
] | 18 | 2017-11-28T09:20:59.000Z | 2021-04-07T20:53:30.000Z | MyEngine/myengine/ResourceFolder.cs | aeroson/lego-game-and-Unity-like-engine | 949b0c60fa674272b1905bdb47d8a37d8fde9fc1 | [
"Unlicense"
] | 1 | 2018-09-20T16:01:30.000Z | 2018-10-25T17:18:36.000Z | MyEngine/myengine/ResourceFolder.cs | aeroson/lego-game-and-Unity-like-engine | 949b0c60fa674272b1905bdb47d8a37d8fde9fc1 | [
"Unlicense"
] | 4 | 2018-02-24T07:58:23.000Z | 2019-06-13T22:36:28.000Z | using System;
using System.Diagnostics;
using System.IO;
using System.Collections.Generic;
using System.Text;
namespace MyEngine
{
public class ResourceFolder
{
public string originalPath;
public string realPath;
private ResourceFolder()
{
}
public static implicit operator string(ResourceFolder r)
... | 21.347222 | 85 | 0.702668 |
5706a676a185a3c1454eb9d7eefb98bd8c953a61 | 593 | cs | C# | Assets/Scripts/Data/KPlotInfo.cs | moto2002/DinaGameClient | f213ff9d20000b8529864f2ebed664857c528005 | [
"MIT"
] | 1 | 2017-05-12T06:41:14.000Z | 2017-05-12T06:41:14.000Z | Assets/Scripts/Data/KPlotInfo.cs | moto2002/DinaGameClient | f213ff9d20000b8529864f2ebed664857c528005 | [
"MIT"
] | null | null | null | Assets/Scripts/Data/KPlotInfo.cs | moto2002/DinaGameClient | f213ff9d20000b8529864f2ebed664857c528005 | [
"MIT"
] | 2 | 2018-07-29T01:58:25.000Z | 2019-08-25T15:20:59.000Z | using UnityEngine;
using System.Collections;
using Assets.Scripts.Lib.Resource;
namespace Assets.Scripts.Data
{
public class KPlotInfo : AKTabFileObject
{
public enum PlotType
{
NormalCamera = 1,
TransCamera,
};
public int nID;
public PlotType p... | 20.448276 | 44 | 0.58516 |
2f6faeb25acc4ea1304132897e2002fbc6f33d9d | 10,622 | cs | C# | src/dotnet-new2/Program.cs | DamianEdwards/dotnet-new2 | dbdf4e37d55394cab580bcb2e370dcadbd183c75 | [
"MIT"
] | 7 | 2016-03-20T12:28:52.000Z | 2021-08-12T08:30:44.000Z | src/dotnet-new2/Program.cs | DamianEdwards/dotnet-new2 | dbdf4e37d55394cab580bcb2e370dcadbd183c75 | [
"MIT"
] | 7 | 2016-03-18T19:27:43.000Z | 2016-03-22T07:00:01.000Z | src/dotnet-new2/Program.cs | DamianEdwards/dotnet-new2 | dbdf4e37d55394cab580bcb2e370dcadbd183c75 | [
"MIT"
] | 1 | 2016-03-20T16:13:33.000Z | 2016-03-20T16:13:33.000Z | using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading;
using Microsoft.Dnx.Runtime.Common.CommandLine;
namespace dotnet_new2
{
public class Program
{
public static int Main(string[] args)
{
if (args.Length > 0 && args[0] == "--debug")
... | 35.172185 | 192 | 0.455846 |
7527869a30ad128115dcde46954b27971623f9c8 | 1,268 | cs | C# | Service/System/EIP.System.Models/Entities/SystemData.cs | woshisunzewei/EIP | 8b159cfb809af8e88ba5f654dc59f4ac91f4fd2d | [
"MIT"
] | 9 | 2018-08-31T01:42:24.000Z | 2021-03-19T00:45:24.000Z | Service/System/EIP.System.Models/Entities/SystemData.cs | woshisunzewei/EIP | 8b159cfb809af8e88ba5f654dc59f4ac91f4fd2d | [
"MIT"
] | null | null | null | Service/System/EIP.System.Models/Entities/SystemData.cs | woshisunzewei/EIP | 8b159cfb809af8e88ba5f654dc59f4ac91f4fd2d | [
"MIT"
] | 8 | 2018-10-04T16:07:21.000Z | 2021-04-13T04:30:58.000Z | using System;
using EIP.Common.Entities;
using EIP.Common.Entities.CustomAttributes;
namespace EIP.System.Models.Entities
{
/// <summary>
/// System_DataLog表实体类
/// </summary>
[Serializable]
[Table(Name = "System_Data")]
public class SystemData : EntityBase
{
/// <summary>
... | 20.786885 | 44 | 0.452681 |
9883ccc4d681a57b8afb8db081517c56e44d4085 | 5,193 | cs | C# | src/Syntax/Expressions/Initializers/ArrayInitializer.cs | svick/CSharpE | 45a49b2e86fcb4a06ec621197ee8c0f819c0ff9e | [
"MIT"
] | null | null | null | src/Syntax/Expressions/Initializers/ArrayInitializer.cs | svick/CSharpE | 45a49b2e86fcb4a06ec621197ee8c0f819c0ff9e | [
"MIT"
] | 1 | 2020-10-07T16:41:37.000Z | 2020-10-07T18:04:16.000Z | src/Syntax/Expressions/Initializers/ArrayInitializer.cs | svick/CSharpE | 45a49b2e86fcb4a06ec621197ee8c0f819c0ff9e | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using CSharpE.Syntax.Internals;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using RoslynSyntaxFactory = Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
using Roslyn = Microsoft.CodeAnalysis;
... | 35.087838 | 125 | 0.652224 |
2267d8b9401d4178ab6c1c699b8a4482477ae1ae | 6,672 | cs | C# | src/simpleauth/Api/Token/Actions/GetTokenByDeviceAuthorizationTypeAction.cs | jjrdk/SimpleAuth | e8589987c76f324cd65a778cd4bd9ce74ac7bd31 | [
"Apache-2.0"
] | 2 | 2019-06-11T18:26:17.000Z | 2019-06-14T09:35:24.000Z | src/simpleauth/Api/Token/Actions/GetTokenByDeviceAuthorizationTypeAction.cs | jjrdk/SimpleAuth | e8589987c76f324cd65a778cd4bd9ce74ac7bd31 | [
"Apache-2.0"
] | null | null | null | src/simpleauth/Api/Token/Actions/GetTokenByDeviceAuthorizationTypeAction.cs | jjrdk/SimpleAuth | e8589987c76f324cd65a778cd4bd9ce74ac7bd31 | [
"Apache-2.0"
] | null | null | null | namespace SimpleAuth.Api.Token.Actions
{
using System;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using SimpleAuth.Events;
using SimpleAuth.Extensions;
using SimpleAuth.JwtToken;
using SimpleAuth.Shared;
using Simp... | 42.496815 | 130 | 0.578537 |
22e1ae70d002d7a87953ff314baee4d8d4168ddb | 250 | cs | C# | Assets/Scripts/Game/AI/Data/Enemy.cs | elleyerium/Elysium | 2d885a358d6314c5caec5aa950d5cf74c4e57039 | [
"MIT"
] | 1 | 2019-06-12T13:29:27.000Z | 2019-06-12T13:29:27.000Z | Assets/Scripts/Game/AI/Data/Enemy.cs | elleyerium/Elysium | 2d885a358d6314c5caec5aa950d5cf74c4e57039 | [
"MIT"
] | 1 | 2020-02-13T10:10:08.000Z | 2020-02-13T10:10:08.000Z | Assets/Scripts/Game/AI/Data/Enemy.cs | elleyerium/Elysium | 2d885a358d6314c5caec5aa950d5cf74c4e57039 | [
"MIT"
] | 3 | 2019-04-26T22:56:42.000Z | 2019-05-02T21:29:06.000Z | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Game.AI.Data
{
public class Enemy : MonoBehaviour {
//This script i made for bots detecting as enemies. No code requiered, just attached to bots.
}
}
| 20.833333 | 93 | 0.752 |
71febe4152fef38158642c938e5a561a0de62c82 | 9,498 | cs | C# | tests/Clean.UseCase.UnitTests/Interactors/DeleteMotorcycleInteractorTest.cs | abitofhelp/clean | eea0a3ccf0e98a89f40d9a70bbb501b760180c94 | [
"MIT"
] | null | null | null | tests/Clean.UseCase.UnitTests/Interactors/DeleteMotorcycleInteractorTest.cs | abitofhelp/clean | eea0a3ccf0e98a89f40d9a70bbb501b760180c94 | [
"MIT"
] | null | null | null | tests/Clean.UseCase.UnitTests/Interactors/DeleteMotorcycleInteractorTest.cs | abitofhelp/clean | eea0a3ccf0e98a89f40d9a70bbb501b760180c94 | [
"MIT"
] | null | null | null | namespace Clean.UseCase.Interactors.UnitTests
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Domain.Entities;
using Domain.Enumerations;
using Domain.Interfaces;
using Moq;
using Requests;
using Responses;
using Shared;
using Shared.Enu... | 42.591928 | 161 | 0.486418 |
2ef8e7867017723f8038920c14d59ce9dc5728b5 | 2,514 | cs | C# | HomepageProductIndexPlugin.cs | nopCommerceBrasil/NopBrasil.Plugin.Misc.HomepageProductIndex | 3f226d06710c86c56013a69ea29276c291f5a205 | [
"MIT"
] | 2 | 2017-08-23T23:25:44.000Z | 2021-03-23T07:15:33.000Z | HomepageProductIndexPlugin.cs | nopCommerceBrasil/NopBrasil.Plugin.Misc.HomepageProductIndex | 3f226d06710c86c56013a69ea29276c291f5a205 | [
"MIT"
] | null | null | null | HomepageProductIndexPlugin.cs | nopCommerceBrasil/NopBrasil.Plugin.Misc.HomepageProductIndex | 3f226d06710c86c56013a69ea29276c291f5a205 | [
"MIT"
] | 2 | 2021-03-23T07:15:34.000Z | 2022-02-15T17:12:47.000Z | using Nop.Core.Plugins;
using Nop.Services.Configuration;
using Nop.Services.Localization;
using Nop.Services.Common;
using NopBrasil.Plugin.Misc.HomepageProductIndex.Task;
using Nop.Core;
namespace NopBrasil.Plugin.Misc.HomepageProductIndex
{
public class HomepageProductIndexPlugin : BasePlugin, IMiscPlugin
{... | 42.610169 | 197 | 0.728321 |
270d61afbd79efd1c9685130dfe157cd3a89839c | 2,237 | cs | C# | GraphicsComposerLib/GraphicsComposerLib.Geometry/ParametricShapes/Curves/GrComputedParametricCurve3D.cs | ga-explorer/GeometricAlgebraLib | 7998cdab8682eb04367492d87fdb41320e171a21 | [
"MIT"
] | 6 | 2021-09-14T22:31:45.000Z | 2022-03-02T02:12:00.000Z | GraphicsComposerLib/GraphicsComposerLib.Geometry/ParametricShapes/Curves/GrComputedParametricCurve3D.cs | ga-explorer/GeometricAlgebraLib | 7998cdab8682eb04367492d87fdb41320e171a21 | [
"MIT"
] | null | null | null | GraphicsComposerLib/GraphicsComposerLib.Geometry/ParametricShapes/Curves/GrComputedParametricCurve3D.cs | ga-explorer/GeometricAlgebraLib | 7998cdab8682eb04367492d87fdb41320e171a21 | [
"MIT"
] | 2 | 2022-01-11T22:16:48.000Z | 2022-03-24T20:04:05.000Z | using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using NumericalGeometryLib.BasicMath;
using NumericalGeometryLib.BasicMath.Tuples.Immutable;
namespace GraphicsComposerLib.Geometry.ParametricShapes.Curves
{
public class GrComputedParametricCurve3D :
IGraphicsPara... | 31.069444 | 136 | 0.640143 |
4d807b98620e7bf1aaf32f31b5111a989dfb367f | 284 | cs | C# | Inversion.Ultrastructure/Ultrastructure/Transport/IPubSubClient.cs | torquemaya/inversion-ultrastructure | 70c456f32af20b731a3863e263c94d4f4d94116d | [
"MIT"
] | null | null | null | Inversion.Ultrastructure/Ultrastructure/Transport/IPubSubClient.cs | torquemaya/inversion-ultrastructure | 70c456f32af20b731a3863e263c94d4f4d94116d | [
"MIT"
] | null | null | null | Inversion.Ultrastructure/Ultrastructure/Transport/IPubSubClient.cs | torquemaya/inversion-ultrastructure | 70c456f32af20b731a3863e263c94d4f4d94116d | [
"MIT"
] | null | null | null | using System;
using Inversion.Data;
using Inversion.Process;
namespace Inversion.Ultrastructure.Transport
{
public interface IPubSubClient : IStoreHealth
{
void Subscribe(Func<bool> timeToGo, Action<string, string> handler);
void Publish(IEvent ev);
}
} | 21.846154 | 76 | 0.71831 |
124cde51099dafa240029eab911518f9a9661309 | 1,888 | cs | C# | shared/src/Piipan.Shared/Deidentification/SsnNormalizer.cs | elisoncrum/piipan | 493d75fc90ebd616ffcdf1d844aa2bb08f42cf66 | [
"CC0-1.0"
] | 28 | 2020-12-22T02:51:17.000Z | 2022-03-09T10:10:58.000Z | shared/src/Piipan.Shared/Deidentification/SsnNormalizer.cs | elisoncrum/piipan | 493d75fc90ebd616ffcdf1d844aa2bb08f42cf66 | [
"CC0-1.0"
] | 2,112 | 2020-10-20T15:34:33.000Z | 2022-03-31T19:02:03.000Z | shared/src/Piipan.Shared/Deidentification/SsnNormalizer.cs | elisoncrum/piipan | 493d75fc90ebd616ffcdf1d844aa2bb08f42cf66 | [
"CC0-1.0"
] | 11 | 2020-11-24T15:52:17.000Z | 2022-03-09T10:11:06.000Z | using System;
using System.Text.RegularExpressions;
namespace Piipan.Shared.Deidentification
{
public class SsnNormalizer : ISsnNormalizer
{
/// <summary>
/// Public entrypoint for functionality.
/// Normalizes social security number according to PPRL specifications.
/// </summa... | 41.955556 | 208 | 0.567797 |
35c1e0928064ba008fac3f446c93a8cf4c84bb3f | 15,987 | cs | C# | PinterestDownloader/Program.cs | satakujp/pinterest-downloader | e485b952dec4b9283496a9fa0a216aaee729c443 | [
"MIT"
] | null | null | null | PinterestDownloader/Program.cs | satakujp/pinterest-downloader | e485b952dec4b9283496a9fa0a216aaee729c443 | [
"MIT"
] | null | null | null | PinterestDownloader/Program.cs | satakujp/pinterest-downloader | e485b952dec4b9283496a9fa0a216aaee729c443 | [
"MIT"
] | null | null | null | using System;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using System.IO;
using System.Configuration;
using PinSharp;
using PinSharp.Api.Responses;
using NLog;
namespace jp.sataku.PinterestDownloader
{
/// <summary>
/// Main class.
/// </summary>
class MainCla... | 39.669975 | 141 | 0.497216 |
660d7d4ec5dabd7635677a72b8a4fe916c7fa0c6 | 215 | cs | C# | src/LocalStack.Client/Contracts/ISessionOptions.cs | petertownsend/localstack-dotnet-client | cdd91c70aa87369eeeddf2e9b05968985ee28792 | [
"MIT"
] | 84 | 2019-05-22T17:32:07.000Z | 2022-03-13T09:54:27.000Z | src/LocalStack.Client/Contracts/ISessionOptions.cs | petertownsend/localstack-dotnet-client | cdd91c70aa87369eeeddf2e9b05968985ee28792 | [
"MIT"
] | 9 | 2020-10-06T14:48:23.000Z | 2021-11-28T23:16:45.000Z | src/LocalStack.Client/Contracts/ISessionOptions.cs | petertownsend/localstack-dotnet-client | cdd91c70aa87369eeeddf2e9b05968985ee28792 | [
"MIT"
] | 5 | 2020-06-25T11:41:20.000Z | 2021-11-19T11:03:49.000Z | namespace LocalStack.Client.Contracts;
public interface ISessionOptions
{
string AwsAccessKeyId { get; }
string AwsAccessKey { get; }
string AwsSessionToken { get; }
string RegionName { get; }
} | 17.916667 | 39 | 0.702326 |
af5c566bb9e400501d958831d61373d6b87bea45 | 1,217 | cs | C# | C#OOP/Interfaces and Abstraction - Exercise/PersonInfo/Core/Engine.cs | IvailoSpasov/SoftUni | 81c6543562e3b41c483f988dac448c139c3fb06a | [
"MIT"
] | null | null | null | C#OOP/Interfaces and Abstraction - Exercise/PersonInfo/Core/Engine.cs | IvailoSpasov/SoftUni | 81c6543562e3b41c483f988dac448c139c3fb06a | [
"MIT"
] | null | null | null | C#OOP/Interfaces and Abstraction - Exercise/PersonInfo/Core/Engine.cs | IvailoSpasov/SoftUni | 81c6543562e3b41c483f988dac448c139c3fb06a | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PersonInfo
{
public class Engine
{
public void Run()
{
int n = int.Parse(Console.ReadLine());
Dictionary<string, IBuyer> buyers = new Dictionary<string, IBuyer>();
... | 24.34 | 91 | 0.428102 |
7f8eda1818678c7d2c06ff8835df5e44290c6297 | 2,446 | cs | C# | SYS.Application/Zero/OperationlogService.cs | NF-TopSky-Team/TopskyHotelManagerSystem | f4669190b0c513e7b7fd10313f6b1f93c63aab17 | [
"MIT"
] | 6 | 2020-04-17T14:14:38.000Z | 2022-01-30T06:48:20.000Z | SYS.Application/Zero/OperationlogService.cs | NF-TopSky-Team/TopskyHotelManagerSystem | f4669190b0c513e7b7fd10313f6b1f93c63aab17 | [
"MIT"
] | 1 | 2022-03-25T09:24:54.000Z | 2022-03-25T09:24:54.000Z | SYS.Application/Zero/OperationlogService.cs | NF-TopSky-Team/TopskyHotelManagerSystem | f4669190b0c513e7b7fd10313f6b1f93c63aab17 | [
"MIT"
] | 8 | 2020-04-12T18:03:08.000Z | 2022-03-07T08:43:31.000Z | /*
* MIT License
*Copyright (c) 2021 咖啡与网络(java-and-net)
*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... | 34.450704 | 160 | 0.656173 |
3d1280b1684f3c6e6ff391206404dbf028acc6a9 | 280 | cs | C# | src/LastSeen.Core/Sevices/ILastSeenService.cs | spanishprisoner/lastseen | 49fd28c4ef82286b65729341872acead1d28b1d9 | [
"MIT"
] | null | null | null | src/LastSeen.Core/Sevices/ILastSeenService.cs | spanishprisoner/lastseen | 49fd28c4ef82286b65729341872acead1d28b1d9 | [
"MIT"
] | null | null | null | src/LastSeen.Core/Sevices/ILastSeenService.cs | spanishprisoner/lastseen | 49fd28c4ef82286b65729341872acead1d28b1d9 | [
"MIT"
] | null | null | null | using System.Collections.Generic;
using LastSeen.Core.POs;
namespace LastSeen.Core.Sevices
{
public interface ILastSeenService
{
Dictionary<string, List<ItemPO>> GetItems();
ItemPO GetItem(string id);
void SaveItem(ItemPO itemPo);
void DeleteItem(ItemPO itemPo);
}
}
| 20 | 46 | 0.760714 |
6f9cb40950308c011e1c226ddd1e07856fcc0c0e | 1,532 | cs | C# | StereoKit/Systems/Log.cs | kismeter/StereoKit | 6b7b330c2bfbec3c36e460d96c49bb5219fc3308 | [
"MIT"
] | null | null | null | StereoKit/Systems/Log.cs | kismeter/StereoKit | 6b7b330c2bfbec3c36e460d96c49bb5219fc3308 | [
"MIT"
] | null | null | null | StereoKit/Systems/Log.cs | kismeter/StereoKit | 6b7b330c2bfbec3c36e460d96c49bb5219fc3308 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace StereoKit
{
public static class Log
{
#region Console Color Setup
const int STD_OUTPUT_HANDLE = -11;
const uint ENABLE_VI... | 30.64 | 85 | 0.63577 |
3d5a71a82dc464f654642ec09d99770eb2ed286d | 419 | cs | C# | OpenORPG.Toolkit/Controls/SpriteSelectControl.cs | hilts-vaughan/OpenORPG | 500662b3988a48991fa9440c480e5bdc990ca246 | [
"MIT"
] | 10 | 2015-01-11T22:39:51.000Z | 2020-09-04T16:09:06.000Z | OpenORPG.Toolkit/Controls/SpriteSelectControl.cs | hilts-vaughan/OpenORPG | 500662b3988a48991fa9440c480e5bdc990ca246 | [
"MIT"
] | 19 | 2015-01-06T01:36:13.000Z | 2017-12-22T22:15:57.000Z | OpenORPG.Toolkit/Controls/SpriteSelectControl.cs | hilts-vaughan/OpenORPG | 500662b3988a48991fa9440c480e5bdc990ca246 | [
"MIT"
] | 2 | 2015-02-13T18:24:44.000Z | 2015-07-18T17:47:22.000Z | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace OpenORPG.Toolkit.Controls
{
public partial class SpriteSelectControl : UserControl
{
... | 19.952381 | 58 | 0.71599 |
4fd0b86dbad86e35511c9c0fb84a6dbc09763d12 | 2,869 | cs | C# | sdk/src/Services/SimpleEmail/Generated/Model/StopAction.cs | keedya/aws-sdk-net | 060d36cb012ae0070cfb4d26f2a9ff05cecba00f | [
"Apache-2.0"
] | null | null | null | sdk/src/Services/SimpleEmail/Generated/Model/StopAction.cs | keedya/aws-sdk-net | 060d36cb012ae0070cfb4d26f2a9ff05cecba00f | [
"Apache-2.0"
] | null | null | null | sdk/src/Services/SimpleEmail/Generated/Model/StopAction.cs | keedya/aws-sdk-net | 060d36cb012ae0070cfb4d26f2a9ff05cecba00f | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 32.977011 | 181 | 0.623214 |
8788a89b3db6ddb2b9894408a609affad3fc212d | 757 | cs | C# | source/OrkEngine3D.Graphics/LightScene.cs | RedCubeDev-ByteSpace/OrkEngine3D | c972bd67a034d489458c67f96e699c6e62a77127 | [
"MIT"
] | null | null | null | source/OrkEngine3D.Graphics/LightScene.cs | RedCubeDev-ByteSpace/OrkEngine3D | c972bd67a034d489458c67f96e699c6e62a77127 | [
"MIT"
] | null | null | null | source/OrkEngine3D.Graphics/LightScene.cs | RedCubeDev-ByteSpace/OrkEngine3D | c972bd67a034d489458c67f96e699c6e62a77127 | [
"MIT"
] | null | null | null | using OrkEngine3D.Mathematics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrkEngine3D.Graphics
{
public class LightScene
{
public Light ambient = new Light(0.2f, new Color3(1f, 1f, 1f), new Vector3(0, 0, 0));... | 25.233333 | 94 | 0.595773 |
5b9f07ab347f38080a8df6adb9a9b59c5613363a | 441 | cs | C# | TodoList/TodoList/Models/TodoItem.cs | harouny/XamarinTodoList | f50d1dc3dda37a02d9a6a3bbc1e5990324bc5a60 | [
"Apache-2.0"
] | null | null | null | TodoList/TodoList/Models/TodoItem.cs | harouny/XamarinTodoList | f50d1dc3dda37a02d9a6a3bbc1e5990324bc5a60 | [
"Apache-2.0"
] | null | null | null | TodoList/TodoList/Models/TodoItem.cs | harouny/XamarinTodoList | f50d1dc3dda37a02d9a6a3bbc1e5990324bc5a60 | [
"Apache-2.0"
] | null | null | null | using SQLite;
namespace TodoList.Models
{
public class TodoItem
{
[PrimaryKey, AutoIncrement]
public int Id { get; set; }
public string Name { get; set; }
public string Notes { get; set; }
public bool Done { get; set; }
public void Complete()
{
... | 18.375 | 41 | 0.496599 |
3e5ae6f4b1fe59ceab9c78c4a49e4cf0b5342ff8 | 1,425 | cs | C# | Kros.MassTransit.AzureServiceBus/ConfigDefaults.cs | kubinko/AzureServiceBusDemo | 87aa4b67e11a13d5ef21b132641dfec4314d2286 | [
"Unlicense"
] | null | null | null | Kros.MassTransit.AzureServiceBus/ConfigDefaults.cs | kubinko/AzureServiceBusDemo | 87aa4b67e11a13d5ef21b132641dfec4314d2286 | [
"Unlicense"
] | null | null | null | Kros.MassTransit.AzureServiceBus/ConfigDefaults.cs | kubinko/AzureServiceBusDemo | 87aa4b67e11a13d5ef21b132641dfec4314d2286 | [
"Unlicense"
] | 2 | 2019-07-25T08:29:37.000Z | 2019-07-30T06:51:16.000Z | using System;
namespace Kros.MassTransit.AzureServiceBus
{
/// <summary>
/// Default configuration for Azure via Mass Transit.
/// </summary>
internal static class ConfigDefaults
{
/// <summary>
/// Default message time to live in the queue.
/// </summary>
public st... | 34.756098 | 116 | 0.635088 |
8e9c926b0b9c49e3d8bfe032ef4fd9bcd18d66cd | 501 | cs | C# | FreeAds.API/Data/IAuthRepository.cs | donegogov/ClassifiedAd | 1051c84096e60cf8ae283178bd6879823156226a | [
"MIT"
] | null | null | null | FreeAds.API/Data/IAuthRepository.cs | donegogov/ClassifiedAd | 1051c84096e60cf8ae283178bd6879823156226a | [
"MIT"
] | 4 | 2021-03-08T21:05:05.000Z | 2022-02-26T04:58:58.000Z | FreeAds.API/Data/IAuthRepository.cs | donegogov/ClassifiedAd | 1051c84096e60cf8ae283178bd6879823156226a | [
"MIT"
] | null | null | null | using System.Threading.Tasks;
using FreeAds.API.Dtos;
using FreeAds.API.Models;
using Microsoft.IdentityModel.Tokens;
namespace FreeAds.API.Data
{
public interface IAuthRepository
{
Task<User> Register(User user, string password);
Task<User> Login(string username, string password);
T... | 31.3125 | 68 | 0.718563 |
1a8ee5ec9d88426a848fc59446bf27ed7c6d8406 | 289 | cs | C# | src/Ducode.Wolk.Application/Notebooks/Commands/DeleteNotebook/DeleteNotebookCommand.cs | dukeofharen/wolk | 4dbf57c8636efa0223d7f9cd3412d8ba60420fb4 | [
"MIT"
] | 1 | 2017-06-22T03:10:56.000Z | 2017-06-22T03:10:56.000Z | src/Ducode.Wolk.Application/Notebooks/Commands/DeleteNotebook/DeleteNotebookCommand.cs | dukeofharen/wolk | 4dbf57c8636efa0223d7f9cd3412d8ba60420fb4 | [
"MIT"
] | null | null | null | src/Ducode.Wolk.Application/Notebooks/Commands/DeleteNotebook/DeleteNotebookCommand.cs | dukeofharen/wolk | 4dbf57c8636efa0223d7f9cd3412d8ba60420fb4 | [
"MIT"
] | 1 | 2020-09-19T01:46:07.000Z | 2020-09-19T01:46:07.000Z | using MediatR;
namespace Ducode.Wolk.Application.Notebooks.Commands.DeleteNotebook
{
public class DeleteNotebookCommand : IRequest
{
public DeleteNotebookCommand(long id)
{
Id = id;
}
public long Id { get; set; }
}
}
| 19.266667 | 68 | 0.581315 |
aeff12af607296a32bd6e4d5bf878480edea6ab6 | 1,918 | cs | C# | Homework/Advanced C#/12.0 Exercise Functional Programming/09. Predicate Party!/Program.cs | dimitarLaleksandrov/first-steps-in-coding-C- | f8c5ad80a4589f290bf797dd2261b6783dac695e | [
"MIT"
] | null | null | null | Homework/Advanced C#/12.0 Exercise Functional Programming/09. Predicate Party!/Program.cs | dimitarLaleksandrov/first-steps-in-coding-C- | f8c5ad80a4589f290bf797dd2261b6783dac695e | [
"MIT"
] | null | null | null | Homework/Advanced C#/12.0 Exercise Functional Programming/09. Predicate Party!/Program.cs | dimitarLaleksandrov/first-steps-in-coding-C- | f8c5ad80a4589f290bf797dd2261b6783dac695e | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
namespace _09._Predicate_Party_
{
internal class PredicateParty
{
static void Main(string[] args)
{
List<string> ppl = Console.ReadLine().Split().ToList();
string cmd = " ";
while ((cmd = Con... | 30.935484 | 87 | 0.393639 |
1f4cf2964f4ac5b50d3ea166944cb204a0291c7d | 247 | cs | C# | Sources/Autofac Multi Application Solution/AfMulti.Common.Interfaces/Services/IDbDataService.cs | miseeger/VisualStudio.Templates | 38c2e3e376472bafadd3c3f3eb41cbaa1f4b1d03 | [
"MIT"
] | 2 | 2015-11-10T10:34:07.000Z | 2020-04-06T11:26:17.000Z | Sources/Autofac Multi Application Solution/AfMulti.Common.Interfaces/Services/IDbDataService.cs | miseeger/VisualStudio.Templates | 38c2e3e376472bafadd3c3f3eb41cbaa1f4b1d03 | [
"MIT"
] | null | null | null | Sources/Autofac Multi Application Solution/AfMulti.Common.Interfaces/Services/IDbDataService.cs | miseeger/VisualStudio.Templates | 38c2e3e376472bafadd3c3f3eb41cbaa1f4b1d03 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using NPoco;
namespace $safeprojectname$.Services
{
public interface IDbDataService : IDatabase
{
string CurrentUser { get; set; }
List<string> GetActiveUsers();
void Hello();
}
} | 13.722222 | 44 | 0.712551 |
9cddf9c56a9e629d4762da125979c61bbd8aadcb | 213 | cs | C# | AdfsTotpAuthenticationProvider/Interfaces/ISecretStorageProvider.cs | TechnoChimp/AdfsTotpAuthenticationProvider | 3cac8d060ae594f5e72c91e3a4c7e6a280b33af6 | [
"MIT"
] | 1 | 2019-10-04T08:57:40.000Z | 2019-10-04T08:57:40.000Z | AdfsTotpAuthenticationProvider/Interfaces/ISecretStorageProvider.cs | TechnoChimp/AdfsTotpAuthenticationProvider | 3cac8d060ae594f5e72c91e3a4c7e6a280b33af6 | [
"MIT"
] | null | null | null | AdfsTotpAuthenticationProvider/Interfaces/ISecretStorageProvider.cs | TechnoChimp/AdfsTotpAuthenticationProvider | 3cac8d060ae594f5e72c91e3a4c7e6a280b33af6 | [
"MIT"
] | null | null | null | namespace AdfsTotpAuthenticationProvider.Interfaces
{
public interface ISecretStorageProvider
{
SecretKey GetSecretKey(string upn);
void SetSecretKey(string upn, SecretKey secret);
}
} | 26.625 | 56 | 0.732394 |
1422a0b8a483d8c426d2ff7b25ece2dd18c8ddb4 | 1,586 | cs | C# | Homeworks/Strings and Text Processing - More Exercises/4. (hard) Nilapdromes/Nilapdromes.cs | DimitarIvanov8/software-university | 6e94bb14764a576df0a65c67f8c8d32cae9011a1 | [
"MIT"
] | null | null | null | Homeworks/Strings and Text Processing - More Exercises/4. (hard) Nilapdromes/Nilapdromes.cs | DimitarIvanov8/software-university | 6e94bb14764a576df0a65c67f8c8d32cae9011a1 | [
"MIT"
] | null | null | null | Homeworks/Strings and Text Processing - More Exercises/4. (hard) Nilapdromes/Nilapdromes.cs | DimitarIvanov8/software-university | 6e94bb14764a576df0a65c67f8c8d32cae9011a1 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _4._hard__Nilapdromes
{
class Nilapdromes
{
static void Main(string[] args)
{
string border = "";
string core = "";
string nilapdro... | 30.5 | 106 | 0.462169 |
4e5262b2d4489ece5474daaf0263ec6614770590 | 648 | cs | C# | LoadingAnimation.cs | omggomb/ExplorerTreeViewControl | e839df2fe3015a635866aa0088a7021db260be87 | [
"MIT"
] | null | null | null | LoadingAnimation.cs | omggomb/ExplorerTreeViewControl | e839df2fe3015a635866aa0088a7021db260be87 | [
"MIT"
] | null | null | null | LoadingAnimation.cs | omggomb/ExplorerTreeViewControl | e839df2fe3015a635866aa0088a7021db260be87 | [
"MIT"
] | null | null | null | /**
* Created by SharpDevelop.
* User: omggomb
* Date: 05.06.2014
* Time: 13:53
*/
using System;
namespace ExplorerTreeView
{
/// <summary>
/// Simply animates a "Loading..." string
/// </summary>
public class LoadingAnimation
{
/// <summary>
/// Current count of dots behind "Loading";
/// </summary>
... | 14.4 | 45 | 0.578704 |
74762b35aa93968b3feb47bcdbcda3bdecb40875 | 2,553 | cs | C# | Assets/Scripts/Model/Content/FirstEdition/Upgrades/Talent/Expertise.cs | belk/FlyCasual | a888c4110c20825cce40ab7cb2402c984daf221b | [
"MIT"
] | null | null | null | Assets/Scripts/Model/Content/FirstEdition/Upgrades/Talent/Expertise.cs | belk/FlyCasual | a888c4110c20825cce40ab7cb2402c984daf221b | [
"MIT"
] | 2 | 2018-02-03T22:40:35.000Z | 2019-01-16T02:51:48.000Z | Assets/Scripts/Model/Content/FirstEdition/Upgrades/Talent/Expertise.cs | belk/FlyCasual | a888c4110c20825cce40ab7cb2402c984daf221b | [
"MIT"
] | null | null | null | using Ship;
using Upgrade;
using System.Collections.Generic;
using ActionsList;
namespace UpgradesList.FirstEdition
{
public class Expertise : GenericUpgrade
{
public Expertise() : base()
{
UpgradeInfo = new UpgradeCardInfo(
"Expertise",
UpgradeType.... | 25.787879 | 81 | 0.559342 |
2d2bfb545c4342354135ef7db0f41088914b53f7 | 4,414 | cs | C# | GodotDebugSession/GodotDebugSession.cs | olestourko/godot-csharp-vscode | 4785f95b60bf432452e53db36649bba840be2fe8 | [
"MIT"
] | 64 | 2020-05-09T22:46:30.000Z | 2022-03-13T14:29:21.000Z | GodotDebugSession/GodotDebugSession.cs | raulsntos/godot-csharp-vscode | c90dc9caf0e9f4d3dede64e26650e00513a32d13 | [
"MIT"
] | 40 | 2020-05-16T19:10:56.000Z | 2022-03-30T19:22:26.000Z | GodotDebugSession/GodotDebugSession.cs | raulsntos/godot-csharp-vscode | c90dc9caf0e9f4d3dede64e26650e00513a32d13 | [
"MIT"
] | 16 | 2020-07-04T03:07:40.000Z | 2022-03-30T09:04:47.000Z | using System;
using System.Net;
using Mono.Debugging.Client;
using Mono.Debugging.Soft;
using VSCodeDebug;
namespace GodotDebugSession
{
public class GodotDebugSession : MonoDebugSession, IProcessOutputListener
{
public GodotDebugSession() : base(new GodotDebuggerSession(), new CustomLogger())
... | 33.18797 | 119 | 0.528772 |
2119935d09920f9701fcb61208958213453b0fde | 3,047 | cs | C# | CheckIERegistrySettings/CheckIERegistrySettings/Program.cs | kjflemin/CSharpProjects | e1671c242a377bde48a75280b25605d915b1b6a5 | [
"MIT"
] | null | null | null | CheckIERegistrySettings/CheckIERegistrySettings/Program.cs | kjflemin/CSharpProjects | e1671c242a377bde48a75280b25605d915b1b6a5 | [
"MIT"
] | null | null | null | CheckIERegistrySettings/CheckIERegistrySettings/Program.cs | kjflemin/CSharpProjects | e1671c242a377bde48a75280b25605d915b1b6a5 | [
"MIT"
] | null | null | null | using System;
using Microsoft.Win32;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CheckIERegistrySettings {
class Program {
static void Main(string[] args)
{
Console.Clear();
Console.WriteLine("Re... | 42.319444 | 107 | 0.723991 |
64e866357f06d2458c481bdcbf5bfe541bde1f77 | 2,060 | cs | C# | Android/SampleBrowser/Samples/DataGrid/Model/SalesInfoRepository.cs | raver99/SFTreeView_Binding_Issue | 7facbedff89d9ae7fac33ef6976e7474f5c7fabb | [
"FTL",
"Info-ZIP"
] | 269 | 2018-08-06T15:40:41.000Z | 2022-03-31T14:08:06.000Z | Android/SampleBrowser/Samples/DataGrid/Model/SalesInfoRepository.cs | davchezt/xamarin-demos | 62b123f2419ae9415b307eed863fb9897f375726 | [
"FTL",
"Info-ZIP"
] | 40 | 2018-09-21T20:12:09.000Z | 2022-02-17T04:53:35.000Z | Android/SampleBrowser/Samples/DataGrid/Model/SalesInfoRepository.cs | davchezt/xamarin-demos | 62b123f2419ae9415b307eed863fb9897f375726 | [
"FTL",
"Info-ZIP"
] | 205 | 2018-08-07T06:03:08.000Z | 2022-03-30T05:55:02.000Z | #region Copyright Syncfusion Inc. 2001-2021.
// Copyright Syncfusion Inc. 2001-2021. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applic... | 31.212121 | 79 | 0.530097 |
51093739bd3de87a389fd7a18db3567252598d74 | 13,413 | cs | C# | Core/MugenMvvmToolkit.Binding(NetStandard)/BindingServiceProvider.cs | MugenMvvmToolkit/MugenMvvmToolkit | fac8cc0dca5f46636d85f05e32efe9231a3074c8 | [
"MS-PL"
] | 180 | 2015-01-10T12:01:05.000Z | 2022-02-13T18:09:13.000Z | Core/MugenMvvmToolkit.Binding(NetStandard)/BindingServiceProvider.cs | MugenMvvmToolkit/MugenMvvmToolkit | fac8cc0dca5f46636d85f05e32efe9231a3074c8 | [
"MS-PL"
] | 33 | 2015-04-09T22:56:25.000Z | 2021-12-11T14:28:50.000Z | Core/MugenMvvmToolkit.Binding(NetStandard)/BindingServiceProvider.cs | MugenMvvmToolkit/MugenMvvmToolkit | fac8cc0dca5f46636d85f05e32efe9231a3074c8 | [
"MS-PL"
] | 43 | 2015-01-11T08:57:09.000Z | 2022-02-13T18:09:18.000Z | #region Copyright
// ****************************************************************************
// <copyright file="BindingServiceProvider.cs">
// Copyright (c) 2012-2017 Vyacheslav Volkov
// </copyright>
// ****************************************************************************
// <author>Vyacheslav Volkov</a... | 36.647541 | 187 | 0.611049 |
e8b312f994a5296cffe42b106abebe77fe4d15e4 | 1,046 | cs | C# | XamlPowerToys.Model/Wpf/LabelEditorProperties.cs | johnmbaughman/XAMLPowerToys2015 | a0f645e41625f07aeb3ee47da9e1bf9d02f17c4e | [
"Apache-2.0"
] | null | null | null | XamlPowerToys.Model/Wpf/LabelEditorProperties.cs | johnmbaughman/XAMLPowerToys2015 | a0f645e41625f07aeb3ee47da9e1bf9d02f17c4e | [
"Apache-2.0"
] | null | null | null | XamlPowerToys.Model/Wpf/LabelEditorProperties.cs | johnmbaughman/XAMLPowerToys2015 | a0f645e41625f07aeb3ee47da9e1bf9d02f17c4e | [
"Apache-2.0"
] | null | null | null | namespace XamlPowerToys.Model.Wpf {
using System;
using XamlPowerToys.Model.CodeGeneration.Wpf.Controls;
[Serializable]
public class LabelEditorProperties : ObservableObject, IEditEditor, IConstructControlFactory {
String _labelText;
/// <summary>
/// Gets or sets the label t... | 30.764706 | 133 | 0.638623 |
2bed7448835c7cabd3a62443db4dd9b18799d6f9 | 230 | cs | C# | FrameWork.Interfaces/EventBus/IEventHandler.cs | JonathonCwik/FrameWork | 22a4d2e45588bd2f1ad1fd7d431fc0b54918ce30 | [
"Apache-2.0"
] | null | null | null | FrameWork.Interfaces/EventBus/IEventHandler.cs | JonathonCwik/FrameWork | 22a4d2e45588bd2f1ad1fd7d431fc0b54918ce30 | [
"Apache-2.0"
] | null | null | null | FrameWork.Interfaces/EventBus/IEventHandler.cs | JonathonCwik/FrameWork | 22a4d2e45588bd2f1ad1fd7d431fc0b54918ce30 | [
"Apache-2.0"
] | null | null | null | namespace FrameWork.Interfaces.EventBus;
public interface IEventHandler<in TEvent> where TEvent : class
{
Task<EventHandleResult> Handle(TEvent @event);
}
public enum EventHandleResult {
Success,
ExpectedFailure
}
| 16.428571 | 62 | 0.76087 |
658c4a5e13ac206e83b2ac124a0787d4cdc2d227 | 6,993 | cs | C# | Assets/_Hasteland/Scripts/Turrets/Turret Behaviours/TurretHead.cs | Wulusi/HasteLand | 47c1aedef06d9bb24c75c1e7b1fdff298819a2e0 | [
"MIT"
] | null | null | null | Assets/_Hasteland/Scripts/Turrets/Turret Behaviours/TurretHead.cs | Wulusi/HasteLand | 47c1aedef06d9bb24c75c1e7b1fdff298819a2e0 | [
"MIT"
] | null | null | null | Assets/_Hasteland/Scripts/Turrets/Turret Behaviours/TurretHead.cs | Wulusi/HasteLand | 47c1aedef06d9bb24c75c1e7b1fdff298819a2e0 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TurretHead : MonoBehaviour, IPausable
{
[Header("Rotation Variables")]
public float m_rotationTime;
public Transform m_parentTurret;
public Transform m_rotateY;
public Transform m_rotateX;
public float ... | 34.279412 | 250 | 0.661805 |
89519435096cbd2743fd0a9841e702e9eb59af22 | 653 | cs | C# | src/WebApp/Startup.cs | geeknz/dotnet-examples-web | 7fa8c7856f98ea555307b234d8fdf04cd6f69a67 | [
"MIT"
] | null | null | null | src/WebApp/Startup.cs | geeknz/dotnet-examples-web | 7fa8c7856f98ea555307b234d8fdf04cd6f69a67 | [
"MIT"
] | null | null | null | src/WebApp/Startup.cs | geeknz/dotnet-examples-web | 7fa8c7856f98ea555307b234d8fdf04cd6f69a67 | [
"MIT"
] | null | null | null | using Microsoft.AspNetCore.Builder;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using WebApp.Data;
namespace WebApp
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddDbContext<ValueCont... | 23.321429 | 100 | 0.779479 |
d8adb7e184a3567f93f30c908d9a761214e61989 | 581 | cs | C# | Advanced/Streams, Files and Directories/02. Line Numbers/Program.cs | tonkatawe/SoftUni-Advanced | 80138bc23bc0fc7db2548af08232bae1861e847a | [
"MIT"
] | null | null | null | Advanced/Streams, Files and Directories/02. Line Numbers/Program.cs | tonkatawe/SoftUni-Advanced | 80138bc23bc0fc7db2548af08232bae1861e847a | [
"MIT"
] | null | null | null | Advanced/Streams, Files and Directories/02. Line Numbers/Program.cs | tonkatawe/SoftUni-Advanced | 80138bc23bc0fc7db2548af08232bae1861e847a | [
"MIT"
] | 1 | 2020-07-12T15:35:05.000Z | 2020-07-12T15:35:05.000Z | using System;
using System.IO;
namespace _02._Line_Numbers
{
class Program
{
static void Main(string[] args)
{
using var reader = new StreamReader("Input.txt");
using var writer = new StreamWriter("Output.txt");
var count = 1;
while (true)
... | 23.24 | 62 | 0.418244 |
a7179f619d10236097ffcf500a1db046c99e937c | 3,330 | cs | C# | Triggers/SpeedBasedMusicParamTrigger.cs | EverestAPI/SpringCollab2020 | 93ba2c1b0654c74b57cb48c46577c2b0ca322aa2 | [
"MIT"
] | 2 | 2020-01-07T22:02:34.000Z | 2020-02-03T09:53:42.000Z | Triggers/SpeedBasedMusicParamTrigger.cs | EverestAPI/SpringCollab2020 | 93ba2c1b0654c74b57cb48c46577c2b0ca322aa2 | [
"MIT"
] | 117 | 2020-01-07T19:04:02.000Z | 2020-05-22T20:59:07.000Z | Triggers/SpeedBasedMusicParamTrigger.cs | EverestAPI/SpringCollab2020 | 93ba2c1b0654c74b57cb48c46577c2b0ca322aa2 | [
"MIT"
] | 12 | 2020-01-07T18:50:42.000Z | 2021-02-21T22:12:42.000Z | using Celeste.Mod.Entities;
using Monocle;
using Microsoft.Xna.Framework;
using System.Collections.Generic;
namespace Celeste.Mod.SpringCollab2020.Triggers {
/**
* Port of the speed-based music param trigger from max480's Helping Hand:
* https://github.com/max4805/MaxHelpingHand/blob/master/Trig... | 42.151899 | 154 | 0.609009 |
6dab42c17a52d8ed259cc048a5a1318190a67ae0 | 305 | cs | C# | CrossCutting/CrossCutting.Balance/Models/Balance.cs | Kryptand/frugaltastic | bfbb03a298ea6fc1df43b2509a26847188bfc44e | [
"MIT"
] | null | null | null | CrossCutting/CrossCutting.Balance/Models/Balance.cs | Kryptand/frugaltastic | bfbb03a298ea6fc1df43b2509a26847188bfc44e | [
"MIT"
] | null | null | null | CrossCutting/CrossCutting.Balance/Models/Balance.cs | Kryptand/frugaltastic | bfbb03a298ea6fc1df43b2509a26847188bfc44e | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace CrossCutting.Balance.Models
{
public class Balance
{
[Key]
public Guid BalanceGuid { get; set; }
public decimal CurrentBalance { get; set; }
}
}
| 20.333333 | 51 | 0.688525 |
6dd8de800f059b6edf2bc5e738a077ff3605cf1f | 945 | cs | C# | Business/Abstract/ICarService.cs | tunazkn/ReCapRentACarProject-Backend | f597544f8b3b67576b31045a02998c076dbcac5c | [
"MIT"
] | 9 | 2021-03-16T14:26:48.000Z | 2021-04-08T06:32:01.000Z | Business/Abstract/ICarService.cs | tunazkn/ReCapRentACarProject-Backend | f597544f8b3b67576b31045a02998c076dbcac5c | [
"MIT"
] | null | null | null | Business/Abstract/ICarService.cs | tunazkn/ReCapRentACarProject-Backend | f597544f8b3b67576b31045a02998c076dbcac5c | [
"MIT"
] | null | null | null | using Core.Utilities.Results;
using Entities.Concrete;
using Entities.DTOs;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace Business.Abstract
{
public interface ICarService
{
IResult Add(Car car);
IResult Update(Car car);
IResult Delete(Car car)... | 32.586207 | 97 | 0.710053 |
5818fb0690be00357918e805997bb410c36e24dc | 1,323 | cs | C# | src/Microsoft.VisualStudio.ProjectSystem.Managed.VS.UnitTests/Mocks/IDependenciesChangesFactory.cs | rynowak/project-system | 0b671d4b67b918e747267611a9569f292045e073 | [
"Apache-2.0"
] | 1 | 2018-08-09T12:43:15.000Z | 2018-08-09T12:43:15.000Z | src/Microsoft.VisualStudio.ProjectSystem.Managed.VS.UnitTests/Mocks/IDependenciesChangesFactory.cs | ghuntley/project-system | 7a5598eb8c9a20f1b3c18a449d9a0208a5c9bb09 | [
"Apache-2.0"
] | 1 | 2018-10-23T19:22:00.000Z | 2018-10-23T19:22:00.000Z | src/Microsoft.VisualStudio.ProjectSystem.Managed.VS.UnitTests/Mocks/IDependenciesChangesFactory.cs | ghuntley/project-system | 7a5598eb8c9a20f1b3c18a449d9a0208a5c9bb09 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) Microsoft. 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.Collections.Immutable;
using Microsoft.VisualStudio.ProjectSystem.VS.Tree.Dependencies;
using Moq;
namespac... | 32.268293 | 161 | 0.645503 |
58f7627293405f18584ca3906d81ad92b8ebd991 | 1,595 | cs | C# | AssetsTools/SerializedType.cs | grainrigi/AssetsTools | 46b568f8730fda1fd6d8852a433c14f6d983860d | [
"BSD-2-Clause"
] | 16 | 2019-01-18T21:09:39.000Z | 2020-07-06T15:27:34.000Z | AssetsTools/SerializedType.cs | Avatarchik/AssetsTools | 46b568f8730fda1fd6d8852a433c14f6d983860d | [
"BSD-2-Clause"
] | 3 | 2019-02-24T06:02:35.000Z | 2021-06-06T21:56:38.000Z | AssetsTools/SerializedType.cs | Avatarchik/AssetsTools | 46b568f8730fda1fd6d8852a433c14f6d983860d | [
"BSD-2-Clause"
] | 3 | 2019-07-11T13:01:41.000Z | 2021-05-30T22:40:30.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AssetsTools {
/// <summary>
/// Type Information of Asset Object.
/// </summary>
public struct SerializedType : ISerializable {
/// <summary>
/// ID of the clas... | 30.673077 | 61 | 0.56489 |
0afadb9b477e1cdb11819b0d3e0b3712915728de | 740 | cs | C# | PaperSoccer/Edge.cs | piotrsrodka/PaperSoccer | b508735346f2ef12be90cef0f06b6158805c5674 | [
"MIT"
] | 3 | 2018-08-30T08:26:50.000Z | 2020-11-30T09:26:42.000Z | PaperSoccer/Edge.cs | piotrsrodka/PaperSoccer | b508735346f2ef12be90cef0f06b6158805c5674 | [
"MIT"
] | null | null | null | PaperSoccer/Edge.cs | piotrsrodka/PaperSoccer | b508735346f2ef12be90cef0f06b6158805c5674 | [
"MIT"
] | null | null | null | using System;
namespace PaperSoccer
{
class Edge
{
public int From { get; private set; }
public int To { get; private set; }
public double Weight { get; private set; }
public Edge(int from, int to, double weight)
{
if (from ... | 28.461538 | 110 | 0.501351 |
cf2e0700cbf4aff512ac9317d9d506f32d06059e | 149 | cs | C# | StudentRegistration/View/IStudentView.cs | mrwizard82d1/rhino_mock_fndmntls | eb210ce88129532cac3360dccdd5fbde74c5c11f | [
"Apache-2.0"
] | null | null | null | StudentRegistration/View/IStudentView.cs | mrwizard82d1/rhino_mock_fndmntls | eb210ce88129532cac3360dccdd5fbde74c5c11f | [
"Apache-2.0"
] | null | null | null | StudentRegistration/View/IStudentView.cs | mrwizard82d1/rhino_mock_fndmntls | eb210ce88129532cac3360dccdd5fbde74c5c11f | [
"Apache-2.0"
] | null | null | null | namespace View
{
public interface IStudentView
{
bool WasStudentSaved { get; set; }
bool ShouldSaveStudent { get; }
}
}
| 16.555556 | 42 | 0.597315 |
00a292332a0e6a8e9136bf3fd06b05363a71d9bf | 939 | cs | C# | SFA.DAS.Payments.Functions/SFA.DAS.Payments.Functions.POC/ValidateLevyPayerFlag.cs | SkillsFundingAgency/das-payments-V2-POC | 37af1e07a1a680bd3a1e9b93ac4aa5696664f55d | [
"MIT"
] | null | null | null | SFA.DAS.Payments.Functions/SFA.DAS.Payments.Functions.POC/ValidateLevyPayerFlag.cs | SkillsFundingAgency/das-payments-V2-POC | 37af1e07a1a680bd3a1e9b93ac4aa5696664f55d | [
"MIT"
] | null | null | null | SFA.DAS.Payments.Functions/SFA.DAS.Payments.Functions.POC/ValidateLevyPayerFlag.cs | SkillsFundingAgency/das-payments-V2-POC | 37af1e07a1a680bd3a1e9b93ac4aa5696664f55d | [
"MIT"
] | 1 | 2021-04-11T08:51:42.000Z | 2021-04-11T08:51:42.000Z | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using SFA.DAS.Payments.Domain;
using SFA.DAS.Payments.Domain.DataLock;
namespace SFA.DAS.Payments.Functions.POC
{
public static class ValidateLevyPayerFlag
{
[FunctionName("ValidateLevyPaye... | 33.535714 | 169 | 0.650692 |
00bc963d828a2185f20de411de114000b4326bfc | 1,466 | cs | C# | Domain11/Country.cs | TanHaoran/NurseService1.0 | 5e3367298d99d1497923f0918f770bffb765eb10 | [
"Apache-2.0"
] | null | null | null | Domain11/Country.cs | TanHaoran/NurseService1.0 | 5e3367298d99d1497923f0918f770bffb765eb10 | [
"Apache-2.0"
] | null | null | null | Domain11/Country.cs | TanHaoran/NurseService1.0 | 5e3367298d99d1497923f0918f770bffb765eb10 | [
"Apache-2.0"
] | null | null | null | /***************************************************************************
*
* 功能: 实体类
* 作者: BuzzlySoft
* 日期: 2017-07-26
*
* 修改日期:
* 修改人:
* 修改内容:
*
* *************************************************************************/
using System;
using System.Run... | 16.850575 | 77 | 0.492497 |
c8189ccc1571e3c2150719b48a42a31bf5729bf2 | 4,940 | cs | C# | src/Couchbase/Views/ViewOptions.cs | seankison/couchbase-net-client | 67cc38da3176943ca80c55e7cae36c4c02c79399 | [
"Apache-2.0"
] | null | null | null | src/Couchbase/Views/ViewOptions.cs | seankison/couchbase-net-client | 67cc38da3176943ca80c55e7cae36c4c02c79399 | [
"Apache-2.0"
] | null | null | null | src/Couchbase/Views/ViewOptions.cs | seankison/couchbase-net-client | 67cc38da3176943ca80c55e7cae36c4c02c79399 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using Couchbase.Core.IO.Serializers;
using Couchbase.Core.Retry;
using Couchbase.Management.Views;
#nullable enable
namespace Couchbase.Views
{
public class ViewOptions
{
internal ViewScanConsistency ScanConsistencyValue { get; set; }
internal in... | 27.752809 | 108 | 0.571862 |
c867b1410547f83a4e789aa3a47d4cc1e84462d1 | 295 | cs | C# | TwitchLib.Api/TwitchLib.Api.Core.Enums/StreamTypeEnum.cs | Teravus/RebootTechChatBot | b954ed76c4d44e8b75eea5a5afc495c054331a8e | [
"MIT"
] | 1 | 2021-05-23T23:45:34.000Z | 2021-05-23T23:45:34.000Z | TwitchLib/TwitchLib.Api/TwitchLib.Api.Core.Enums/StreamTypeEnum.cs | Teravus/RebootTechChatBot | b954ed76c4d44e8b75eea5a5afc495c054331a8e | [
"MIT"
] | null | null | null | TwitchLib/TwitchLib.Api/TwitchLib.Api.Core.Enums/StreamTypeEnum.cs | Teravus/RebootTechChatBot | b954ed76c4d44e8b75eea5a5afc495c054331a8e | [
"MIT"
] | null | null | null | namespace TwitchLib.Api.Core.Enums
{
/// <summary>Types of a stream</summary>
public enum StreamType
{
/// <summary>Live stream</summary>
Live,
/// <summary>Preset playlist</summary>
Playlist,
/// <summary>"All"</summary>
All
}
}
| 21.071429 | 46 | 0.549153 |
f6a9c324442c8017a3903829f5dc9d99f2977f59 | 2,930 | cs | C# | SmartStoreNET-3.x/src/Libraries/SmartStore.Core/Domain/Catalog/ProductVariantAttributeValue.cs | jonmcquade/csharp-snippets | 71440d95295d233e6a994b7bfbbae0b3b1f16049 | [
"MIT"
] | 2 | 2019-07-30T13:26:30.000Z | 2020-10-14T05:35:08.000Z | SmartStoreNET-3.x/src/Libraries/SmartStore.Core/Domain/Catalog/ProductVariantAttributeValue.cs | jenmcquade/csharp-snippets | 71440d95295d233e6a994b7bfbbae0b3b1f16049 | [
"MIT"
] | null | null | null | SmartStoreNET-3.x/src/Libraries/SmartStore.Core/Domain/Catalog/ProductVariantAttributeValue.cs | jenmcquade/csharp-snippets | 71440d95295d233e6a994b7bfbbae0b3b1f16049 | [
"MIT"
] | null | null | null | using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;
using SmartStore.Core.Domain.Localization;
using SmartStore.Core.Search;
namespace SmartStore.Core.Domain.Catalog
{
/// <summary>
/// Represents a product variant attribute value
/// </summary>
[DataContract]
publi... | 26.160714 | 95 | 0.628328 |
3c405a9371d38664362eb8ab7479b8103b27d89c | 98 | cs | C# | Sample.Struct/NotNullAttribute.cs | Kirill-Maurin/Sample.Struct | cfcd67cfd9b8c5dd6cb2403d6cb4b4247dab466b | [
"MIT"
] | 27 | 2019-07-16T20:53:00.000Z | 2022-02-06T19:18:57.000Z | Sample.Struct/NotNullAttribute.cs | nesteruk/Sample.Struct | cfcd67cfd9b8c5dd6cb2403d6cb4b4247dab466b | [
"MIT"
] | null | null | null | Sample.Struct/NotNullAttribute.cs | nesteruk/Sample.Struct | cfcd67cfd9b8c5dd6cb2403d6cb4b4247dab466b | [
"MIT"
] | 3 | 2019-08-16T06:05:13.000Z | 2021-01-28T12:32:53.000Z | using System;
namespace Sample.Struct
{
public class NotNullAttribute : Attribute {}
}
| 14 | 49 | 0.693878 |
3c77b25a19b05989b6f3442b607d91c25dbd1e37 | 424 | cs | C# | Components/SurfaceCollider.cs | LaudateCorpus1/RealisticBleeding | d45b0e36c5f04d02ac13f201b5efb12fcff650de | [
"MIT"
] | 9 | 2021-07-31T02:46:32.000Z | 2022-01-19T08:19:19.000Z | Components/SurfaceCollider.cs | LaudateCorpus1/RealisticBleeding | d45b0e36c5f04d02ac13f201b5efb12fcff650de | [
"MIT"
] | null | null | null | Components/SurfaceCollider.cs | LaudateCorpus1/RealisticBleeding | d45b0e36c5f04d02ac13f201b5efb12fcff650de | [
"MIT"
] | 4 | 2021-08-14T03:22:29.000Z | 2022-02-13T03:46:35.000Z | using UnityEngine;
namespace RealisticBleeding.Components
{
public struct SurfaceCollider
{
public Collider Collider;
public Vector3 LastNormal;
public float DistanceTravelled;
public float LastSurfaceSpeed;
public SurfaceCollider(Collider collider, Vector3 lastNormal)
{
Collider = collider;
LastN... | 20.190476 | 63 | 0.759434 |
2e875d4f0fa443b20fdc7516013a73bdc4accffa | 4,766 | cs | C# | Api/PaliCanon.DataLoad/Provider/Buddharakkhita/DhammapadaProvider.cs | timbrownls20/Pali-Canon | c01117ba85d33fa0210184edd2ff710aa71a07fb | [
"MIT"
] | 2 | 2020-03-06T11:20:53.000Z | 2022-03-10T21:36:22.000Z | Api/PaliCanon.DataLoad/Provider/Buddharakkhita/DhammapadaProvider.cs | timbrownls20/Pali-Canon | c01117ba85d33fa0210184edd2ff710aa71a07fb | [
"MIT"
] | 5 | 2022-03-06T02:34:17.000Z | 2022-03-06T02:36:02.000Z | Api/PaliCanon.DataLoad/Provider/Buddharakkhita/DhammapadaProvider.cs | timbrownls20/Pali-Canon | c01117ba85d33fa0210184edd2ff710aa71a07fb | [
"MIT"
] | 8 | 2018-06-12T21:48:14.000Z | 2020-07-30T12:34:50.000Z | using System;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using HtmlAgilityPack;
using PaliCanon.Common.Extensions;
using PaliCanon.Contracts.Book;
using PaliCanon.Contracts.Chapter;
using PaliCanon.Model;
namespace PaliCanon.DataLoad.Provider.Buddharakkhita
{
public class DhammapadaP... | 41.086207 | 175 | 0.541334 |
4c8e1e33dd64caae393890be65bb6ab5b6677310 | 7,559 | cs | C# | RMArt.Web/Controllers/UploadController.cs | suigintou/rmart | 827deeaae50f312731ce81a866aeb60b58e4f943 | [
"Unlicense"
] | 3 | 2015-06-10T22:50:03.000Z | 2016-01-26T13:28:41.000Z | RMArt.Web/Controllers/UploadController.cs | suigintou/rmart | 827deeaae50f312731ce81a866aeb60b58e4f943 | [
"Unlicense"
] | null | null | null | RMArt.Web/Controllers/UploadController.cs | suigintou/rmart | 827deeaae50f312731ce81a866aeb60b58e4f943 | [
"Unlicense"
] | null | null | null | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using Microsoft.Web.Helpers;
using RMArt.Core;
using RMArt.Web.Models;
using RMArt.Web.Resources;
namespace RMArt.Web.Controllers
{
public class UploadController : Controller
... | 32.303419 | 152 | 0.715571 |
4bae059572ec54720a4440c29853754464c87361 | 1,354 | cs | C# | StarWRPG/StarWRPG/ViewModels/Inventory/ArmorViewModel.cs | Fmccline/SW-Character-Sheet-App | 5156cc395def3e50a15b0f2ad98fe191d7a23c00 | [
"MIT"
] | 2 | 2017-08-16T19:52:08.000Z | 2017-08-23T22:11:21.000Z | StarWRPG/StarWRPG/ViewModels/Inventory/ArmorViewModel.cs | Fmccline/SW-Character-Sheet-App | 5156cc395def3e50a15b0f2ad98fe191d7a23c00 | [
"MIT"
] | null | null | null | StarWRPG/StarWRPG/ViewModels/Inventory/ArmorViewModel.cs | Fmccline/SW-Character-Sheet-App | 5156cc395def3e50a15b0f2ad98fe191d7a23c00 | [
"MIT"
] | null | null | null | using StarWRPG.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StarWRPG.ViewModels
{
public class ArmorViewModel : ItemViewModel
{
public Armor Armor;
public uint HardPoints
{
get { retur... | 21.492063 | 56 | 0.457164 |
bac1371bb940912e0cfb8b02d1ff7b8f8d18742a | 189 | cs | C# | framework/src/Sprite.Security.Abstractions/Permissions/IPermissionsProvideContext.cs | beango-project/beango-framework | cd35572950f138f9581b32888bb54843cdaba11a | [
"Apache-2.0"
] | 2 | 2021-03-16T10:16:16.000Z | 2021-03-17T13:45:15.000Z | framework/src/Sprite.Security.Abstractions/Permissions/IPermissionsProvideContext.cs | beango-project/beango-framework | cd35572950f138f9581b32888bb54843cdaba11a | [
"Apache-2.0"
] | 4 | 2021-03-16T13:56:27.000Z | 2021-11-23T13:35:03.000Z | framework/src/Sprite.Security.Abstractions/Permissions/IPermissionsProvideContext.cs | beango-project/beango-framework | cd35572950f138f9581b32888bb54843cdaba11a | [
"Apache-2.0"
] | 1 | 2021-11-24T14:36:07.000Z | 2021-11-24T14:36:07.000Z | using JetBrains.Annotations;
namespace Sprite.Security.Permissions
{
public interface IPermissionsProvideContext
{
PermissionGroup AddGroup([NotNull] string name);
}
} | 21 | 56 | 0.740741 |
77cc309f49776655e522461289a87c43a3c33b76 | 557 | cs | C# | SimpleWebAPIApp/Areas/Identity/Models/ApiAuthUser.cs | stevenlsjr/SimpleWebApiApp | 358b4f2cdb074aa87f050fac3155285566a9dafc | [
"MIT"
] | null | null | null | SimpleWebAPIApp/Areas/Identity/Models/ApiAuthUser.cs | stevenlsjr/SimpleWebApiApp | 358b4f2cdb074aa87f050fac3155285566a9dafc | [
"MIT"
] | null | null | null | SimpleWebAPIApp/Areas/Identity/Models/ApiAuthUser.cs | stevenlsjr/SimpleWebApiApp | 358b4f2cdb074aa87f050fac3155285566a9dafc | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using SimpleWebAPIApp.Models;
namespace SimpleWebAPIApp.Areas.Identity.Models
{
// Add profile data for application users by add... | 24.217391 | 91 | 0.745063 |
95994dc42213ff96482d5ad6ab8f16d50e31c71c | 10,265 | cs | C# | src/Payments.Core/Domain/Invoice.cs | ucdavis/payments | c9ee57801f1f51c7605cbcf646b2dfa5d9405671 | [
"MIT"
] | null | null | null | src/Payments.Core/Domain/Invoice.cs | ucdavis/payments | c9ee57801f1f51c7605cbcf646b2dfa5d9405671 | [
"MIT"
] | 130 | 2016-11-30T17:33:10.000Z | 2022-02-17T22:26:35.000Z | src/Payments.Core/Domain/Invoice.cs | ucdavis/payments | c9ee57801f1f51c7605cbcf646b2dfa5d9405671 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Newtonsoft.Json;
using Payments.Core.Extensions;
namespace Payments.Core.... | 32.381703 | 118 | 0.506771 |
f49942bf8b8d78d641937ed06169ee8745b4f543 | 7,072 | cs | C# | GVFS/GVFS.Common/Git/GVFSGitObjects.cs | sniperkit/snk.fork.VFSForGit | 8c11e793397ed83e4df11915473d76d2e58cc89b | [
"MIT"
] | null | null | null | GVFS/GVFS.Common/Git/GVFSGitObjects.cs | sniperkit/snk.fork.VFSForGit | 8c11e793397ed83e4df11915473d76d2e58cc89b | [
"MIT"
] | null | null | null | GVFS/GVFS.Common/Git/GVFSGitObjects.cs | sniperkit/snk.fork.VFSForGit | 8c11e793397ed83e4df11915473d76d2e58cc89b | [
"MIT"
] | null | null | null | /*
Sniperkit-Bot
- Status: analyzed
*/
using GVFS.Common.Http;
using GVFS.Common.Tracing;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Threading;
namespace GVFS.Common.Git
{
public class GVFSGitObjects : GitObjects... | 41.116279 | 160 | 0.561793 |
c4b924114195b453922a6ee6d68cfebed088e075 | 426 | cs | C# | TinyMVVM/Utility/Singleton.cs | JensKrumsieck/TinyMVVM | b85f8d7ddccf6d35a7624fba529b75df688baf37 | [
"MIT"
] | 1 | 2021-01-24T22:30:57.000Z | 2021-01-24T22:30:57.000Z | TinyMVVM/Utility/Singleton.cs | JensKrumsieck/TinyMVVM | b85f8d7ddccf6d35a7624fba529b75df688baf37 | [
"MIT"
] | 5 | 2021-10-01T13:01:07.000Z | 2022-03-01T13:01:50.000Z | TinyMVVM/Utility/Singleton.cs | JensKrumsieck/TinyMVVM | b85f8d7ddccf6d35a7624fba529b75df688baf37 | [
"MIT"
] | null | null | null | using System;
namespace TinyMVVM.Utility
{
/// <summary>
/// small singleton implementation
/// </summary>
/// <typeparam name="T"></typeparam>
public abstract class Singleton<T> where T : new()
{
private static readonly Lazy<T> Lazy = new Lazy<T>(() => new T());
/// <summary>... | 22.421053 | 74 | 0.551643 |
9384551dbbb438e13c9bca267dbe0dc33e42d1e3 | 1,116 | cs | C# | beginner/ClaseObject/Program.cs | FranckEnriquez/learning-C | f6a1d4d0a66a444d0ff3c85b161ff65ddd114c4c | [
"MIT"
] | null | null | null | beginner/ClaseObject/Program.cs | FranckEnriquez/learning-C | f6a1d4d0a66a444d0ff3c85b161ff65ddd114c4c | [
"MIT"
] | null | null | null | beginner/ClaseObject/Program.cs | FranckEnriquez/learning-C | f6a1d4d0a66a444d0ff3c85b161ff65ddd114c4c | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClaseObject
{
class Program
{
static void Main(string[] args)
{
Persona p1 = new Persona("John", 31);
Persona p2 = new Persona("John", 31);
... | 29.368421 | 63 | 0.56362 |
592c2b3d08c2006621b9dd8009a52e1172cc088c | 9,492 | cs | C# | MPT/Math/MPT.Math/Offset3D.cs | MarkPThomas/MPT.Net | 03dd160cb173a1a0f1c467ae86a1fcade4676534 | [
"MIT"
] | null | null | null | MPT/Math/MPT.Math/Offset3D.cs | MarkPThomas/MPT.Net | 03dd160cb173a1a0f1c467ae86a1fcade4676534 | [
"MIT"
] | null | null | null | MPT/Math/MPT.Math/Offset3D.cs | MarkPThomas/MPT.Net | 03dd160cb173a1a0f1c467ae86a1fcade4676534 | [
"MIT"
] | 1 | 2021-01-06T01:47:47.000Z | 2021-01-06T01:47:47.000Z | // ***********************************************************************
// Assembly : MPT.Math
// Author : Mark Thomas
// Created : 12-09-2017
//
// Last Modified By : Mark Thomas
// Last Modified On : 12-10-2017
// ***********************************************************************
/... | 33.9 | 140 | 0.493995 |
804603172958fa30bdfffa3b473d79815ddf4f91 | 153 | cs | C# | UnityCourse2022-Standard/Assets/_Project/Scripts/Bullet.cs | nenjiru/UnityCourse2022-Assembled | c7563116d592dc07a986fd0bb7978d7741a3967a | [
"MIT"
] | null | null | null | UnityCourse2022-Standard/Assets/_Project/Scripts/Bullet.cs | nenjiru/UnityCourse2022-Assembled | c7563116d592dc07a986fd0bb7978d7741a3967a | [
"MIT"
] | null | null | null | UnityCourse2022-Standard/Assets/_Project/Scripts/Bullet.cs | nenjiru/UnityCourse2022-Assembled | c7563116d592dc07a986fd0bb7978d7741a3967a | [
"MIT"
] | null | null | null | using UnityEngine;
public class Bullet : MonoBehaviour
{
public float time = 5f;
void Start()
{
Destroy(gameObject, time);
}
}
| 12.75 | 35 | 0.607843 |
dc7f7540f971cbbbf44380a11493c8350e6cf036 | 28,152 | cs | C# | Extensions/LuaBuildEvents.FTP/LuaFtpClient.cs | jpdante/LuaBuildEvents | 83ef71a81b332ce0bb6ffc91d04f65801f6ec879 | [
"MIT"
] | null | null | null | Extensions/LuaBuildEvents.FTP/LuaFtpClient.cs | jpdante/LuaBuildEvents | 83ef71a81b332ce0bb6ffc91d04f65801f6ec879 | [
"MIT"
] | 8 | 2019-10-01T15:36:23.000Z | 2020-12-11T01:15:39.000Z | Extensions/LuaBuildEvents.FTP/LuaFtpClient.cs | jpdante/LuaBuildEvents | 83ef71a81b332ce0bb6ffc91d04f65801f6ec879 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Security.Authentication;
using System.Text;
using FluentFTP;
using FluentFTP.Rules;
using LuaBuildEvents.lua.io;
using LuaBuildEvents.lua.net;
using MoonSharp.Interpreter;
using MoonSharp.Inter... | 51.56044 | 246 | 0.662688 |
739f2d2d55df9bae8b75ff0edc3578f15d44d33f | 4,322 | cs | C# | D2DataAccess/D2DataAccess/Destiny2Api.cs | BaileysBlog/Destiny2-PartyViewer | 915c0aafefcb732403ccf985d0a38b8a18f328ba | [
"MIT"
] | 2 | 2018-09-20T22:17:30.000Z | 2019-05-05T22:07:08.000Z | D2DataAccess/D2DataAccess/Destiny2Api.cs | BaileysBlog/Destiny2-PartyViewer | 915c0aafefcb732403ccf985d0a38b8a18f328ba | [
"MIT"
] | null | null | null | D2DataAccess/D2DataAccess/Destiny2Api.cs | BaileysBlog/Destiny2-PartyViewer | 915c0aafefcb732403ccf985d0a38b8a18f328ba | [
"MIT"
] | 1 | 2019-06-24T12:05:41.000Z | 2019-06-24T12:05:41.000Z | using D2DataAccess.Models;
using D2DataAccess.SqLite;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Text;
using D2DataAccess.Extensions;
using System.Threading.Tasks;
using System.Linq;
using System.Diagnostics;
namespace D2DataAccess.Data
{
public partial cl... | 35.42623 | 161 | 0.611985 |
b2bf32ba202c4d11196830949d669cc6fffcfe21 | 1,411 | cs | C# | src/Plcway.Communication/Basic/SoftZipped.cs | mickeygo/Plcway.NET | 94238efdde930be8bcb0e25b7e31f29985a0179f | [
"MIT"
] | null | null | null | src/Plcway.Communication/Basic/SoftZipped.cs | mickeygo/Plcway.NET | 94238efdde930be8bcb0e25b7e31f29985a0179f | [
"MIT"
] | null | null | null | src/Plcway.Communication/Basic/SoftZipped.cs | mickeygo/Plcway.NET | 94238efdde930be8bcb0e25b7e31f29985a0179f | [
"MIT"
] | null | null | null | using System;
using System.IO;
using System.IO.Compression;
namespace Plcway.Communication.Basic
{
/// <summary>
/// 一个负责压缩解压数据字节的类
/// </summary>
public class SoftZipped
{
/// <summary>
/// 压缩字节数据
/// </summary>
/// <param name="bytes">等待被压缩的数据</param>
/// <exception cref="ArgumentNullException"></exce... | 23.131148 | 82 | 0.64635 |
40ae350079e5637c200e21d8e8d7d3cf18b9e456 | 3,131 | cs | C# | CustomTranslatorCLI/SDK/Models/TranslatorFileInfo.cs | AndyCW/Azure-Custom-Translator-CLI | 7b126e5486abd99c51067a22e924862dde170d8a | [
"MIT"
] | 2 | 2020-08-24T10:52:02.000Z | 2020-11-26T15:02:50.000Z | CustomTranslatorCLI/SDK/Models/TranslatorFileInfo.cs | AndyCW/Azure-Custom-Translator-CLI | 7b126e5486abd99c51067a22e924862dde170d8a | [
"MIT"
] | null | null | null | CustomTranslatorCLI/SDK/Models/TranslatorFileInfo.cs | AndyCW/Azure-Custom-Translator-CLI | 7b126e5486abd99c51067a22e924862dde170d8a | [
"MIT"
] | null | null | null | // <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace CustomTranslator.Models
{
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// A class for the f... | 32.614583 | 256 | 0.573619 |
e5e931c1dd330837fc2384cb6b5898a049aac92d | 1,790 | cs | C# | Assets/TouchScript/Scripts/Utils/EventHandlerExtensions.cs | Jashengmato/TUIOSimulator | 08d297a9af04292a86b32b5b3df7ba32b52582fb | [
"MIT"
] | 1,288 | 2015-01-02T03:14:38.000Z | 2022-03-19T22:07:37.000Z | Source/Assets/TouchScript/Scripts/Utils/EventHandlerExtensions.cs | antoniohof/TouchScript | 74f58155ddcd42c0a37428f2dd6814e05ec70215 | [
"MIT"
] | 227 | 2015-01-11T14:48:05.000Z | 2022-03-29T09:46:59.000Z | Source/Assets/TouchScript/Scripts/Utils/EventHandlerExtensions.cs | antoniohof/TouchScript | 74f58155ddcd42c0a37428f2dd6814e05ec70215 | [
"MIT"
] | 319 | 2015-01-09T23:31:53.000Z | 2022-03-16T10:45:07.000Z | /*
* @author DenizPiri / denizpiri@hotmail.com
* @author Valentin Simonov / http://va.lent.in/
*/
using System;
using UnityEngine;
namespace TouchScript.Utils
{
/// <summary>
/// Extension methods for event handling.
/// </summary>
public static class EventHandlerExtensions
{
/// <summa... | 29.833333 | 112 | 0.512291 |
f9347571899de82e34635b356bb60d361278c256 | 351 | cs | C# | Tests/MichelTestCommunicationBetweenObjects/Assets/CallCylinder.cs | schas2/Project1 | feabd55e268507187bc57abf1a7589efbc7dffe9 | [
"MIT"
] | 1 | 2016-10-26T14:37:20.000Z | 2016-10-26T14:37:20.000Z | Tests/MichelTestCommunicationBetweenObjects/Assets/CallCylinder.cs | schas2/Project1 | feabd55e268507187bc57abf1a7589efbc7dffe9 | [
"MIT"
] | 26 | 2016-09-28T16:42:00.000Z | 2017-01-22T10:14:10.000Z | Tests/MichelTestCommunicationBetweenObjects/Assets/CallCylinder.cs | schas2/Project1 | feabd55e268507187bc57abf1a7589efbc7dffe9 | [
"MIT"
] | null | null | null | using UnityEngine;
using System.Collections;
public class CallCylinder : MonoBehaviour {
public GameObject otherObject;
// Update is called once per frame
void Update () {
if (Input.GetKeyUp(KeyCode.Space)){
Debug.Log ("click");
otherObject.SendMessage ("ichRufeDich");
otherObject.SendMessage ("ichRufe... | 21.9375 | 57 | 0.726496 |
a620fe640ac2cdc553494e3f84b7152a4f5eab01 | 5,663 | cs | C# | tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/PackageVersions.g.cs | theletterf/signalfx-dotnet-tracing | 0f28ca48356925dc881062f49768cf8a882126c1 | [
"Apache-2.0"
] | null | null | null | tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/PackageVersions.g.cs | theletterf/signalfx-dotnet-tracing | 0f28ca48356925dc881062f49768cf8a882126c1 | [
"Apache-2.0"
] | null | null | null | tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/PackageVersions.g.cs | theletterf/signalfx-dotnet-tracing | 0f28ca48356925dc881062f49768cf8a882126c1 | [
"Apache-2.0"
] | null | null | null | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by the GeneratePackageVersions tool. To safely
// modify this file, edit PackageVersionsGeneratorDefinitions.json and
// re-run the GeneratePackageVersions project in Visual Studio... | 69.060976 | 204 | 0.788275 |
01f4f70be87941becf72630694e38721a3dfc8d0 | 1,686 | cs | C# | examples/sequence-of-numbers/main.cs | IonicaBizau/learning-c-sharp | dd3f43406194ad013323671867a05b35d2867b29 | [
"MIT"
] | 5 | 2016-09-09T10:28:25.000Z | 2018-10-06T10:04:37.000Z | examples/sequence-of-numbers/main.cs | IonicaBizau/learning-c-sharp | dd3f43406194ad013323671867a05b35d2867b29 | [
"MIT"
] | 1 | 2015-06-10T12:42:18.000Z | 2015-06-10T12:42:18.000Z | examples/sequence-of-numbers/main.cs | IonicaBizau/learning-c-sharp | dd3f43406194ad013323671867a05b35d2867b29 | [
"MIT"
] | 4 | 2015-06-10T04:39:09.000Z | 2016-06-01T23:31:29.000Z | /**
* Usage:
* ./Sequence.exe <n>
* Where <n> should be an integer greater than 0.
*
* </> with <3 and C# by Ionică Bizău
* */
using System;
namespace Sequence {
class Sequence {
static void printNumber (int x, bool end) {
Console.Write("{0}" + (end ? "\n" : ", "), x);
}
... | 23.416667 | 82 | 0.298339 |
873551581daf2cd2fd4e0e9b579e742870c5e2c2 | 1,287 | cs | C# | resharper/resharper-unity/src/Yaml/Feature/Services/Occurrences/UnityYamlOccurrenceKindProvider.cs | akarpov89/resharper-unity | f3825fe8a06977ad9a0d30629eaff3eb975d7a39 | [
"Apache-2.0"
] | null | null | null | resharper/resharper-unity/src/Yaml/Feature/Services/Occurrences/UnityYamlOccurrenceKindProvider.cs | akarpov89/resharper-unity | f3825fe8a06977ad9a0d30629eaff3eb975d7a39 | [
"Apache-2.0"
] | null | null | null | resharper/resharper-unity/src/Yaml/Feature/Services/Occurrences/UnityYamlOccurrenceKindProvider.cs | akarpov89/resharper-unity | f3825fe8a06977ad9a0d30629eaff3eb975d7a39 | [
"Apache-2.0"
] | null | null | null | using System.Collections.Generic;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Feature.Services.Occurrences;
using JetBrains.ReSharper.Plugins.Unity.Yaml.Psi.Resolve;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Unity.Yaml.Feature.Services.Occurrences
{
[SolutionComponent]
public clas... | 39 | 85 | 0.696193 |
e9b398fcd8d47284b6f08e4240bf78788cae6fba | 350 | cs | C# | RegistrationProcess/Framework/Repositories/StudentRepository.cs | sarwar1072/SRegisProcess | e269a3940c23e96cd48362d1ff5c56f632a4fc51 | [
"Apache-2.0"
] | null | null | null | RegistrationProcess/Framework/Repositories/StudentRepository.cs | sarwar1072/SRegisProcess | e269a3940c23e96cd48362d1ff5c56f632a4fc51 | [
"Apache-2.0"
] | null | null | null | RegistrationProcess/Framework/Repositories/StudentRepository.cs | sarwar1072/SRegisProcess | e269a3940c23e96cd48362d1ff5c56f632a4fc51 | [
"Apache-2.0"
] | null | null | null | using DataAccess;
using Framework.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace Framework.Repositories
{
public class StudentRepository :Repository<Student,int,SMDbContext>,IStudentRepository
{
public StudentRepository(SMDbContext sMDbContext):base(sMDbContext)... | 20.588235 | 90 | 0.74 |
47d0995120d0b6e6d39bfb16c12ff28356990d96 | 1,741 | cs | C# | src/Fap.Core/Rbac/AC/RoleButtonSet.cs | 48355746/FapCore3.0 | a94d605978fa5d42a6186109304dfb0af0af8306 | [
"Apache-2.0"
] | 26 | 2020-04-04T13:50:51.000Z | 2022-03-31T12:29:26.000Z | src/Fap.Core/Rbac/AC/RoleButtonSet.cs | luomingui/FapCore3.0 | a94d605978fa5d42a6186109304dfb0af0af8306 | [
"Apache-2.0"
] | 3 | 2020-04-11T08:21:28.000Z | 2021-02-17T22:43:35.000Z | src/Fap.Core/Rbac/AC/RoleButtonSet.cs | luomingui/FapCore3.0 | a94d605978fa5d42a6186109304dfb0af0af8306 | [
"Apache-2.0"
] | 18 | 2020-04-07T08:08:10.000Z | 2022-03-24T09:19:32.000Z | using Fap.Core.DataAccess;
using Fap.Core.Rbac.Model;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Fap.Core.Rbac.AC
{
public class RoleButtonSet : IRoleButtonSet
{
private IEnumerable<FapRoleButton> fapRoleButtons;
pr... | 25.231884 | 107 | 0.526709 |
f8a4446484e70b2f15a132419da97fc0b5118f6c | 1,331 | cs | C# | FESoftware/ElementMaterialSelection.cs | Yeuyo/FESoftware | 186ccab4ab357f812372f726ade656014e9411d9 | [
"MIT"
] | null | null | null | FESoftware/ElementMaterialSelection.cs | Yeuyo/FESoftware | 186ccab4ab357f812372f726ade656014e9411d9 | [
"MIT"
] | null | null | null | FESoftware/ElementMaterialSelection.cs | Yeuyo/FESoftware | 186ccab4ab357f812372f726ade656014e9411d9 | [
"MIT"
] | 1 | 2021-02-11T04:28:50.000Z | 2021-02-11T04:28:50.000Z | 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 FESoftware
{
public partial class ElementMaterialSelection : Form
{
... | 33.275 | 208 | 0.593539 |
b966a25997461d775b5e383c85945e316fe4bf26 | 1,765 | cs | C# | Assets/Quadspace/UI/MatchControlPanel.cs | SoRA-X7/Quadspace | 739836d18857e1175f072cb6578cea8941766568 | [
"MIT"
] | 4 | 2021-05-21T10:45:33.000Z | 2021-07-13T08:33:36.000Z | Assets/Quadspace/UI/MatchControlPanel.cs | SoRA-X7/Quadspace | 739836d18857e1175f072cb6578cea8941766568 | [
"MIT"
] | null | null | null | Assets/Quadspace/UI/MatchControlPanel.cs | SoRA-X7/Quadspace | 739836d18857e1175f072cb6578cea8941766568 | [
"MIT"
] | null | null | null | using System;
using Quadspace.Game;
using UnityEngine;
using UnityEngine.UI;
namespace Quadspace.Quadspace.UI {
public class MatchControlPanel : MonoBehaviour {
[SerializeField] private Button startButton;
[SerializeField] private Button restartButton;
[SerializeField] private Button pauseB... | 37.553191 | 113 | 0.662323 |
b0b0a34b90e31d16094d4b679f9d8a913e8fd672 | 766 | cs | C# | src/DesignPatterns.Collection/Creational/FactoryMethod/Creators/Concrete/OracleFactory.cs | falberthen/DesignPatterns.Collection | 6a4fafa1dbfb1d7bd0a37f99d3e250c8d41a6d81 | [
"MIT"
] | 4 | 2020-09-29T02:53:29.000Z | 2022-03-13T09:45:57.000Z | src/DesignPatterns.Collection/Creational/FactoryMethod/Creators/Concrete/OracleFactory.cs | falberthen/DesignPatterns.Collection | 6a4fafa1dbfb1d7bd0a37f99d3e250c8d41a6d81 | [
"MIT"
] | null | null | null | src/DesignPatterns.Collection/Creational/FactoryMethod/Creators/Concrete/OracleFactory.cs | falberthen/DesignPatterns.Collection | 6a4fafa1dbfb1d7bd0a37f99d3e250c8d41a6d81 | [
"MIT"
] | 2 | 2021-06-15T10:44:03.000Z | 2021-11-15T14:31:05.000Z | using DesignPatterns.Creational.FactoryMethod.Creators.Abstract;
using DesignPatterns.Creational.FactoryMethod.Products.Abstract;
using DesignPatterns.Creational.FactoryMethod.Products.Concrete;
using System;
using System.Collections.Generic;
using System.Text;
namespace DesignPatterns.Creational.FactoryMethod.Creato... | 29.461538 | 76 | 0.689295 |
dedfad0025704241edad84ab0ddeadf85e846cbb | 986 | cs | C# | Example.Infrastruct.Data/Bus/InMemoryBus.cs | futugyou/DDDExample | 5399a3da3e95bc703a7d2649fd95aeff4c032066 | [
"Apache-2.0"
] | 1 | 2019-06-07T11:42:06.000Z | 2019-06-07T11:42:06.000Z | Example.Infrastruct.Data/Bus/InMemoryBus.cs | futugyou/DDDExample | 5399a3da3e95bc703a7d2649fd95aeff4c032066 | [
"Apache-2.0"
] | null | null | null | Example.Infrastruct.Data/Bus/InMemoryBus.cs | futugyou/DDDExample | 5399a3da3e95bc703a7d2649fd95aeff4c032066 | [
"Apache-2.0"
] | null | null | null | using Christ.Domain.Core.Commands;
using Example.Domain.Core.Bus;
using Example.Domain.Core.Events;
using MediatR;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Example.Infrastruct.Data.Bus
{
public class InMemoryBus : IMediatorHandler
{
pri... | 27.388889 | 70 | 0.639959 |
dedfd16faf1cab726427c68be6a02bf6f12ef8d3 | 3,275 | cs | C# | TestSkeleton_Selenium.NET_Screenplay/Drivers/RemoteDriverProvider.cs | AidanDrage/TestSkeleton_Selenium.NET_Screenplay | 8764c785d8678c1d1354c8b49054efe94c7f0e5c | [
"MIT"
] | null | null | null | TestSkeleton_Selenium.NET_Screenplay/Drivers/RemoteDriverProvider.cs | AidanDrage/TestSkeleton_Selenium.NET_Screenplay | 8764c785d8678c1d1354c8b49054efe94c7f0e5c | [
"MIT"
] | null | null | null | TestSkeleton_Selenium.NET_Screenplay/Drivers/RemoteDriverProvider.cs | AidanDrage/TestSkeleton_Selenium.NET_Screenplay | 8764c785d8678c1d1354c8b49054efe94c7f0e5c | [
"MIT"
] | null | null | null | using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Edge;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Remote;
namespace TestSkeleton_Selenium.NET_Screenplay.Drivers
{
static class RemoteDriverProvider
{
public static DriverOptions GetRemoteBrowserOptions(string desiredB... | 44.863014 | 215 | 0.522137 |
269887aa00478ec29c70e5a2ece0246c49334f76 | 4,332 | cs | C# | Pulse.Common/Model/Agent/AbstractPulseAgent.cs | vladkar/pulse-project-open | d48166922038e6ede5f67e191393f6b9417d0eea | [
"MIT"
] | 1 | 2020-11-30T05:12:44.000Z | 2020-11-30T05:12:44.000Z | Pulse.Common/Model/Agent/AbstractPulseAgent.cs | vladkar/pulse-project-open | d48166922038e6ede5f67e191393f6b9417d0eea | [
"MIT"
] | 2 | 2019-12-13T07:54:23.000Z | 2019-12-28T23:30:00.000Z | Pulse.Common/Model/Agent/AbstractPulseAgent.cs | vladkar/pulse-project-open | d48166922038e6ede5f67e191393f6b9417d0eea | [
"MIT"
] | null | null | null | using System.Collections.Generic;
using NLog;
using Pulse.Common.DeltaStamp;
using Pulse.Common.Model.AgentScheduling.Current;
using Pulse.Common.Model.AgentScheduling.Current.Traveling;
using Pulse.Common.Model.Environment.Poi;
using Pulse.Common.Model.Environment.World;
using Pulse.Common.PluginSystem.Interface;
usin... | 34.110236 | 127 | 0.669437 |
ca200cb1dae8ac958feddb32d23b3c8667607f37 | 1,020 | cs | C# | Scripts/PowerUps/Effects/PowerUpSpeed.cs | StavFaran92/PiggyRun_Code | 05bec4e69249a89b31cf5c283d7f555f9cd6fd6b | [
"MIT"
] | 1 | 2020-11-03T09:51:06.000Z | 2020-11-03T09:51:06.000Z | Scripts/PowerUps/Effects/PowerUpSpeed.cs | StavFaran92/PiggyRun_Code | 05bec4e69249a89b31cf5c283d7f555f9cd6fd6b | [
"MIT"
] | null | null | null | Scripts/PowerUps/Effects/PowerUpSpeed.cs | StavFaran92/PiggyRun_Code | 05bec4e69249a89b31cf5c283d7f555f9cd6fd6b | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using static Assets.Scripts.PowerUpManager;
namespace Assets.Scripts.PowerUps.Effects
{
[CreateAssetMenu(fileName = "PowerUpSpeed", menuName = "PowerUps/PowerUpSpeed")]
class... | 20.816327 | 84 | 0.60098 |
c5b6aaec77fa52ebd0da1e9617b651d6f9c06290 | 833 | cs | C# | src/ImageSharp/Formats/Webp/Lossless/HuffIndex.cs | zznty/ImageSharp | cb3896a0475780b1b770083900b49cbb8483a976 | [
"Apache-2.0"
] | 1 | 2021-11-24T14:00:35.000Z | 2021-11-24T14:00:35.000Z | src/ImageSharp/Formats/Webp/Lossless/HuffIndex.cs | zznty/ImageSharp | cb3896a0475780b1b770083900b49cbb8483a976 | [
"Apache-2.0"
] | null | null | null | src/ImageSharp/Formats/Webp/Lossless/HuffIndex.cs | zznty/ImageSharp | cb3896a0475780b1b770083900b49cbb8483a976 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Formats.Webp.Lossless
{
/// <summary>
/// Five Huffman codes are used at each meta code.
/// </summary>
internal static class HuffIndex
{
/// <summary>
/// Green + length p... | 22.513514 | 60 | 0.5006 |
6a57f73c5a6e4adaaaee80b58385f907aee974e2 | 2,673 | cs | C# | Assets/Scripts/Bullet.cs | Dehaku/Zenthium-Heroes | be564effbf95ffdcc23d0cdb5598e16bff14ae8a | [
"MIT"
] | 2 | 2021-11-16T09:37:20.000Z | 2021-11-23T02:36:40.000Z | Assets/Scripts/Bullet.cs | codingwatching/Zenthium-Heroes | cf3942652a69345e94c551ee64140e17d071a25d | [
"MIT"
] | null | null | null | Assets/Scripts/Bullet.cs | codingwatching/Zenthium-Heroes | cf3942652a69345e94c551ee64140e17d071a25d | [
"MIT"
] | 1 | 2021-11-16T09:37:21.000Z | 2021-11-16T09:37:21.000Z | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bullet : MonoBehaviour
{
public GameObject muzzlePrefab;
public GameObject hitPrefab;
public float speed = 50;
public float knockbackForce = 50;
// Start is called before the first frame update
void Star... | 32.204819 | 117 | 0.601945 |
83cdd285ab371e238c2417bf7b0ecc8d931d579f | 1,915 | cshtml | C# | Views/Teacher/_Courses.cshtml | Incogner/Comp306-Lab03Mahdi | fee5f1a6dad9b57dd618a9c901027bb0e85aa9ef | [
"BSD-2-Clause"
] | null | null | null | Views/Teacher/_Courses.cshtml | Incogner/Comp306-Lab03Mahdi | fee5f1a6dad9b57dd618a9c901027bb0e85aa9ef | [
"BSD-2-Clause"
] | null | null | null | Views/Teacher/_Courses.cshtml | Incogner/Comp306-Lab03Mahdi | fee5f1a6dad9b57dd618a9c901027bb0e85aa9ef | [
"BSD-2-Clause"
] | null | null | null | @model IEnumerable<Lab03Mahdi.Models.Course>
@{
string url = ViewContext.HttpContext.Request.Path.ToUriComponent();
string fullUrl = "/Course/Drop?returnUrl=" + url + "&id=";
}
<p>
<a asp-action="ShowCourses" asp-controller="Course" asp-route-returnUrl="@url">Register to a Course</a>
@*<a asp-action="C... | 31.393443 | 110 | 0.519582 |
e6c586235ec79bd4bbdbcc0ccded3ce8389523b9 | 687 | cs | C# | decompiled/src/CarbonatedWater/DoctorBerryConfig.cs | ekfvoddl3536/OniMods | f80c4341a6de638a57393ceac14ad390b4907824 | [
"MIT"
] | 11 | 2019-04-25T01:28:25.000Z | 2022-02-19T04:32:42.000Z | decompiled/src/CarbonatedWater/DoctorBerryConfig.cs | ekfvoddl3536/OniMods | f80c4341a6de638a57393ceac14ad390b4907824 | [
"MIT"
] | 1 | 2019-04-24T13:52:05.000Z | 2019-04-25T01:19:34.000Z | decompiled/src/CarbonatedWater/DoctorBerryConfig.cs | ekfvoddl3536/OniMods | f80c4341a6de638a57393ceac14ad390b4907824 | [
"MIT"
] | 3 | 2019-04-25T01:25:38.000Z | 2021-09-10T08:17:37.000Z | using System;
using UnityEngine;
namespace CarbonatedWater
{
// Token: 0x0200000C RID: 12
public class DoctorBerryConfig : CarbonatedWaterBaseConfig
{
// Token: 0x0600001D RID: 29 RVA: 0x0000285C File Offset: 0x00000A5C
public override GameObject CreatePrefab()
{
return EntityTemplates.ExtendEn... | 36.157895 | 315 | 0.756914 |
e6d025171707cbcbbf5a0008d949c7656b9453df | 293 | cs | C# | DNN Platform/Dnn.DynamicContent/Common/IDateUtilitiesManager.cs | raphael-m/Dnn.Platform | 5a53251489c945bb0c9bd1abc514f0753b198e50 | [
"MIT"
] | 2 | 2021-04-17T20:01:04.000Z | 2021-06-29T17:24:03.000Z | DNN Platform/Dnn.DynamicContent/Common/IDateUtilitiesManager.cs | 51Degrees/Dnn.Platform | d6859784c0d716137fd491e38f15b2d886f3c66b | [
"MIT"
] | null | null | null | DNN Platform/Dnn.DynamicContent/Common/IDateUtilitiesManager.cs | 51Degrees/Dnn.Platform | d6859784c0d716137fd491e38f15b2d886f3c66b | [
"MIT"
] | 1 | 2021-02-21T17:44:02.000Z | 2021-02-21T17:44:02.000Z | // Copyright (c) DNN Software. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
namespace Dnn.DynamicContent.Common
{
public interface IDateUtilitiesManager
{
DateTime GetDatabaseTime();
}
}
| 20.928571 | 91 | 0.726962 |
fa8692968e1823c7eb52f18d6bac5af5742c9ee6 | 486 | cs | C# | RightpointLabs.Tracker.Infrastructure/Persistence/Collections/DeviceSnapshotCollectionDefinition.cs | jorupp/tracker | 797acc55127aef9751ba6f1ac2e0e6668bf9592a | [
"MIT"
] | null | null | null | RightpointLabs.Tracker.Infrastructure/Persistence/Collections/DeviceSnapshotCollectionDefinition.cs | jorupp/tracker | 797acc55127aef9751ba6f1ac2e0e6668bf9592a | [
"MIT"
] | null | null | null | RightpointLabs.Tracker.Infrastructure/Persistence/Collections/DeviceSnapshotCollectionDefinition.cs | jorupp/tracker | 797acc55127aef9751ba6f1ac2e0e6668bf9592a | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RightpointLabs.Tracker.Domain.Models;
namespace RightpointLabs.Tracker.Infrastructure.Persistence.Collections
{
public class DeviceSnapshotCollectionDefinition : EntityCollectionDefinition<Dev... | 28.588235 | 118 | 0.792181 |
f9ebf22db36037c46675f1ffa512a3ff4f3f5c08 | 6,734 | cs | C# | PythonIntegration/PyScript.cs | Redhacker1/Raylib-cs_PyScript | 02a431bd14cac378efa6afcc061916fbb75ae525 | [
"Zlib"
] | null | null | null | PythonIntegration/PyScript.cs | Redhacker1/Raylib-cs_PyScript | 02a431bd14cac378efa6afcc061916fbb75ae525 | [
"Zlib"
] | null | null | null | PythonIntegration/PyScript.cs | Redhacker1/Raylib-cs_PyScript | 02a431bd14cac378efa6afcc061916fbb75ae525 | [
"Zlib"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using Python.Runtime;
using RaylibTest.MainAssembly;
namespace RaylibTest.Python
{
class PyScript
{
readonly GameIO IOlib = new GameIO();
public string Contents;
public string Filename;
public string FullPath;
... | 33.172414 | 107 | 0.488862 |
75eda0af6e5e70c4122693c45569f8265ff94898 | 2,534 | cs | C# | Tornado.Parser/PoeTrade/PoeTradeClient.cs | kiruxak/tornado | 318f75954b766af5bf2870dbd0e7e6629caacfb5 | [
"MIT"
] | 1 | 2017-08-31T15:40:38.000Z | 2017-08-31T15:40:38.000Z | Tornado.Parser/PoeTrade/PoeTradeClient.cs | kiruxak/tornado | 318f75954b766af5bf2870dbd0e7e6629caacfb5 | [
"MIT"
] | null | null | null | Tornado.Parser/PoeTrade/PoeTradeClient.cs | kiruxak/tornado | 318f75954b766af5bf2870dbd0e7e6629caacfb5 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using Tornado.Common.Utility;
using Tornado.Parser.PoeTrade.Data;
using Tornado.Parser.PoeTrade.Response;
namespace Tornado... | 40.222222 | 150 | 0.652723 |
c76e94ab35d76c817657e4cf6afac5019f46aa3d | 119 | cs | C# | src/Chic.Domain.Abstractions/IDomainEvent.cs | huhouhua/Chic | ad8ca077825a54407eb58abf9e0eb892ff4123e1 | [
"Apache-2.0"
] | 8 | 2020-08-19T07:36:00.000Z | 2020-12-14T03:39:22.000Z | src/Chic.Domain.Abstractions/IDomainEvent.cs | huhouhua/Chic | ad8ca077825a54407eb58abf9e0eb892ff4123e1 | [
"Apache-2.0"
] | null | null | null | src/Chic.Domain.Abstractions/IDomainEvent.cs | huhouhua/Chic | ad8ca077825a54407eb58abf9e0eb892ff4123e1 | [
"Apache-2.0"
] | null | null | null | using MediatR;
namespace Chic.Domain.Abstractions
{
public interface IDomainEvent : INotification
{
}
} | 11.9 | 49 | 0.697479 |
546444cc55eea0abbb738078cbc578833648e169 | 6,246 | cs | C# | sdk/dotnet/FrontDoor/CustomHttpsConfiguration.cs | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 109 | 2018-06-18T00:19:44.000Z | 2022-02-20T05:32:57.000Z | sdk/dotnet/FrontDoor/CustomHttpsConfiguration.cs | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 663 | 2018-06-18T21:08:46.000Z | 2022-03-31T20:10:11.000Z | sdk/dotnet/FrontDoor/CustomHttpsConfiguration.cs | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 41 | 2018-07-19T22:37:38.000Z | 2022-03-14T10:56:26.000Z | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 45.926471 | 274 | 0.667147 |
d1bec7dea3ec3cf864ff5d7846168d617e7b7d4c | 552 | cs | C# | Models/Models/Aplicativo.cs | IDX-Sistemas/S4-Varejo-Backend | b76fdc8b74854594cd4424f5b1067480b28aff16 | [
"Unlicense"
] | null | null | null | Models/Models/Aplicativo.cs | IDX-Sistemas/S4-Varejo-Backend | b76fdc8b74854594cd4424f5b1067480b28aff16 | [
"Unlicense"
] | null | null | null | Models/Models/Aplicativo.cs | IDX-Sistemas/S4-Varejo-Backend | b76fdc8b74854594cd4424f5b1067480b28aff16 | [
"Unlicense"
] | 1 | 2019-11-25T18:22:42.000Z | 2019-11-25T18:22:42.000Z | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace IdxSistemas.Models
{
public class Aplicativo
{
[Key]
[Required, MaxLength(200)]
public string Codigo { get; set... | 20.444444 | 51 | 0.637681 |
cabccc2e420855a65c57aa397f427efc87f5202c | 1,553 | cs | C# | NanoSoft.Wpf/Mvvm/BindableBase.cs | NanoSoftLy/NanoSoft | 35358f81e8c5a385a64a986baf5bfb5e82d99532 | [
"Apache-2.0"
] | null | null | null | NanoSoft.Wpf/Mvvm/BindableBase.cs | NanoSoftLy/NanoSoft | 35358f81e8c5a385a64a986baf5bfb5e82d99532 | [
"Apache-2.0"
] | 8 | 2019-04-10T13:04:50.000Z | 2019-04-10T13:04:51.000Z | NanoSoft.Wpf/Mvvm/BindableBase.cs | NanoSoftLy/NanoSoft | 35358f81e8c5a385a64a986baf5bfb5e82d99532 | [
"Apache-2.0"
] | null | null | null | using JetBrains.Annotations;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace NanoSoft.Wpf.Mvvm
{
public abstract class BindableBase : INotifyPropertyChanged
{
protected virtual void SetProperty<T>(ref T member, T value, [CallerMemberName] string propertyName = null)
... | 34.511111 | 115 | 0.656793 |
843e9150bddd8a6d21ae9cf3bb2d81abcf8a2149 | 2,404 | cs | C# | src/mapsforge/Header/SubFileParameter.cs | bertt/mapsforge-cs | 9e65d19dc4925d5667851ee9a72b92db6a2439c5 | [
"MIT"
] | null | null | null | src/mapsforge/Header/SubFileParameter.cs | bertt/mapsforge-cs | 9e65d19dc4925d5667851ee9a72b92db6a2439c5 | [
"MIT"
] | 1 | 2018-01-30T21:25:37.000Z | 2018-01-31T23:05:21.000Z | src/mapsforge/Header/SubFileParameter.cs | bertt/mapsforge-cs | 9e65d19dc4925d5667851ee9a72b92db6a2439c5 | [
"MIT"
] | null | null | null | using Tiles.Tools;
namespace Mapsforge.Header
{
public class SubFileParameter
{
public const sbyte BYTES_PER_INDEX_ENTRY = 5;
public readonly sbyte BaseZoomLevel;
public readonly long BlocksHeight;
public readonly long BlocksWidth;
public readonly long BoundaryTileBottom;
public readonly long BoundaryTi... | 38.774194 | 143 | 0.757903 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.