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 |
|---|---|---|---|---|---|---|---|---|
// Copyright (c) 2022 TrakHound Inc., All Rights Reserved.
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace MTConnect.Agents.Configuration
{
public cla... | 40.233129 | 189 | 0.613449 | [
"Apache-2.0"
] | TrakHound/MTConnect | src/MTConnect.NET-Common/Agents/Configuration/AdapterConfiguration.cs | 6,558 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QFramework.GraphDesigner;
using Invert.Data;
using QFramework;
using QFramework.Json;
using UnityEngine;
namespace QFramework.GraphDesigner
{
public class UndoSystem : DiagramPlugin,
IDataRecordPropert... | 38.302083 | 156 | 0.516363 | [
"MIT"
] | 317392507/QFramework | Assets/QFramework/Framework/0.Core/Editor/0.EditorKit/uFrame.Editor/Systems/UndoSystem.cs | 11,033 | C# |
using System;
using Newtonsoft.Json;
namespace IIIF.Serialisation
{
public abstract class WriteOnlyConverter : JsonConverter
{
public override bool CanConvert(Type objectType) => true;
public override bool CanRead => false;
public override object ReadJson(JsonReader reader, Type object... | 30.730769 | 138 | 0.673342 | [
"MIT"
] | Riksarkivet/iiif-net | src/IIIF/IIIF/Serialisation/WriteOnlyConverter.cs | 799 | C# |
using System;
using LinCms.Entities.Blog;
namespace LinCms.Blog.Notifications
{
public class CreateNotificationDto
{
public const string CreateOrCancelAsync = "CreateNotificationDto.CreateOrCancelAsync";
public NotificationType NotificationType { get; set; }
public Guid? ArticleId { ge... | 30.421053 | 94 | 0.66782 | [
"MIT"
] | KribKing/lin-cms-dotnetcore | src/LinCms.Application.Contracts/Blog/Notifications/CreateNotificationDto.cs | 580 | 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("Al... | 42 | 94 | 0.756892 | [
"BSD-3-Clause"
] | DBCG/Dataphor | Libraries/FHIR2.Core/Source/Properties/AssemblyInfo.cs | 1,599 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(MeshFilter), typeof(MeshRenderer))]
public class Test4 : MonoBehaviour
{
public int xGridCount, yGridCount, zGridCount;
private Vector3[] _vertices;
private int[] _triangles;
private int _t = 0, _v ... | 29.959596 | 109 | 0.50708 | [
"MIT"
] | BlueMonk1107/MeshProgram | Assets/Scripts/Test_4/Test4.cs | 9,100 | C# |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public static class Sound_Manager {
private class MonoBehaviourDummy : MonoBehaviour { }
public enum Sound {
None,
BulletTime_In,
BulletTime_Out,
Dash,
Dash_2,
Dash_3,
Dash_4... | 38.130641 | 272 | 0.639382 | [
"MIT"
] | mickeyzzq/UCMEGRSamples | CMK/Assets/_/Stuff/Scripts/Sound_Manager.cs | 16,053 | C# |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace luno_api
{
public class ListTradeResponse
{
[JsonProperty("trades")]
public List<ListTrade> Trades { get; set; }
}
} | 19.363636 | 51 | 0.666667 | [
"MIT"
] | armandvanderwalt/luno-api | luno-api/ListTradeResponse.cs | 215 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace net_mvc_day02
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{... | 24.208333 | 99 | 0.58864 | [
"MIT"
] | Willson-L/net_mvc_study | net_mvc_day02/net_mvc_day02/net_mvc_day02/App_Start/RouteConfig.cs | 583 | C# |
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.EventSystems;
public class SellHoney : MonoBehaviour, IPointerClickHandler
{
[SerializeField] HoneyManager honeyManager;
[SerializeField] MoneyManager moneyManager;
public void OnPointerClick(Poin... | 20.9 | 62 | 0.69378 | [
"MIT"
] | AlexYam94/Game_off_2021_Bee_Keeper | Assets/Scripts/Items/SellHoney.cs | 627 | C# |
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace Out_Parameters
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Ap... | 23.047619 | 66 | 0.568182 | [
"MIT"
] | NetOffice/NetOffice | Tests/Concept Tests/Out Parameters/Out Parameters/Program.cs | 486 | C# |
/*
Copyright (C) 2008 Siarhei Novik (snovik@gmail.com)
Copyright (C) 2008, 2009 , 2010, 2011, 2012 Andrea Maggiulli (a.maggiulli@gmail.com)
This file is part of QLNet Project https://github.com/amaggiulli/qlnet
QLNet is free software: you can redistribute it and/or modify it
under the terms of the QLNet licens... | 50.949539 | 205 | 0.537039 | [
"BSD-3-Clause"
] | maittaeb/QLNet | tests/QLNet.Tests/T_Bonds.cs | 93,912 | C# |
/*
The MIT License (MIT)
Copyright (c) 2018 Helix Toolkit contributors
*/
#if NETFX_CORE
using Windows.UI.Xaml;
using Media = Windows.UI;
namespace HelixToolkit.UWP
#else
using System.Windows;
using Media = System.Windows.Media;
namespace HelixToolkit.Wpf.SharpDX
#endif
{
using global::SharpDX;
using Model;
... | 34.047619 | 149 | 0.561772 | [
"MIT"
] | SiNeumann/helix-toolkit | Source/HelixToolkit.SharpDX.SharedModel/Element3D/LineGeometryModel3D.cs | 4,292 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Bot.Schema;
namespace Microsoft.Bot.Builder.Dialogs.Choices
{
/// <summary>
/// Assists with formatting a message activity th... | 43.893617 | 165 | 0.571789 | [
"MIT"
] | Bhaskers-Blu-Org2/botbuilder-dotnet | libraries/Microsoft.Bot.Builder.Dialogs/Choices/ChoiceFactory.cs | 10,317 | C# |
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.
ImageSharp.Formats.Tga
{
/// <summary>
/// Defines the tga image type. The TGA File Format can be used to store Pseudo-Color,
/// True-Color and Direct-Color images of various pixel dep... | 25.612245 | 90 | 0.537052 | [
"Apache-2.0"
] | Sheyne/ImageSharp | src/ImageSharp/Formats/Tga/TgaImageType.cs | 1,255 | C# |
// ---------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// The MIT License (MIT)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files ... | 38.114754 | 85 | 0.6 | [
"MIT"
] | GauravGarg118/11 | ContosoModels/LineItem.cs | 2,325 | C# |
/* Copyright 2010-present MongoDB Inc.
*
* 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... | 35.064417 | 165 | 0.545797 | [
"Apache-2.0"
] | Corniel/mongo-csharp-driver | src/MongoDB.Driver/MongoDatabaseSettings.cs | 11,431 | C# |
using System;
namespace UserInterfaceTemplate.Infrastructure.ExceptionHandling
{
public class DebugExceptionHandler : IExceptionHandler
{
public virtual void HandleException(Exception ex)
{
if (ex.IsFatal())
throw ex; //application crash
System... | 25.5625 | 83 | 0.613692 | [
"MIT"
] | OpResCodes/WPF-Template | src/UserInterfaceTemplate/Infrastructure/ExceptionHandling/DebugExceptionHandler.cs | 411 | 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("Sa... | 36.517241 | 84 | 0.741265 | [
"Apache-2.0"
] | ArtjomP/Template10 | Templates (Project)/Blank/Properties/AssemblyInfo.cs | 1,062 | C# |
/*
Copyright (C) 2019 Alex Watt (alexwatt@hotmail.com)
This file is part of Highlander Project https://github.com/alexanderwatt/Highlander.Net
Highlander is free software: you can redistribute it and/or modify it
under the terms of the Highlander license. You should have received a
copy of the license along wit... | 43.435976 | 205 | 0.569523 | [
"BSD-3-Clause"
] | mmrath/Highlander.Net | FpML.V5r3.Components/CurveEngine/PricingStructures/Interpolators/GapStepInterpolator.cs | 14,247 | C# |
// cs1656-4.cs: Cannot assign to `i' because it is a `foreach iteration variable'
// Line: 14
using System.Collections;
class Test {
static IEnumerable foo () { return null; }
static void Main ()
{
IEnumerable f = foo ();
if (f != null)
foreach (int i in f)
i = 0;
}
}
| 16.882353 | 81 | 0.623693 | [
"Apache-2.0"
] | Sectoid/debian-mono | mcs/errors/cs1656-4.cs | 287 | C# |
#if !RELEASE_UNITY
using Newtonsoft.Json;
using System;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Nightscout.Net.Http
{
internal class HttpClientService : IHttpService, IDisposable
{
private readonly Htt... | 37 | 153 | 0.618952 | [
"MIT"
] | legoandmars/Nightscout.Net | Nightscout.Net/Http/HttpClientService.cs | 2,999 | C# |
using System;
using System.Windows.Forms;
namespace Finder2
{
static class Program
{
/// <summary>
/// Главная точка входа для приложения.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
... | 20 | 66 | 0.534091 | [
"MIT"
] | IllIgt/FilesFinder | Finder2/Program.cs | 472 | C# |
using NCalc;
using System;
using System.Data;
using System.Data.SqlClient;
using System.Globalization;
using System.Windows.Forms;
namespace Transport
{
public partial class Report : Form
{
public Report()
{
InitializeComponent();
}
private void Rep... | 51.326136 | 915 | 0.564394 | [
"MIT"
] | ivailo333/Transport | Transport/Report.cs | 48,830 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GasMaskSpawner : MonoBehaviour {
public GameObject gasMask;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
public void SpawnGasMask() {
Instantiate(ga... | 16.954545 | 63 | 0.726542 | [
"MIT"
] | cmnvb/GGJ18-Team-Snack-Cupboard | Assets/Scripts/GasMaskSpawner.cs | 375 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("ConsoleApp1")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: As... | 30.789474 | 88 | 0.752137 | [
"MIT"
] | guitarrapc/CSharpPracticesLab | logger/log4net/DotNetFrameworkConsole/Properties/AssemblyInfo.cs | 1,757 | C# |
using Newtonsoft.Json;
namespace Domain.Entities
{
public class Product
{
public int Id { get; set; }
public string ProductName { get; set; }
public int CategorieId { get; set; }
public double Prijs { get; set; }
public bool Actief { get; set; }
[JsonIgnore]
... | 23.375 | 48 | 0.580214 | [
"MIT"
] | Kimo-sudo/Maccie | Domain/Entities/Product.cs | 376 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Threading.Tasks;
namespace idp.Responses
{
[DataContract]
public class BaseResponse
{
[DataMember(Name = "Error")]
public string ErrorCode { get; set; }
[DataMember(... | 21.157895 | 52 | 0.671642 | [
"MIT"
] | apemon/ndid-examples-dotnet | idp/Responses/BaseResponse.cs | 404 | C# |
using GBCLV3.Models.Launch;
using Stylet;
namespace GBCLV3.ViewModels
{
public class LaunchStatusViewModel : Screen
{
#region Bindings
public bool IsInLaunchProcess =>
Status == LaunchStatus.LoggingIn ||
Status == LaunchStatus.ProcessingDependencies ||
Stat... | 22.939394 | 60 | 0.602378 | [
"MIT"
] | Lolle2000la/GBCLV3 | GBCLV3/ViewModels/LaunchStatusViewModel.cs | 759 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-------... | 36.336449 | 191 | 0.587963 | [
"Apache-2.0"
] | jimmymain/Documentation.Analyzers | Documentation.Analyser/Resources.Designer.cs | 3,888 | 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... | 30.689076 | 110 | 0.586254 | [
"Apache-2.0"
] | FoxBearBear/aws-sdk-net | sdk/src/Services/DataPipeline/Generated/Model/TaskObject.cs | 3,652 | C# |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Transactions;
using TransactionScopeExample.Models;
namespace TransactionScopeExample.DbLayer
{
public class DbQuiz
{
... | 35.053571 | 155 | 0.631177 | [
"MIT"
] | rohansen/Code-Examples | Database/TransactionScopeExample/TransactionScopeExample/DbLayer/DbQuiz.cs | 1,967 | C# |
using AirplaneProject.Core.Interfaces;
using AirplaneProject.Core.Messages;
using AirplaneProject.Core.Models.Results;
using AirplaneProject.Domain.Bases;
using System;
using System.Threading.Tasks;
namespace AirplaneProject.Core.Models.Validations
{
public class EntityValidation<TEntity> : IEntityValidation<TEnt... | 25.511628 | 92 | 0.747493 | [
"MIT"
] | yakkumo/AirplaneApi | src/AirplaneProject.Core/Models/Validations/EntityValidation.cs | 1,099 | C# |
/*
MIT License
Copyright (c) 2021 Gregor Mohorko
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, modify, merge, publish... | 32.966667 | 109 | 0.754803 | [
"MIT"
] | GregaMohorko/GM.WPF | src/GM.WPF/GM.WPF/Utility/TreeViewUtility.cs | 1,980 | C# |
using System.Collections.Generic;
namespace Graph.QuadTree
{
/// <typeparam name="TValue">Type of values which stores in tree</typeparam>
public class QuadTreeNode<TValue> where TValue : IQuadObject
{
/// <summary>
/// Maxium values which can be stored in one node
/// </su... | 34.68595 | 81 | 0.494639 | [
"Apache-2.0"
] | DMokhnatkin/GraphLib | GraphLib/GraphLib/QuadTree/QuadTreeNode.cs | 4,199 | C# |
//
// Copyright 2020 Google LLC
//
// 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, Ver... | 34.111969 | 105 | 0.535144 | [
"Apache-2.0"
] | CertifiedWebMaster/iap-desktop | sources/Google.Solutions.Common.Test/Net/InprocHttpProxy.cs | 8,837 | C# |
using System;
using System.Runtime.Serialization;
namespace Elders.Cronus.Projections.Versioning
{
[DataContract(Name = "d661a3e9-f6d0-4ea7-9bd9-435d3c3b8712")]
public class TimeoutProjectionVersionRequest : ISystemCommand
{
TimeoutProjectionVersionRequest() { }
public TimeoutProjectionVe... | 32.727273 | 187 | 0.662037 | [
"Apache-2.0"
] | Elders/Cronus | src/Elders.Cronus/Projections/Versioning/Commands/TimeoutProjectionVersionRequest.cs | 1,082 | C# |
using Windows.Foundation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace BinaryDataSerializer.Editor.Controls
{
public sealed partial class FieldControl : UserControl
{
public static readonly DependencyProperty AnchorPointProperty = DependencyProperty.Register(
"AnchorPoi... | 27.846154 | 107 | 0.624309 | [
"MIT"
] | jackwakefield/BinaryDataSerializer | BinaryDataSerializer.Editor/Controls/FieldControl.xaml.cs | 1,088 | C# |
using System.Collections.Generic;
using System;
using scopely.msgpacksharp;
using Neutrino.Core.Messages;
using System.Reflection;
namespace Neutrino.Core
{
public class NetworkMessageFactory
{
private Dictionary<byte, NetworkMessage> messages = new Dictionary<byte, NetworkMessage>();
private Dictionary<Type, N... | 32.055556 | 151 | 0.702946 | [
"MIT"
] | electroball09/Neutrino | NeutrinoCore/NetworkMessageFactory.cs | 2,887 | C# |
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
// Could make it take in two generic types.
public class Binding
{
public readonly ViewBlock vb;
public readonly ModelBlock mb;
readonly UnityEvent environmentChanged;
public Binding(ViewBlock vb, ModelBlock mb, UnityEvent viewMod... | 21.90625 | 75 | 0.717546 | [
"MIT"
] | jtorre39/nebula | NebulaVR/Assets/Scripts/NebulaVR/ViewModel/Binding.cs | 703 | C# |
using System;
using System.Collections.Generic;
namespace JsonSubTypes
{
public class NullableDictionary<TKey, TValue>
{
private bool _hasNullKey;
private TValue _nullKeyValue;
private readonly Dictionary<TKey, TValue> _dictionary = new Dictionary<TKey, TValue>();
public bool ... | 24.5 | 95 | 0.467532 | [
"MIT"
] | AkshaySharmaDEV/CovIt | Assets/unity-sdk-core-1.2.3/ThirdParty/JsonSubTypes/NullableDictionary.cs | 1,619 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class EnableShooting : MonoBehaviour
{
public float ammoCount;
//public AudioSource source1;
public void OnTriggerEnter2D(Collider2D other)
{
PlayerShoot player = other.gameObject.GetCompon... | 23.666667 | 74 | 0.5223 | [
"MIT"
] | cbrown146/ISTA-415 | src/Scripts/EnableShooting.cs | 854 | C# |
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Example_1_Asynchronous_Data_Calculation
{
class Program
{
static void Main(string[] args)
{
Thread.CurrentThread.Name = "MainThread";
Console.WriteLine("Creating new task, that returns a strin... | 35.490196 | 102 | 0.559116 | [
"MIT"
] | robson081192/ParallelDotNet | MultithreadingPlayground/Example_1_Asynchronous_Data_Calculation/Program.cs | 1,812 | C# |
using System;
using System.Diagnostics;
using System.Linq;
using System.Security.Cryptography;
using static AEZ.AEZConstants;
namespace AEZ
{
/// <summary>
/// Based on https://github.com/Yawning/aez/blob/ec7426b4492636b9b39cb6e173e7423500107163/aez.go
/// </summary>
public class AEZ
{
int... | 34.2 | 157 | 0.484795 | [
"MIT"
] | joemphilips/DotNetLightning | src/AEZ/AEZ.cs | 5,132 | C# |
using ExtendedMap.Forms.Plugin.Abstractions;
using PluginSampleApp.ViewModels;
using Xamarin.Forms;
using Xamarin.Forms.Maps;
namespace PluginSampleApp.Pages
{
public class ExtendedMapPage : ContentPage
{
public ExtendedMapPage()
{
BindingContext = new ExtendedViewModel();
... | 31.773585 | 173 | 0.599169 | [
"MIT"
] | Kimmax/Xamarin.Forms.Plugins | SampleApp/PluginSampleApp/PluginSampleApp/PluginSampleApp/Pages/ExtendedMapPage.cs | 1,686 | C# |
namespace ExampleProject
{
public class HotelRoom
{
public int Id { get; set; }
public string Name { get; set; }
public int MaxGuests { get; set; }
public bool IsActive { get; set; }
public HotelRoom(HotelRoom source)
{
this.Id = source.Id;
... | 20.038462 | 46 | 0.50096 | [
"Apache-2.0"
] | dev-someuser/ReSharper.T4CodeGenerator | Examples/ExampleProject/HotelRoom.cs | 523 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TP_Bibliotheque.Models;
using TP_Bibliotheque.Models.DAL;
using TP_Bibliotheque.Models.Data;
using TP_Bibliotheque.Models.ViewModel;
namespace TP_Bibliotheque.Controllers
{
public class AuthorControlle... | 37.098039 | 149 | 0.617072 | [
"MIT"
] | sylvainmetayer/TP_Bibliotheque | TP_Bibliotheque/Controllers/AuthorController.cs | 3,810 | 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.Linq;
using Micros... | 33.401254 | 197 | 0.624214 | [
"MIT"
] | 06needhamt/roslyn | src/Compilers/CSharp/Test/Semantic/Semantics/FieldInitializerBindingTests.cs | 10,657 | C# |
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt.
using System;
using System.Globalization;
using System.Text.RegularExpressions;
using System.Windows;
using System.Windows.Controls;
namespace Sce.Atf.Wpf.Controls
{
/// <summary>
/// A TextBox with a bindable StringForma... | 32.557047 | 135 | 0.5671 | [
"Apache-2.0"
] | gamebytes/ATF | Framework/Atf.Gui.Wpf/Controls/FormattingTextBox.cs | 4,706 | C# |
public static class RenderQueues
{
public static int WorldOpaque = 2000;
public static int Backwall = 2499;
public static int Stars = 2501;
public static int Gas = 3500;
public static int WorldTransparent = 3500;
public static int Liquid = 3500;
public static int BlockTiles = 4500;
}
| 17.529412 | 43 | 0.741611 | [
"MIT"
] | undancer/oni-data | Managed/main/RenderQueues.cs | 298 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
using Leap;
using Leap.Unity;
// this file is intended to be used with a leapmotion controller, developed with ultraleap motion software version v5.3.1-0d83c9b8
// and with unity 2020.3.30f1, to contact and send... | 47.575472 | 144 | 0.541543 | [
"MIT"
] | Gustav-Rixon/M7012E-DRv3 | Remote control/Assets/ControllMove.cs | 5,043 | C# |
namespace KryptonDateTimePickerExamples
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 56.455982 | 162 | 0.648581 | [
"BSD-3-Clause"
] | Krypton-Suite/Standard-Toolkit-Demos | Source/Krypton Toolkit Examples/KryptonDateTimePicker Examples/Form1.Designer.cs | 25,012 | C# |
// *** 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... | 27.363636 | 88 | 0.737542 | [
"ECL-2.0",
"Apache-2.0"
] | Otanikotani/pulumi-aws | sdk/dotnet/WafV2/Outputs/RuleGroupRuleStatementByteMatchStatementFieldToMatchQueryString.cs | 602 | C# |
using System;
using CBS.Data;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.UI;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
[assembly: HostingStartup(typeof(CBS.Areas.Ident... | 28.857143 | 77 | 0.745875 | [
"MIT"
] | masonclarke24/CBS | src/ClubBAISTSystem/CBS/Areas/Identity/IdentityHostingStartup.cs | 608 | C# |
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.OS;
using Android.Widget;
namespace MWC.Android.Screens {
[Activity(Label = "Home", ScreenOrientation = ScreenOrientation.Portrait)]
public class HomeScreen : BaseScreen {
protected MWC.Adapters.DaysListAdapter ... | 32.177778 | 96 | 0.577348 | [
"Apache-2.0"
] | Eg-Virus/mobile-samples | MWC/MWC.Droid/Screens/Home/HomeScreen.cs | 1,450 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace CaseAPI.PegaClasses
{
public partial class Pega
{
public string pyLabel { get; set; }
public string pyNote { get; set; }
public string pxCreateDate... | 25.590909 | 57 | 0.646536 | [
"MIT"
] | microsoft/GBB-Business-Applications | demos/migration-pega-to-d365/src/AzureFunctions/CaseAPI/PegaClasses/Pega.cs | 565 | C# |
using System;
using System.Windows.Input;
namespace AupRename
{
public class DelegateCommand : ICommand
{
private readonly Action _execute;
private readonly Func<bool> _canExecute;
public event EventHandler CanExecuteChanged;
public DelegateCommand(Action execute)
... | 23.3 | 85 | 0.587983 | [
"MIT"
] | karoterra/AupRename | AupRename/DelegateCommand.cs | 934 | C# |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | 32 | 122 | 0.682528 | [
"Apache-2.0"
] | tencentcloudapi-test/tencentcloud-sdk-dotnet | TencentCloud/Tdcpg/V20211118/Models/DescribeResourcesByDealNameRequest.cs | 1,494 | C# |
using System;
namespace GenericScale
{
class Program
{
static void Main(string[] args)
{
int left = 1;
int right = 2;
EqualityScale<int> equalityScale = new EqualityScale<int>(left, right);
Console.WriteLine(equalityScale.AreEqual()); // false
... | 23.26087 | 83 | 0.547664 | [
"MIT"
] | kristiyanivanovx/SoftUni-Programming-Basics-March-2020 | 03 - CSharp-Advanced/08 - Generics - Lab & Exercise/GenericScale/Program.cs | 537 | C# |
using NBatch.Main.Readers.SqlReader;
using NUnit.Framework;
namespace NBatch.Main.UnitTests.Readers.SqlReader
{
[TestFixture]
class SqlDbItemReaderTests
{
[Test]
public void DbIsCalledForActualExecution()
{
var fakeDb = new FakeDb();
var sqlReader = new SqlD... | 26.1 | 107 | 0.578544 | [
"MIT"
] | tenzinkabsang/NBatch | src/NBatch.Main.UnitTests/Readers/SqlReader/SqlDbItemReaderTests.cs | 783 | 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;
using System.Collections.Concurrent;
using System.Collections.Generic;
using... | 42.83421 | 242 | 0.561888 | [
"MIT"
] | cmeyertons/SqlClient | src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/SqlClient/SqlConnection.cs | 138,483 | C# |
using System;
using System.Collections.Generic;
using KuehneNagel.WeatherForecast.Application.Interfaces;
using KuehneNagel.WeatherForecast.Application.Services;
using KuehneNagel.WeatherForecast.Domain.Interfaces.Services;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace KuehneNagel.WeatherForecast.Appli... | 34.387097 | 122 | 0.59162 | [
"MIT"
] | viniciusmiguel/KuehneNagel.WeatherForecast | KuehneNagel.WeatherForecast/KuehneNagel.WeatherForecast.Application.Tests/AppServiceTests.cs | 3,198 | C# |
namespace Example_003_JsonSerialization
{
public class TemperatureRange
{
public Temperature? Min { get; set; }
public Temperature? Max { get; set; }
}
}
| 20.333333 | 45 | 0.639344 | [
"MIT"
] | anton-ivanchenko/Sharp.ValueObject | Examples/Example_003_JsonSerialization/TemperatureRange.cs | 185 | C# |
namespace GenericScriptableArchitecture.Editor
{
using System.Collections.Generic;
using SolidUtilities.Editor.Helpers;
using UnityEditor;
using UnityEngine;
public static class SettingsDrawer
{
private const string EnabledInProjectLabel = "Enable stack traces in all assets";
... | 35.017857 | 155 | 0.626211 | [
"MIT"
] | SolidAlloy/GenericScriptableArchitecture | Editor/StackTrace/SettingsDrawer.cs | 1,963 | C# |
/*
* Copyright 2018 JDCLOUD.COM
*
* 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... | 25.516129 | 76 | 0.636536 | [
"Apache-2.0"
] | jdcloud-api/jdcloud-sdk-net | sdk/src/Service/Kubernetes/Apis/ModifyQuotaRequest.cs | 1,636 | C# |
using Newtonsoft.Json.Linq;
namespace MiControl.Devices
{
public abstract class MiHomeDevice
{
public string Sid { get; }
public string Name { get; set; }
public string CustomName { get; set; }
public string Type { get; }
public float? Voltage { get; private set; }
... | 24.5 | 105 | 0.539016 | [
"MIT"
] | ermac0/mi-home | MiControl/MiControl/Devices/MiHomeDevice.cs | 835 | C# |
// (c) 2012-2016 Nick Hodge mailto:nhodge@mungr.com & Brendan Forster
// License: MS-PL
using System.Collections.Generic;
using Newtonsoft.Json;
namespace BoxKite.Twitter.Models
{
public class FriendshipLookupResponse : TwitterControlBase
{
[JsonProperty("name")]
public string Name { get; set... | 25.608696 | 70 | 0.646859 | [
"MIT"
] | nickhodge/BoxKite.Twitter | src/BoxKite.Twitter/Platforms/shared/Models/Service/FriendshipLookupResponse.cs | 591 | C# |
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, cop... | 30.899329 | 155 | 0.728714 | [
"Apache-2.0"
] | sak9188/WinIO2 | WinIO/WinIO/AvalonEdit/Rendering/MouseHoverLogic.cs | 4,604 | C# |
namespace LearningCenter.Web.ViewModels.Account
{
using System.Linq;
using AutoMapper;
using LearningCenter.Data.Models;
using LearningCenter.Services.Mapping;
public class CourseViewModel : IMapFrom<Course>, IHaveCustomMappings
{
public int Id { get; set; }
public string Tit... | 26.714286 | 107 | 0.635027 | [
"MIT"
] | NikolayStefanov/Learning-Center | Web/LearningCenter.Web.ViewModels/Account/CourseViewModel.cs | 750 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PositionsForFlying :
IAdjacentFinder
{
IEvaluateHex checkHex = new IsNewFlying();
public void GetAdjacentHexesExtended(BattleHex initialHex)
{
List<BattleHex> neighboursToCkeck = NeighboursFinder.GetAd... | 26.227273 | 100 | 0.69844 | [
"MIT"
] | rafaelmmedeiros/Apocaliptatics | Assets/Scripts/AvailablePosition/PositionsForFlying.cs | 579 | C# |
/*
* Copyright (c) 2016 Google Inc.
*
* 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... | 42.016667 | 99 | 0.515272 | [
"Apache-2.0"
] | joaopaulofcastro/dotnet-docs-samples | logging/api/LoggingTest/LoggingTest.cs | 12,607 | C# |
using J2N.Numerics;
using Lucene.Net.Diagnostics;
using Lucene.Net.Support;
using System;
using System.Runtime.CompilerServices;
namespace Lucene.Net.Util
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
... | 35.092275 | 149 | 0.498196 | [
"Apache-2.0"
] | 10088/lucenenet | src/Lucene.Net/Util/LongBitSet.cs | 16,355 | C# |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
[System.Serializable]
public class AxleInfo
{
public WheelCollider leftWheel;
public WheelCollider rightWheel;
public bool motor;
public bool steering;
}
public class SimpleCarController : MonoBehaviour
{
public List<A... | 27.42623 | 72 | 0.641363 | [
"MIT"
] | seweiss-hci/VRoad | Assets/Scripts/SimpleCarController.cs | 1,675 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
namespace FalconNet.Common
{
public class PluginManager : ISystem
{
static PluginManager() { }
private static PluginManager _instance = new PluginManager();
p... | 24.139535 | 180 | 0.519268 | [
"MIT"
] | agustinsantos/FalconNet | Common/Plugin/PluginManager.cs | 2,078 | C# |
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version: 12.0.0.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ----... | 41.318713 | 152 | 0.592386 | [
"Apache-2.0"
] | SaschaHaertel/AmazonAWS | generator/ServiceClientGeneratorLib/Generators/Marshallers/JsonRPCResponseUnmarshaller.cs | 14,133 | C# |
/*
Copyright 2019 Georg Eckert (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 without limitation the
rights to use, copy, modify, merge, publis... | 39.277778 | 141 | 0.712871 | [
"MIT"
] | limbusdev/VinkedViewsMR | HoloLens/Assets/Scripts/MetaVis/NullMetaVisFactory.cs | 2,123 | 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 | [
"Apache-2.0"
] | Vultour/music-tracker | MusicTracker/MusicTracker/Properties/Settings.Designer.cs | 1,069 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace LinkedList.Classes
{
public class SLinkedList
{
/// <summary>
/// Assigns Head to the first node
/// </summary>
public Node Head { get; set; }
/// <summary>
/// Is a reference to allow... | 29.45098 | 104 | 0.45273 | [
"MIT"
] | Michael-S-Kelly/data-structures-and-algorithms | DataStructures/LinkedList/LinkedList/Classes/LinkedList.cs | 9,014 | 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... | 25.333333 | 81 | 0.605263 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/CostManagement/V20180801Preview/Outputs/ReportGroupingResponse.cs | 988 | C# |
using System.Xml.Serialization;
namespace Essensoft.AspNetCore.Payment.WeChatPay.V2.Notify
{
/// <summary>
/// 申请退款 - 退款结果通知 (普通商户 / 服务商)
/// </summary>
[XmlRoot("xml")]
public class WeChatPayRefundNotify : WeChatPayNotify
{
/// <summary>
/// 返回状态码
/// </summary>
... | 24.221429 | 58 | 0.480094 | [
"MIT"
] | LuohuaRain/payment | src/Essensoft.AspNetCore.Payment.WeChatPay/V2/Notify/WeChatPayRefundNotify.cs | 3,647 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Управление общими сведениями о сборке осуществляется посредством следующего
// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения,
// связанные со сборкой.
[assembly: AssemblyTitle("Tests... | 39.810811 | 117 | 0.763069 | [
"MIT"
] | ROM-II/rom_db_editor | Tests/Properties/AssemblyInfo.cs | 2,109 | 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:
*
* * Redistributions of source code must retain the above
* copyright notice,... | 37.886792 | 166 | 0.662849 | [
"BSD-2-Clause"
] | ChrisH4rding/xenadmin | XenAdminTests/CommandTests/AddHostToPoolCommandTest.cs | 4,018 | C# |
using UnityEngine;
using UnityEngine.VR;
public class MainScene : MonoBehaviour
{
void Start()
{
if (Utils.CurrentPlayerType == Utils.PlayerType.Unknown)
{
Debug.LogError("Unknown headset type: " + VRSettings.loadedDeviceName);
}
}
}
| 21.214286 | 84 | 0.602694 | [
"MIT"
] | dag10/HoloViveObserver | HoloViveObserver/Assets/Scripts/MainScene.cs | 299 | C# |
/*
********************************************************************
*
* 曹旭升(sheng.c)
* E-mail: cao.silhouette@msn.com
* QQ: 279060597
* https://github.com/iccb1013
* http://shengxunwei.com
*
* © Copyright 2016
*
********************************************************************/
using System;... | 18.490196 | 69 | 0.42842 | [
"MIT"
] | 1002753959/Sheng.WeixinConstruction | SourceCode/Sheng.WeixinConstruction.Client.Shell/Models/Campaign/CreatePictureVoteItemArgs.cs | 992 | C# |
using System;
namespace TurboYang.Dynamic.Expression.Expressions
{
public sealed class OrExpression : BinaryExpression
{
public override String Pattern => @"^\|\|$";
public sealed override Int32 Priority => 3;
protected sealed override String Symbol => "||";
public override Ob... | 27.65 | 66 | 0.640145 | [
"MIT"
] | turboyang-cn/TurboYang.Dynamic.Expression | TurboYang.Dynamic.Expression/Expressions/OrExpression.cs | 555 | C# |
// *** WARNING: this file was generated by pulumigen. ***
// *** 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.Kubernetes.Types.Ou... | 33.418605 | 101 | 0.655532 | [
"Apache-2.0"
] | Teshel/pulumi-kubernetes | sdk/dotnet/Core/V1/Outputs/Handler.cs | 1,437 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenNLP.Tools.Util;
namespace OpenNLP.Tools.Ling
{
/// <summary>
/// This class is mainly for use with RTE in terms of the methods it provides,
/// but on a more general level, it prov... | 30.677966 | 121 | 0.531699 | [
"MIT"
] | mattcolefla/OpenNLP-Plus | IndexedWord.cs | 14,482 | C# |
namespace Microsoft.AspNetCore.Mvc.Versioning
{
using Microsoft.AspNet.OData;
using Microsoft.AspNet.OData.Extensions;
using Microsoft.AspNet.OData.Routing;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Abstractions;
using Microsoft.AspNetCore.Mvc.ActionConstraints;
using ... | 40.941463 | 181 | 0.57536 | [
"MIT"
] | Microsoft/aspnet-api-versioning | src/Microsoft.AspNetCore.OData.Versioning/AspNetCore.Mvc/Versioning/ODataApiVersionActionSelector.cs | 16,788 | 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>
//---... | 32.888889 | 99 | 0.533784 | [
"MIT"
] | usf-comp494-spring2021/davidp | DPaul Final/DPaul Final/obj/Debug/net5.0/DPaul Final.RazorAssemblyInfo.cs | 592 | C# |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 07.12.2021.
using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentMode... | 23.524249 | 125 | 0.526016 | [
"MIT"
] | ibprovider/Lcpi.EFCore.LcpiOleDb | Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Funcs/Int64/SET001/STD/Equals/Complete/Single/TestSet_504__param__01__VV.cs | 10,188 | C# |
using System;
namespace SFA.DAS.Hmrc.ExecutionPolicy
{
[AttributeUsage(AttributeTargets.Parameter)]
public class RequiredPolicyAttribute : Attribute
{
public RequiredPolicyAttribute(string name)
{
Name = name;
}
public string Name { get; }
}
} | 20.4 | 52 | 0.630719 | [
"MIT"
] | SkillsFundingAgency/das-shared-packages | SFA.DAS.Hmrc/SFA.DAS.Hmrc/ExecutionPolicy/RequiredPolicyAttribute.cs | 308 | C# |
using System;
using System.Configuration;
namespace QuoteService.Features.Notifications
{
public interface INotificationsConfiguration
{
string SendGridApiKey { get; set; }
}
public class NotificationsConfiguration : ConfigurationSection, INotificationsConfiguration
{
[Configurati... | 31 | 121 | 0.650202 | [
"MIT"
] | QuinntyneBrown/QuoteService | src/QuoteService/Features/Notifications/NotificationsConfiguration.cs | 994 | 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.
//
// Generated on 2020 October 09 05:52:07 UTC
// </auto-generated>
//--------------... | 38.875 | 337 | 0.589764 | [
"MIT"
] | GridProtectionAlliance/go2cs | src/go-src-converted/cmd/oldlink/internal/loadmacho/ldmacho_ldMachoObjStruct.cs | 3,732 | C# |
using System;
using System.Security.Claims;
using System.Threading.Tasks;
using Application.Common.Interfaces;
using Domain.Entities;
using Microsoft.AspNetCore.Http;
namespace WebApi.Services
{
public class CurrentUserService : ICurrentUserService
{
public async Task Initialize(ClaimsPrincipal user, ... | 29.580645 | 111 | 0.652126 | [
"MIT"
] | destbg/TwitterRecreated | src/WebApi/Services/CurrectUserService.cs | 919 | C# |
using ECM7.Migrator.Framework;
using Framework.Migrator.Extensions;
namespace Core.Languages.Migrations
{
/// <summary>
/// Adds Forms_Forms table.
/// </summary>
[Migration(1)]
public class Migration_AddLanguages : Migration
{
/// <summary>
/// Executes migration.
/// ... | 24.805556 | 57 | 0.503919 | [
"BSD-2-Clause"
] | coreframework/Core-Framework | Source/Core.Languages.Migrations/Migration_AddLanguages.cs | 895 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace WDE.Common.Managers
{
public interface ISolutionEditorManager
{
void Register<T>(Func<object, DocumentEditor> getter) where T : ISolutionItem;
DocumentEditor GetEditor<T>(T item) where T ... | 24.642857 | 86 | 0.733333 | [
"Unlicense"
] | Refuge89/WoWDatabaseEditor | WDE.Common/Managers/ISolutionEditorManager.cs | 347 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
namespace Microsoft.Omex.System.Logging
{
/// <summary>
/// Event ids enum.
/// </summary>
public enum EventIds : ushort
{
/// <summary>
/// Event Id for logging general info message.
/// </summary>
LogInfoEve... | 22.111111 | 74 | 0.646985 | [
"MIT"
] | QPC-database/Omex | src/System/Logging/EventIds.cs | 1,594 | C# |
using Afonsoft.Ranking.Sessions.Dto;
namespace Afonsoft.Ranking.Web.Views.Shared.Components.AccountLogo
{
public class AccountLogoViewModel
{
public GetCurrentLoginInformationsOutput LoginInformations { get; }
private string _skin = "light";
public AccountLogoViewModel(GetCurrentLogi... | 30.222222 | 101 | 0.632353 | [
"MIT"
] | afonsoft/Ranking | src/Afonsoft.Ranking.Web.Mvc/Views/Shared/Components/AccountLogo/AccountLogoViewModel.cs | 818 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace CronExpressionTests {
[TestClass]
[TestCategory("Days")]
public class DayOfWeekTests {
[DataTestMethod]
[DataRow(DayOfWeek.Sunday, "1/3/2022 03:43:12"/*Mon*/, "01/09/2022 00:00")]
[DataRow(DayOfWeek.Saturday, "1/5/2022 03:43:12"/*We... | 40.810811 | 102 | 0.65596 | [
"MIT"
] | rashadrivera/CronExpression | CronExpressionTests/DayOfWeekTests.cs | 3,020 | C# |
using System;
using JetBrains.Annotations;
using Unity.Cloud.Collaborate.Presenters;
namespace Unity.Cloud.Collaborate.Views
{
/// <summary>
/// Interface for all views in the UI.
/// </summary>
/// <typeparam name="T">Type of presenter this view takes.</typeparam>
interface IView<in T> where T : I... | 23.65 | 74 | 0.604651 | [
"MIT"
] | 11xdev-coder/Snek | Library/PackageCache/com.unity.collab-proxy@1.5.7/Editor/Collaborate/Views/IView.cs | 473 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.