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) 2015 Koray Kiyakoglu
http://www.swarm2d.com
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 ... | 42.709677 | 84 | 0.723565 | [
"MIT"
] | kiyakkoray/Swarm2D | Source/Swarm2D.Starter/Properties/AssemblyInfo.cs | 2,651 | C# |
// <auto-generated />
using FeedbackApi.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.EntityFrameworkCore.Storage... | 28.825 | 75 | 0.631396 | [
"MIT"
] | s-matic/f-app | FeedbackApi/Migrations/20171116124826_InitialCreate.Designer.cs | 1,155 | C# |
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace Redaction
{
internal static class StringExtensions
{
internal static string ReplaceAny(this string s, string redactionString, params string[] stringsToRedact)
{
return ReplaceAny(s, redactionString, stringsToRedac... | 25.125 | 111 | 0.766169 | [
"MIT"
] | cwchapma/Redactor | src/Redactor/StringExtensions.cs | 603 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace x86
{
public class WordRegister
{
public byte HI { get; set; }
public byte LO { get; set; }
public WordRegister()
{
HI = 0;
LO ... | 19.721311 | 69 | 0.451372 | [
"MIT"
] | Toqelle/x86Sim | x86Sim/x86/WordRegister.cs | 1,205 | C# |
namespace AeroSharp.Examples.Utilities
{
internal static class ExamplesConfiguration
{
public const string AerospikeNamespace = "test_namespace";
}
}
| 22.25 | 67 | 0.696629 | [
"Apache-2.0"
] | AlexKarlVoskuil/AeroSharp | examples/AeroSharp.Examples/Utilities/ExamplesConfiguration.cs | 180 | 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.Immutable;
using System.Linq;
using Microsoft.Data.DataView;
using Microsoft... | 45.283082 | 162 | 0.58763 | [
"MIT"
] | taleebanwar/machinelearning | test/Microsoft.ML.Tests/PermutationFeatureImportanceTests.cs | 27,036 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenQA.Selenium;
using SeleniumExtras.PageObjects;
using OpenQA.Selenium.Support.UI;
using System.Threading;
using NUnit.Framework;
using OpenQA.Selenium.Remote;
using SELENIUM_New.PageO... | 18.524229 | 109 | 0.546492 | [
"BSD-3-Clause"
] | Achekryhin-NIX/autoSchool | Spec flow Additional Task/Program.cs | 4,207 | C# |
using System;
using System.Linq;
using GPdotNet.Core;
using System.Threading.Tasks;
using System.Threading;
using GPdotNet.Data;
using GPdotNet.Interfaces;
using GPdotNet.BasicTypes;
using Newtonsoft.Json.Linq;
using System.IO;
using Newtonsoft.Json;
using GPdotNet.Modeling;
using System.Collections.Generic;
namespac... | 38.425676 | 253 | 0.571918 | [
"MIT"
] | bhrnjica/gpdotnet | Net.Core/GPdotNet.Core.App/Program.cs | 11,376 | C# |
#region BSD License
/*
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE.md file or at
* https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.452/blob/master/LICENSE
*
*/
#endregion
using System;
using System.Collections;
using System.Windows.Forms;
names... | 30.529412 | 147 | 0.521676 | [
"BSD-3-Clause"
] | Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.452 | Source/Krypton Toolkit Suite Extended/Full Toolkit/Extended Controls/Base/Code/ListViewColumnSorter.cs | 4,154 | C# |
using System;
using System.Collections.Generic;
namespace CSharp_Scraper
{
public class HAPStock
{
private System.DateTime _timeScraped;
private string _stockSymbol;
private string _lastPrice;
private string _change;
private string _changePercent;
public System... | 32.857143 | 127 | 0.633913 | [
"MIT"
] | milomacphail/CSharp_ScraperMVC | HAPStockSchema.cs | 1,152 | C# |
using Microsoft.Web.WebView2.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using System.Xml;
using System.Xml.Xsl;
using SR = XmlNotepad.StringResource... | 37.860537 | 156 | 0.493601 | [
"MIT"
] | Fergus-repo/CPI_XmlNotepad | src/XmlNotepad/XsltControl.cs | 36,651 | C# |
namespace Octo.Core.ServiceBus.MessageBrokers
{
public interface ISendMessages
{
void Send(IMessage message);
}
} | 19 | 45 | 0.691729 | [
"MIT"
] | alexandrnikitin/ddd-cqrs-es-draft | src/Octo.Core/ServiceBus/MessageBrokers/ISendMessages.cs | 133 | 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;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Threading.Tasks;
using... | 41.121547 | 144 | 0.641274 | [
"Apache-2.0",
"MIT"
] | eerhardt/azure-functions-host | src/WebJobs.Script/Workers/Http/HttpFunctionInvocationDispatcher.cs | 7,445 | 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: AssemblyTit... | 39.243243 | 85 | 0.732094 | [
"MIT"
] | stoyanov7/SoftwareUniversity | TechnologiesFundamentals/ProgrammingFundamentals-Extended/Lists-MoreExercises/04.UnunionLists/04.UnunionLists/Properties/AssemblyInfo.cs | 1,455 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
//-----------------------------------------------------------------------------
[assembly: AssemblyTitle("Tools.CSharp.AnalyzerLines")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
... | 50.304348 | 84 | 0.437338 | [
"MIT"
] | zveruger/csharp_tools | src/Tools.CSharp.AnalyzerLines/Properties/AssemblyInfo.cs | 1,160 | C# |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using Xamarin.Forms.Core.UnitTests;
namespace Xamarin.Forms.Pages.UnitTests
{
[TestFixture]
public class DataPageTests
{
[SetUp]
publi... | 25.873494 | 109 | 0.69383 | [
"MIT"
] | 1rfan786/xamarin.android | Xamarin.Forms.Pages.UnitTests/DataPageTests.cs | 4,297 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Worldpay.Innovation.WPWithin.Sample.Commands
{
/// <summary>
/// Used by <see cref="CommandMenu"/> commands to indicate how the method terminated (if an exception wasn't thrown).
... | 25.571429 | 121 | 0.564246 | [
"MIT"
] | UpperLEFTY/worldpay-within-sdk | wrappers/dotnet/Worldpay.Within/Worldpay.Innovation.WPWithin.Sample/Commands/CommandResult.cs | 1,076 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// As informações gerais sobre um assembly são controladas por
// conjunto de atributos. Altere estes valores de atributo para modificar as informações
// associadas a um assembly.
[assembly: AssemblyTitle("WFPresent... | 38.297297 | 95 | 0.753705 | [
"MIT"
] | juvensstlouis/LocadoraEntityFramework | LocadoraEF/WFPresentation/Properties/AssemblyInfo.cs | 1,442 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Schema;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json.Li... | 44.133333 | 160 | 0.592246 | [
"MIT"
] | AhmedMagdyG/BotBuilder-Samples | samples/csharp_dotnetcore/09.message-routing/Dialogs/Greeting/GreetingDialog.cs | 9,932 | C# |
using System.Data.Common;
using System.Data.Linq.Provider.NodeTypes;
namespace System.Data.Linq.Provider.Interfaces
{
internal interface IObjectReaderCompiler {
IObjectReaderFactory Compile(SqlExpression expression, Type elementType);
IObjectReaderSession CreateSession(DbDataReader reader, IReaderProvider provide... | 40 | 156 | 0.83 | [
"MIT"
] | LogicAndTrick/LinqToSQL2 | src/Provider/Interfaces/IObjectReaderCompiler.cs | 400 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34209
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 41.945055 | 194 | 0.599424 | [
"MIT"
] | MarinMarinov/High-Quality-Code | HW04CorrectUseOfVariablesDataExpressionsAndConstants/02.MethodPrintStatistics/MessageTemplates.Designer.cs | 3,819 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Native.Csharp.Sdk")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[ass... | 28.243243 | 100 | 0.692823 | [
"MIT"
] | BlmVay/Native.Csharp.Frame | Native.Csharp/Properties/AssemblyInfo.cs | 1,380 | C# |
namespace L2ScriptMaker.Modules.AI
{
partial class AIRaidPosGenerator
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if man... | 41.225434 | 209 | 0.733034 | [
"Apache-2.0"
] | Max4aters/L2ScriptMaker | L2ScriptMaker/Modules/AI/AIRaidPosGenerator.Designer.cs | 7,134 | C# |
using System;
using System.IO;
namespace Umbraco.Core.IO.MediaPathSchemes
{
/// <summary>
/// Implements a combined-guids media path scheme.
/// </summary>
/// <remarks>
/// <para>Path is "{combinedGuid}/{filename}" where combinedGuid is a combination of itemGuid and propertyGuid.</para>
/// <... | 41.896552 | 137 | 0.660905 | [
"MIT"
] | 0Neji/Umbraco-CMS | src/Umbraco.Core/IO/MediaPathSchemes/CombinedGuidsMediaPathScheme.cs | 1,217 | C# |
using Newtonsoft.Json;
using System;
using System.Web;
using System.Web.Mvc;
namespace MvcStuff
{
public class JsonNetResult : JsonResult
{
const string JsonRequest_GetNotAllowed = "This request has been blocked because sensitive information could be disclosed to third party web sites when this is used... | 43.342105 | 251 | 0.677596 | [
"MIT"
] | masbicudo/ASP.NET-MVC-Stuff | MvcStuff_MVC3/ActionResults/JsonNetResult.cs | 1,647 | C# |
using Futurum.Core.Functional;
using Futurum.Core.Result;
using Microsoft.AspNetCore.Mvc;
namespace Futurum.NanoController.Sample.Features.Error;
public static class ErrorResultScenario
{
public record CommandDto(string Id);
public class WebApi : NanoController.Command<CommandDto>.Post
{
public ... | 33.935484 | 123 | 0.711977 | [
"MIT"
] | futurum-dev/dotnet.futurum.nanocontroller | sample/Futurum.NanoController.Sample/Features/Error/ErrorResultScenario.cs | 1,052 | C# |
namespace Ardalis.SmartEnum.MessagePack.UnitTests
{
using global::MessagePack;
using global::MessagePack.Resolvers;
using Xunit;
using FluentAssertions;
public class SmartEnumValueConverterTests
{
[MessagePackObject]
public class TestClass
{
[Key(0)]
... | 32.987342 | 91 | 0.605142 | [
"MIT"
] | Nemo-Illusionist/SmartEnum | test/SmartEnum.MessagePack.UnitTests/SmartEnumValueFormatterTests.cs | 2,606 | C# |
// Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0xA8E9D4FC)]
public class STU_A8E9D4FC : STUStatescriptState {
[STUFieldAttribute(0xA6A73F29, ReaderType = typeof(EmbeddedInstanceFieldReader))]
public STUConfigVar m_A6A7... | 35.058824 | 89 | 0.751678 | [
"MIT"
] | Mike111177/OWLib | TankLib/STU/Types/STU_A8E9D4FC.cs | 596 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
public class Driver
{
public static void Main (string [] args)
{
new Driver ().Run (args);
}
struct RangeMap<T>
{
public int Start;
public int End;
public T Value;
}
List<R... | 31.50495 | 122 | 0.596794 | [
"MIT"
] | atsushieno/nunicode | NUnicode/generator/generate-east-asian-width.cs | 3,182 | C# |
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace DCL.EmotesWheel
{
public class EmotesWheelController : IHUD
{
internal EmotesWheelView view;
private BaseVariable<bool> emotesVisible => DataStore.i.HUDs.emotesVisible;
private BaseVariable<bool> isAvatarE... | 48.447619 | 156 | 0.640112 | [
"Apache-2.0"
] | Timothyoung97/unity-renderer | unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/EmotesWheelHUD/EmotesWheelController.cs | 20,348 | C# |
/*
By: Luis Javier Karam, Pablo Rocha and Miguel Arriaga
Script used to make API calls from unity
05/04/2022
*/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
// UnityAPICaller class
public class Request
{
public string error;
publ... | 32.517241 | 98 | 0.621421 | [
"MIT"
] | PRocha0503/Construcci-n-de-software | videogame-module/Rythm Game/Assets/Scripts/API/APICaller.cs | 2,829 | C# |
// <Auto-Generated></Auto-Generated>
namespace System.Tests.ObjectCopy
{
internal class ObjectCopyClass1
{
private string _privateFields;
public string PublicFields;
public string casefields;
public string PublicProperty { get; set; }
public string caseproperty { ge... | 31.085106 | 101 | 0.612594 | [
"MIT"
] | StratosBlue/Cuture.Generic.FrameworkBoost | tests/System.Tests/ObjectCopy/ObjectCopyClass1.cs | 1,463 | C# |
using System;
namespace Algorithms.Strings
{
/// <summary>
/// String sorting where the strings have different lengths and may:
/// - Have equal strings.
/// - Have strings keys with long common prefixes.
/// - Have strings that fall into a small range.
/// - Be a small array.
/// </summa... | 32.623853 | 114 | 0.476097 | [
"MIT"
] | gfurtadoalmeida/study-algorithms | book-01/Algorithms/Strings/QuickSort3WaySort.cs | 3,558 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using MiniTwitChatClient.Abstractions;
using MiniTwitChatClient.Models;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
... | 34.710843 | 137 | 0.625824 | [
"Apache-2.0"
] | jokk-itu/PythonKindergarten | MiniTwitApi/MiniTwitChatClient/MiniChatClient.cs | 2,881 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Uno.UI.Samples.Controls;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.P... | 27.62069 | 97 | 0.772784 | [
"Apache-2.0"
] | AbdalaMask/uno | src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/CommandBar/Background/CommandBar_Background_Page2.xaml.cs | 803 | C# |
using System;
using System.Collections.Generic;
namespace SoulsFormats
{
/// <summary>
/// A general-purpose file container used in DS1, DSR, DeS, and NB. Extension: .*bnd
/// </summary>
public class BND3 : SoulsFile<BND3>, IBinder
{
/// <summary>
/// The files contained within thi... | 30.315175 | 106 | 0.45437 | [
"MIT"
] | Meowmaritus/ParamVessel | SoulsFormats/Formats/BND3.cs | 7,793 | C# |
/**
Copyright 2014-2021 Robert McNeel and Associates
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 w... | 22.270833 | 76 | 0.689429 | [
"Apache-2.0"
] | mcneel/RhinoCycles | Database/CameraDatabase.cs | 3,209 | C# |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace webservice
{
public partial class AddStudent : ContentPage
{
public AddStudent()
{
Initi... | 24.978723 | 115 | 0.616695 | [
"MIT"
] | guihou/xamarincrud | webservice/webservice/AddStudent.xaml.cs | 1,177 | C# |
// Copyright(c) 2021 SceneGate
//
// 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, dis... | 48.886364 | 112 | 0.661088 | [
"MIT"
] | SceneGate/Ekona | src/Ekona/Containers/Rom/NitroRom.cs | 4,304 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Rainbow.Model;
using Rainbow.Storage.Sc;
using Rainbow.Storage.Yaml;
using Sidekick.ContentMigrator.Services.Interface;
using Sitecore.Data.Items;
using Sitecore.Diagnostics;
name... | 23.41791 | 102 | 0.690886 | [
"MIT"
] | JeffDarchuk/SitecoreSidekick | ContentMigrator/Services/YamlSerializationService.cs | 1,571 | C# |
namespace _03.FindWords
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
public class Startup
{
public static void Main()
{
Console.WriteLine("Counting words...");
var stopwatch = ... | 29.962264 | 89 | 0.551008 | [
"MIT"
] | juvemar/DSA | Homeworks/06. Advanced Data Structures/03. FindWords/Startup.cs | 1,590 | C# |
using System.Diagnostics;
namespace Bb.Oracle.Models.Codes
{
[DebuggerDisplay("{Value}")]
public class OIntegerConstant : OConstant
{
public int Value { get; set; }
public override void Accept(Contracts.IOracleModelVisitor visitor)
{
visitor.VisitIntegerConstant(this)... | 18.944444 | 74 | 0.633431 | [
"BSD-3-Clause"
] | Black-Beard-Sdk/Oracle.Parser | Src/Black.Beard.Oracle.Model/Models/Codes/OIntegerConstant.cs | 343 | C# |
using System;
using System.Linq;
using System.Numerics;
using System.Text;
namespace WeihanLi.Common.Helpers
{
public static class Base62Encoder
{
private const string Charset = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
public static string Encode(Guid guid)
{
... | 26.224265 | 104 | 0.447778 | [
"MIT"
] | zhaoabing903/SparkTodo-master | WeihanLi.Common/Helpers/Encoder.cs | 7,135 | C# |
using Demonstrator.Models.DataModels.Flows;
using MongoDB.Bson;
using System.Collections.Generic;
namespace DemonstratorTest.Data.Helpers
{
public static class MongoBenefit
{
public static IList<Benefit> Benefits
{
get
{
var benefits = new List<Benefit>(... | 30.434343 | 70 | 0.361102 | [
"Apache-2.0"
] | elementechemlyn/nrls-reference-implementation | Demonstrator/DemonstratorTest.Data/MongoBenefit.cs | 3,015 | C# |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Dolittle. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*-------------------------------------------------------------------------------... | 37.702703 | 124 | 0.589247 | [
"MIT"
] | dolittle-einar/Runtime | Source/Events.Serialization.Json/EventSourceVersionConverter.cs | 1,397 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace ShoppingSpree
{
public class Product
{
private string name;
private decimal cost;
public Product(string name, decimal cost)
{
Name = name;
Cost = cost;
}
publi... | 19.463415 | 85 | 0.47619 | [
"MIT"
] | DanielN97/SoftUni_Exercises | Encapsulation - Exercise/ShoppingSpree/Product.cs | 800 | C# |
using System;
using UnityEngine;
// Token: 0x0200050D RID: 1293
public class SithBeamScript : MonoBehaviour
{
// Token: 0x06002012 RID: 8210 RVA: 0x0014D818 File Offset: 0x0014BC18
private void Update()
{
if (this.Projectile)
{
base.transform.Translate(base.transform.forward * Time.deltaTime * 15f, Space.Wo... | 30.42 | 197 | 0.718935 | [
"Unlicense"
] | larryeedwards/openyan | Assembly-CSharp/SithBeamScript.cs | 3,044 | C# |
#region license
// Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.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:
//
// * Redistributions of source code must retain t... | 43.644444 | 84 | 0.738289 | [
"Unlicense"
] | Dreameris/.NET-Common-Library | developers-stuff/common-lib/rhino-tools/commons/Rhino.Commons.Binsor/Macros/ParametersMacro.cs | 1,964 | C# |
using System.Web.Mvc;
using CH.Tutteli.FarmFinder.Dtos;
namespace CH.Tutteli.FarmFinder.Website.Controllers
{
public class MainController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult TryIt()
{
return View(new... | 22.777778 | 99 | 0.595122 | [
"Apache-2.0"
] | robstoll/farmfinder | FarmFinder/FarmFinder.WebSite/Controllers/MainController.cs | 412 | C# |
namespace InnovationSoft.Olh
{
public class AppConsts
{
/// <summary>
/// Default pass phrase for SimpleStringCipher decrypt/encrypt operations
/// </summary>
public const string DefaultPassPhrase = "gsKxGZ012HLL3MI5";
}
}
| 24.363636 | 81 | 0.641791 | [
"MIT"
] | CristhianUNSa/netcore-angular-boilerplate | src/InnovationSoft.Olh.Application/AppConsts.cs | 270 | 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 Xunit;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genc... | 33.528736 | 294 | 0.60011 | [
"MIT"
] | Roibal/corefx | src/System.Dynamic.Runtime/tests/Dynamic.Context/Conformance.dynamic.context.operator.genclass.cs | 67,091 | C# |
using FluentAssertions;
using NUnit.Framework;
using Selenium3.Nunit.Framework.BestPractices.Pages;
namespace Selenium3.Nunit.Framework.Antipatterns.Parallelization
{
[TestFixture]
[TestFixtureSource(typeof(CrossBrowserData),
nameof(CrossBrowserData.SimpleConfiguration))]
[Parallelizable]
publi... | 25.823529 | 99 | 0.657175 | [
"MIT"
] | etiennesillon/demo-csharp | SauceExamples/Web.Tests/Antipatterns/Parallelization/BrokenLoginFeature.cs | 878 | C# |
using AVDump3Lib.Information.MetaInfo.Core;
namespace AVDump3Lib.Processing.FileMove;
public class FileMoveContext {
public FileMoveContext(Func<string, string> getHandler, IServiceProvider serviceProvider, FileMetaInfo fileMetaInfo) {
Get = getHandler ?? throw new ArgumentNullException(nameof(getHandler));
Ser... | 40.0625 | 119 | 0.800312 | [
"MIT"
] | acidburn0zzz/AVDump3 | AVDump3Lib/Processing/FileMove/FileMoveContext.cs | 643 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Security.Principal;
using System.Text.RegularExpressions;
using System.Web;
using Epinova.ElasticSearch.Core;
using Epinova.ElasticSearch.Core.Contracts;
using Epinova.ElasticSearch.Core.EPiServ... | 45.455696 | 145 | 0.614592 | [
"MIT"
] | Nettsentrisk/Epinova.Elasticsearch | tests/TestData/Factory.cs | 14,366 | C# |
//
// Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net>
//
// 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 co... | 38.972292 | 148 | 0.592102 | [
"BSD-3-Clause"
] | YuLad/NLog | src/NLog/Fluent/LogBuilder.cs | 15,472 | C# |
using System;
namespace Sautom.DataAccess.Helpers.Templates
{
public interface IDocumentTemplate
{
DocumentData GetDocumentData(DatabaseContext context, Guid clientId);
}
}
| 19.2 | 74 | 0.755208 | [
"MIT"
] | nikaburu/sautom-wpf | src/Sautom.DataAccess/Helpers/Templates/IDocumentTemplate.cs | 194 | C# |
using Yi.Framework.Common.Models;
using Yi.Framework.Core;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using ... | 36.738095 | 132 | 0.608879 | [
"Apache-2.0"
] | 454313500/CC.Yi | Yi.Framework.Net5/Yi.Framework.WebCore/FilterExtend/CustomAction2CommitFilterAttribute.cs | 3,164 | C# |
/*
* Copyright (c) 2014, Firely (info@fire.ly) and contributors
* See the file CONTRIBUTORS for details.
*
* This file is licensed under the BSD 3-Clause license
* available at https://raw.githubusercontent.com/FirelyTeam/firely-net-sdk/master/LICENSE
*/
using Hl7.Fhir.Support;
using System;
using System.Coll... | 30.490741 | 143 | 0.610386 | [
"BSD-3-Clause"
] | FirelyTeam/fhir-net-api | src/Hl7.Fhir.Core/Model/ValueSet.cs | 3,295 | C# |
using System;
using Xunit;
using GetIntoTeachingApi.Controllers;
using GetIntoTeachingApi.Models;
using Microsoft.AspNetCore.Mvc;
using FluentAssertions;
using GetIntoTeachingApi.Jobs;
using Hangfire;
using Hangfire.Common;
using Hangfire.States;
using Microsoft.AspNetCore.Authorization;
using Moq;
using G... | 45.216867 | 150 | 0.657074 | [
"MIT"
] | uk-gov-mirror/DFE-Digital.get-into-teaching-api | GetIntoTeachingApiTests/Controllers/MailingListControllerTests.cs | 7,508 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// As informações gerais sobre um assembly são controladas por
// conjunto de atributos. Altere estes valores de atributo para modificar as informações
// associada a um assembly.
[assembly: AssemblyTitle("SpaUserCon... | 38.756757 | 95 | 0.75523 | [
"MIT"
] | VinicioSantos/EstudosDDD | SpaUserControl.Startupp/Properties/AssemblyInfo.cs | 1,459 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipe... | 60.552743 | 246 | 0.699185 | [
"MIT"
] | LGDoor/azure-sdk-for-net | sdk/websites/Azure.ResourceManager.AppService/src/Generated/SiteSlotBasicPublishingCredentialsPolicyScm.cs | 14,351 | C# |
using System;
namespace LuckParser.Models.ParseModels
{
public abstract class Actor
{
public bool Filled { get; }
public Tuple<int, int> Lifespan { get; }
public string Color { get; }
public int Growing { get; }
protected Connector ConnectedTo;
protect... | 27.128205 | 108 | 0.543478 | [
"MIT"
] | Stonos/GW2-Elite-Insights-Parser | LuckParser/Models/ParseModels/CombatReplay/Actors/Actor.cs | 1,060 | C# |
using System;
using System.Collections.Generic;
namespace MongoDB.GenericRepository.Model
{
public class Project
{
public Project(int risk, string project_name, DateTime InitDate, DateTime FinalDate, float project_value, List<Members> listMember)
{
Project_Name = project_name;
... | 33.74359 | 148 | 0.600304 | [
"MIT"
] | iVega123/LGApi | LGApi/Model/Project.cs | 1,318 | C# |
using System.IO;
using Microsoft.AspNetCore.Hosting;
namespace NetCore.Api.Template.GraphqlApi
{
public class Program
{
public static void Main(string[] args)
{
var directory = Directory.GetCurrentDirectory();
var host = new WebHostBuilder()
.UseKestrel(... | 22.173913 | 60 | 0.533333 | [
"MIT"
] | thorstenalpers/NetCore-Api-Template | Content/src/Web/GraphqlApi/Program.cs | 510 | C# |
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL)
// <NameSpace>Dms.Ambulance.V2100</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False<... | 48.544974 | 1,368 | 0.610027 | [
"MIT"
] | Kusnaditjung/MimDms | src/Dms.Ambulance.V2100/Generated/COCD_TP146034UK04AcuteScriptFlagTemplateId.cs | 9,175 | C# |
using System.Reflection;
using System.Runtime.InteropServices;
using System;
using System.Resources;
// 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: AssemblyConfigurati... | 36.066667 | 93 | 0.778189 | [
"MIT"
] | DiogenesPolanco/azure-sdk-for-net | src/ResourceManagement/SqlManagement/Microsoft.Azure.Management.Sql/Properties/AssemblyInfo.cs | 1,084 | C# |
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code++. Version 4.2.0.44
// </auto-generated>
// ------------------------------------------------------------------------------
using System;
using System.ComponentModel;
using System.Diagnost... | 25.644737 | 81 | 0.592099 | [
"MIT"
] | simonec73/threatsmanager | Studio/ThreatsManager.Extensions.WinForms/Panels/ThreatSources/Cwe/ViewAudience.cs | 1,949 | C# |
using System;
public class StartUp
{
static void Main()
{
var numberList = Console.ReadLine()
.Split();
var urlList= Console.ReadLine()
.Split();
var smartPhone = new SmartPhone();
foreach (var num in numberList)
Console.WriteLine(smartPho... | 19.217391 | 56 | 0.570136 | [
"MIT"
] | ewgeni-dinew/06.C_Sharp-OOP_I | OOP-Fundamentals/05.Interface/04.Telephony/StartUp.cs | 444 | C# |
/*
* 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 (the
* "License"); you ... | 19.152466 | 105 | 0.633575 | [
"Apache-2.0"
] | pengesoft/aliyun-openapi-net-sdk | aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitImageSearchJobRequest.cs | 4,271 | C# |
using Shooter.Controller;
using Shooter.Interface;
using UnityEngine;
namespace Shooter
{
public class InputController : BaseController, IOnUpdate
{
private KeyCode _activeFlashLight = KeyCode.F;
private KeyCode _cancel = KeyCode.Escape;
private KeyCode _reloadClip = KeyCode.R;
... | 26.7 | 84 | 0.478379 | [
"MIT"
] | Derkien/Shooter | Assets/Scripts/Controller/InputController.cs | 2,961 | C# |
using System;
using System.Numerics;
using System.Runtime.InteropServices;
namespace AltV.Net.Data
{
[StructLayout(LayoutKind.Sequential)]
public struct Rotation : IEquatable<Rotation>
{
public static Rotation Zero = new Rotation(0, 0, 0);
public static implicit operator Vector3(Rotation r... | 25.966667 | 122 | 0.528883 | [
"MIT"
] | StiviiK/coreclr-module | api/AltV.Net/Data/Rotation.cs | 1,558 | C# |
using System;
using GirModel;
namespace Generator3.Converter.Parameter.ToManaged;
internal class Interface : ParameterConverter
{
public bool Supports(GirModel.AnyType type)
=> type.Is<GirModel.Interface>();
public string? GetExpression(GirModel.Parameter parameter, out string variableName)
{
... | 36.227273 | 196 | 0.72522 | [
"MIT"
] | GirCore/gir.core | src/Generation/Generator3/Converter/Parameter/ToManaged/Interface.cs | 799 | C# |
namespace Miniblink.Demo
{
partial class FrmDropFile
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
//... | 38.615385 | 166 | 0.595618 | [
"MIT"
] | h1213159982/HDF | Example/WinForm/Miniblink/Miniblink.Demo/FrmDropFile.designer.cs | 2,512 | C# |
using System;
namespace Aoite.ReflectionTest.SampleModel.Animals.Attributes
{
[AttributeUsage(AttributeTargets.Class)]
internal class CarnivoreAttribute : Attribute
{
}
}
| 17.272727 | 61 | 0.747368 | [
"Apache-2.0"
] | jeenlee/Aoite | src/core/Aoite.Tests/Aoite/Reflection/SampleModel/Animals/Attributes/CarnivoreAttribute.cs | 192 | C# |
/*
* Copyright (c) 2014-2020 GraphDefined GmbH <achim.friedland@graphdefined.com>
* This file is part of WWCP Net <https://github.com/OpenChargingCloud/WWCP_Net>
*
* Licensed under the Affero GPL license, Version 3.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... | 67.185065 | 174 | 0.33016 | [
"Apache-2.0"
] | OpenChargingCloud/OpenChargingCloudAPI | OpenChargingCloudAPI/HTTP_IO/JSON_IO_SmartCities.cs | 20,695 | C# |
using System;
using System.Windows;
using System.Windows.Media;
using Serilog;
namespace Calculator.Controls.Operators
{
public partial class Root
{
#region DependencyProperties
public static readonly DependencyProperty PointsProperty = DependencyProperty.Register(nameof(Points), typeof(PointC... | 41.866197 | 202 | 0.621362 | [
"MIT"
] | MovGP0/Calculator | Calculator.Controls/Operators/Root.xaml.cs | 5,947 | C# |
using Citron.Infra;
using R = Citron.IR0;
using Pretune;
using Citron.Collections;
using System;
using Citron.Analysis;
using System.Diagnostics;
namespace Citron.IR0Translator
{
partial class Analyzer
{
[ImplementIEquatable]
partial class ClassConstructorContext : ICallableContex... | 30.263158 | 118 | 0.54087 | [
"MIT"
] | ioklo/citron | Src/IR0Translator/IR0Translator/Analyzer/Analyzer.ClassConstructorContext.cs | 2,877 | 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("Scho... | 38.405405 | 84 | 0.753695 | [
"MIT"
] | Pushparajkvp/school-management-application-c-sharp | SchoolManagementApplciation/Properties/AssemblyInfo.cs | 1,422 | C# |
namespace ActivityStreams.Primitives
{
/// <summary>
/// Indicates that the actor has created the object.
/// </summary>
public class Create : Activity
{
public Create()
{
Type = new ActivityStreamsObject(nameof(Create));
}
}
}
| 17.428571 | 53 | 0.67623 | [
"MIT"
] | rjygraham/ActivityStreams | ActivityStreams.Primitives/ActivityTypes/Create.cs | 246 | 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.Goog... | 41.23913 | 433 | 0.666842 | [
"Apache-2.0"
] | AaronFriel/pulumi-google-native | sdk/dotnet/Dialogflow/V2/Outputs/GoogleRpcStatusResponse.cs | 1,897 | C# |
/*
* 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 (the
* "License"); you ... | 52.913793 | 178 | 0.784295 | [
"Apache-2.0"
] | AxiosCros/aliyun-openapi-net-sdk | aliyun-net-sdk-outboundbot/OutboundBot/Transform/V20191226/ListDialogueFlowsResponseUnmarshaller.cs | 3,069 | C# |
namespace Logic
{
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "Card Collection", menuName = "Card/New Collection", order = 1)]
public class CardCollection : ScriptableObject
{
public List<Card> collection;
public Card GetRandomCard()
{
var card = ... | 23.185185 | 161 | 0.746006 | [
"MIT"
] | ArekusuNaito/fireplace | Assets/Scripts/Logic/CardCollection.cs | 628 | C# |
using GestionPedidosService.Domain.Entities;
using GestionPedidosService.Domain.Extensions;
using GestionPedidosService.Domain.Models;
using GestionPedidosService.Domain.Models.Garments;
using GestionPedidosService.Persistence.Context;
using GestionPedidosService.Persistence.Handlers;
using GestionPedidosService.Persi... | 44.590476 | 127 | 0.545921 | [
"MIT"
] | Patronaje-A-Medida/GestionPedidosService | GestionPedidosService.Persistence/Repositories/Implements/OrderDetailRepository.cs | 4,684 | C# |
using System;
using System.Data;
using System.Data.SqlClient;
using Csla;
using Csla.Data;
using System.Configuration;
using System.IO;
using System.ComponentModel;
using System.Collections.Generic;
namespace Northwind.CSLA.Library
{
/// <summary>
/// ShipperInfoList Generated by MyGeneration using the ... | 32.469945 | 138 | 0.694211 | [
"MIT"
] | MarimerLLC/cslacontrib | branches/2010.11.001/CodeGenTemplates/MyGeneration/Samples/Northwind/Northwind/Northwind.CSLA.Library/Generated/ShipperInfoList.cs | 5,942 | C# |
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace System.IdentityModel
{
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.D... | 41.376458 | 205 | 0.566123 | [
"MIT"
] | MattFullerIO/referencesource | System.IdentityModel/System/IdentityModel/SecurityUtils.cs | 39,018 | C# |
//===================================================================================
// Microsoft patterns & practices
// Composite Application Guidance for Windows Presentation Foundation and Silverlight
//===================================================================================
// Copyright (c) Microsoft C... | 41.891892 | 85 | 0.566452 | [
"Apache-2.0"
] | andrewdbond/CompositeWPF | sourceCode/compositewpf/V2.2/trunk/Quickstarts/Modularity/DefiningModulesInCodeQuickstart/Silverlight/Modules/ModuleA/ModuleA.cs | 1,550 | C# |
using System.Xml.Serialization;
namespace PS.Build.Nuget.Shared.Sources
{
[XmlRoot("metadata")]
public class NugetEncryptionMetadata
{
#region Properties
[XmlElement("certificate")]
public string Certificate { get; set; }
[XmlElement("key")]
public string Key { ge... | 20.190476 | 47 | 0.591981 | [
"MIT"
] | BlackGad/PS.Build.Nuget | PS.Build.Nuget.Shared/Sources/NugetEncryptionConfiguration/NugetEncryptionMetadata.cs | 426 | C# |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation;
namespace Microsoft.CodeAnalysis.ExpressionEvaluator
{
/// <summary>
/// The name of... | 36.586207 | 160 | 0.70311 | [
"Apache-2.0"
] | 0x53A/roslyn | src/ExpressionEvaluator/Core/Source/ExpressionCompiler/LocalAndMethod.cs | 1,061 | 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... | 50.679641 | 422 | 0.62935 | [
"MIT"
] | 93mishra/azure-sdk-for-net | sdk/streamanalytics/Microsoft.Azure.Management.StreamAnalytics/src/Generated/IFunctionsOperations.cs | 16,927 | C# |
//-----------------------------------------------------------------------
// <copyright file="FetchClimateView.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation 2011. All rights reserved.
// Interaction logic for FetchClimateView.xaml.
// </copyright>
//---------------------------------------... | 29.081081 | 74 | 0.506506 | [
"MIT"
] | WorldWideTelescope/wwt-excel-plugin | AddIn/ViewpointPanes/FetchClimateView.xaml.cs | 1,078 | C# |
/* --------------------------------------------------------------------------
THIS FILE WAS AUTOMATICALLY GENERATED BY NLT SUITE FROM "NaiveLanguageTools.Example/02.PatternsAndForking/Syntax.nlg" FILE
-------------------------------------------------------------------------- */
using System;
using System.Collections.G... | 47 | 342 | 0.736754 | [
"MIT"
] | macias/NaiveLanguageTools | NaiveLanguageTools.Example/02.PatternsAndForking/ParserFactory.auto.cs | 9,588 | C# |
using System;
using System.Runtime.CompilerServices;
using CUE4Parse.UE4.Assets.Readers;
using CUE4Parse.UE4.Objects.Core.Misc;
using CUE4Parse.UE4.Objects.Engine.Curves;
using CUE4Parse.UE4.Versions;
namespace CUE4Parse.UE4.Objects.MovieScene
{
public readonly struct FMovieSceneFloatChannel : IUStruct
{
... | 38.197917 | 218 | 0.552495 | [
"MIT"
] | Mrzzbelladonna/ProSwapper | CUE4Parse/CUE4Parse/UE4/Objects/MovieScene/FMovieSceneFloatChannel.cs | 3,669 | C# |
using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
namespace haroldjose.Function
{
public s... | 35.5 | 154 | 0.660211 | [
"MIT"
] | haroldjose30/haroldjosefunction | HttpTriggerCSharp.cs | 1,136 | C# |
using Crash;
using System.Windows.Forms;
namespace CrashEdit
{
public sealed class OldSLSTDeltaBox : UserControl
{
private ListBox lstValues;
public OldSLSTDeltaBox(OldSLSTDelta slstitem)
{
lstValues = new ListBox
{
Dock = DockStyle.Fill
... | 30.125 | 95 | 0.600277 | [
"MIT",
"BSD-3-Clause"
] | AraHaan/CrashEd | CrashEdit/Controls/OldSLSTDeltaBox.cs | 723 | C# |
namespace PertensaCo.Common.Constants
{
public static class MVCConstants
{
public const string ConfirmEmailTemplatePath = "/Templates/ConfirmEmailTemplate.html";
public const string ControllerActionRouteTemplate = "[controller]/[action]";
public const string EmployeesAuthorizationPolicyName = "EmployeesOnly";
... | 52.52 | 90 | 0.809596 | [
"MIT"
] | AscenKeeprov/CSharp-MVC-Frameworks | XAM10012019/PertensaCo.Common/Constants/MVCConstants.cs | 1,315 | C# |
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace SyntaxGenerator.Model
{
public class Field
{
[XmlAttribute]
public string Name;
[XmlAttribute]
public string Type;
[XmlAttribute]
public string Optional;
... | 20.825 | 67 | 0.578631 | [
"Apache-2.0"
] | BigHeadGift/HLSL | src/SyntaxGenerator/Model/Field.cs | 796 | 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 ... | 59.54071 | 254 | 0.667777 | [
"Apache-2.0"
] | GraphikaPS/google-ads-dotnet | tests/V4/Services/CustomerServiceClientTest.g.cs | 28,520 | C# |
using System;
using System.Net.Mail;
namespace Mvc.Mailer {
public interface ISmtpClient : IDisposable {
event SendCompletedEventHandler SendCompleted;
void Send(MailMessage mailMessage);
void SendAsync(MailMessage mailMessage);
void SendAsync(MailMessage mailMessage, object userSt... | 27.833333 | 66 | 0.724551 | [
"MIT"
] | AshWilliams/MvcMailer | Mvc.Mailer/ISmtpClient.cs | 336 | C# |
using eShopLegacyWebForms.Models;
using Microsoft.Azure.ServiceBus;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Text;
using System.Threading.Tasks;
namespace eShopLegacyWebForms.Services
{
public class QueueService : IQueueService
{
c... | 38.931818 | 148 | 0.700525 | [
"MIT"
] | DanielLarsenNZ/eShopModernizing | eShopLegacyWebFormsSolution/src/eShopLegacyWebForms/Services/QueueService.cs | 1,715 | C# |
using System;
using System.Runtime.InteropServices;
namespace gebo.NFC
{
internal static class SCardAPI {
private const string FileName = "winscard.dll";
public const uint SCARD_SCOPE_USER = 0x0000;
public const uint SCARD_SCOPE_SYSTEM = 0x0002;
public const uint SCARD_SHARE_EXCLUSIVE = 0x00000002;
public... | 45.860759 | 252 | 0.731714 | [
"MIT"
] | gebogebogebo/WebAuthnModokiDesktop | Source/WebAuthnModokiDesktop/WebAuthnModokiDesktop/NFC/SCard/SCardAPI.cs | 3,625 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.