content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
using System;
using CNTK;
namespace SiaNet.Model.Initializers
{
/// <summary>
/// He uniform variance scaling initializer. It draws samples from a uniform distribution within[-limit, limit] where
/// limit is sqrt(6 / fan_in) where fan_in is the number of input units in the weight tensor.
/// ... | 29.671141 | 125 | 0.510292 | [
"MIT"
] | falahati/SiaNet | SiaNet/Model/Initializers/HeUniform.cs | 4,423 | C# |
using IceCoffee.Wpf.MvvmFrame.Command;
using IceCoffee.Wpf.MvvmFrame.NotifyPropertyChanged;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TianYiSdtdServerTools.Client.Models.ConsoleTempList;
using TianYiSdtdServerTools.Client.Services.UI;
usi... | 33.096154 | 138 | 0.594034 | [
"MIT"
] | 1249993110/TianYiSdtdServerTools | Client/ViewModels/ControlPanel/PermissionManagementViewModel.cs | 5,233 | C# |
using UnityEngine;
using System.Collections;
public class AN_InvitationInboxCloseResult : MonoBehaviour {
private AdroidActivityResultCodes _resultCode;
public AN_InvitationInboxCloseResult(string result) {
_resultCode = (AdroidActivityResultCodes) System.Convert.ToInt32(result);
}
public AdroidActi... | 23.235294 | 76 | 0.76962 | [
"Apache-2.0"
] | DougLazyAngus/lazyAngus | LazyAngus/Assets/Extensions/GooglePlayCommon/Models/Results/Invitations/AN_InvitationInboxCloseResult.cs | 397 | C# |
namespace BlogEngine.Core.Web.Extensions
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Serialization;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
/// <summary>
/// Serializable object that holds extension,
/// e... | 34.504451 | 153 | 0.512384 | [
"Unlicense"
] | Solotzy/Analysis-of-BlogEngine.NET | BlogEngine/BlogEngine.Core/Web/Extensions/ManagedExtension.cs | 11,630 | C# |
using System;
using System.Activities;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace EnvironmentFunctions
{
public sealed class EnvironmentVariables : CodeActivity
{
public enum F... | 28.80292 | 76 | 0.460213 | [
"Apache-2.0"
] | aibotstechrepo/AiBotsStudio | EnvironmentFunctions/EnvironmentVariables.cs | 3,948 | C# |
// <copyright file="GestureTests.cs" company="Automate The Planet Ltd.">
// Copyright 2018 Automate The Planet Ltd.
// 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/lice... | 39.414141 | 120 | 0.657355 | [
"Apache-2.0"
] | FrancielleWN/AutomateThePlanet-Learning-Series | Appium-Series/GettingStartedAppiumAndroidMacCSharp/GestureTests.cs | 3,902 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraController : MonoBehaviour
{
private GameObject player;
private Vector3 offset;
void Start()
{
player = GameObject.FindGameObjectWithTag("Player");
if (player != null)
{
... | 18.642857 | 64 | 0.626437 | [
"MIT"
] | YuriyKnysh20/IsabellasAdventures1 | Assets/Scripts/CameraController.cs | 522 | C# |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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://w... | 42.142857 | 87 | 0.610169 | [
"MIT"
] | kiranisaac/azure-powershell | src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/Constants.cs | 1,443 | C# |
using ModernFlyouts.Core.Interop;
using System;
namespace ModernFlyouts.Core.Utilities
{
public static class NpsmService
{
private static readonly ulong WNF_NPSM_SERVICE_STARTED = 0xC951E23A3BC0875;
private static readonly ulong WNF_SHEL_SESSION_LOGON_COMPLETE = 0xD83063EA3BE3835;
pri... | 32.116667 | 152 | 0.545407 | [
"MIT"
] | Alipoodle/ModernFlyouts | ModernFlyouts.Core/Utilities/NpsmService.cs | 1,929 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ahb... | 37.837838 | 84 | 0.746429 | [
"Apache-2.0"
] | JamilAbbas787/ahbc_dotnet_201810 | Ahbc.Class.Seven/Ahbc.Class.Seven/Properties/AssemblyInfo.cs | 1,403 | C# |
using System;
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEngine;
#if UNITY_EDITOR
public static class PackageExporter
{
[MenuItem("Tools/Export Unitypackage")]
public static void Export()
{
var root = "Scripts/ZString";
var version = GetVersion(root);
var fi... | 34.135802 | 138 | 0.590958 | [
"MIT"
] | UWA-MakeItSimple/Terrain | Assets/Scripts/ZString/Editor/PackageExporter.cs | 2,767 | C# |
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL)
// <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat... | 46.252632 | 1,358 | 0.590692 | [
"MIT"
] | Kusnaditjung/MimDms | src/Mim.V6301/Generated/POCD_IN180006UK02.cs | 8,788 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace SpartaGlobalAPI.Models
{
public partial class Course
{
public Course()
{
Students = new List<Student>();
}
public int CourseId { get; set; }
public string... | 21.227273 | 59 | 0.610278 | [
"MIT"
] | LeoRoma/APIWeek | homework/SpartaGlobalAPI/SpartaGlobalAPI/Models/Course.cs | 469 | C# |
// -----------------------------------------------------------------------
// <copyright file="SessionTest.cs" company="PlayFab Inc">
// Copyright 2015 PlayFab Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// ... | 36.075269 | 110 | 0.60611 | [
"Apache-2.0"
] | rogeralsing/consuldotnet | Consul.Test/SessionTest.cs | 6,712 | C# |
using Domain.Interfaces.Infrastructure.Providers;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System.Linq;
using System.Collections.Generic;
using Infrastructure.Providers;
using Domain.Interface.Infrastructure.Providers;
namespace Presentation.Api
{
public stati... | 42.677419 | 125 | 0.721844 | [
"MIT"
] | RenatoMairesseJr/Niw | src/Presentation/Presentation.Api/IoC.cs | 1,323 | C# |
// <auto-generated />
namespace GigHub.Migrations
{
using System.CodeDom.Compiler;
using System.Data.Entity.Migrations;
using System.Data.Entity.Migrations.Infrastructure;
using System.Resources;
[GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")]
public sealed partial class Overri... | 29.433333 | 118 | 0.648924 | [
"MIT"
] | Dissolving-in-Eternity/GigHub | GigHub/Persistence/Migrations/201612281322390_OverrideConventionsForGigsAndGenres.Designer.cs | 883 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering;
namespace UnityEngine.Experimental.Rendering.HDPipeline
{
[Serializable]
public class AtmosphericScatteringSettings
{
[GenerateHLSL]
public enum FogType
{
... | 35.658537 | 151 | 0.622435 | [
"MIT"
] | jk6699/kkkkkkkkk | ScriptableRenderPipeline/HDRenderPipeline/Sky/AtmosphericScattering/AtmosphericScattering.cs | 2,926 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Text;
using System.Windows.Forms;
using MaterialWinforms.Animations;
using System.Drawing.Drawing2D;
namespace MaterialWinforms.Controls
{
public class MaterialTabSelector : Control, ... | 42.599388 | 247 | 0.47893 | [
"MIT"
] | glm9637/MaterialWinforms | MaterialWinforms/Controls/TabControls/MaterialTabSelector.cs | 27,866 | C# |
// Copyright 2021 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 39.146341 | 123 | 0.686604 | [
"Apache-2.0"
] | googleapis/googleapis-gen | google/cloud/datacatalog/v1beta1/google-cloud-datacatalog-v1beta1-csharp/Google.Cloud.DataCatalog.V1Beta1.StandaloneSnippets/DataCatalogClient.CreateTagAsyncSnippet.g.cs | 1,605 | C# |
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;
using Animatroller.Framework.LogicalDevice;
using System.Drawing.Drawing2D;
namespace Animatroller.Simul... | 28.513158 | 105 | 0.558376 | [
"Unlicense",
"MIT"
] | HakanL/animatroller | Animatroller/src/Simulator/Control/PixelLight2D.cs | 2,169 | C# |
//Copyright 2016 Scifoni Ivano
//
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in wri... | 28.615385 | 74 | 0.751344 | [
"Apache-2.0"
] | iscifoni/SharpBatch | src/SharpBatch.Web/model.cs | 746 | C# |
using UnityEngine;
using UnityEngine.SceneManagement;
using System.Collections;
public class LoadButtonClick : MonoBehaviour
{
public void LoadScene(string pSceneName)
{
SceneManager.LoadScene(pSceneName);
}
public void ShowCanvas(Canvas pCanvas)
{
pCanvas.gameObject.SetActive(t... | 20.225806 | 73 | 0.614035 | [
"Apache-2.0"
] | Meatsak/AnthonySDV602Project | Assets/Scripts/LoadButtonClick.cs | 629 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class Noise
{
public static float farFromZero = 1000; // perlin noise mirrors in negatives. this should keep all noise generated well away form 0
/// <summary>
/// returns a grid of float values between 0 and 1
... | 34.516949 | 135 | 0.567886 | [
"MIT"
] | StrangeDevTeam/Strange-Unity-Demo | Assets/Strange/Map Generation/Noise.cs | 4,075 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SourceAFIS.Matching.Minutia;
namespace SourceAFIS.FingerprintAnalysis
{
public class MatchData : LogData
{
public MatchData(LogDecoder logs)
{
Probe = new ProbeMatchData(logs.Probe, this);
... | 32.83871 | 121 | 0.668959 | [
"MIT"
] | HarmonIQ/noid | source/biometrics/fingerprint/test/fingerprint.thick.app.test/source.afis/SourceAFIS.FingerprintAnalysis/MatchData.cs | 1,020 | C# |
using System.Collections.Generic;
using Invenio.Core.Domain.Messages;
namespace Invenio.Services.Messages
{
/// <summary>
/// Email sender
/// </summary>
public partial interface IEmailSender
{
/// <summary>
/// Sends an email
/// </summary>
/// <param name="emailAc... | 49.081081 | 188 | 0.64207 | [
"MIT"
] | ipetk0v/InvenioReportingSystem | Libraries/Invenio.Services/Messages/IEmailSender.cs | 1,818 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection.Emit;
using System.Text;
using Xamarin.Forms;
namespace ContactManager
{
public class ContactCell : ViewCell
{
public ContactCell()
{
var label = new Label
{
YAli... | 22.214286 | 65 | 0.555198 | [
"Apache-2.0"
] | Doug-AWS/aws-sdk-net-samples | XamarinSamples/DynamoDB/ContactManager/Views/ContactCell.cs | 935 | C# |
using System.Threading.Tasks;
using Telegram.Bot.Tests.Integ.Framework;
using Telegram.Bot.Types;
using Telegram.Bot.Types.Enums;
using Xunit;
namespace Telegram.Bot.Tests.Integ.Sending_Messages
{
[Collection(Constants.TestCollections.SendVenueMessage)]
[TestCaseOrderer(Constants.TestCaseOrderer, Constants.As... | 36.375 | 89 | 0.645557 | [
"MIT"
] | Ali-YousefiTelori/Telegram.Bot | test/Telegram.Bot.Tests.Integ/Sending Messages/SendingVenueMessageTests.cs | 2,039 | C# |
/*
* 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... | 26.5625 | 111 | 0.593882 | [
"Apache-2.0"
] | Vfialkin/aws-sdk-net | sdk/src/Services/DirectConnect/Generated/AmazonDirectConnectConfig.cs | 2,125 | C# |
namespace MiCha.Models
{
public enum Release
{
Master,
NightlyBuild
}
} | 11.222222 | 23 | 0.544554 | [
"MIT"
] | mika-sandbox/mixier-chatviewer | Source/MiCha/Models/Release.cs | 103 | C# |
namespace acmedesktop.MasterSetup
{
partial class FrmProductScheme
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summa... | 54.317147 | 163 | 0.626289 | [
"MIT"
] | ajaykucse/LaraApp | acme/acmedesktop/MasterSetup/FrmProductScheme.Designer.cs | 35,797 | C# |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/bigtable/admin/v2/table.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
usin... | 40.232783 | 777 | 0.652559 | [
"Apache-2.0"
] | AlexandrTrf/google-cloud-dotnet | apis/Google.Cloud.Bigtable.Admin.V2/Google.Cloud.Bigtable.Admin.V2/Table.g.cs | 153,649 | C# |
using System;
namespace FastBuild.Dashboard.Services.Worker
{
internal interface IWorkerAgent
{
event EventHandler<WorkerRunStateChangedEventArgs> WorkerRunStateChanged;
bool IsRunning { get; }
void SetCoreCount(int coreCount);
void SetWorkerMode(WorkerMode mode);
void Initialize();
WorkerCoreStatus[] G... | 22.466667 | 75 | 0.780415 | [
"MIT"
] | hillin/FASTBuild-Dashboard | Source/Services/Worker/IWorkerAgent.cs | 339 | C# |
using System;
using System.Collections.Generic;
using CommandLine;
namespace Fritz.StaticBlog
{
class Program
{
static void Main(string[] args)
{
var arguments = Parser.Default.ParseArguments<ActionBuild, ActionCreate>(args).MapResult(
(ActionBuild options) => options.Execute(),
(Actio... | 17.478261 | 93 | 0.654229 | [
"MIT"
] | csharpfritz/Fritz.StaticWeb | Fritz.StaticBlog/Program.cs | 404 | C# |
namespace DeltaX.Modules.RealTimeRpcWebSocket
{
using DeltaX.RealTime.Interfaces;
using DeltaX.RealTime.RtExpression;
using System;
using System.Collections.Generic;
using System.Linq;
public class TagChangeTrackerManager
{
List<TagChangeTracker> cacheTags = new List<TagChangeTrack... | 29.783784 | 100 | 0.55127 | [
"Apache-2.0"
] | DeltaX-Community/DeltaX | Source/Modules/DeltaX.Modules.RealTimeRpcWebSocket/TagChangeTracker.cs | 2,206 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using MagicLockScreen_Helper;
using MagicLockScreen_Helper.Resources;
using MagicLockScreen_Service_WikiMediaPODService.Models;
using NoteOne_Core;
using NoteOne_Core.Command;
using NoteOne_Core.Common;
using NoteOne_Core.Contract;
using NoteOne_Core.U... | 37.818584 | 157 | 0.551539 | [
"MIT"
] | Jarrey/MagicLockScreen | src/MagicLockScreen.Service.WikiMediaPODService/UI/ViewModels/WikiMediaPODServiceChannelPageViewModel.cs | 8,549 | C# |
using KCommon.Core.Autofac;
using KCommon.Core.Components;
using KCommon.Core.UnitTests.Mocks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace KCommon.Core.UnitTests.Components
{
[TestClass]
public class ObjectContainerTest
{
[TestMethod]
public void TestBasic()
{
... | 30.04878 | 73 | 0.62987 | [
"MIT"
] | Xiangrui2019/kcommon | tests/UnitTests/KCommon.Core.UnitTests/Components/ObjectContainerTest.cs | 1,234 | C# |
using System.Windows.Controls;
namespace Coding4Fun.Phone.Controls
{
public class ColorSliderThumb : Control
{
public ColorSliderThumb()
{
DefaultStyleKey = typeof(ColorSliderThumb);
}
}
}
| 17.461538 | 55 | 0.665198 | [
"MIT"
] | kevingosse/Imageboard-Browser | Coding4Fun.Phone/Coding4Fun.Phone.Controls/ColorSliderThumb.cs | 229 | C# |
namespace Carter
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Carter.OpenApi;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
/// <summary>
/// A class for defining routes in your Carte... | 45.784188 | 150 | 0.625706 | [
"MIT"
] | CarterCommunity/Carter | src/Carter/CarterModule.cs | 21,427 | C# |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/immdev.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using System... | 37.083333 | 145 | 0.657678 | [
"MIT"
] | phizch/terrafx.interop.windows | tests/Interop/Windows/um/immdev/SOFTKBDDATATests.cs | 1,337 | C# |
using System.Collections.Generic;
using System.Linq;
using extOSC;
using Unity.VisualScripting;
using UnityEngine;
namespace MyOscComponents
{
public class OscMessageGroup : OscTriggeredEffect
{
[SerializeField] private OscTriggeredEffect[] effects;
[SerializeField] private bool getChildrenOnA... | 25.407407 | 92 | 0.625364 | [
"MIT"
] | JonLevin25/SonicPi-Unity-OSC-Experiment | Unity-OSC-Receiver/Assets/Scripts/MyOscComponents/OscMessageGroup.cs | 688 | C# |
// <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 Rmit.Asr.Application.Data;
names... | 34.279221 | 125 | 0.479542 | [
"MIT"
] | johnnyhuy/dotnet-appointment-system | Rmit.Asr.Application/Rmit.Asr.Application/Migrations/20190125230501_UpdatedModelProperties.Designer.cs | 10,560 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut gener... | 48.365854 | 185 | 0.636409 | [
"MIT"
] | linpengcheng/NppMarkdownPanel | NppMarkdownPanel/Forms/MainResources.Designer.cs | 3,977 | C# |
#define COMMAND_NAME_UPPER
#if DEBUG
#undef LS
#define LS
#endif
#if LS
using System;
using System.Collections.Generic;
using System.IO;
using System.Security.AccessControl;
using System.Security.Principal;
using Apollo.Jobs;
using Apollo.Tasks;
using Mythic.Structs;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq... | 41.05614 | 133 | 0.450987 | [
"BSD-3-Clause"
] | reznok/Apollo | Payload_Type/Apollo/agent_code/Apollo/CommandModules/DirectoryList.cs | 11,703 | C# |
// 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.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Microsoft.EntityFrameworkCore.Query.Expressions;
using Microsoft.Entit... | 40.25 | 116 | 0.677019 | [
"Apache-2.0"
] | Alecu100/EntityFrameworkCore | src/EFCore.SqlServer.NTS/Query/ExpressionTranslators/Internal/SqlServerLineStringMemberTranslator.cs | 1,612 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "li... | 29.172414 | 109 | 0.620567 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/LexModelBuildingService/Generated/Model/InputContext.cs | 1,692 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CoreModule.Shapes;
namespace CoreModule.Ballistics {
public static class Ballistics {
public static void Fire(Point from, Point through) {
}
}
}
| 19.1875 | 60 | 0.693811 | [
"CC0-1.0"
] | azbstozcorp/Game | CoreModule/Ballistics/Ballistics.cs | 309 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Nopyfy_Decrypter
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static... | 22.391304 | 65 | 0.615534 | [
"MIT"
] | APT-37/Nopyfy-Ransomware | Nopyfy-Decrypter/Nopyfy-Decrypter/Program.cs | 517 | C# |
using CSharpier.Tests.TestFileTests;
using NUnit.Framework;
namespace CSharpier.Tests.TestFiles
{
public class EventFieldDeclarationTests : BaseTest
{
[Test]
public void BasicEventFieldDeclaration()
{
this.RunTest("EventFieldDeclaration", "BasicEventFieldDeclaration");
... | 22.2 | 80 | 0.678679 | [
"MIT"
] | askazakov/csharpier | Src/CSharpier.Tests/TestFiles/EventFieldDeclaration/_EventFieldDeclarationTests.cs | 333 | C# |
using System;
using System.Threading.Tasks;
using FluentValidation;
using MediatR;
using SFA.DAS.Commitments.Application.Exceptions;
using SFA.DAS.Commitments.Application.Interfaces;
using SFA.DAS.Commitments.Application.Services;
using SFA.DAS.Commitments.Domain;
using SFA.DAS.Commitments.Domain.Data;
using SFA.DAS.Co... | 44.796296 | 155 | 0.721166 | [
"MIT"
] | SkillsFundingAgency/das-commitments | src/SFA.DAS.Commitments.Application/Commands/UpdateApprenticeshipStatus/PauseApprenticeshipCommandHandler.cs | 4,838 | C# |
namespace MyWebShop.Data.Models
{
using System.Collections.Generic;
public class Colour
{
public int Id { get; init; }
public string Name { get; set; }
public IEnumerable<Cartridge> Cartridges { get; init; } = new List<Cartridge>();
}
}
| 25.272727 | 88 | 0.622302 | [
"MIT"
] | KatyaDimitrova/ASP.NET-My-Web-Shop | MyWebShop/Data/Models/Colour.cs | 280 | C# |
using BUTR.NexusMods.Shared.Models;
namespace BUTR.NexusMods.Blazor.Core.Models
{
internal readonly struct DemoUserState
{
public static Task<DemoUserState> CreateAsync(IHttpClientFactory factory) => Task.FromResult<DemoUserState>(
new(new(31179975, "Pickysaurus", "demo@demo.com", "https:/... | 31.2 | 143 | 0.684829 | [
"MIT"
] | BUTR/BUTR.NexusMods.Core | src/BUTR.NexusMods.Blazor.Core/Models/DemoUser.cs | 938 | C# |
using System;
using System.IO;
namespace PakReader
{
public sealed class UAnimSequence : ExportObject
{
public UObject super_object;
public FGuid skeleton_guid;
public byte key_encoding_format;
public byte translation_compression_format;
public byte rotation_compression... | 47.296296 | 146 | 0.399374 | [
"MIT"
] | msx752/FTN-Power | src/UnrealEngine4/FortnitePakManager/PakReader/ExportObject/UAnimSequence/UAnimSequence.cs | 16,603 | C# |
using Framework.Core.Runtime;
using UnityEngine;
namespace Projects.ThirdPerson
{
public abstract class ActorControllerComponent : MonoBehaviour
{
public GamePlayerProxy player { get; set; }
protected Transform selfTrans;
public MovementComponent MovementComp { get; private set; }
public RotationComp... | 20.405405 | 66 | 0.70596 | [
"MIT"
] | kedlly/XDFramework | Assets/Projects/ThirdPerson/ActorControllerComponent.cs | 755 | C# |
/* 3. Всички латински букви
Напишете програма, която отпечатва всички букви от латинската азбука: a, b, c, …, z.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _03.Latin_Letters
{
class Program
{
static void Main()
... | 19.692308 | 84 | 0.601563 | [
"MIT"
] | Hmmrpss/Programming-Basics-2016-Course-Homeworks | 05.Simple_Loops/03.Latin_Letters/03.Latin_Letters.cs | 594 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using DesignPatternsDemo.Creational.工厂模式.抽象工厂模式.V1.Model;
namespace DesignPatternsDemo.Creational.工厂模式.抽象工厂模式.V1
{
public interface ISkinFactory
{
IButton CreateButton();
IComboBox CreateComboBox();
ITextField CreateTex... | 22.533333 | 57 | 0.733728 | [
"Apache-2.0"
] | ManagerSi/DesignPatterns | src/DesignPatternsDemo/Creational/工厂模式/抽象工厂模式/V1/ISkinFactory.cs | 380 | C# |
//------------------------------------------------------------------------------
// <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>
//--... | 34.419355 | 151 | 0.582006 | [
"MIT"
] | ScottLilly/CSharpDesignPatterns | WorkbenchWPF/Properties/Settings.Designer.cs | 1,069 | C# |
using UnityEngine;
/// <summary>
/// Different functions to interpolate
/// </summary>
public enum InterpolationFunction
{
Invalid = -1,
Linear,
Exponential,
ExponentialSquared,
Cubic,
Cubic2,
EaseInOutCubic,
SuperSmooth,
//...
Count
}
/// <summary>
/// Static class to map i... | 24.485714 | 108 | 0.508168 | [
"MIT"
] | CristianQiu/Serious-game | Assets/Code/Maths/CustomInterpolation.cs | 1,716 | C# |
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayCommerceIotMdeviceprodDeviceUnbindModel Data Structure.
/// </summary>
[Serializable]
public class AlipayCommerceIotMdeviceprodDeviceUnbindModel : AopObject
... | 30.288889 | 87 | 0.584006 | [
"Apache-2.0"
] | 554393109/alipay-sdk-net-all | AlipaySDKNet.Standard/Domain/AlipayCommerceIotMdeviceprodDeviceUnbindModel.cs | 1,579 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Comp229_Assign02
{
public partial class WebForm3 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
} | 18.823529 | 60 | 0.69375 | [
"MIT"
] | luizerico/Comp229-Assign02 | Comp229-Assign02/privacy.aspx.cs | 322 | C# |
using System;
using System.Collections.Concurrent;
namespace Rabbit.Kernel.Caching.Impl
{
internal sealed class DefaultCacheHolder : ICacheHolder
{
#region Field
private readonly ICacheContextAccessor _cacheContextAccessor;
private readonly ConcurrentDictionary<CacheKey, object> _cach... | 29.666667 | 119 | 0.617978 | [
"Apache-2.0"
] | RabbitTeam/RabbitHub | Rabbit.Kernel/Caching/Impl/DefaultCacheHolder.cs | 1,652 | C# |
/*
* Copyright (c) 2021 ETH Zürich, Educational Development and Technology (LET)
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
namespace SafeExamBrowser.... | 26.625 | 93 | 0.683099 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | Bien-Technologies/seb-win-refactoring | SafeExamBrowser.Settings/Security/KioskMode.cs | 855 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Net.Sockets; // For SCP Transfer
using System.IO;
using StatZilla.Models;
namespace S... | 26.219048 | 112 | 0.538322 | [
"MIT"
] | D-D-Development/StatZilla | StatZilla_UIUX/Source/Forms/MethodSelect.cs | 2,755 | C# |
#region License
// Copyright (c) 2007 James Newton-King
//
// 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, ... | 28.559524 | 98 | 0.633806 | [
"MIT"
] | Wehmeyer100/CoI.Mod.Better | Source Code/src/Newtonsoft.Json/Bson/BsonToken.cs | 4,798 | C# |
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace SpammD
{
class stringFunctions
{
private static readonly char[] asciiChars = { '█', '░', '@'... | 35.306452 | 165 | 0.51005 | [
"MPL-2.0"
] | ShaanCoding/SpammD | SpammD/SpammD/stringFunctions.cs | 4,384 | C# |
//
// Copyright (c) 2022 karamem0
//
// This software is released under the MIT License.
//
// https://github.com/karamem0/sp-client-core/blob/main/LICENSE
//
using Karamem0.SharePoint.PowerShell.Models.V1;
using Karamem0.SharePoint.PowerShell.Runtime.Commands;
using Karamem0.SharePoint.PowerShell.Services.V... | 30.150943 | 110 | 0.636421 | [
"MIT"
] | karamem0/SPClientCore | source/Karamem0.SPClientCore/Commands/RemoveListCommand.cs | 1,598 | C# |
using System;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media.Animation;
using System.Windows.Threading;
namespace AutoUpdater.Controls
{
/// <summary>
/// A metrofied ProgressBar.
/// <see cref="ProgressBar"/>
/// </summary>
public class MetroPro... | 37.119741 | 145 | 0.506539 | [
"MIT"
] | gisewa/AutoUpdater | src/AutoUpdater/Controls/MetroProgressBar.cs | 11,472 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
namespace WebApp_OpenIDConnect_DotNet
{
public interface Imyservice
{
IEnumerable<Claim> GetClaims();
}
}
| 18.142857 | 39 | 0.751969 | [
"MIT"
] | ezedesaeger/RepoDeCasa | Interfaces/Imyservice.cs | 256 | C# |
using HarmonyLib;
using System;
using System.Reflection;
using System.Reflection.Emit;
using System.Collections.Generic;
using KianCommons;
using KianCommons.Patches;
namespace AdaptiveRoads.Patches.Lane {
[HarmonyPatch]
[InGamePatch]
[HarmonyBefore("com.klyte.redirectors.PS")]
public static class Popu... | 46.794118 | 143 | 0.686361 | [
"MIT"
] | Elesbaan70/AdaptiveNetworks | AdaptiveRoads/Patches/Lane/PopulateGroupData.cs | 1,591 | C# |
/*
* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1) Redistributions of source code must retain the above copyright
* notice,... | 39.666667 | 198 | 0.633175 | [
"BSD-2-Clause"
] | GaborApatiNagy/xenadmin | XenModel/XenAPI/Auth.cs | 5,474 | C# |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;
namespace api.Models
{
[Table("invoices")]
public partial class Invoice
{
[Key]
[JsonIgnore]
public int Id { get; set; }
[Re... | 27.1875 | 79 | 0.64023 | [
"MIT"
] | costajvsc/easyinvoices | api/Models/Invoice.cs | 881 | C# |
namespace Antrv.FFMpeg.Interop;
public struct AVReplayGain
{
/// <summary>
/// Track replay gain in microbels (divide by 100000 to get the value in dB).
/// Should be set to INT32_MIN when unknown.
/// </summary>
public int TrackGain;
/// <summary>
/// Peak track amplitude, with 100000 re... | 25.037037 | 81 | 0.62426 | [
"MIT"
] | antrv/ffmpeg-net | Antrv.FFMpeg/Interop/libavutil/replaygain.h/AVReplayGain.cs | 678 | C# |
//------------------------------------------------------------------------------
// <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>
//---... | 40.958333 | 80 | 0.648016 | [
"MIT"
] | Otomkins/RadioApplication | Radio_TESTS/obj/Debug/netcoreapp3.1/Radio_TESTS.AssemblyInfo.cs | 983 | C# |
using AutoFilterer.Extensions;
using AutoFilterer.Tests.Core;
using AutoFilterer.Tests.Environment.Dtos;
using AutoFilterer.Tests.Environment.Models;
using AutoFilterer.Types;
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace AutoFilterer.Tests.Types
{
public class StringFi... | 31.6 | 156 | 0.583739 | [
"MIT"
] | enisn/AutoFilterer | tests/AutoFilterer.Tests/Types/StringFilterTests.cs | 2,056 | C# |
// Copyright 2022 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 43.96 | 136 | 0.651501 | [
"Apache-2.0"
] | AlexandrTrf/google-cloud-dotnet | apis/Google.Cloud.Metastore.V1Alpha/Google.Cloud.Metastore.V1Alpha.GeneratedSnippets/DataprocMetastoreClient.ListMetadataImportsResourceNamesSnippet.g.cs | 3,297 | C# |
using BinanceAPI.Authentication;
using BinanceAPI.Enums;
using BinanceAPI.Options;
using System;
using System.Net.Http;
namespace BinanceAPI.Objects
{
/// <summary>
/// Options for the binance client
/// </summary>
public class BinanceClientOptions : RestClientOptions
{
/// <summary>
... | 34.617647 | 129 | 0.603512 | [
"MIT"
] | HypsyNZ/Binance-API | Binance-API/Binance-API/Objects/Options/Client/BinanceClientOptions.cs | 3,535 | C# |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("PrismSample")]
[assembly: AssemblyDescription(... | 34 | 101 | 0.68645 | [
"MIT"
] | oika/NComputed | PrismSample/Properties/AssemblyInfo.cs | 2,999 | C# |
namespace K1vs.DotChat.Dependency
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public interface IDependencyRegistrationBuilder<out TImplementation>
{
IDependencyRegistrationBuilder<TImplementation> As<TService... | 32 | 72 | 0.742898 | [
"MIT"
] | K1vs/DotChat | DotChat/DotChat/Dependency/IDependencyRegistrationBuilder.cs | 706 | C# |
// WARNING
//
// This file has been generated automatically by Visual Studio from the outlets and
// actions declared in your storyboard file.
// Manual changes to this file will not be maintained.
//
using Foundation;
using System;
using System.CodeDom.Compiler;
namespace Acquaint.Native.iOS
{
[Regist... | 27.095238 | 84 | 0.559461 | [
"Apache-2.0"
] | Acidburn0zzz/.NET-SDK | Samples/Acquaint/Acquaint.Native/Acquaint.Native.iOS/SettingsViewController.designer.cs | 1,707 | C# |
using Microsoft.AspNet.SignalR.Hubs;
using System.Threading;
using System.Collections.Generic;
namespace Microsoft.AspNet.SignalR.Hosting.AspNet.Samples.Hubs.DrawingPad
{
[HubName("DrawingPad")]
public class DrawingPad : Hub
{
#region Data structures
public class Point
{
... | 26.133333 | 90 | 0.538265 | [
"Apache-2.0"
] | MacawNL/SignalR | samples/Microsoft.AspNet.SignalR.Hosting.AspNet.Samples/Hubs/DrawingPad/DrawingPad.cs | 1,178 | C# |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using SG.TestRunService.Data;
namespace SG.TestRunService.Migrations
{
[DbContext(... | 38.036606 | 125 | 0.458443 | [
"MIT"
] | systemgroupnet/SG.TestRunService | SG.TestRunService/Migrations/TSDbContextModelSnapshot.cs | 22,862 | C# |
using RabbitMQ.Client;
using System;
using System.Globalization;
using System.Text;
using System.Windows.Forms;
namespace IM
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
... | 32.073171 | 85 | 0.469962 | [
"MIT"
] | festone000/IM | IM/Form1.cs | 1,317 | C# |
// Copyright (c) MOSA Project. Licensed under the New BSD License.
// This code was generated by an automated template.
namespace Mosa.Compiler.Framework.IR
{
/// <summary>
/// AddCarryIn64
/// </summary>
/// <seealso cref="Mosa.Compiler.Framework.IR.BaseIRInstruction" />
public sealed class AddCarryIn64 : BaseI... | 20.473684 | 68 | 0.694087 | [
"BSD-3-Clause"
] | AnErrupTion/MOSA-Project | Source/Mosa.Compiler.Framework/IR/AddCarryIn64.cs | 389 | C# |
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Linq;
using Utils;
using Xunit;
namespace Advent2020
{
public class Day23
{
//[Theory]
//[InlineData("Data/Day23_test.txt", 0)]
//[InlineData("Data/Day23.txt", 0)]
public void Pro... | 20.275862 | 57 | 0.552721 | [
"MIT"
] | elpollouk/Advent2017 | Advent2020/Day23.cs | 590 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Constants
{
public class Levels
{
public static readonly byte MainMenu = 0x0;
public static readonly byte SampleScene = 0x1;
}
public class ByteGroups
{
public static readonly byte FIR... | 28.088608 | 91 | 0.570978 | [
"MIT"
] | TheRayOfSeasons/space-shooter | Assets/Scripts/Core/Constants.cs | 2,221 | C# |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... | 47.821637 | 372 | 0.576001 | [
"MIT"
] | AzureDataBox/azure-sdk-for-net | sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachineScaleSetExtensionsOperations.cs | 65,420 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace SqlSyringe.Practice.NetCore_v2._1
{
public class... | 25.16 | 76 | 0.699523 | [
"MIT"
] | suterma/ContosoUniversityDotNetCore-Pages | SqlSyringe.Practice.NetCore-v2.1/Program.cs | 631 | C# |
namespace FluentAssertions.Primitives
{
public enum TimeSpanCondition
{
MoreThan,
AtLeast,
Exactly,
Within,
LessThan
}
}
| 14.416667 | 37 | 0.566474 | [
"Apache-2.0"
] | 0xced/fluentassertions | Src/FluentAssertions/Primitives/TimeSpanCondition.cs | 173 | C# |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006 - 2016, All rights reserved.
// The software and associated documentation supplied hereunder are the
// prop... | 51.555272 | 214 | 0.597229 | [
"BSD-3-Clause"
] | Krypton-Suite-Legacy-Archive/Krypton-Toolkit-Suite-NET-Core | Source/Truncated Namespaces/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/PaletteProfessionalSystem.cs | 525,609 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("13... | 37.810811 | 84 | 0.741244 | [
"MIT"
] | wIksS/Telerik-Academy | Programming with C#/5. C# Data Structures and Algorithms/02. Linear Data Structures/13. Queue ADT/Properties/AssemblyInfo.cs | 1,402 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using windows = Windows;
namespace Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT
{
/// <summary>
/// <s... | 35.207358 | 127 | 0.590577 | [
"MIT"
] | Andreas-Hjortland/Microsoft.Toolkit.Win32 | Microsoft.Toolkit.Win32.UI.Controls/Interop/WinRT/MediaPlayer.cs | 10,527 | C# |
/*
* MIT License
*
* Copyright (c) Microsoft Corporation.
*
* 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... | 36.546296 | 105 | 0.64606 | [
"MIT"
] | Archish27/playwright-dotnet | src/Playwright/API/Generated/Options/LocatorUncheckOptions.cs | 3,947 | C# |
using Chat.Server.Dal.LocalJson.Attributes;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Chat.Server.Dal.MongoDB.Models
{
p... | 26.8 | 65 | 0.707463 | [
"Apache-2.0"
] | juandouglaspe/Chat | Server/Chat.Server.Dal/MongoDB/Models/ConnectedUser.cs | 672 | C# |
using System;
using System.Threading;
using System.Threading.Tasks;
using EventStore.ClientAPI;
using EventStore.ClientAPI.SystemData;
using EventStore.Core.Messages;
using EventStore.Core.Messaging;
using EventStore.Core.Services;
using EventStore.Core.Services.UserManagement;
using EventStore.Core.Tests.ClientAPI.He... | 43.808725 | 154 | 0.507009 | [
"Apache-2.0",
"CC0-1.0"
] | BertschiAG/EventStore | src/EventStore.Core.Tests/ClientAPI/Security/AuthenticationTestBase.cs | 13,057 | C# |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Collections.Generic;
using ICSharpCode.PackageManagement;
using ICSharpCode.PackageManagement.Desig... | 35.37931 | 111 | 0.825536 | [
"MIT"
] | Plankankul/SharpDevelop-w-Framework | src/AddIns/Misc/PackageManagement/Test/Src/Helpers/TestablePackageManagementConsoleViewModel.cs | 2,054 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Base : MonoBehaviour
{
public int baseNumber=0;
void Start()
{
if (baseNumber == 4)
baseNumber = 0;
}
// Update is called once per frame
void Update()
{
}
voi... | 24.023256 | 77 | 0.553727 | [
"MIT"
] | SeoWon430/AR-Project-Vuforia- | Pika Baseball/UnityProject/AR_PickBaseBall/Assets/Script/Entity/Base.cs | 1,035 | C# |
using commercetools.Sdk.Client;
using commercetools.Sdk.Domain.Common;
namespace commercetools.Sdk.HttpApi.CommandBuilders
{
/// <summary>
/// entryPoint for commands/functions that we can do in this entityType
/// </summary>
/// <typeparam name="T">type of entity</typeparam>
public class DomainCom... | 26.2 | 75 | 0.64313 | [
"Apache-2.0"
] | commercetools/commercetools-dotnet-core-sdk | commercetools.Sdk/commercetools.Sdk.HttpApi/CommandBuilders/DomainCommandBuilder.cs | 524 | C# |
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace FCSVisualChart
{
public abstract class NotifyPropertyChanged : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged([CallerMemberName] string proper... | 30 | 92 | 0.74 | [
"MIT"
] | Lvwl-CN/FCSVisualChart | src/FCSVisualChart/NotifyPropertyChanged.cs | 452 | C# |
using System.Collections.Generic;
namespace Giles.Core.Utility
{
public static class CollectionExtensions
{
public static bool IsNullOrEmpty<T>(this IList<T> list)
{
return list == null || list.Count == 0;
}
}
} | 21.75 | 63 | 0.609195 | [
"MIT"
] | codereflection/Giles | src/Giles.Core/Utility/CollectionExtensions.cs | 263 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regener... | 37.785714 | 86 | 0.547259 | [
"Apache-2.0"
] | CertiPath/DLTGateway | src/DLTGatewaySolution/Database/CertiPath.BlockchainGateway.DataLayer/Role_UserGroup.cs | 1,058 | C# |
using Quartz;
using Quartz.Impl;
using Quartz.Spi;
namespace FeedAggregaror_API.TasksSheduler
{
public class Quartz
{
private IScheduler _scheduler;
/// <summary>
/// Used scheduler
/// </summary>
public static IScheduler Scheduler { get { return Instance._scheduler; } ... | 30.111111 | 133 | 0.512915 | [
"MIT"
] | oleksiitymchenko/FeedAggregaror | RSS_FeedAggregaror/RSS_FeedAggregaror/TasksSheduler/Quartz.cs | 3,525 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.