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 |
|---|---|---|---|---|---|---|---|---|
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18408
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 43.671875 | 182 | 0.614669 | [
"MIT"
] | DannyMeister/ActiveDirectoryPasswordRecycler | Password Recycler/Properties/Resources.Designer.cs | 2,797 | C# |
using UnityEngine;
using UnityEngine.Animations;
//Esse script é chamado dentro das animações quando precisam ativar ou desativar o parent constraint do objeto
public class ParentConstraintController : MonoBehaviour {
public ParentConstraint[] parentConstraint;
private int index;
public void SetActive()... | 24.4 | 110 | 0.63388 | [
"MIT"
] | univesp/welcome-to-differentown | Welcome To Differentown/Assets/_Scripts/Shared/ParentConstraintController.cs | 737 | C# |
using System.IO;
using Reinforced.Tecture.Commands;
namespace Reinforced.Tecture.Tracing.Commands.Cycles
{
/// <summary>
/// Synthetic command that means end of logical cycle
/// </summary>
[CommandCode(" . ")]
public class EndCycle : CommandBase, ITracingOnly
{
internal En... | 30.111111 | 104 | 0.5123 | [
"MIT"
] | AxelUser/Reinforced.Tecture | Reinforced.Tecture/Tracing/Commands/Cycles/EndCycle.cs | 1,628 | C# |
[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("UnitTest.Rollbar")]
namespace Rollbar
{
using Rollbar.Diagnostics;
using Rollbar.DTOs;
using Rollbar.Telemetry;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using S... | 33.29661 | 150 | 0.530585 | [
"MIT"
] | sanjaysingh/Rollbar.NET | Rollbar/RollbarLogger.cs | 23,576 | C# |
namespace TomsToolbox.Wpf
{
/// <summary>
/// Interface to be implemented by visual layers that need to be forced to invalidate their layout independent of the WPF render cycle.
/// </summary>
interface ILayer
{
/// <summary>
/// Invalidates the layout of this instance.
... | 27.071429 | 140 | 0.588391 | [
"MIT"
] | tom-englert/TomsToolbox1 | TomsToolbox.Wpf/ILayer.cs | 381 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Medical.Editor;
using Engine.Saving;
using Engine.Editing;
using MyGUIPlugin;
namespace Medical.GUI.AnomalousMvc
{
public class ButtonDefinition : ButtonDefinitionBase
{
public ButtonDefinition(Str... | 21.469388 | 102 | 0.527567 | [
"MIT"
] | AnomalousMedical/Medical | Standalone/GUI/AnomalousMvc/Decorators/ButtonDefinition.cs | 1,054 | C# |
// MIT License
//
// Copyright (c) 2009-2017 Luca Piccioni
//
// 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 ... | 31.659292 | 111 | 0.686373 | [
"MIT"
] | GiantBlargg/OpenGL.Net | OpenGL.Net/KHR/Egl.KHR_debug.cs | 7,155 | C# |
using System.Linq;
using BluffinMuffin.HandEvaluator;
using BluffinMuffin.Protocol.DataTypes;
using BluffinMuffin.Server.DataTypes;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BluffinMuffin.Server.Logic.Test
{
[TestClass]
public class MoneyPotTest
{
[TestMethod]
public vo... | 39.33871 | 141 | 0.576671 | [
"MIT"
] | BluffinMuffin/BluffinMuffin.Server | C#/BluffinMuffin.Server.Logic.Test/MoneyPotTest.cs | 4,880 | C# |
namespace Nagasena.Scomp {
using GrammarOptions = Nagasena.Proc.Common.GrammarOptions;
using GrammarCache = Nagasena.Proc.Grammars.GrammarCache;
using GrammarSchema = Nagasena.Schema.GrammarSchema;
/// <exclude/>
public sealed class GrammarCache4Grammar {
public static readonly GrammarCache m... | 24.807692 | 97 | 0.694574 | [
"Apache-2.0"
] | LLuke/openexi | nagasenacs/src/Nagasena/Scomp/GrammarCache4Grammar.cs | 647 | 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... | 39.837838 | 171 | 0.635685 | [
"ECL-2.0",
"Apache-2.0"
] | RafalSumislawski/pulumi-aws | sdk/dotnet/Dms/Inputs/EndpointKinesisSettingsArgs.cs | 2,948 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
using System.Management.Automation.Remoting;
using System.Management.Automation.Runspaces;
using System.Management.Automation.Remoting.Server;
using Dbg = System.Management.Automation.Diagn... | 41.133005 | 169 | 0.616647 | [
"MIT"
] | DCtheGeek/PowerShell | src/System.Management.Automation/engine/remoting/server/ServerRemotingProtocol2.cs | 33,400 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | 23.655172 | 62 | 0.734694 | [
"MIT"
] | GingerPhysicist6/DyslexiaOverlay | Overlay/UserControls/ColourWheel_UserControl.xaml.cs | 688 | C# |
/*
* Author:
* Jose Medrano <josmed@microsoft.com>
*
* Copyright (C) 2018 Microsoft, Corp
*
* 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
* witho... | 23.028037 | 184 | 0.711445 | [
"MIT"
] | berlamont/FigmaSharp | FigmaSharp.Tools/xForms/xForms.Cocoa/ViewWrappers/Window.cs | 2,466 | C# |
using System;
namespace R5T.Groenbjerg
{
public class Class1
{
}
}
| 9.888889 | 25 | 0.561798 | [
"MIT"
] | MinexAutomation/R5T.Groenbjerg | source/R5T.Groenbjerg/Code/Class1.cs | 91 | C# |
using System;
using System.Collections.Generic;
using DCL.Helpers;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
internal class SectionSceneContributorsSettingsView : MonoBehaviour, IDisposable
{
[SerializeField] internal UsersSearchPromptView usersSearchPromptView;
[SerializeField] internal Button ad... | 26.492424 | 119 | 0.642265 | [
"Apache-2.0"
] | Marguelgtz/explorer | unity-client/Assets/Scripts/MainScripts/DCL/Controllers/HUD/BuilderProjectsPanel/Scripts/Views/MenuSections/SectionSceneContributorsSettingsView.cs | 3,499 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 52.396 | 197 | 0.658982 | [
"MIT"
] | ScriptBox99/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Generated/requests/LongRunningOperationRequest.cs | 13,099 | C# |
namespace SFA.Apprenticeships.Application.Vacancies.Entities
{
using System.Collections.Generic;
using Domain.Entities.Vacancies.Apprenticeships;
using Domain.Entities.Vacancies.Traineeships;
public class VacancySummaries
{
public VacancySummaries(IEnumerable<ApprenticeshipSummary> apprent... | 36.95 | 95 | 0.741543 | [
"MIT"
] | BugsUK/FindApprenticeship | src/SFA.Apprenticeships.Application.Vacancies/Entities/VacancySummaries.cs | 741 | 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... | 35.046512 | 159 | 0.629064 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/DataFactory/V20180601/Outputs/CosmosDbSqlApiCollectionDatasetResponse.cs | 3,014 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Azure.Messaging.EventHubs.Consumer;
using Azure.Messaging.EventHubs.Core;
using Azure.Messaging.EventHubs.Errors;
... | 37.394366 | 198 | 0.600188 | [
"MIT"
] | zhya-msft/azure-sdk-for-net | sdk/eventhub/Azure.Messaging.EventHubs/tests/Consumer/PartitionContextTests.cs | 5,312 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace RealPosi
{
class Logger
{
static public void WriteLog_text(string text)
{
string strFilePath = "log.txt";
//FileStream fs = new... | 33.111111 | 108 | 0.624161 | [
"Unlicense"
] | yohuooo/RealPosi | RealPosi/Logger.cs | 900 | C# |
using System;
using System.Threading.Tasks;
namespace XboxOneController
{
public interface IXboxController
{
/// <summary>
/// Turns the XBOX on
/// </summary>
/// <returns>A task that awaits the completion of the on command</returns>
/// <remarks>This command is prone ... | 31.5 | 119 | 0.591534 | [
"MIT"
] | Nolan-Ramsden/XboxOneController | XboxOneController/IXboxController.cs | 947 | C# |
namespace eidss.winclient.BasicSyndromicSurveillance
{
sealed partial class BasicSyndromicSurveillanceItemDetail
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
... | 82.86101 | 1,208 | 0.707842 | [
"BSD-2-Clause"
] | EIDSS/EIDSS-Legacy | EIDSS v6/eidss.winclient/BasicSyndromicSurveillance/BasicSyndromicSurveillanceItemDetail.Designer.cs | 113,273 | C# |
using System;
using System.Buffers;
using System.Diagnostics;
using BCnEncoder.Shared;
using Gorgon.Graphics;
namespace BCnEncoder.Encoder
{
internal class Bc5BlockEncoder : BcBlockEncoder<Bc5Block>
{
public Bc5BlockEncoder()
: base(4)
{
}
private Bc5Block RedIndex... | 37.036415 | 119 | 0.434654 | [
"MIT",
"Unlicense"
] | Tape-Worm/BCnEncoder.NET | BCnEnc.Net/Encoder/Bc5BlockEncoder.cs | 13,224 | C# |
using LiteDB;
using System.IO;
namespace BiuBiuWpfClient.Tools
{
public class LiteDBDriven
{
public class SaveInfo
{
public string ID { get; set; }
public string Account { get; set; }
public string Password { get; set; }
public string ServiceI... | 24.746914 | 77 | 0.435021 | [
"Apache-2.0"
] | LuXts/BiuBiu | BiuBiuWpfClient/Tools/LiteDBDriven.cs | 4,011 | C# |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.HttpOverrides;
using Microsoft.AspNetCore.Rewrite;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Hosting;
using NetModular.Lib.Host.Web.Middleware;
usin... | 29.596491 | 129 | 0.522031 | [
"MIT"
] | 380138129/NetModular | src/Framework/Host/Host.Web/ApplicationBuilderExtensions.cs | 5,209 | C# |
#region Copyright notice and license
// Copyright 2019 The gRPC Authors
//
// 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... | 46.350515 | 176 | 0.677714 | [
"Apache-2.0"
] | ArminShoeibi/grpc-dotnet | src/Grpc.AspNetCore.Server/GrpcServiceExtensions.cs | 4,498 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17626
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 39.851852 | 151 | 0.585502 | [
"MIT"
] | Ranin26/msdn-code-gallery-microsoft | OneCodeTeam/How to call web Service in Excel Using VSTO/[C#]-How to call web Service in Excel Using VSTO/C#/CSExcelCallWebService/Properties/Settings.Designer.cs | 1,078 | C# |
using System;
using Baku.LibqiDotNet;
using Baku.LibqiDotNet.Path;
namespace HelloWorld
{
class Program
{
static void Main(string[] args)
{
//作業ディレクトリだけでなく"dlls"というフォルダのライブラリも実行中に参照できるよう設定を変更
PathModifier.AddEnvironmentPath("dlls", PathModifyMode.RelativeTo... | 27.263158 | 93 | 0.561776 | [
"MIT"
] | malaybaku/BakuLibQiDotNet | Baku.LibqiDotNet/HelloWorld/Program.cs | 1,270 | C# |
/* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*
* Licensed to Elasticsearch B.V. unde... | 34.893617 | 90 | 0.766463 | [
"Apache-2.0"
] | opensearch-project/opensearch-net | src/OpenSearch.Client/Mapping/Types/Core/RankFeature/RankFeatureAttribute.cs | 1,640 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace DIO.games
{
// Just to take a ID
public abstract class BaseEntity
{
public int Id { get; protected set; }
}
}
| 16.384615 | 45 | 0.657277 | [
"MIT"
] | Victor-BwD/DIO.games | DIO.games/Classes/BaseEntity.cs | 215 | C# |
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Ordering.Application.Contracts.Infrastructure;
using Ordering.Application.Models;
using SendGrid;
using SendGrid.Helpers.Mail;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks... | 31.62963 | 129 | 0.655152 | [
"MIT"
] | alexander2g3/AspnetMicroservices | src/Services/Ordering/Ordering.Infrastructure/Mail/EmailService.cs | 1,710 | C# |
namespace ServiceBouncer
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <... | 60.460094 | 164 | 0.674846 | [
"Apache-2.0"
] | 304NotModified/ServiceBouncer | src/ServiceBouncer/MainForm.Designer.cs | 38,636 | C# |
using System;
using Iviz.Msgs.IvizCommonMsgs;
using Iviz.Controllers;
using Iviz.Resources;
using JetBrains.Annotations;
namespace Iviz.App
{
public sealed class ModuleDataConstructor
{
public ModuleType ModuleType { get; }
[NotNull] public string Topic { get; }
[NotNull] public string... | 34.233333 | 105 | 0.600779 | [
"MIT"
] | KIT-ISAS/iviz | iviz/Assets/Application/POCOs/ModuleDataConstructor.cs | 1,029 | C# |
using System.Threading.Tasks;
using AggregateRoot = Commander.Common.AggregateRoot;
namespace Commander
{
internal interface ICommandAsync<out TRequest, TModel> where TModel : AggregateRoot
{
TRequest Request { get; }
Task InitAsync();
Task<TModel> HandleAsync();
}
} | 25.416667 | 87 | 0.695082 | [
"MIT"
] | ayayalar/Commander | Commander/Commander/ICommandAsync.cs | 307 | C# |
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using System.Text;
using Microsoft.Extensions.Configuration;
using Newtonsoft.Json.Linq;
namespace Twitter.Reader
{
public class BearerTokenProvider
{
p... | 33.802632 | 145 | 0.60724 | [
"MIT"
] | dazfuller/nottinghamtrams-functions | Twitter.Reader/BearerTokenProvider.cs | 2,571 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Nest.Resolvers;
using Newtonsoft.Json;
namespace Nest
{
public class Ip4RangeAggregationDescriptor<T> : BucketAggregationBaseDescriptor<Ip4RangeAggregationDescriptor<T>, T>
where T : class
{
[JsonProperty("fi... | 23.974359 | 117 | 0.736898 | [
"Apache-2.0"
] | NickCraver/NEST | src/Nest/DSL/Aggregations/Ip4RangeAggregationDescriptor.cs | 935 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
[System.Serializable] public class IntUnityEvent : UnityEvent<int> { }
public class IntEventListener : EventListener<int, IntEvent, IntUnityEvent>
{
}
| 22 | 75 | 0.787879 | [
"CC0-1.0"
] | caioguedesam/wildfire_rescue | Assets/Scripts/Events/Listeners/IntEventListener.cs | 266 | C# |
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Options;
using Abp.Authorization;
using ChatApplication.Authorization.Roles;
using ChatApplication.Authorization.Users;
using ChatApplication.MultiTenancy;
using Microsoft.Extensions.Logging;
namespace ChatAppli... | 31.375 | 87 | 0.74502 | [
"MIT"
] | priyanka091088/ChatApplication | aspnet-core/src/ChatApplication.Core/Identity/SecurityStampValidator.cs | 755 | C# |
using AKCCore;
using AKCWebCore.Extensions;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace AKCWebCore.Models {
public class ParserWebHelper {
public string language { get; set; }
pub... | 30.966102 | 110 | 0.611385 | [
"Unlicense"
] | DazEdword/AK-Clipper | AKCWebCore/Models/ParserWebHelper.cs | 1,829 | C# |
/*
* Copyright 2008 ZXing authors
*
* 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 ... | 36.953704 | 155 | 0.616387 | [
"MIT"
] | CAnorbo/WalletWasabi | WalletWasabi.Fluent/ZXing/ResultMetadataType.cs | 3,991 | C# |
using Lessons.Tools;
namespace Lessons.Practice.ClassesRelationship
{
class Storage
{
private int _yellowBallCount;
private int _greenBallCount;
private int _blueBallCount;
private int _redBallCount;
public void SaveBalls(int count, Ball[] balls )
{
... | 26.428571 | 98 | 0.428378 | [
"MIT"
] | dmitriy-bredun/learnCSH | LearnCSH/Lessons/Practice/ClassesRelationship/Storage.cs | 1,577 | 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.ComponentModel;
namespace Microsoft.EntityFrameworkCore.Infrastructure;
/// <summary>
/// Allows relational database specific configuration to be performed on <see... | 49.752577 | 147 | 0.681517 | [
"MIT"
] | Applesauce314/efcore | src/EFCore.Relational/Infrastructure/RelationalDbContextOptionsBuilder.cs | 9,652 | 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>
//--... | 43.484375 | 176 | 0.613008 | [
"MIT"
] | rohits79/CaliburnMicroSkeletonWithAutofac | CMSkeleton/Properties/Resources.Designer.cs | 2,785 | C# |
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace IdentitySample.Models.AccountViewModels
{
public class ForgotPasswordViewModel
... | 23.111111 | 49 | 0.733173 | [
"Apache-2.0"
] | Aguafrommars/Identity.Redis | samples/IdentitySample.Mvc/Models/AccountViewModels/ForgotPasswordViewModel.cs | 418 | C# |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Blog.Core.Common.DB
{
public class BaseDBConfig
{
/* 之前的单库操作已经删除,如果想要之前的代码,可以查看我的GitHub的历史记录
* 目前是多库操作,默认加载的是appsettings.json设置为true的第一个db连接。
... | 34.125926 | 173 | 0.524202 | [
"MIT"
] | charelyzhao/AspnetDemo | Blog.Core.Common/DB/BaseDBConfig.cs | 4,863 | C# |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using IdentityModel;
using IdentityServer4.Extensions;
using IdentityServer4.Models;
using IdentityServer4.Stores;
using Microsoft.AspNetCore... | 36.296748 | 235 | 0.584948 | [
"Apache-2.0"
] | SpoonySeedLSP/IdentityServer4 | src/IdentityServer4/Services/DefaultTokenService.cs | 8,931 | C# |
using System;
using UnityEngine;
namespace TFClassify
{
public class TextureTools
{
// Based on https://gist.github.com/natsupy/e129936543f9b4663a37ea0762172b3b
public enum Options
{
Crop = 0,
Resize = 1
}
public enum RectOptions
{
... | 36.914692 | 116 | 0.476441 | [
"Apache-2.0"
] | Akazz-L/food-analyzer-AR | Assets/FoodAnalyzerAR/Scripts/TextureTools.cs | 7,789 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace AssignmentManager.Data.Migrations
{
public partial class AddUniqueContstraintOnClassName : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
nam... | 31.59375 | 71 | 0.484174 | [
"MIT"
] | Iceto04/assignment-manager | src/AssignmentManager.Data/Migrations/20220319205711_AddUniqueContstraintOnClassName.cs | 2,024 | C# |
namespace WalletWasabi.WabiSabi.Backend.Models;
public enum WabiSabiProtocolErrorCode
{
RoundNotFound,
WrongPhase,
InputSpent,
InputUnconfirmed,
InputImmature,
WrongOwnershipProof,
TooManyInputs,
NotEnoughFunds,
TooMuchFunds,
NonUniqueInputs,
InputBanned,
InputNotWhitelisted,
AliceNotFound,
IncorrectRequ... | 25.127273 | 93 | 0.859624 | [
"MIT"
] | meinmunzen/WalletWasabi | WalletWasabi/WabiSabi/Backend/Models/WabiSabiProtocolErrorCode.cs | 1,382 | C# |
namespace AzureStorageClient
{
using System;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
public interface IAzureTableClient
{
Task<bool> IsAccessible<TStorable>(CancellationToken cancellationToken = default)
where TStorable : cl... | 50 | 150 | 0.734375 | [
"MIT"
] | TomaszSynak/AzureStorageClient | Projects/AzureStorageClient.Table/Interfaces/IAzureTableClient.cs | 1,602 | C# |
using System.Linq;
using Verse;
namespace AnimalArmourFix
{
[StaticConstructorOnStartup]
public static class AnimalArmourFix
{
static AnimalArmourFix()
{
var animalsInGame = (from animal in DefDatabase<ThingDef>.AllDefsListForReading
where animal.race is {Animal... | 63.405063 | 120 | 0.580156 | [
"MIT"
] | emipa606/XNDAnimalArmor | Source/AnimalArmourCrowbar/AnimalArmourFix.cs | 5,011 | C# |
using System;
namespace aula10 {
class Program {
static void Main(string[] args) {
//Data: 24/04/2021
/*
//1)
int cont = 1;
while (cont <= 10)
{
Console.WriteLine($"{cont} Gustavo");
cont ++;
... | 24.329412 | 166 | 0.312379 | [
"MIT"
] | Gust4voMoreira/Aulas-Csharp | aula10/Program.cs | 2,082 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Svg
{
public class SvgFontDefn : IFontDefn
{
private SvgFont _font;
private float _emScale;
private float _ppi;
private float _size;
private Dictionary<string, SvgGlyph> _gly... | 35.4 | 139 | 0.512308 | [
"ECL-2.0",
"Apache-2.0"
] | tocsoft/SvgSharp | src/SvgSharp/Text/SvgFontDefn.cs | 4,958 | 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("Ta... | 37.432432 | 84 | 0.741516 | [
"MIT"
] | 6e3veR6k/codewars-csharp | resources/csharp-essential-materials/HomeWork Answers/Lesson 13/Task 2/Properties/AssemblyInfo.cs | 1,388 | C# |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Mono.Linker
{
public enum MethodAction
{
Nothing,
Parse,
ForceParse,
ConvertToStub,
ConvertToThrow,
}
} | 21.571429 | 101 | 0.748344 | [
"MIT"
] | AlexanderSemenyak/linker | src/linker/ref/Linker/MethodAction.cs | 304 | C# |
// ReSharper disable InconsistentNaming
using System;
using System.Threading;
using EasyNetQ.Topology;
using EasyNetQ.Consumer;
using Xunit;
namespace EasyNetQ.Tests.Integration
{
[Explicit("Required a RabbitMQ instance on localhost")]
public class MultipleHandlerPerConsumerTests : IDisposable
{
... | 34.533333 | 140 | 0.534749 | [
"MIT"
] | Eu-JinOoi/EasyNetQ | Source/EasyNetQ.Tests/Integration/MultipleHandlerPerConsumerTests.cs | 2,074 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
namespace WpfRunBasics.Extensions
{
public static class HttpClientExtensions
{
public static async Task<T> R... | 36.767442 | 129 | 0.690702 | [
"MIT"
] | Raddmou/AspnetMicroservices | src/DesktopApps/WpfRunBasics/Extensions/HttpClientExtensions.cs | 1,583 | C# |
//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
//IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
//FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
//AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
//LIABILITY, WHE... | 31.75 | 79 | 0.681102 | [
"MIT"
] | geometrycoder/GCRevit | GCRevit/Elements/GCWallCurtain.cs | 1,272 | C# |
/*
Copyright (c) 2011+, HL7, 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, this
list of conditions ... | 33.675159 | 104 | 0.606771 | [
"BSD-3-Clause"
] | Ivanidzo4ka/firely-net-common | src/Hl7.Fhir.Support.Poco/Model/Extension.cs | 5,289 | C# |
namespace Reductech.Sequence.Connectors.Sql;
/// <summary>
/// The type of database to connect to
/// </summary>
public enum DatabaseType
{
/// <summary>
/// SQLite
/// </summary>
SQLite,
/// <summary>
/// MsSql
/// </summary>
MsSql,
/// <summary>
/// Postgres
/// </summa... | 14.212121 | 45 | 0.501066 | [
"Apache-2.0"
] | reductech/SqlConnector | Sql/DatabaseType.cs | 471 | C# |
/*
#########
############
#############
## ###########
### ###### #####
### ####### ####
### ########## #... | 27.741117 | 98 | 0.329552 | [
"Apache-2.0"
] | Light0457/LuaProfiler-For-Unity | LuaProfiler/LuaProfilerServer/Assets/Editor/Common/ObjectPool.cs | 5,565 | C# |
using System;
using System.Collections.ObjectModel;
using MagicLockScreen_Helper;
using MagicLockScreen_Helper.Models;
using NoteOne_Core;
using NoteOne_Core.Command;
using NoteOne_Core.Common;
using NoteOne_Core.Common.Models;
using Windows.System;
namespace MagicLockScreen_Service_RecommendationService.Models
{
... | 30.357143 | 98 | 0.575294 | [
"MIT"
] | Jarrey/MagicLockScreen | src/MagicLockScreen.Service.RecommendationService/Models/RecommendedAppsServiceChannelModel.cs | 1,702 | C# |
namespace AutoMapper
{
/// <summary>
/// Extension point to provide custom resolution for a destination value
/// </summary>
public interface IValueResolver<in TSource, in TDestination, TDestMember>
{
/// <summary>
/// Implementors use source object to provide a destination object.
... | 48.305556 | 149 | 0.671075 | [
"MIT"
] | BlaiseD/AutoMapper | src/AutoMapper/IValueResolver.cs | 1,739 | C# |
using Microsoft.AspNetCore.Mvc;
namespace StrawberrySass.UI.Home.App.ContactUs
{
public class ContactUsController : Controller
{
[HttpGet]
[Route("templates/home/contact-us")]
public IActionResult ContactUsComponent() => PartialView("~/UI/Home/App/ContactUs/ContactUsComponent.cshtml");... | 29.818182 | 118 | 0.707317 | [
"MIT"
] | maximegelinas-cegepsth/GEC-strawberry-sass | StrawberrySass/src/StrawberrySass/UI/Home/App/ContactUs/ContactUsController.cs | 330 | C# |
using System.IO;
using System.Runtime.Serialization;
using GameEstate.Red.Formats.Red.CR2W.Reflection;
using FastMember;
using static GameEstate.Red.Formats.Red.Records.Enums;
namespace GameEstate.Red.Formats.Red.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class SSbDescCamera : CVariable
{... | 32.485714 | 121 | 0.684257 | [
"MIT"
] | bclnet/GameEstate | src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/SSbDescCamera.cs | 1,137 | C# |
using Force.Cqrs;
using HightechAngular.Core.Entities;
using Mapster;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace HightechAngular.Shop.Areas.Index.GetSales
{
public class GetSalesQueryHandler : IQueryHandler<GetSalesQuery, IEnumerable<SaleListItem>>
... | 25.166667 | 95 | 0.645033 | [
"MIT"
] | User8956/DotNext-Moscow-2020 | HightechAngular.Shop/Areas/Index/GetSales/GetSalesQueryHandler.cs | 757 | C# |
/*
* Copyright (c) Tomas Johansson , http://www.programmerare.com
* The code in this library is licensed with MIT.
* The library is based on the library 'MightyLittleGeodesy' (https://github.com/bjornsallarp/MightyLittleGeodesy/)
* which is also released with MIT.
* License information about 'sweden_crs_transformatio... | 45.54386 | 155 | 0.610426 | [
"MIT"
] | TomasJohansson/sweden_crs_transformations_4net | SwedenCrsTransformations/CrsCoordinate.cs | 7,790 | C# |
using System;
using System.Collections.Generic;
using EPiServer.Data.Dynamic;
namespace ElasticEpiserver.Module.Business.Data.Entities
{
[EPiServerDataStore(StoreName = "ElasticEpiserverBestBetDDS", AutomaticallyCreateStore = true, AutomaticallyRemapStore = true)]
public class BestBet : DynamicDataBase
{
... | 25.702703 | 131 | 0.601472 | [
"MIT"
] | Altinn/Elastic-Episerver | ElasticEpiserver.Module/Business/Data/Entities/BestBet.cs | 953 | C# |
using System;
using System.Threading;
using System.Threading.Tasks;
using WebApp.Core.Helpers;
namespace WebApp.Service.Users
{
internal sealed class ApproveUserCommandHandler : CommandHandler<ApproveUserCommand>
{
public override async Task HandleAsync(ApproveUserCommand command, CommandContext conte... | 36.870968 | 151 | 0.660542 | [
"MIT"
] | adams85/aspnetskeleton2 | src/Service/Users/ApproveUserCommandHandler.cs | 1,145 | C# |
namespace TF.Models;
public sealed class AccountListContainer : IReadOnlyCollection<AccountList>
{
private readonly IImmutableSet<AccountList> _lists;
internal AccountListContainer()
: this(ImmutableHashSet<AccountList>.Empty)
{
}
internal AccountListContainer(IImmutableSet<AccountList> ... | 25.142857 | 75 | 0.683239 | [
"MIT"
] | gritcsenko/transactional-finances | src/TF.Models/AccountListContainer.cs | 706 | 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;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Threading;
using Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.Interna... | 30.988235 | 147 | 0.625285 | [
"Apache-2.0"
] | Redouane64/KestrelHttpServer | src/Kestrel.Transport.Libuv/Internal/LibuvAwaitable.cs | 2,634 | C# |
/*
* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1) Redistributions of source code must retain the above copyright
* notice, t... | 54.223497 | 672 | 0.635806 | [
"BSD-2-Clause"
] | DigitEgal/xenadmin | XenModel/XenAPI/JsonRpcClient.cs | 784,614 | 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.872093 | 105 | 0.621671 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/Connect/Generated/Model/GetMetricDataResponse.cs | 2,741 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using Azure.Storage.Blobs;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace testservice.Services
{
public class StorageService
{
private BlobServiceC... | 34.819672 | 96 | 0.613465 | [
"MIT"
] | cppseminar/APC | cppseminar/testservice/Services/StorageService.cs | 2,124 | 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.055556 | 120 | 0.63864 | [
"Apache-2.0"
] | PureKrome/aws-sdk-net | sdk/src/Services/S3/Custom/Model/DeleteBucketPolicyRequest.cs | 2,236 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace CSharpExtensions.OpenSource
{
public static class StreamExtension
{
/// <summary>
/// Saves a stream to a local path.
/// </... | 40.524823 | 157 | 0.537802 | [
"BSD-3-Clause"
] | csharp-extensions/General | StreamExtensions.cs | 5,716 | C# |
namespace BLOBi.Core.Models
{
public sealed class BlobiConfigurationOptions
{
public BlobiConfigurationOptions(string connectionString)
{
ConnectionString = connectionString;
}
public BlobiConfigurationOptions(string accountKey, string accountName)
{
... | 26.433333 | 104 | 0.629256 | [
"MIT"
] | Cr3ature/BLOBi | src/BLOBi.Core/Models/BlobiConfigurationOptions.cs | 793 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace Light.Data.Sample
{
public class TeRelateMainConfig
{
#region "Data Property"
private int id;
/// <summary>
/// Id
/// </summary>
/// <value></value>
public int Id {
... | 22.051724 | 66 | 0.409109 | [
"MIT"
] | aquilahkj/Light.Data2 | sample/Light.Data.Sample/BaseConfigRelate.cs | 5,118 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace LBE.Graphics
{
public abstract class Mesh
{
protected VertexBuffer m_vertexBuffer = null;
public VertexBuffer VertexBuffer
... | 24.235294 | 53 | 0.599515 | [
"MIT"
] | CollectifBlueprint/GoalRush | Project/02 - Engine/LittleBigEngine/Graphics/Mesh.cs | 1,238 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Game.Engine.Interactions.Built_In
{
//Princess strategy when you haven't met dragon yet
[Serializable]
class PrincessDefaultStrategy : IPrincessStrategy
{
... | 24.45 | 79 | 0.683027 | [
"MIT"
] | doworek/rpg-game | Engine/Interactions/Built-In/PrincessDefaultStrategy.cs | 491 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace Microsoft.eShopOnContainers.Services.AI.SalesForecas... | 31.432432 | 97 | 0.601032 | [
"MIT"
] | balakrishnavalluri-gep/eShopOnContainersAI | src/Services/AI.SalesForecasting/AI.SalesForecasting.MLNet.API/Program.cs | 1,165 | C# |
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using Moq;
using RequestReduce.Configuration;
using RequestReduce.Reducer;
using RequestReduce.Utilities;
using nQuant;
using Xunit;
namespace RequestReduce.Facts.Integration
{
public class PngOptimizerFact... | 35.51087 | 114 | 0.600857 | [
"Apache-2.0"
] | bcanzanella/RequestReduce | RequestReduce.Facts.Integration/PngOptimizerFacts.cs | 3,269 | C# |
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
//
//*********************************************************
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
using Windows.UI.Xaml.Media;
using SDKTemplate;
using S... | 40.375 | 151 | 0.571022 | [
"MIT"
] | Ranin26/msdn-code-gallery-microsoft | Official Windows Platform Sample/Windows 8.1 Store app samples/99866-Windows 8.1 Store app samples/XAML media playback sample/C#/Scenario2.xaml.cs | 8,075 | C# |
namespace WorkForce.Models.Employees
{
public abstract class Employee
{
private string name;
private int weeklyWorkHours;
protected Employee(string name, int weeklyWorkHours)
{
this.Name = name;
this.WeeklyWorkHours = weeklyWorkHours;
}
... | 20.793103 | 60 | 0.542289 | [
"MIT"
] | Sleeya/C-Professional | Csharp-OOP-Advanced/ObjectAndCommunicationExercises/WorkForce/Models/Employees/Employee.cs | 605 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 56.684685 | 225 | 0.694851 | [
"MIT"
] | ScriptBox99/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Generated/requests/IConditionalAccessRootAuthenticationContextClassReferencesCollectionRequest.cs | 6,292 | C# |
using ZuumApp.Application.Common.Interfaces;
using FluentValidation;
using Microsoft.EntityFrameworkCore;
namespace ZuumApp.Application.TodoLists.Commands.UpdateTodoList;
public class UpdateTodoListCommandValidator : AbstractValidator<UpdateTodoListCommand>
{
private readonly IApplicationDbContext _context;
... | 34.928571 | 121 | 0.721881 | [
"MIT"
] | SSRazvan/zuumapp | src/Application/TodoLists/Commands/UpdateTodoList/UpdateTodoListCommandValidator.cs | 980 | C# |
using CSRedis;
using System.Diagnostics;
namespace RunUI
{
/// <summary>
/// Redis锁
/// </summary>
public sealed class RedisLock : IDisposable
{
private string Key { get; }
private string Value { get; }
private bool disposed;
private bool IsLock;
/// <summa... | 26.904762 | 131 | 0.467699 | [
"Apache-2.0"
] | sdwdjzhy/run-admin | run-server/RunUI.Redis/RedisLock.cs | 2,314 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public static class MyResources
{
public static string WindowsBorder = "iVBORw0KGgoAAAANSUhEUgAAAzoAAAINCAYAAAD2uQoVAAAAB3RJTUUH5QMGBhwYGQC8JAAAABd0RVh0U29mdHdhcmUAR0xEUE5HIHZlciAzLjRxhaThAAAACHRwTkdHTEQzAAAAAEqAKR8AAAAEZ0FNQQA... | 530.25 | 6,236 | 0.963539 | [
"Apache-2.0"
] | crecheng/Dsp-Mod-CopyPlanetFactory | CopyPlanetFactory/MyResources.cs | 6,365 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace SAF.Hub.Api
{
/// <summary>
/// seo 设置
/// </summary>
[RoutePrefix("api/hub/seo")]
public class SEOController : ApiController
{
}
}
| 16.833333 | 46 | 0.656766 | [
"Apache-2.0"
] | ericzzhou/SAF | SAF.Hub/SAF.Hub.Api/SEOController.cs | 309 | C# |
using System;
using System.ComponentModel.DataAnnotations;
namespace dka.net5.codesamples.web.Models.PartialViews
{
public class Partial1UpdateViewModel
{
[Required]
public Guid Id { get; set; }
[Required]
public string FirstName { get; set; }
}
} | 21.571429 | 54 | 0.642384 | [
"MIT"
] | lwinch2006/code-samples | dka.net5.codesamples.web/Models/PartialViews/Partial1UpdateViewModel.cs | 304 | C# |
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using DependencyInjectionSample.Interfaces;
using DependencyInjectionSample.Models;
using DependencyInjectionSample.ViewModels.Manage;
using Microsoft.AspNet.Authorization;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Mvc;
using ... | 38.306358 | 172 | 0.583824 | [
"Apache-2.0"
] | Erikre/Docs | aspnet/fundamentals/dependency-injection/sample/src/DependencyInjectionSample/Controllers/ManageController.cs | 13,256 | 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... | 35.391304 | 96 | 0.731368 | [
"MIT"
] | georghinkel/ttc2017smartGrids | generator/Schema/IEC61970/Informative/InfERPSupport/IErpRequisition.cs | 2,444 | C# |
namespace TESVSnip.UI.RecordControls
{
partial class TextElement
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summa... | 36.25 | 143 | 0.570236 | [
"MIT"
] | Sharlikran/tesv-snip | UI/RecordControls/TextElement.Designer.cs | 2,757 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
namespace Colors.Converters
{
public class DoubleToStringConverter : IValueConverter
{
object IValueConverter.Convert(object o, Typ... | 23.916667 | 102 | 0.679443 | [
"MIT"
] | darkzonecode/WPFSamples | WPFSamples/Data Binding/Colors/Converters/DoubleToStringConverter.cs | 576 | C# |
using System;
using System.Threading.Tasks;
using HexMaster.ShortLink.Core.Contracts;
using HexMaster.ShortLink.Core.Hits.Contracts;
namespace HexMaster.ShortLink.Core.Hits
{
public sealed class HitsService : IHitsService
{
private readonly IHitsRepository _repository;
private readonly IShortL... | 30.459459 | 86 | 0.66992 | [
"MIT"
] | nikneem/shortlink-core | HexMaster.ShortLink.Core/Hits/HitsService.cs | 1,129 | C# |
/*
* Prime Developer Trial
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Collections;
using System.Col... | 44.338558 | 738 | 0.555501 | [
"Apache-2.0"
] | factset/enterprise-sdk | code/dotnet/NewsAPIforDigitalPortals/v2/src/FactSet.SDK.NewsAPIforDigitalPortals/Model/InlineResponse2001Data.cs | 14,144 | C# |
using System.ComponentModel;
namespace Cympatic.Stub.Example.Api.Enums
{
public enum WeatherType
{
None,
[Description("Sunny/Clear")]
Clear,
[Description("Partially Cloudy")]
PartiallyCloudy,
Cloudy,
Overcast,
Rain,
Drizzle,
... | 11.882353 | 41 | 0.512376 | [
"MIT"
] | cympatic/stub | examples/Api/Cympatic.Stub.Example.Api/Enums/WeatherType.cs | 406 | 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.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace Microsoft.EntityFrameworkCore.Query.SqlExpressions
{
/// <summary>
... | 41.331492 | 141 | 0.563962 | [
"Apache-2.0"
] | Mousavi310/efcore | src/EFCore.Relational/Query/SqlExpressions/CaseExpression.cs | 7,481 | C# |
// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public class HelloUETarget : TargetRules
{
public HelloUETarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Game;
DefaultBuildSettings = BuildSettingsVersion.V2;
ExtraModuleNames.Add("HelloUE"... | 21.866667 | 55 | 0.771341 | [
"MIT"
] | david-pp/UEExampleProjects | HelloUE/Source/HelloUE.Target.cs | 328 | C# |
// Copyright (c) 1995-2009 held by the author(s). 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, this list... | 36.43222 | 144 | 0.520546 | [
"BSD-2-Clause"
] | cdettmering-unity/open-dis-csharp | CsharpDis6/OpenDis/Dis1995/Generated/ResupplyReceivedPdu.cs | 18,544 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.