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 Nest;
using System;
using System.Collections.Generic;
using System.Linq;
namespace RimDev.Filter.Nest
{
public static class QueryContainerDescriptorExtensions
{
public static QueryContainer Filter<T>(
this QueryContainerDescriptor<T> value,
object filter,
IDic... | 25.34375 | 106 | 0.554871 | [
"MIT"
] | billboga/filter | src/Filter.Nest/QueryContainerDescriptorExtensions.cs | 813 | C# |
using GameEstate.Core;
using System.Collections.Generic;
using System.IO;
namespace GameEstate.Formats.Valve.Blocks
{
/// <summary>
/// "NTRO" block. CResourceIntrospectionManifest.
/// </summary>
public class NTRO : Block
{
public enum DataType
{
Struct = 1... | 43.154412 | 113 | 0.475975 | [
"MIT"
] | smorey2/GameEstate | src/GameEstate.Formats/Formats/Valve/Blocks/NTRO.cs | 11,738 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AutoWorkspace.cs" company="WildGums">
// Copyright (c) 2008 - 2014 WildGums. All rights reserved.
// </copyright>
// ------------------------------------------------------------... | 33.523077 | 134 | 0.554842 | [
"MIT"
] | WildGums/Orc.WorkspaceManagement | src/Orc.WorkspaceManagement.Xaml/Behaviors/AutoWorkspace.cs | 2,181 | C# |
using System;
using Microsoft.Extensions.DependencyInjection;
namespace Nybus.Container
{
public class ServiceProviderScope : IScope
{
private readonly IServiceScope _scope;
public ServiceProviderScope(IServiceScope scope)
{
_scope = scope ?? throw new ArgumentNullExceptio... | 22.333333 | 77 | 0.600332 | [
"MIT"
] | Kralizek/NybusLegacyAdapter | src/Nybus.Legacy.NetExtensions.Adapters/Container/ServiceProviderScope.cs | 605 | C# |
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Tencent is pleased to support the open source community by making behaviac available.
//
// Copyright (C) 2015 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3-Clau... | 32.592593 | 113 | 0.55303 | [
"BSD-3-Clause"
] | Manistein/behaviac | integration/BattleCityDemo/Assets/Scripts/behaviac/BehaviorTree/Nodes/Decorators/Decoratoralwaysrunning.cs | 2,640 | C# |
//
// Authors:
// Marek Habersack grendel@twistedcode.net
//
// Copyright (c) 2010, Novell, Inc (http://novell.com/)
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
//
// * Red... | 37.904762 | 183 | 0.731575 | [
"MIT"
] | Skye-D/CaptainHook | CaptainHook/Mail/TemplateFragmentPlainText.cs | 2,388 | C# |
using FluentAssertions;
using Xunit;
namespace Scrima.OData.Tests
{
public class RawParserTests
{
[Theory]
[InlineData("?$filter=name eq 'Jon'&$count=true&$search=myvalue&$orderby=name asc&$top=10&$skip=5&$skiptoken=mytoken")]
[InlineData("$filter=name eq 'Jon'&$count=true&$search=myva... | 41.186047 | 127 | 0.626765 | [
"MIT"
] | YoioReloaded/scrima-dotnet | test/Scrima.OData.Tests/RawParserTests.cs | 1,773 | C# |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Management.Policies
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__
[global::Uno.NotImplemented]
#endif
public partial class NamedPolicy
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__
[g... | 41.807692 | 183 | 0.768169 | [
"Apache-2.0"
] | nv-ksavaria/Uno | src/Uno.UWP/Generated/3.0.0.0/Windows.Management.Policies/NamedPolicy.cs | 1,087 | C# |
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Social.Network.Domain.Commands;
using Social.Network.Domain.Models;
using Social.Network.Domain.Models.Auths;
using Social.Network.Domain.Queries;
using Social.Network.Domain.Services;
using System;
usin... | 28.994286 | 150 | 0.527 | [
"MIT"
] | muhammad-hari/social-network-page | Social.Network.Api/Social.Network.Api/Controllers/SocialNetworkController.cs | 5,076 | C# |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
namespace CoinBot.Core
{
public class MarketManager
{
///... | 26.755459 | 137 | 0.653501 | [
"MIT"
] | rroslund/CoinBot | src/CoinBot.Core/MarketManager.cs | 6,129 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Google.Cloud.Firestore;
using Newtonsoft.Json;
using AkshaySDemoGoogleFireStoreDB.Models;
using System.Threading.Tasks;
using System.Linq;
using Google.Cloud.Firestore.V1;
namespace AkshaySDemoGoogleFireStoreDB.DataAccess
{
public class Chef... | 31.676056 | 105 | 0.502223 | [
"Apache-2.0"
] | akshays2112/AkshaySDemo | AkshaySDemoGoogleFireStoreDB/DataAccess/ChefDataAccessLayer.cs | 4,500 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using OpenTelemetry.Resources;
using System.Diagnostics;
namespace OpenTelemetry.Exporter.AzureMonitor.Demo.Tracing
{
public static class DemoTrace
{
public static readonly ActivitySource source = new Activ... | 33.4 | 130 | 0.60479 | [
"MIT"
] | augustoproiete-forks/Azure--azure-sdk-for-net | sdk/monitor/OpenTelemetry.Exporter.AzureMonitor/tests/OpenTelemetry.Exporter.AzureMonitor.Demo.Tracing/DemoTrace.cs | 1,169 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Reflection.Emit;
using Microsoft.Azure.WebJobs.Script.Binding;
namespa... | 33.324324 | 95 | 0.65734 | [
"Apache-2.0",
"MIT"
] | Minh12349/azure-functions-host | src/WebJobs.Script/Description/FunctionDescriptor.cs | 2,468 | C# |
using System;
using System.Diagnostics.CodeAnalysis;
using Zilon.Core.Schemes;
using Zilon.Core.Tactics;
using Zilon.Core.World;
namespace Zilon.Core.Tests.Common
{
[ExcludeFromCodeCoverage]
public class TestMaterializedSectorNode : ISectorNode
{
public TestMaterializedSectorNode(ISectorSubScheme... | 28.484848 | 97 | 0.679787 | [
"MIT"
] | kreghek/Zilon_Roguelike | Zilon.Core/Zilon.Core.Tests.Common/TestMaterializedSectorNode.cs | 942 | C# |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OSB
{
public class Binding
{
[JsonProperty("instance_id")]
public string InstanceId { get; set; }
[JsonProperty("binding_id"... | 24.772727 | 47 | 0.616514 | [
"MIT"
] | Azure-Samples/service-fabric-service-catalog | SFServiceCatalog/OSBClient/Binding.cs | 547 | C# |
using Amphisbaena.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using System.Threading.Tasks;
namespace Amphisbaena.Tests.Complex {
[TestClass]
public sealed class FactoryTest {
#region Public
[TestMethod]
public async Task ComplexAggregation() {
int[] data = Enum... | 23.51087 | 96 | 0.541378 | [
"MIT"
] | Dmitry-Bychenko/Amphisbaena | Amphisbaena.Tests/Complex/Test.Complex.Aggregations.cs | 2,165 | C# |
using System;
using System.Collections.Generic;
using ModestTree;
namespace Zenject
{
[NoReflectionBaking]
public class ResolveProvider : IProvider
{
readonly object _identifier;
readonly DiContainer _container;
readonly Type _contractType;
readonly bool _isOptional;
... | 27.040541 | 106 | 0.584708 | [
"MIT"
] | 0007berd/MergeTest | Assets/Plugins/Zenject/Source/Providers/ResolveProvider.cs | 2,001 | C# |
using System;
namespace AGXUnity
{
/// <summary>
/// Simulation step callback functions.
/// </summary>
public class StepCallbackFunctions
{
/// <summary>
/// Step callback signature: void callback()
/// </summary>
public delegate void StepCallbackDef();
/// <summary>
/// Before nat... | 28.056338 | 90 | 0.654869 | [
"Apache-2.0"
] | Algoryx/AGXUnity | AGXUnity/StepCallbackFunctions.cs | 3,986 | C# |
using System;
namespace Elsa.Attributes
{
[AttributeUsage(AttributeTargets.Property)]
public class ActivityInputObjectAttribute : Attribute
{
/// <summary>
/// A category to group these property with - will be overidden by any inputs that specify their own category.
/// </summary>
... | 28.615385 | 118 | 0.66129 | [
"MIT"
] | sfmskywalker/Flowsharp | src/core/Elsa.Abstractions/Attributes/ActivityInputObjectAttribute.cs | 372 | C# |
using System;
using Bunit;
using FluentAssertions;
using NUnit.Framework;
namespace MudBlazor.UnitTests.Components
{
[TestFixture]
public class ProgressTests : BunitTest
{
/// <summary>
/// Value is converted from the min - max range into 0 - 100 percent range
/// </summary>
... | 39.7 | 180 | 0.533501 | [
"MIT"
] | AssayNet/MudBlazor | src/MudBlazor.UnitTests/Components/ProgressTests.cs | 1,987 | C# |
namespace Entitas
{
/// Implement this interface if you want to create a system which should
/// execute cleanup logic after execution.
public interface ICleanupSystem : ISystem
{
void Cleanup();
}
} | 25.333333 | 76 | 0.671053 | [
"MIT"
] | kubagdynia/TanmaNabu | TanmaNabu/Core/Entitas/Systems/Interfaces/ICleanupSystem.cs | 230 | C# |
#region Apache License
//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
// (... | 27.085106 | 99 | 0.686567 | [
"Apache-2.0"
] | 13thirteen/logging-log4net | src/log4net/Layout/Layout2RawLayoutAdapter.cs | 2,546 | 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, ... | 36.283186 | 211 | 0.628902 | [
"MIT"
] | woodp/Newtonsoft.Json | Src/Newtonsoft.Json.Tests/Serialization/CamelCasePropertyNamesContractResolverTests.cs | 8,200 | C# |
/*
Copyright 2020 George Lasry, Nils Kopal, CrypTool project
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 a... | 40.130658 | 195 | 0.563637 | [
"Apache-2.0"
] | CrypToolProject/CrypTool-2 | CrypPlugins/EnigmaAnalyzer/EnigmaAnalyzer.cs | 46,995 | C# |
//-----------------------------------------------------------------------
// <copyright file="TableAccessPolicyResponse.cs" company="Microsoft">
// Copyright 2012 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance... | 42.589041 | 120 | 0.624317 | [
"Apache-2.0"
] | takekazuomi/azure-sdk-for-net | microsoft-azure-api/Services/Storage/Lib/Common/Table/Protocol/TableAccessPolicyResponse.cs | 3,039 | C# |
using CounterStrike.Models.Guns;
using CounterStrike.Models.Guns.Contracts;
using CounterStrike.Models.Maps;
using CounterStrike.Models.Maps.Contracts;
using CounterStrike.Models.Players;
using CounterStrike.Models.Players.Contracts;
using CounterStrike.Repositories;
using CounterStrike.Utilities.Messages;
using Syste... | 31.865385 | 142 | 0.59475 | [
"MIT"
] | tonchevaAleksandra/C-Sharp-OOP | EXAMS/Exam12April20/Core/Contracts/Controller.cs | 3,316 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace System.IO
{
/// <devdoc>
/// Provides data for the <see cref='System.IO.FileSystemWatcher.Renamed'/> event.
/// </devdoc>
public class Rena... | 29.170213 | 109 | 0.557257 | [
"MIT"
] | 690486439/corefx | src/System.IO.FileSystem.Watcher/src/System/IO/RenamedEventArgs.cs | 1,371 | C# |
using UnityEngine;
public class GrappleImpactSounds : MonoBehaviour
{
public static GrappleImpactSounds instance;
private GameObject player;
private PlayerScript ps;
public AudioSource audioS;
public AudioClip[] clips;
public AudioClip audioMiss;
public bool hasAudioPlayed;
private voi... | 19.530612 | 53 | 0.571578 | [
"MIT"
] | johnklima/SkyPortal | Assets/Member Scenes/Christian/FINISHED/Player/GrappleImpactSounds.cs | 957 | 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>
//--... | 35.433333 | 151 | 0.581373 | [
"CC0-1.0"
] | shidomusic/SqlServer-With-Winform | Properties/Settings.Designer.cs | 1,065 | C# |
using UnityEngine;
using System.Collections;
using Network;
using Protobuf;
public class TestNetWork : MonoBehaviour
{
public void Start()
{
UserProto proto = new UserProto();
proto.id = 1;
proto.name = "2173";
//string name = "你好";
//proto.name = System.Text.Encoding.U... | 32.444444 | 110 | 0.534247 | [
"MIT"
] | 2173/protobuf-for-purejsb | Assets/GameLogicScripts/TestNet/TestNetWork.cs | 894 | C# |
using System.Reflection;
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("RegexAnalyzer.Test")]
[assembly: Assembly... | 38.3125 | 84 | 0.74062 | [
"MIT"
] | Jac21/CSharpMenagerie | Experiments/Roslyn/RegexAnalyzer/RegexAnalyzer/RegexAnalyzer.Test/Properties/AssemblyInfo.cs | 1,229 | C# |
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using JiraDashboard.Roles.Dto;
using JiraDashboard.Users.Dto;
namespace JiraDashboard.Users
{
public interface IUserAppService : IAsyncCrudAppService<UserDto, long, PagedResultRequestDto, CreateUserDto, UserDto>
{... | 27.3125 | 121 | 0.775744 | [
"MIT"
] | rajat-chugh/jira-dashboard | aspnet-core/src/JiraDashboard.Application/Users/IUserAppService.cs | 437 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
public class PickPoint : MonoBehaviour
{
[Header("Setting")]
public int maxCandyCnt = 5;
public float purchaseInterval = 10;
public float pickableInterval = 20;
[Range(0, 1)] public float colliderRadi... | 27.144231 | 115 | 0.588735 | [
"MIT"
] | wzzwzz687510/HalloweenCandyFactory | Assets/Scripts/PickPoint.cs | 2,825 | C# |
using Xunit;
namespace _349_IntersectionOfTwoArrays
{
class Program
{
static void Main(string[] args)
{
var solution = new Solution();
Assert.Equal(new[] { 2 }, solution.Intersection(new[] { 1, 2, 2, 1 }, new[] { 2, 2 }));
Assert.Equal(new[] { 9,4 }, soluti... | 24.875 | 105 | 0.507538 | [
"MIT"
] | kodoftw/LeetCode | LeetCode/349-IntersectionOfTwoArrays/Program.cs | 400 | C# |
using Microsoft.Xna.Framework;
using SGS.Components;
using SGS.Components.Tasks;
using SGS.Components.World;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SGS.Components.Players
{
public class PlayerHurtEffect
{
private P... | 21.744681 | 66 | 0.592955 | [
"MIT"
] | vitormoura/game-sgs_lab | src/SGS/SGS/Components/Players/PlayerHurtEffect.cs | 1,024 | C# |
// SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
using System;
using System.Web.Http;
using Mappin... | 30.274194 | 86 | 0.62227 | [
"Apache-2.0"
] | Ed-Fi-Exchange-OSS/MappingEDU | src/MappingEdu.Web.UI/Controllers/ApiControllers/MapNoteController.cs | 1,879 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class fruitFlySpawner : MonoBehaviour
{
public static int numberOfAdultFlies;
public int numberOfAdults;
public int numberOfFlies;
public int weekNumber;
private GameObject[] array;
pr... | 20.979592 | 60 | 0.564202 | [
"CC0-1.0"
] | aLE-xTX/FruitFlies | fruitFlySpawner.cs | 1,028 | C# |
// This file is auto-generated! Edit DelegateFactoryServiceCollectionExtensions.tt instead
using System;
using System.Runtime.CompilerServices;
using Microsoft.Extensions.DependencyInjection;
[assembly: InternalsVisibleTo("GenericFactory.Tests")]
namespace GenericFactory
{
public static class DelegateFactoryServi... | 58.872832 | 367 | 0.659107 | [
"MIT"
] | GediminasMasaitis/DependencyInjection.GenericFactory | src/GenericFactory/DelegateFactoryServiceCollectionExtensions.cs | 10,187 | C# |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or or http://www.opensource.org/licenses/mit-license.php.
using FiiiCoin.Wallet.Win.Common;
namespace FiiiCoin.Wallet.Win.Models.UiModels
{
public class ConfirmSendData : NotifyBase
... | 26.627907 | 120 | 0.598253 | [
"MIT"
] | ft-john/FiiiCoin | Wallet/FiiiCoin.Wallet.Win/Models/UiModels/ConfirmSendData.cs | 1,147 | C# |
// ★秀丸クラス
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
public sealed partial class HmCustomLivePreviewDynamicLib
{
public sealed partial class Hidemaru
{
public sealed class ExplorerPane
{
static ExplorerPane()
{
... | 34.277108 | 131 | 0.432103 | [
"Apache-2.0"
] | komiyamma/hm_customlivepreview | HmCustomLivePreview.src/hmJSStaticLib/ClearScript/hmJSStaticLib/hmCustomLivePreviewHidemaruExplorerPane.cs | 8,625 | C# |
// Copyright (C) 2018 Fievus
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
using Carna;
namespace Charites.Windows.Samples.SimpleLoginDemo.Presentation.Login
{
[Specification("LoginController Spec")]
class LoginControllerSpec
... | 27 | 74 | 0.723197 | [
"MIT"
] | averrunci/WindowsFormsMvc | Samples/SimpleLoginDemo/SimpleLoginDemo.Presentation.Spec/Login/LoginControllerSpec.cs | 515 | C# |
// ---------------------------------------------------------------------------
// Copyright (c) 2019, The .NET Foundation.
// This software is released under the Apache License, Version 2.0.
// The license and further copyright text can be found in the file LICENSE.md
// at the root directory of the distributi... | 33.807692 | 80 | 0.508532 | [
"Apache-2.0"
] | kazuyaujihara/Version3-1 | src/TestHarness/WinForms.TestHarness/Program.cs | 856 | C# |
//The MIT License(MIT)
//Copyright(c) 2016 Alberto Rodriguez & LiveCharts Contributors
//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... | 40.921569 | 100 | 0.684715 | [
"MIT"
] | patryksojkowski/LiveCharts | Core40/Definitions/Series/IStackedColumnSeriesView.cs | 2,089 | C# |
//////////////////////////////////////////////////////////////////////////////////////////////////
// This is generated code! Do not alter this code because changes you make will be over written
// the next time the code is generated. If you need to change this code, do it via the T4 template
//////////////////////////... | 31.633028 | 167 | 0.723898 | [
"MIT"
] | rdrrichards/QIQO.Business.Client.Solution | QIQO.Business.Client.Wrappers/Wrappers/Generated/CommentWrapper.g.cs | 3,448 | C# |
//
// AppKitSynchronizationContext.cs: Default SynchronizationContext for the main UI thread
//
using System.Threading;
using Foundation;
namespace AppKit {
class AppKitSynchronizationContext : SynchronizationContext {
public override SynchronizationContext CreateCopy ()
{
return new AppKitSynchronizationCont... | 24.04 | 89 | 0.745424 | [
"BSD-3-Clause"
] | bradumbaugh/xamarin-macios | src/AppKit/AppKitSynchronizationContext.cs | 601 | C# |
namespace Book.Views.Samples.Chapter18.Sample04
{
using System.Reactive.Disposables;
using ReactiveUI;
using ViewModels.Samples.Chapter18.Sample04;
public partial class MainView : ReactiveUserControl<MainViewModel>
{
public MainView()
{
InitializeComponent();
... | 44.190476 | 120 | 0.487608 | [
"MIT"
] | AlexejLiebenthal/YouIandReactiveUI | Host.WPF/Views/Samples/Chapter 18/Sample 04/MainView.xaml.cs | 1,856 | C# |
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace PhantomNet.AspNetCore.IdentityAccount
{
[Authorize]
[Route("Accounts")]
public abstract class IdentityAccountsControllerBase : Controller
{
public IActionResult Index()
{
return View();
... | 20.875 | 69 | 0.667665 | [
"MIT"
] | green-grass/PhantomNet-IdentityAccount | src/PhantomNet.AspNetCore.IdentityAccount/IdentityAccountsControllerBase.cs | 336 | 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/ShlObj_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using System.Runtime.InteropSe... | 36.190476 | 145 | 0.706579 | [
"MIT"
] | IngmarBitter/terrafx.interop.windows | sources/Interop/Windows/Windows/um/ShlObj_core/CIDA.cs | 762 | C# |
/*
Copyright (c) Miha Zupan. All rights reserved.
This file is a part of the CAH project by Miha Zupan and Juš Mirtič.
It is licensed under the Simplified BSD License (BSD 2-clause).
For more information visit:
https://github.com/MihaZupan/CAH/blob/master/LICENSE
*/
namespace CAH.Server.Responses.L... | 26.909091 | 72 | 0.672297 | [
"BSD-2-Clause"
] | MihaZupan/CAH | src/CAH.Server/Responses/Lobby/CreateGameRoomResponse.cs | 596 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using NFluent;
using Xunit;
namespace DefaultEcs.Test
{
public sealed class EntitySetTest
{
#region Tests
[Fact]
public void World_Should_return_parent_world()
{
using World... | 29.222222 | 169 | 0.561977 | [
"MIT-0"
] | poettlr/DefaultEcs | source/DefaultEcs.Test/EntitySetTest.cs | 5,262 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using RedemptionEngine.Items;
using RedemptionEngine.Items.Weapons;
namespace RedemptionEngine.ObjectClasses.Enemy
{
p... | 32.933054 | 124 | 0.481006 | [
"MIT"
] | Erbelding/Redemption | PROJECT/RedemptionEngine/ObjectClasses/Enemy/SnowMan.cs | 7,873 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.20506.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------... | 39.296296 | 151 | 0.579642 | [
"MIT"
] | Plankankul/SharpDevelop-w-Framework | src/AddIns/Analysis/Profiler/Tests/HelloWorld/Properties/Settings.Designer.cs | 1,063 | C# |
using Microsoft.Graph;
using System;
using System.Collections.Generic;
using System.Text;
namespace Graph.Community
{
public class SharePointAPIRequestBuilder : BaseRequestBuilder, ISharePointAPIRequestBuilder
{
public SharePointAPIRequestBuilder(
string siteUrl,
IBaseClient client)
: base(siteUrl, clie... | 20.72 | 108 | 0.740347 | [
"MIT"
] | piotrci/msgraph-sdk-dotnet-contrib | src/Requests/SharePointAPIRequestBuilder.cs | 1,038 | C# |
namespace GameMath.Tests.Geometry
{
using NUnit.Framework;
public class RectangleTests
{
#region Public Methods and Operators
[Test]
public void TestRectangleFCenter()
{
// ARRANGE.
var rectangle = new RectangleF(new Vector2F(2, 3), new Vector2F(6, ... | 24.151515 | 83 | 0.531995 | [
"MIT"
] | npruehs/game-math | Source/GameMath.Tests/Geometry/RectangleTests.cs | 799 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TGL.WebApp.Models;
namespace TGL.WebApp.Data
{
public class StudentStore
{
//private List<Student> Students { get; set; } = new List<Student>();
public TGLContext Context { get; set; }
... | 27.358491 | 77 | 0.585517 | [
"MIT"
] | Elkinssm/Tgl-3 | TGL/TGL.WebApp/Data/StudentStore.cs | 1,452 | C# |
using System;
using System.Globalization;
using System.Text;
using LiteGui;
using LiteGui.Graphics;
namespace LiteGuiDemo.Demos
{
internal class DemoMemoryEditor : DemoBase
{
private readonly byte[] MemoryBuffer = new byte[10240];
private enum DataType : byte
{
DataType_S8... | 46.274784 | 281 | 0.482779 | [
"MIT"
] | UnSkyToo/LiteGui | LiteGuiDemo/Demos/DemoMemoryEditor.cs | 42,945 | C# |
// <copyright file="Armors.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.Persistence.Initialization.Items
{
using System.Collections.Generic;
using System.Linq;
using MUnique.OpenMU.Attr... | 84.795203 | 492 | 0.511869 | [
"MIT"
] | ThisMushroom/OpenMu | src/Persistence/Initialization/Items/Armors.cs | 45,961 | 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 System.Text;
using System.Runtime.InteropServices;
namespace System.Diagnostics.TraceSourceTests
{
static... | 34.53125 | 153 | 0.642534 | [
"MIT"
] | rionmonster/corefx | src/System.Diagnostics.TraceSource/tests/TraceTestHelper.cs | 1,105 | C# |
using Newtonsoft.Json;
namespace TrueLayer.Pokedex.Service.Responses.Pokemon
{
internal class Language
{
public Language(string name)
{
Name = name;
}
[JsonProperty("name")]
public string Name { get; }
}
} | 16 | 53 | 0.645833 | [
"MIT"
] | BBehboodi/Pokedex | Service/Responses/Pokemon/Language.cs | 242 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Navigation;
using System.Data.SqlLocalDb;
using Sy... | 35.146226 | 241 | 0.540599 | [
"MIT"
] | cabal95/RockLauncher | RockLauncher/InstancesView.xaml.cs | 14,904 | C# |
using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
// 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: Asse... | 53.980392 | 298 | 0.772612 | [
"Apache-2.0"
] | mikemissakian/aws-sdk-net | sdk/src/Services/DataPipeline/Properties/AssemblyInfo.cs | 2,753 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace WinRTXamlToolkit.Controls
{
public sealed partial class AutoCompleteTextBox
{
/// <summary>
/// Algorithm implementation for AutoCompleteTextBox that scores suggestions from the dictionary
/// based ... | 43.586207 | 124 | 0.562104 | [
"MIT"
] | SivilTaram/WinRTXamlToolk | WinRTXamlToolkit/Controls/AutoCompleteTextBox/Algorithm/PrefixSuggestion.cs | 2,530 | C# |
using System.Collections.Generic;
using Lucene.Net.Documents;
using Lucene.Net.Index;
using NUnit.Framework;
using JCG = J2N.Collections.Generic;
using Assert = Lucene.Net.TestFramework.Assert;
namespace Lucene.Net.Search.Similarities
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
... | 38.233553 | 117 | 0.55829 | [
"Apache-2.0"
] | Maxwellwr/lucenenet | src/Lucene.Net.Tests/Search/Similarities/TestSimilarity2.cs | 11,625 | C# |
using System.Collections.Generic;
namespace LaserCutterTools.BoxBuilder
{
public sealed class StartPositionConfiguration
{
private Dictionary<CubeSide, SideStartPositionConfiguration> startConfigs = new Dictionary<CubeSide, SideStartPositionConfiguration>();
public StartPositionConfiguration(... | 31.846154 | 143 | 0.605878 | [
"MIT"
] | MrSim17/LaserCutterTools | BoxBuilder/StartPositionConfiguration.cs | 2,486 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Shouldly;
using Spect.Net.SpectrumEmu.Devices.Tape;
using Spect.Net.SpectrumEmu.Devices.Tape.Tap;
// ReSharper disable PossibleNullReferenceException
namespace Spect.Net.SpectrumEmu.Test.Devices.Tape
{
[TestClass]
public class TapPlayerTests
{
... | 32.238462 | 71 | 0.560964 | [
"MIT"
] | Dotneteer/spectnetide | Tests/Spect.Net.SpectrumEmu.Test/Devices/Tape/TapPlayerTests.cs | 4,193 | C# |
using UdonSharp;
using UnityEngine;
using UnityEngine.UI;
using VRC.SDKBase;
using VRC.Udon;
public class PlayerTelepoter : UdonSharpBehaviour
{
int playerID;
[SerializeField]
Text playerName;
bool isEnabledNode = false;
void Start()
{
}
public void S... | 20.616279 | 111 | 0.50705 | [
"MIT"
] | kurotori4423/KurotoriUdonMenu | Assets/KurotoriUdonUtilites/KurotoriUdonMenu/UdonScripts/Teleporter/PlayerTelepoter.cs | 1,775 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** 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;
namespace Pulumi.Azur... | 42.5 | 237 | 0.622157 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/DataFactory/V20180601/Inputs/SapTableSourceArgs.cs | 5,100 | 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 System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using System.L... | 46.762465 | 256 | 0.64666 | [
"MIT"
] | AlFasGD/roslyn | src/Compilers/CSharp/Test/Semantic/SourceGeneration/GeneratorDriverTests.cs | 99,419 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.M... | 40.777487 | 284 | 0.494062 | [
"MIT"
] | SiberianHuskyL/WTM | src/WalkingTec.Mvvm.Mvc.Admin/ApiControllers/AccountController.cs | 15,729 | C# |
using System;
namespace PipelineExtensions
{
public class GameEditorEvent
{
public int Y { get; set; }
public static GameEditorEvent GetEvent(string typeName)
{
var fullyQualifiedName = $"PipelineExtensions.{typeName}";
var eventType = Type.GetType(fullyQualifi... | 22.632653 | 77 | 0.624887 | [
"MIT"
] | louissalin/gamedev-with-monogame | PipelineExtensions/GameEditorEvent.cs | 1,111 | C# |
using System;
using _10_interface.Models;
namespace _10_interface
{
class Program
{
static void Main(string[] args)
{
Weapon[] weapons = { new Knife(), new Gun(), new LaserGun(), new Bow() };
Player player = new();
foreach (var item in weapons)
... | 22 | 85 | 0.483636 | [
"MIT"
] | GreedNeSS/Inheritance | 10-interface/Program.cs | 552 | C# |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Identity;
using ToDoList.Models;
using System.Threading.Tasks;
using ToDoList.ViewModels;
namespace ToDoList.Controllers
{
public class AccountController : Controller
{
private readonly ToDoListContext _db;
private readonly UserManager<ApplicationU... | 24.643836 | 173 | 0.667593 | [
"MIT"
] | chynnalew/ToDoList.Solution | ToDoList/Controllers/AccountController.cs | 1,799 | C# |
using System;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
using Diploms.Dto;
using Diploms.Services.Departments;
using Diploms.Requests;
using System.Threading.Tasks;
using Microsoft.Net.Http.Headers;
using System.IO;
namespace Diploms.Controllers
{
[Route("api/docu... | 32.627907 | 103 | 0.655738 | [
"MIT"
] | denismaster/dcs | src/Diploms.WebUI/Controllers/DocumentController.cs | 1,403 | C# |
using System;
namespace TomatoLog.Server.Models
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
} | 19.454545 | 70 | 0.672897 | [
"MIT"
] | lamondlu/TomatoLog | TomatoLog.Server/Models/ErrorViewModel.cs | 214 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Microsoft.AdvocacyPlatform.Contracts
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Mic... | 37.793103 | 97 | 0.620894 | [
"MIT"
] | Bhaskers-Blu-Org2/AdvocacyPlatform | API/Microsoft.AdvocacyPlatform.Contracts/Interface/IHttpClientWrapper.cs | 2,194 | C# |
#region S# License
/******************************************************************************************
NOTICE!!! This program and source code is owned and licensed by
StockSharp, LLC, www.stocksharp.com
Viewing or use of this code requires your acceptance of the license
agreement found at https://github.com/St... | 28.420118 | 181 | 0.690194 | [
"Apache-2.0"
] | chenghuasheng/StockSharp | Samples/Testing/SampleHistoryTesting/SmaStrategy.cs | 4,803 | C# |
using Xunit;
namespace Exercism.TestRunner.CSharp.IntegrationTests
{
public class TestRunnerTests
{
[Theory]
[TestSolutionsData]
public void SolutionIsTestedCorrectly(TestSolution solution)
{
var testRun = TestSolutionRunner.Run(solution);
Assert.Equal(te... | 26.8 | 91 | 0.664179 | [
"MIT"
] | jrr/csharp-test-runner | test/Exercism.TestRunner.CSharp.IntegrationTests/TestRunnerTests.cs | 402 | C# |
using ClientCore;
using ClientCore.CnCNet5;
using DTAClient.Domain;
using DTAClient.DXGUI.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Rampastring.Tools;
using Rampastring.XNAUI;
using System;
using System.Diagnostics;
using Sys... | 43.782609 | 136 | 0.622542 | [
"MIT"
] | 0999312/xna-cncnet-client | DXMainClient/DXGUI/GameClass.cs | 9,843 | C# |
using DSharpPlus.Entities;
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
namespace DSharpPlus.SlashCommands
{
/// <summary>
/// Represents a context for an interaction
/// </summary>
public sealed class InteractionContext
{
/// <summary>
... | 38.052632 | 288 | 0.611737 | [
"MIT"
] | VelvetThePanda/DSharpPlus.SlashCommands | InteractionContext.cs | 5,063 | C# |
/*
* NeutrinoAPI.PCL
*
* This file was automatically generated for NeutrinoAPI by APIMATIC v2.0 ( https://apimatic.io ).
*/
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Task... | 58.551724 | 866 | 0.62662 | [
"MIT"
] | NeutrinoAPI/NeutrinoAPI-CSharp | NeutrinoAPI.PCL/Controllers/WWW.cs | 18,678 | C# |
/* --------------------------------------------------------------------------------------------------------------------
* AUDIO-GALLERY-SUITE
* --------------------------------------------------------------------------------------------------------------------
* Author: Robin Rizvi
* Email: mail@robi... | 29.333333 | 277 | 0.646961 | [
"MIT"
] | dineshkummarc/Audio-Gallery-Suite | Software/audiogallery/user.cs | 36,523 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
namespace SIPSorcery.Entities
{
public partial class SIPAccount
... | 37.454545 | 304 | 0.575243 | [
"BSD-3-Clause"
] | Rehan-Mirza/sipsorcery | sipsorcery-core/SIPSorcery.Entities.Client/Generated_Code/Entities/SIPAccount.shared.cs | 3,710 | C# |
using System;
using System.Text;
using System.Collections.Generic;
using ExcelKit.Core.Constraint.Enums;
namespace ExcelKit.Core.Constraint.Mappings
{
/// <summary>
/// Excel中列的类型转换
/// </summary>
internal class ColumnTypeMapping
{
public static object Convert(string convertValue, ColumnType columnType, bool a... | 28.392157 | 137 | 0.703039 | [
"MIT"
] | AdvanceOpen/ExcelK | src/ExcelKit.Core/Constraint/Mappings/ColumnTypeMapping.cs | 1,512 | C# |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using ProductShop.Data;
namespace ProductShop.Migrations
{
[DbContext(typeof(Produ... | 34.560345 | 125 | 0.514343 | [
"MIT"
] | stanislavstoyanov99/SoftUni-Software-Engineering | DB-with-C#/Labs-And-Homeworks/Entity Framework Core/10. JSON Processing - Exercise/ProductShop/Migrations/ProductShopContextModelSnapshot.cs | 4,011 | C# |
using ElectronNET.API;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace Test.ElectronAngular
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder Create... | 26.086957 | 70 | 0.585 | [
"MIT"
] | Arthur-Neto/test-electron-angular | Program.cs | 600 | C# |
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... | 23.61236 | 463 | 0.663098 | [
"MIT"
] | Acidburn0zzz/CodeContracts | Microsoft.Research/Contracts/System.Web/Sources/System.Web.UI.WebControls.CheckBoxField.cs | 4,203 | 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 ... | 40.9 | 128 | 0.707824 | [
"Apache-2.0"
] | googleapis/googleapis-gen | google/cloud/dialogflow/cx/v3beta1/google-cloud-dialogflow-cx-v3beta1-csharp/Google.Cloud.Dialogflow.Cx.V3Beta1.StandaloneSnippets/SessionEntityTypesClient.DeleteSessionEntityTypeAsyncSnippet.g.cs | 1,636 | C# |
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version: 17.0.0.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ----... | 46.952502 | 178 | 0.5812 | [
"Apache-2.0"
] | TobbenTM/aws-lambda-dotnet | Libraries/src/Amazon.Lambda.Annotations.SourceGenerator/Templates/LambdaFunctionTemplate.cs | 74,140 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using STG.SRP.Core.Utilities;
namespace STG.SRP.ControlRoom
{
public partial class CRRibbon : UserControl
{
public List<RibbonPanel> Panels { get; set; }
... | 27.541176 | 232 | 0.45707 | [
"BSD-3-Clause"
] | CityOfBurlington/btvsrp | SRP/ControlRoom/Controls/CRRibbon.ascx.cs | 2,343 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace egg.db.SqlStatements {
/// <summary>
/// 数据更新语句
/// </summary>
public class Update : egg.Object, ISqlStringable {
// 数据库连接
private Connection _dbc;
// 表对象
private SqlUnits.Table _table;
... | 33.932432 | 107 | 0.428116 | [
"MIT"
] | inmount/e | egg.db/SqlStatements/Update.cs | 5,256 | C# |
namespace Multiformats.Base
{
internal class Base64Padded : Base64
{
private static readonly char[] _alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".ToCharArray();
protected override string Name => "base64pad";
protected override char Prefix => 'M';
... | 36.466667 | 133 | 0.685558 | [
"MIT"
] | 0xced/cs-multibase | src/Multiformats.Base/Base64.Padded.cs | 549 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... | 31.28 | 84 | 0.478261 | [
"Apache-2.0"
] | helviojunior/safeid | IAMWebServer/IAMWebServer/_login2/recover_st1.aspx.designer.cs | 784 | C# |
using System;
using Android.App;
using TestClientXamarin.Droid.Implementation;
using TestClientXamarin.Interface;
using Xamarin.Forms;
[assembly: Xamarin.Forms.Dependency(typeof(AndroidCloseAppImplementation))]
namespace TestClientXamarin.Droid.Implementation
{
public class AndroidCloseAppImplementation : ... | 25.095238 | 75 | 0.667932 | [
"Apache-2.0"
] | JoacimWall/CoreCom | src/CoreCom/Samples/Client/TestClientXamarin/TestClientXamarin.Android/Implementation/AndroidCloseAppImplementation.cs | 529 | C# |
using System.IdentityModel.Tokens.Jwt;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore... | 34.925 | 134 | 0.606299 | [
"MIT"
] | FredrikK/ActiveLogin.Authentication | samples/IdentityServer.ClientSample/Startup.cs | 2,796 | C# |
// -----------------------------------------------------------------
// <copyright file="IEventRuleCreationArguments.cs" company="2Dudes">
// Copyright (c) 2018 2Dudes. All rights reserved.
// Author: Jose L. Nunez de Caceres
// jlnunez89@gmail.com
// http://linkedin.com/in/jlnunez89
//
// Licensed under the MIT licen... | 31.590909 | 73 | 0.571223 | [
"MIT"
] | Codinablack/fibula-server | src/Fibula.Server.Contracts/Abstractions/IEventRuleCreationArguments.cs | 697 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Runtime.CompilerServices;
using System.Collections.ObjectModel;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System... | 35.323529 | 156 | 0.514571 | [
"MIT"
] | 2m0nd/runtime | src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/TraceLogging/XplatEventLogger.cs | 7,206 | C# |
using PVScan.Desktop.WPF.ViewModels;
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using Syste... | 25.22449 | 113 | 0.666667 | [
"MIT"
] | meJevin/PVScan | Source/Desktop/Windows/PVScan.Desktop.WPF/Views/SortingPage.xaml.cs | 1,238 | C# |
using System.IO;
using Bari.Core.Generic;
namespace Bari.Plugins.PythonScripts.Scripting
{
/// <summary>
/// Build script defined by individual files in the suite's <c>scripts</c> directory.
///
/// <para>
/// The script file's name defines the source set for which it is automatically executed.
... | 28.285714 | 112 | 0.558081 | [
"Apache-2.0"
] | Psychobilly87/bari | src/scripting/Bari.Plugins.PythonScripts/cs/Scripting/SimplePythonBuildScript.cs | 1,586 | C# |
using System;
using System.Collections.Generic;
using Gallio.Collections;
using Gallio.Framework.Pattern;
using Gallio.Reflection;
using NBehave.Core;
namespace NBehave.Spec.Framework
{
/// <summary>
/// When applied to a method of a context class, declares a setup action to be performed before
/// evaluat... | 39.657895 | 137 | 0.69144 | [
"ECL-2.0",
"Apache-2.0"
] | citizenmatt/gallio | contrib/NBehave/NBehave/Spec/Framework/ContextSetUpAttribute.cs | 1,507 | C# |
using System.ComponentModel.Composition;
using SamplePrism.Domain.Models.Accounts;
namespace SamplePrism.Services.Implementations.PrinterModule.ValueChangers
{
[Export]
public class AccountTransactionValueChanger : AbstractValueChanger<AccountTransaction>
{
public override string GetTargetTag()
... | 26.526316 | 90 | 0.69246 | [
"Apache-2.0"
] | XYRYTeam/SimplePrism | SamplePrism.Presentation.Services/CommonServices/Implementations/PrinterModule/ValueChangers/AccountTransactionValueChanger.cs | 504 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.