content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
using System;
namespace UAlbion.Core.Textures
{
public readonly struct LayerKey : IEquatable<LayerKey>
{
readonly int _id;
readonly int _frame;
public LayerKey(int id, int frame) { _id = id; _frame = frame; }
public bool Equals(LayerKey other) => _id == other._id && _frame == o... | 45.294118 | 92 | 0.641558 | [
"MIT"
] | Metibor/ualbion | src/Core/Textures/LayerKey.cs | 772 | C# |
using System;
using MeteoSharp.Core;
namespace MeteoSharp.Measurements
{
public interface IMeasurement<TUnit>
where TUnit : struct, Enum
{
SmallDecimal Value { get; }
TUnit Unit { get; }
SmallDecimal ValueIn(TUnit unit);
}
public interface IMeasurement<TMeasurement, ... | 23.583333 | 95 | 0.659011 | [
"MIT"
] | fedarovich/meteo-sharp | Source/MeteoSharp/MeteoSharp/Measurements/IMeasurement.cs | 568 | C# |
using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using W4k.AspNetCore.Correlator.Context;
usin... | 34.657343 | 121 | 0.547821 | [
"MIT"
] | wdolek/w4k-aspnetcore-correlator | test/W4k.AspNetCore.Correlator.IntegrationTests/CorrelationPropagationTests.cs | 4,958 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Horizon.Utilities
{
public static class StringHelper
{
/// <summary>
/// Gets whether the string is null, empty, or comprised entirely of whitespace.
/// </summ... | 29.619048 | 100 | 0.635048 | [
"MIT"
] | TheHeadmaster/Horizon | Horizon/Horizon/Utilities/StringHelper.cs | 624 | C# |
namespace AbpQa274
{
public abstract class AbpQa274DomainTestBase : AbpQa274TestBase<AbpQa274DomainTestModule>
{
}
}
| 16.5 | 94 | 0.742424 | [
"MIT"
] | liangshiw/AbpQa274 | AbpQa274/aspnet-core/test/AbpQa274.Domain.Tests/AbpQa274DomainTestBase.cs | 134 | C# |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Birdie.Core.Data.Migrations
{
[DbContext(typeof(BirdieContext))]
[Migration("20210419232303_AddTweetAndMoreTables")]
parti... | 38.070147 | 91 | 0.425076 | [
"MIT"
] | jnnrz/Birdie.Core | src/Data/Migrations/20210419232303_AddTweetAndMoreTables.Designer.cs | 23,339 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Core.TestFramework;
namespace Azure.Identity.Tests
{
public abstract class IdentityRecordedTestBase : RecordedTestBase<IdentityTestEnvironment>
{
protected IdentityRecordedTestBase(bool isAsync... | 36.714286 | 107 | 0.677043 | [
"MIT"
] | MiriBerezin/azure-sdk-for-net | sdk/identity/Azure.Identity/tests/IdentityRecordedTestBase.cs | 1,030 | C# |
using System.ComponentModel.DataAnnotations;
namespace Aura.Core.Models
{
public class UserUpdateDto
{
[Required(ErrorMessage = "You should provide a name value.")]
[MaxLength(50)]
public string Name { get; set; }
[Required(ErrorMessage = "You should provide a email value.")]
... | 24.666667 | 70 | 0.637838 | [
"MIT"
] | srdjanRakic/Aura | src/Aura.Core/Models/UserUpdateDto.cs | 372 | 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... | 34.754545 | 107 | 0.640335 | [
"Apache-2.0"
] | Bio2hazard/aws-sdk-net | sdk/src/Services/MediaLive/Generated/Model/DvbSdtSettings.cs | 3,823 | C# |
//
// Copyright (c) Microsoft and contributors. 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
//
// Unless requi... | 41.507965 | 217 | 0.596026 | [
"Apache-2.0"
] | CerebralMischief/azure-sdk-for-net | src/ResourceManagement/AzureStackAdmin/AzureStackManagement/Generated/ManagedOfferOperationsExtensions.cs | 23,452 | C# |
using System;
using System.Xml;
using System.Collections.Generic;
using System.Linq;
using VisuMap.Plugin;
using VisuMap.Script;
namespace VisuMap.GeneticAnalysis {
public class LevenshteinMetric : IMetric {
string[] motifs;
public LevenshteinMetric() {
}
public void Initialize(I... | 30 | 117 | 0.463235 | [
"MIT"
] | VisuMap/OpenVisuMap | GeneticAnalysis/LevenshteinMetric.cs | 4,082 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DriftingAI : MonoBehaviour
{
public float maxRadiusFromCenter;
public float driftInterval;
public float stayAtTargetDuration;
private EnemyMovement movement;
private Vector2 currentTarget = Vector2.zero;
... | 34.40678 | 104 | 0.669951 | [
"MIT"
] | kukushie/kukushie-dev-stream-shmup | Kukushie's Dev Stream Shmup/Assets/Scripts/AI/Movement/DriftingAI.cs | 2,032 | C# |
namespace PrivateWiki.Core.DebugMode
{
public class GetDebugMode : IQuery<DebugMode> { }
} | 22.75 | 50 | 0.78022 | [
"MIT"
] | lampenlampen/PrivateWiki | PrivateWiki/Core/DebugMode/GetDebugMode.cs | 91 | C# |
/*
* Ory APIs
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
* The version of the OpenAPI document: v0.0.1-alpha.3
* Contact: support@ory.sh
* Generated by: https://github.com/o... | 26.9625 | 179 | 0.62216 | [
"Apache-2.0"
] | Stackwalkerllc/sdk | clients/client/dotnet/src/Ory.Client.Test/Model/ClientVolumeUsageDataTests.cs | 2,157 | C# |
/*
* MoesifAPI.PCL
*
*/
using System;
using System.IO;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Moesif.Api;
namespace Moesif.Api.Models
{
public class UserMo... | 24.464865 | 82 | 0.46973 | [
"Apache-2.0"
] | Moesif/moesifapi-csharp | Moesif.Api/Models/UserModel.cs | 4,528 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 31.763333 | 110 | 0.575716 | [
"Apache-2.0"
] | Hazy87/aws-sdk-net | sdk/src/Services/SageMaker/Generated/Model/DescribeInferenceRecommendationsJobResponse.cs | 9,529 | C# |
// _ _ _ ____ _ _____
// / \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___
// / _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \
// / ___ \ | | | (__ | | | || | ___) || |_| __/| ... | 31.525624 | 293 | 0.71581 | [
"Apache-2.0"
] | xianzhe001/ArchiSteamFarm | ArchiSteamFarm/Bot.cs | 95,975 | C# |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v1/enums/conversion_attribution_event_type.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::... | 39.882353 | 350 | 0.71601 | [
"Apache-2.0"
] | chrisdunelm/google-ads-dotnet | src/V1/Stubs/ConversionAttributionEventType.cs | 7,458 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
namespace Test.Psi
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive;
using System.Reactive.Linq;
using System.Threading;
using System.Threadi... | 48.612691 | 179 | 0.544756 | [
"MIT"
] | Microsoft/psi | Sources/Runtime/Test.Psi/PipelineTest.cs | 117,985 | C# |
using System.Net;
using System.Net.Http;
namespace Commons.Extensions
{
public static class HttpStatusCodeExtensions
{
public static bool IsSuccessStatusCode(this HttpStatusCode statusCode)
=> (int) statusCode is >= 200 and < 300;
public static void EnsureSuccessStatusCode(this Htt... | 28.578947 | 93 | 0.635359 | [
"MIT"
] | ChaucerLib/Commons | Commons/Extensions/HttpStatusCodeExtensions.cs | 543 | C# |
/* MIT License
Copyright (c) 2011-2019 Markus Wendt (http://www.dodoni-project.net)
All rights reserved.
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 li... | 58.526066 | 300 | 0.679002 | [
"MIT"
] | dodoni/dodoni.net | CommonMathLibrary.Tests.Unit/NumericalIntegrators/GaussTschebyscheffIntegratorTests.cs | 12,355 | 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("Op... | 38.405405 | 84 | 0.749472 | [
"MIT"
] | martinmihov/Programming-Fundamentals | Methods. Debugging and Troubleshooting Code/OptimizedQualityCodeLook/Properties/AssemblyInfo.cs | 1,424 | C# |
using System;
using System.Collections.Generic;
namespace _06.MathPotato
{
class MathPotato
{
static void Main(string[] args)
{
var input = Console.ReadLine();
var queue = new Queue<string>(input.Split(' '));
var number = int.Parse(Console.ReadLine());
... | 26.746032 | 68 | 0.34362 | [
"MIT"
] | vpaleshnikov/SoftUni-C-FundamentalsModule | C#Advanced/01.StacksAndQueues-Lab/06.MathPotato/MathPotato.cs | 1,687 | C# |
using System;
using System.Text.RegularExpressions;
namespace ValidationPilotServices.DataTypes
{
public class Identifier : BaseValidator
{
public Identifier()
{
this.pattern = new Regex(@"(\w|\-)+",RegexOptions.Compiled);
}
public Identifier(int minLength, int max... | 23.894737 | 97 | 0.5837 | [
"Apache-2.0"
] | Ministerstvo-financi/hazard-komunikacni-rozhrani | csv-validator/PackageValidation/ValidationServices/DataTypes/Identifier.cs | 456 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : MonoBehaviour
{
public EnemyMove enemy;
public EnemyData[] levelData;
[Range(1,5)]
public int level;
void Awake()
{
if (level > levelData.Length)
{
level = le... | 17.304348 | 42 | 0.60804 | [
"MIT"
] | zulaldogan/saving-game-data | SoExample/Assets/Script/GameManager.cs | 400 | 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... | 29.170732 | 124 | 0.622074 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Network/V20190601/Inputs/ExpressRouteLinkArgs.cs | 1,196 | C# |
using System;
using Csla;
using Invoices.DataAccess;
namespace Invoices.DataAccess.Sql
{
public partial class ProductTypeDynaCollDal
{
}
}
| 14.727273 | 48 | 0.697531 | [
"MIT"
] | CslaGenFork/CslaGenFork | trunk/CoverageTest/Invoices-CS-DAL-DTO-INT64/Invoices.DataAccess.Sql/ProductTypeDynaCollDal.cs | 162 | 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.Buffers.Binary;
using System.Collections.Concurrent;
using System.Diagnostics;
namespace System.Security.Cryptography
{
internal sealed class RsaPaddingProcessor
... | 37.971168 | 128 | 0.486073 | [
"MIT"
] | Faithlife/runtime | src/libraries/Common/src/System/Security/Cryptography/RsaPaddingProcessor.cs | 25,023 | 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... | 27.790698 | 178 | 0.579916 | [
"Apache-2.0"
] | pulumi-bot/pulumi-azure-native | sdk/dotnet/Compute/Latest/Outputs/SkuResponse.cs | 1,195 | C# |
using System;
using System.ComponentModel;
using EfsTools.Attributes;
using EfsTools.Utils;
using Newtonsoft.Json;
namespace EfsTools.Items.Nv
{
[Serializable]
[NvItemId(2350)]
[Attributes(9)]
public class Gsm1900VlTlPrdi15
{
[ElementsCount(30)]
[ElementType("uint8")]
... | 19.571429 | 42 | 0.59854 | [
"MIT"
] | HomerSp/EfsTools | EfsTools/Items/Nv/Gsm1900VlTlPrdi15I.cs | 411 | C# |
#pragma checksum "C:\Users\Tran\Downloads\App_UW_Stupendous\App_UW_Stupendous\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "520A410F578813AB564DD90E95DB5259"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// ... | 48.54 | 169 | 0.652246 | [
"Apache-2.0"
] | trungngotdt/App_UW_Stupendous | App_UW_Stupendous/obj/ARM/Debug/MainPage.g.i.cs | 2,429 | C# |
using System;
namespace Specs.Util
{
public static class Errors
{
/// <summary>
/// Throws an exception if the specified parameter's value is null OR equal to Unity's fake
/// null.
/// </summary>
/// <typeparam name="T">The type of the parameter.</typeparam>
/// <param name="value">The va... | 45.824324 | 108 | 0.63875 | [
"Apache-2.0"
] | thurn/sagan | Assets/Specs/Util/Errors.cs | 3,393 | C# |
namespace DeltaEngine.Input.Mocks
{
/// <summary>
/// Mock keyboard for unit testing.
/// </summary>
public sealed class MockKeyboard : Keyboard
{
public MockKeyboard()
{
IsAvailable = true;
}
public override void Dispose()
{
IsAvailable = false;
}
public void SetKeyboardSta... | 19.21875 | 70 | 0.634146 | [
"Apache-2.0"
] | DeltaEngine/DeltaEngine | Input/Mocks/MockKeyboard.cs | 617 | C# |
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Punchkeyboard.Editor")] | 31.666667 | 54 | 0.831579 | [
"MIT"
] | Gusinuhe/Punchkeyboard | Runtime/AssemblyAttributes.cs | 97 | C# |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace SSPLibrary.Models
{
public interface IQueryParameters
{
PagingParameters PagingParameters { get; set; }
string ActionName { get; set; }
void ApplyQueryParameters(
string sortParams,
string searchOptions);
}
... | 17.833333 | 49 | 0.760125 | [
"MIT"
] | BorowskiKamil/SSPLibrary | src/SSPLibrary/Models/IQueryParameters.cs | 321 | C# |
namespace TagUIWordAddIn
{
partial class FormUpdate
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
//... | 44.19 | 142 | 0.602625 | [
"Apache-2.0"
] | aTiKhan/TagUI | src/office/word/TagUIWordAddIn/FormUpdate.Designer.cs | 4,421 | C# |
using System;
using System.IO;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using WalletWasabi.Logging;
using WalletWasabi.Gui.Models;
namespace WalletWasabi.Gui.Rpc
{
public class JsonRpcServer : BackgroundService
{
private HttpList... | 30.389831 | 114 | 0.720859 | [
"MIT"
] | adamlaska/WalletWasabi | WalletWasabi.Gui/Rpc/JsonRpcServer.cs | 3,586 | C# |
using System;
using System.Text;
namespace _04_PeshoCode
{
class PeshoCode
{
static ulong sum = 0;
static void Main()
{
string word = Console.ReadLine();
int linesCount = int.Parse(Console.ReadLine());
string text = ReadText(linesCount);
... | 32.105263 | 100 | 0.445492 | [
"MIT"
] | vasilvalkov/TA-2016-CSharp-Advanced | Exam/04_PeshoCode/PeshoCode.cs | 2,442 | C# |
namespace AMLLinesEDMXCodeFirst
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class AML_PLC_BuildList
{
public decimal LineID { get; ... | 23.636364 | 55 | 0.661538 | [
"MIT"
] | chrhodes/Applications | EASE/Data/AMLLinesEDMXCodeFirst/AML_PLC_BuildList.cs | 520 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 30.0375 | 108 | 0.617561 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/DeviceFarm/Generated/Model/ListSamplesRequest.cs | 2,403 | 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.247423 | 107 | 0.620654 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/IoTEvents/Generated/Model/DetectorModelSummary.cs | 2,934 | C# |
namespace OnlyT.Services.CountdownTimer
{
using System;
using System.Collections.Generic;
using System.Linq;
using Options;
using Options.MeetingStartTimes;
// ReSharper disable once ClassNeverInstantiated.Global
internal sealed class CountdownTimerTriggerService : ICountdownTimerTrigg... | 32.743902 | 111 | 0.531844 | [
"MIT"
] | diagdave1/OnlyT-1 | OnlyT/Services/CountdownTimer/CountdownTimerTriggerService.cs | 2,687 | C# |
using System;
using System.Buffers;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace Cysharp.Text
{
public partial struct Utf8ValueStringBuilder : IDisposable, IBufferWriter<byte>, IResettableBufferWriter<byte... | 32.176583 | 162 | 0.503758 | [
"MIT"
] | udaken/ZString | src/ZString.Unity/Assets/Scripts/ZString/Utf8ValueStringBuilder.cs | 16,766 | C# |
namespace System.Web
{
public static class HttpRequestExtensions
{
public static string GetBaseUrl(this HttpRequest request)
{
return request.Url.Scheme + "://" + request.Url.Authority + request.ApplicationPath.TrimEnd('/') + "/";
}
}
}
| 25.909091 | 115 | 0.617544 | [
"Apache-2.0"
] | moein-shafiei/test | source/Src/Infra.Web/Extensions/HttpRequestExtensions.cs | 285 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace WebApiTests.Api
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// Web API configuration and services
// Web API routes
... | 23.6 | 62 | 0.581356 | [
"MIT"
] | danielplawgo/WebApiTests | WebApiTests/WebApiTests.Api/App_Start/WebApiConfig.cs | 592 | C# |
namespace OOP1
{
public class ArrayHelper
{
public static int[] Fibonacci(int n)
{
int[] F = new int[n];
F[0] = 0;
if (n == 0) return F;
F[1] = 1;
if (n == 1) return F;
int i = 1;
while (i < n - 1)
... | 24.66129 | 67 | 0.323741 | [
"MIT"
] | PetDama/oop | oop/oop/ArrayHelper.cs | 1,531 | C# |
using EloBuddy.SDK;
using System.Linq;
using static SmartCast.Damages;
using static SmartCast.Program;
using static SmartCast.Settings;
using static SmartCast.Logic.Abilities;
using static SmartCast.Logic.ActiveItems;
using static SmartCast.Logic.SummonerSpells;
namespace SmartCast
{
internal class Mod... | 29.428571 | 128 | 0.534837 | [
"MIT"
] | hazanpro/EloBuddy | SmartCast Udyr/Modes.cs | 3,504 | C# |
// Based on: https://github.com/dotnet/machinelearning-samples/tree/main/samples/csharp/getting-started/DeepLearning_ImageClassification_Training
using Deltatre.ModelFineTuningDemo.Common;
using Deltatre.ModelFineTuningDemo.Common.Model;
using Microsoft.ML;
var datasetRelativePath = @"../../../../";
string datasetPa... | 34.986486 | 192 | 0.747779 | [
"MIT"
] | deltatrelabs/deltatre-net-conf-2022-mlnet | src/ModelFineTuningDemo/Deltatre.ModelFineTuningDemo.Score.CLI/Program.cs | 2,591 | C# |
using UnityEngine;
using System.Collections;
using System.Linq;
namespace Crosstales.RTVoice.Provider
{
/// <summary>Android voice provider.</summary>
public class VoiceProviderAndroid : BaseVoiceProvider
{
#region Variables
#if UNITY_ANDROID || UNITY_EDITOR
private static bool isInitial... | 27.089806 | 147 | 0.444942 | [
"MIT"
] | Sadeqsoli/1100-Words | 1100 Words/Assets/Plugins/crosstales/RTVoice/Scripts/Provider/VoiceProviderAndroid.cs | 11,164 | C# |
namespace Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.Api20200301
{
using static Microsoft.Azure.PowerShell.Cmdlets.Confluent.Runtime.Extensions;
/// <summary>The response of a list operation.</summary>
public partial class OrganizationResourceListResult :
Microsoft.Azure.PowerShell.C... | 50.873016 | 161 | 0.687676 | [
"MIT"
] | AverageDesigner/azure-powershell | src/Confluent/generated/api/Models/Api20200301/OrganizationResourceListResult.cs | 3,143 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DTerrain
{
public interface IChunkCollider
{
void UpdateColliders(List<Column> pixelData, ITextureSource textureSource);
}
}
| 19.5 | 83 | 0.754579 | [
"MIT"
] | Ideefixze/DTerrain | Destructible Terrain/Assets/Scripts/Chunk/PaintableChunk/CollidableChunk/ChunkCollider/IChunkCollider.cs | 275 | C# |
using Haiku.Fluctuface.Server.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Haiku.Fluctuface.Server.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class FluctuantVa... | 28.673077 | 109 | 0.529175 | [
"MIT"
] | HaikuJock/Fluctuface | Fluctuface.Server/Controllers/FluctuantVariablesController.cs | 2,984 | C# |
using Newtonsoft.Json.Linq;
using Skybrud.Essentials.Json.Extensions;
using Skybrud.Social.Google.Models;
namespace Skybrud.Social.Google.YouTube.Models.PlaylistItems {
/// <see>
/// <cref>https://developers.google.com/youtube/v3/docs/playlistItems#contentDetails</cref>
/// </see>
public class You... | 33.229167 | 131 | 0.636364 | [
"MIT"
] | abjerner/Skybrud.Social.Google.YouTube | src/Skybrud.Social.Google.YouTube/Models/PlaylistItems/YouTubePlaylistItemContentDetails.cs | 1,595 | C# |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.Azure.II... | 33.180556 | 99 | 0.55337 | [
"MIT"
] | TheWaywardHayward/Industrial-IoT | services/src/Microsoft.Azure.IIoT.Services.OpcUa.Registry/src/v2/Models/SupervisorStatusApiModel.cs | 2,389 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using AspNetCoreIdentityLocalization.Resources;
namespace Microsoft.AspNetCore.Identity
{
/// <summary>
/// Service to enable localization for ... | 45.855346 | 173 | 0.612605 | [
"MIT"
] | alekseyaz/AspNetCoreIdentityLocalizationTemplate | src/templates/AspNetCoreIdentityLocalizationTemplate/MultilanguageIdentityErrorDescriber.cs | 14,582 | C# |
// This source code is dual-licensed under the Apache License, version
// 2.0, and the Mozilla Public License, version 2.0.
//
// The APL v2.0:
//
//---------------------------------------------------------------------------
// Copyright (c) 2007-2020 VMware, Inc.
//
// Licensed under the Apache License, Version 2.... | 40.330645 | 129 | 0.621076 | [
"MPL-2.0-no-copyleft-exception",
"MPL-2.0",
"Apache-2.0"
] | ArdeshirV/rabbitmq-dotnet-client | projects/RabbitMQ.Client/client/framing/BasicPublish.cs | 5,001 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PiCounter
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
... | 23.434783 | 66 | 0.591837 | [
"MIT"
] | oscargbeta/PiCounter | src/PiCounter/PiCounter/Program.cs | 541 | C# |
using System.ComponentModel;
using System.Collections.Generic;
using Atlas.Interfaces;
namespace Atlas.ModManager.Configs.Atlas
{
public class Scp096Configuration : IConfig
{
public List<RoleType> DisallowedRoles { get; set; } = new List<RoleType>() { RoleType.Tutorial };
public bool Disable... | 26 | 105 | 0.6875 | [
"MIT"
] | Semper00/Atlas | Atlas/ModManager/Configs/Atlas/Scp096Configuration.cs | 418 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 30.135593 | 108 | 0.66198 | [
"Apache-2.0"
] | EbstaLimited/aws-sdk-net | sdk/src/Services/Inspector2/Generated/Model/GetMemberRequest.cs | 1,778 | C# |
namespace EZNEW.Cache.List
{
/// <summary>
/// List insert before response
/// </summary>
public class ListInsertBeforeResponse : CacheResponse
{
/// <summary>
/// Gets or sets the length of the list after the insert operation, or -1 when the value pivot was not found.
... | 28.5 | 118 | 0.586466 | [
"MIT"
] | eznew-net/EZNEW.Develop | EZNEW/Cache/List/Response/ListInsertBeforeResponse.cs | 401 | C# |
namespace KisekaeImporter.SubCodes
{
public class KisekaeShoe : KisekaeClothes
{
public int Top
{
get { return GetInt(4); }
set { Set(4, value); }
}
public KisekaeColor TopColor1
{
get { return new KisekaeColor(GetString(1)); }
set { Set(1, value.ToString()); }
}
public KisekaeColor TopC... | 17.870968 | 49 | 0.633574 | [
"MIT"
] | laytonc32/spnati | editor source/KisekaeImporter/DataStructures/Kisekae/SubCodes/KisekaeShoe.cs | 556 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Gibbed.Spore.Helpers;
namespace SporeMaster.RenderWare4
{
public class ModelFormatException : FormatException
{
public string exception_type;
public ModelFormatException(Str... | 39.457732 | 191 | 0.496333 | [
"BSD-3-Clause"
] | Blackinator101/sporemaster | SporeMaster/SporeMaster/RenderWare4/RW4Model.cs | 57,413 | 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... | 29.492958 | 91 | 0.578319 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Consumption/V20190501Preview/Inputs/FiltersArgs.cs | 2,094 | 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.
namespace System.Text.Json.Serialization.Converters
{
internal sealed class JsonConverterUInt16 : JsonConverter... | 34.2 | 113 | 0.703216 | [
"MIT"
] | 939481896/dotnet-corefx | src/System.Text.Json/src/System/Text/Json/Serialization/Converters/JsonValueConverterUInt16.cs | 686 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace ShogiCore.Notation {
/// <summary>
/// 棋泉棋譜形式
/// </summary>
public class KisenNotationReader : IBinaryNotationReader {
#region IBinaryNotationReader メンバ
public bool CanRead(byte[] data) {
return d... | 32.489552 | 87 | 0.395075 | [
"MIT"
] | ak110/ShogiCore | ShogiCore/Notation/KisenNotationReader.cs | 16,294 | C# |
using Parkner.Mobile.Services;
using Parkner.Mobile.ViewModels;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Parkner.Mobile.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class ClienteEstacionamientosVerPage : ContentPage
{
public ClienteEstacionamientosVerPag... | 26.210526 | 95 | 0.726908 | [
"MIT"
] | Bedolla/Parkner | Parkner.Mobile/Parkner.Mobile/Views/ClienteEstacionamientosVerPage.xaml.cs | 500 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generi... | 28.9375 | 96 | 0.62473 | [
"MIT"
] | georghinkel/ttc2017smartGrids | generator/61850/Dataclasses/ISequence.cs | 1,854 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemy : MonoBehaviour {
private Animator animator;
private int idleHash = Animator.StringToHash("Idle");
private int attackHash = Animator.StringToHash("Attack");
private int dieHash = Animator.StringToHash("Die");
... | 19.581818 | 86 | 0.688951 | [
"MIT"
] | ElBruh/CDN_Game | Assets/Scripts/Enemy.cs | 1,079 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using UniDi;
namespace UniDi.Internal
{
public static class Assert
{
#if UNIDI_STRIP_ASSERTS_IN_BUILDS
[Conditional("UNITY_EDITOR")]
#endif
public static void That(bool condition)
{
... | 32.717678 | 120 | 0.587823 | [
"Apache-2.0"
] | UniDi/UniDi | Source/Internal/Assert.cs | 12,400 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Accounting.Core.Accounts;
using Accounting.Core.TaxCodes;
using Accounting.Core.Jobs;
using Accounting.Core.Activities;
using Acc... | 33.298969 | 81 | 0.593808 | [
"MIT"
] | cschen1205/myob-accounting-plugin | Inventorist/SyntechRpt/WinForms/Purchases/PurchaseLines/FrmTimeBillingPurchaseLine.cs | 3,232 | 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 System;
using System.Collections.Immutable;
using System.Reflection;
using System.Threading;
using Microsoft.CodeAnalysis.CodeStyle;
using Microsoft.Co... | 39.320475 | 260 | 0.605766 | [
"Apache-2.0"
] | DaiMichael/roslyn | src/Features/Core/Portable/UseThrowExpression/AbstractUseThrowExpressionDiagnosticAnalyzer.cs | 13,253 | C# |
#if UNITY_EDITOR
//public class AkWwiseMenu_Linux
//{
// private const string MENU_PATH = "Help/Wwise Help/";
// private const string Platform = "Linux";
// [UnityEditor.MenuItem(MENU_PATH + Platform, false, (int)AkWwiseHelpOrder.WwiseHelpOrder)]
// public static void OpenDoc() { AkDocHelper.OpenDoc(Platform); }
//}
#... | 31.454545 | 92 | 0.736994 | [
"MIT"
] | Clement-R/ggj_2018 | Assets/Wwise/Editor/WwiseMenu/Linux/AkWwiseMenu_Linux.cs | 346 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using GrabNReadApp.Data.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
... | 27.636364 | 102 | 0.638158 | [
"MIT"
] | alexandrateneva/CSharp-Web-SoftUni | CSharp MVC Frameworks - ASP.NET Core/GrabNReadApp - Final Project/GrabNReadApp/GrabNReadApp.Web/Areas/Identity/Pages/Account/Logout.cshtml.cs | 1,218 | C# |
// Copyright (c) 2015-2017, Saritasa. All rights reserved.
// Licensed under the BSD license. See LICENSE file in the project root for full license information.
using System;
#if NET40
using System.Runtime.Serialization;
#endif
namespace Saritasa.Tools.Domain.Exceptions
{
/// <summary>
/// Domain conflict ex... | 30.017857 | 117 | 0.622844 | [
"BSD-2-Clause"
] | jzabroski/SaritasaTools | src/Saritasa.Tools.Domain/Exceptions/ConflictException.cs | 1,683 | 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.Management.Automation.Internal;
namespace System.Management.Automation.ComInterop
{
/// <summary>
/// Strongly-typed and parameterized exceptio... | 41 | 146 | 0.656282 | [
"MIT"
] | 10088/PowerShell | src/System.Management.Automation/engine/ComInterop/Errors.cs | 4,879 | C# |
using System;
namespace Day12
{
class Program
{
public static int day = 12;
public static string inputPath = "../../../input/input";
public static string inputPathTest = "../../../input/inputTest";
static void Main(string[] args)
{
Console.WriteLine("AOC 20... | 35.466667 | 109 | 0.589286 | [
"MIT"
] | TillDiebelt/AOC2021 | src/Day12/Program.cs | 1,066 | C# |
// Project: Daggerfall Tools For Unity
// Copyright: Copyright (C) 2009-2020 Daggerfall Workshop
// Web Site: http://www.dfworkshop.net
// License: MIT License (http://www.opensource.org/licenses/mit-license.php)
// Source Code: https://github.com/Interkarma/daggerfall-unity
// Original... | 42.380952 | 104 | 0.686517 | [
"MIT"
] | BibleUs/daggerfall-unity | Assets/Scripts/Game/MagicAndEffects/Effects/Destruction/DrainWillpower.cs | 1,780 | C# |
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Agoda.Frameworks.Http;
using NUnit.Framework;
using RichardSzalay.MockHttp;
namespace Agoda.Frameworks.LoadBalancing.Tests
{
public class RandomUrlHttpClientTest
{
[Test]
public async Task TestGetAsync()
{
... | 33.347368 | 96 | 0.482955 | [
"Apache-2.0"
] | szaboopeeter/net-loadbalancing | Agoda.Frameworks.Http.Tests/RandomUrlHttpClientTest.cs | 3,168 | C# |
using GenFx.Wpf.Controls;
using Moq;
using OxyPlot;
using OxyPlot.Axes;
using OxyPlot.Series;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TestCommon;
using Xunit;
namespace GenFx.Wpf.Tests
{
/// <summary>
/// Contains unit te... | 34.78673 | 123 | 0.546935 | [
"MIT"
] | mthalman/GenFx | src/GenFx.Wpf.Tests/MetricsChartTest.cs | 14,682 | C# |
using System;
namespace Lab_21_Exceptions
{
class Program
{
static long num = 9;
static void Main(string[] args)
{
//var bigNumber = int.MaxValue;
//Console.WriteLine(int.MaxValue);
//Console.WriteLine(bigNumber + 1);
//checked
... | 23.788462 | 62 | 0.390461 | [
"MIT"
] | Stephen-Callum/2020-01-c-sharp-labs | Labs/Lab_21_Exceptions/Program.cs | 1,239 | C# |
using ExtendedXmlSerializer.Core.Sources;
namespace ExtendedXmlSerializer.ExtensionModel.Xml
{
interface IInstanceFormatter : IFormatter<object> {}
} | 25.166667 | 53 | 0.84106 | [
"MIT"
] | ExtendedXmlSerializer/ExtendedXmlSerializer | src/ExtendedXmlSerializer/ExtensionModel/Xml/IInstanceFormatter.cs | 151 | 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 static Interop.UxTheme;
namespace System.Windows.Forms.VisualStyles
{
public enum MarginProperty
{
... | 28.6875 | 71 | 0.729847 | [
"MIT"
] | AArnott/winforms | src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/MarginProperty.cs | 461 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
using System.Linq;
public class Creature : MonoBehaviour
{
public float healthMax = 100;
public float health = 100;
public bool isAlive = true;
public bool isConscious = true;
DamageResists _damageR... | 27.814286 | 111 | 0.580637 | [
"MIT"
] | codingwatching/Zenthium-Heroes | Assets/Creature.cs | 3,894 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Runtime.InteropServices;
using System.Security;
namespace System.IO
{
// Only static data; no need to serialize
internal static class __Error
... | 34.25 | 126 | 0.678832 | [
"MIT"
] | ProgramFOX/corefx | src/System.IO.Pipes/src/System/IO/__Error.cs | 2,603 | C# |
using System;
using System.Collections.Generic;
namespace DictionariesDemos
{
class DictionariesDemo
{
public static void Main()
{
var phoneBook = new Dictionary<string, string>();
phoneBook["Ivan"] = "+35923421412";
phoneBook["Pesho"] = "+3591234152";
... | 29.641304 | 82 | 0.471947 | [
"MIT"
] | viktornikolov038/Programming-Fundamentals-C-Sharp-2018 | 09.Dictionaries/DictionariesDemos/DictionariesDemos/DictionariesDemo.cs | 2,729 | C# |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Passingwind.Blog.Services;
using Passingwind.Blog.Web.Factory;
using Passingwind.Blog.Web.Models;
using System.Linq;
using System.Threading.Tasks;
namespace Passingwind.Blog.Web.ApiControllers
{
public class IdentityController : ApiControllerBase
... | 28.459016 | 153 | 0.773041 | [
"MIT"
] | jxnkwlp/Passingwind.Blog | Passingwind.Blog.Web.Core/ApiControllers/IdentityController.cs | 1,736 | C# |
using UnityEngine;
using UnityEngine.SceneManagement;
public class ButtonToDodgeCoin : MonoBehaviour {
public void ChangeToDodgeCoin() {
SceneManager.LoadScene("DodgeCoin", LoadSceneMode.Single);
}
} | 24.111111 | 66 | 0.75576 | [
"BSD-3-Clause"
] | JenniTheDev/Microverse | Assets/Scripts/ButtonToDodgeCoin.cs | 217 | 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... | 41.557377 | 229 | 0.59428 | [
"ECL-2.0",
"Apache-2.0"
] | suresh198526/pulumi-azure | sdk/dotnet/Network/NetworkSecurityGroup.cs | 10,140 | C# |
using Cosmos.Business.Extensions.Holiday.Core;
using Cosmos.I18N.Countries;
namespace Cosmos.Business.Extensions.Holiday.Definitions.Africa.CapeVerde.Public
{
/// <summary>
/// Heroes' Day<br />
/// pt: Dia dos Heróis Nacionais
/// </summary>
public class HeroesDay : BaseFixedHolidayFunc
{
... | 30.787879 | 84 | 0.612205 | [
"Apache-2.0"
] | cosmos-open/Holiday | src/Cosmos.Business.Extensions.Holiday/Cosmos/Business/Extensions/Holiday/Definitions/Africa/CapeVerde/Public/HeroesDay.cs | 1,018 | C# |
using Acme.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Acme.Biz
{
/// <summary>
/// Manages the approved vendors from whom Acme purchases our inventory.
/// </summary>
public class Vendor
{
public int... | 37.645669 | 92 | 0.526459 | [
"MIT"
] | mttwht/CSharpBP-Collections | AcmeApp/Acme.Biz/Vendor.cs | 4,783 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xam... | 38.841584 | 99 | 0.614326 | [
"BSD-3-Clause"
] | Zunair/OpenWeatherC | Example UWP/App.xaml.cs | 3,925 | C# |
// 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
// regenerated.
namespa... | 58.915254 | 335 | 0.624568 | [
"MIT"
] | fhoering/autorest | src/generator/AutoRest.CSharp.Azure.Tests/Expected/AcceptanceTests/Lro/LROsCustomHeaderOperationsExtensions.cs | 20,936 | C# |
using ATech.Ring.Configuration.Interfaces;
using Nett;
namespace ATech.Ring.Configuration;
public class ConfigurationLoader : IConfigurationLoader
{
public T Load<T>(string path) => Toml.ReadFile<T>(path, TomlConfig.Settings);
}
| 23.6 | 81 | 0.779661 | [
"Apache-2.0"
] | AccountTechnologies/rin | src/ATech.Ring.Configuration/ConfigurationLoader.cs | 238 | C# |
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Formatters;
namespace JsonCrafter.Processing.Serialization
{
public interface IResourceSerializer
{
/// <summary>
/// The name of the mediatype format.
/// </summary>
string FormatName { get; }
... | 31.321429 | 100 | 0.6374 | [
"Apache-2.0"
] | baseless/JsonCrafter | src/JsonCrafter.Processing/Serialization/IResourceSerializer.cs | 879 | C# |
using System;
using System.Collections.Generic;
#nullable disable
namespace P0DbContext
{
public partial class StoreInventory
{
public int StoreInventoryId { get; set; }
public int StoreId { get; set; }
public int ProductId { get; set; }
public int Quantity { get; set; }
... | 22.421053 | 52 | 0.631455 | [
"MIT"
] | ssilva2021/SteveSilvaP0 | P0DbContext/StoreInventory.cs | 428 | C# |
/*******************************************************************************
* Copyright 2012-2019 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... | 46.881306 | 289 | 0.621179 | [
"Apache-2.0"
] | 5u5hma/aws-tools-for-powershell | modules/AWSPowerShell/Cmdlets/AlexaForBusiness/Basic/Register-ALXBAVSDevice-Cmdlet.cs | 15,799 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace GroupService.Repo.Migrations
{
public partial class FE835FixMarkdown : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.UpdateData(
schema: "Group",
... | 131.166667 | 1,531 | 0.704701 | [
"MIT"
] | HelpMyStreet/group-service | GroupService/GroupService.Repo/Migrations/20210401095614_FE-835-Fix-Markdown.cs | 3,973 | C# |
//using Microsoft.Extensions.Logging;
//using Serilog;
//using Serilog.Events;
namespace BS.Domain
{
public class Dispatcher : IDispatcher
{
private IUnitOfWork _unitOfWork;
private ILogger _logger;
public Dispatcher(IUnitOfWork work, ILogger logger)
{
_unitOfWor... | 20.5 | 79 | 0.57622 | [
"MIT"
] | tmaski45/Book-Switcharoo | BS.Domain/Dispatcher.cs | 658 | C# |
using Swisschain.Sirius.Sdk.Primitives;
namespace Brokerage.Common.ReadModels.Blockchains
{
public class Protocol
{
public string Code { get; set; }
public Capabilities Capabilities { get; set; }
}
}
| 20.909091 | 54 | 0.678261 | [
"Apache-2.0"
] | KonstantinRyazantsev/Sirius.Brokerage | src/Brokerage.Common/ReadModels/Blockchains/Protocol.cs | 232 | C# |
using CalorieTracker.Models.FoodEntries;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace CalorieTracker.Data.Mappings {
class FoodEntryMap : IEntityTypeConfiguration<FoodEntry> {
private const int FoodNameLength = 200;
public void Configure(En... | 38.9 | 102 | 0.679949 | [
"MIT"
] | tugrulelmas/CalorieTracker | src/Backend/CalorieTracker/Data/Mappings/FoodEntryMap.cs | 780 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.