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; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ItemEdit.wpf.ViewModel.Common { interface ICommand { event EventHandler CanExecuteChanged; bool CanExecute(object parameter); void Execute(object parameter); ...
20.25
45
0.728395
[ "MIT" ]
dmankill/ItemEdit
ItemEdit/ItemEdit.wpf/ViewModel/Common/ICommand.cs
326
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18444 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
41.731707
199
0.59585
[ "MIT" ]
ucdavis/Agribusiness
Agribusiness.Web/App_GlobalResources/Messages.Designer.cs
3,422
C#
namespace FirebaseCoreAdmin.Firebase.Storage { public enum SigningAction { Read, Write, Delete } }
15
45
0.585185
[ "Apache-2.0" ]
ScriptBox99/FirebaseCoreSDK
FirebaseCoreSDK/Firebase/Storage/SigningAction.cs
137
C#
using NeuralNetwork.Learning.XOR; using System; namespace NeuralNetwork { class NeuralNetworkProgram { static void Main() { // XOR Learning DateTime startDate = DateTime.Now; XORMain xorMain = new XORMain(); xorMain.Learn(5000); DateT...
21.894737
49
0.569712
[ "MIT" ]
Domon-Casle/NeuralNetworkXOR
NeuralNetwork/Main.cs
418
C#
//Copyright (c) 2006, Adobe Systems Incorporated //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 // ...
46.086957
109
0.677987
[ "MIT" ]
krolpiotr/PHOENIX.Fakturering
itextsharp-core/iTextSharp/xmp/IXmpVersionInfo.cs
3,180
C#
// == Inspoy Technology == // Assembly: Instech.Framework.AssetHelper // FileName: AssetException.cs // Created on 2019/12/17 by inspoy // All rights reserved. using System; using System.Text; namespace Instech.Framework.AssetHelper { public enum ErrorCode { Success, NotInited, InitFai...
25.423077
125
0.551437
[ "Apache-2.0" ]
inspoy/Instech
cc.inspoy.framework.assethelper/AssetException.cs
1,322
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class SceneGames : MonoBehaviour { private void OnGUI() { if(GUI.Button(new Rect(525,330,137,38), "Volver")) { SceneManager.LoadScene("SceneLogin"); } if(GUI.Button(new Rect(178,100...
21
57
0.723104
[ "MIT" ]
Eneye280/Examples
Assets/Calculadora/SceneGames.cs
569
C#
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18047 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerat...
20.542056
98
0.474977
[ "BSD-3-Clause" ]
Acidburn0zzz/FrameworkBenchmarks
frameworks/CSharp/HttpListener/HttpListener/Fortunes.generated.cs
2,200
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text.Json; using System.Web; using InertiaAdapter.Extensions; using InertiaAdapter.Interfaces; using InertiaAdapter.Models; using Microsoft.AspNetCore.Html; using Microsoft.AspNetCore.Mvc; namespace InertiaAdapter.Core { internal class...
32.389831
125
0.646782
[ "MIT" ]
JPBetley/inertia-aspnetcore
src/InertiaAdapter/Core/ResultFactory.cs
1,911
C#
//------------------------------------------------------------------------------ // <auto-generated> // Copyright (C) 2009-2010 ORMBattle.NET. // All rights reserved. // For conditions of distribution and use, see license. // Created by: Alexis Kochetov // Created: 2009.07.31 // Updat...
27.645382
125
0.635533
[ "MIT" ]
Kshitij-Kafle-123/linq2db
Tests/Linq/OrmBattle/OrmBattleTests.cs
46,739
C#
// Copyright © 2015 Dmitry Sikorsky. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Platformus.Barebone.Backend.ViewModels.Shared { public class GridColumnViewModelFactory : ViewModelFactoryBase { public GridColumn...
26.4
111
0.675505
[ "Apache-2.0" ]
5118234/Platformus
src/Platformus.Barebone.Backend/Areas/Backend/ViewModels/Shared/GridColumn/GridColumnViewModelFactory.cs
795
C#
using System.Reflection; using System.Runtime.CompilerServices; using Android.App; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("SwipeListView")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfig...
34.793103
81
0.747275
[ "Apache-2.0" ]
adlair/android-swipelistview-sharp
SwipeListView/Properties/AssemblyInfo.cs
1,011
C#
using System; using System.Threading.Tasks; using LambdaSharp; using LambdaSharp.SimpleNotificationService; namespace Legacy.ModuleV081.MyTopicFunction { public class Message { //--- Properties --- // TO-DO: add message properties } public sealed class Function : ALambdaTopicFunction<Me...
22.793103
84
0.659607
[ "Apache-2.0" ]
LambdaSharp/LambdaSharpTool
Tests/Legacy/v0.8.1/MyTopicFunction/Function.cs
661
C#
//Credit to Martin Nerukar at Shark Bomb Studios for this code //http://www.sharkbombs.com/2015/02/17/unity-editor-enum-flags-as-toggle-buttons/ //Used 10/31/2016 using UnityEngine; public class EnumFlagAttribute : PropertyAttribute { public EnumFlagAttribute() { } }
27.1
81
0.771218
[ "MIT" ]
HardlightVR/HL-Unity-pluginSDK
Assets/Hardlight SDK/Demos/Scripts/EnumFlagAttribute.cs
273
C#
using JsonExcelExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.IO; namespace DocumentCreator.Core.Model { /// <summary> /// Represents the user-defined information of a mapping /// </s...
28.978261
100
0.551575
[ "MIT" ]
pkokki/DocumentCreator
DocumentCreator.Core/Model/Mapping.cs
5,334
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Data.Sql; // 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. [assem...
30.125
83
0.740664
[ "Apache-2.0" ]
michals96/CLR-UDT-App
UDT/UDT/Properties/AssemblyInfo.cs
967
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // 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. [...
37.171429
85
0.734051
[ "MIT" ]
AsimKhan2019/MVVM-Helpers
MvvmHelpers.Portable/Test/Test.Droid/Properties/AssemblyInfo.cs
1,304
C#
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 Square; using Square.Utilities; namespace Square.Models { public class Updat...
29.363636
91
0.532895
[ "Apache-2.0" ]
kaijaa/square-dotnet-sdk
Square/Models/UpdateItemTaxesRequest.cs
2,584
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.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.Serialization; using System.Th...
41.706422
139
0.594589
[ "MIT" ]
BigBadBleuCheese/corefx
src/Common/src/CoreLib/System/Collections/HashHelpers.cs
4,546
C#
using System.CodeDom.Compiler; using System.Collections.Generic; using System.Collections; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.Serialization; using System.Text.RegularExpressions...
27.652778
138
0.609242
[ "Apache-2.0" ]
revanthakula/Hackerrank-Algorithms-
Apples_Oranges.cs
1,991
C#
using Caliburn.Micro; using MiniCalendar.Data; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Timers; namespace MiniCalendar.ViewModels { public class MainViewModel : PropertyChangedBase { // Important (usage) //...
37.736842
265
0.57113
[ "MIT" ]
ivorco/MiniCalendar
src/ViewModels/MainViewModel.cs
8,606
C#
using Landis.PlugIns; using Landis.PlugIns.Admin; using NUnit.Framework; using System.Collections.Generic; namespace Landis.Test.PlugIns.Admin { [TestFixture] public class PersistentDataset_Test { private PersistentDataset.PlugInInfo fooPlugIn; private PersistentDataset.PlugInInfo partialPlugIn; ...
35.789474
100
0.493873
[ "Apache-2.0" ]
LANDIS-II-Foundation/Core-Model
model/ext-admin-archive/test/PersistentDataset_Test.cs
4,080
C#
using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Text; using System.Threading; using System.Xml; using System.Web; using CookComputing.XmlRpc; using Graffiti.Core; namespace Graffiti.BlogExtensions { [XmlRpcMissingMapping(MappingAction.Ignore)] public struct PingResult ...
28.216749
137
0.674232
[ "MIT" ]
harder/GraffitiCMS
plugins/BlogExtensions/Pings/XmlRpcPings.cs
5,728
C#
using System; using System.Text; using System.Linq; using Xunit; using FluentAssertions; using Nexogen.Libraries.Metrics.Extensions.Buckets; namespace Nexogen.Libraries.Metrics.UnitTests.Extensions { public class ExponentialBucketGeneratorTest { ExponentialBucketGenerator generator = new ExponentialB...
33.967033
105
0.626011
[ "MIT" ]
nexogen-international/Nexogen.Libraries.Metrics
Nexogen.Libraries.Metrics.UnitTests/Extensions/ExponentialBucketGeneratorTest.cs
3,093
C#
// Copyright 2007-2016 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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...
64.920455
173
0.686855
[ "Apache-2.0" ]
Johavale19/Johanna
src/Persistence/MassTransit.MongoDbIntegration/Courier/RoutingSlipEventConsumerConfigurationExtensions.cs
5,715
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.Threading; using System.Threading.Tasks; namespace System.Reactive.Disposables { public sealed c...
32.368421
109
0.665854
[ "MIT" ]
ltrzesniewski/reactive
AsyncRx.NET/System.Reactive.Async.Disposables/System/Reactive/Disposables/SingleAssignmentAsyncDisposable.cs
1,232
C#
using System.Collections.Generic; using System.Management; namespace WindowsMonitor.Hardware.Network { /// <summary> /// </summary> public sealed class PortStateData { public uint Direction { get; private set; } public uint Flags { get; private set; } public dynamic Header { get; private set; } ...
46.65625
115
0.673811
[ "MIT" ]
Biztactix/WindowsMonitor
WindowsMonitor.Standard/Hardware/Network/PortStateData.cs
2,986
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...
37.323232
140
0.661976
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Devices/V20200301/Outputs/IotDpsPropertiesDescriptionResponse.cs
3,695
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 System.Linq; namespace NuGet.Services.Entities { public static class PackageExtensions { /// <summary> /// Get the lates...
38.852941
115
0.63134
[ "Apache-2.0" ]
DalavanCloud/ServerCommon
src/NuGet.Services.Entities/Extensions/PackageExtensions.cs
1,323
C#
/* * Copyright 2015 Google Inc * * Licensed under the Apache License, Version 2.0(the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
36.6
93
0.688525
[ "Apache-2.0" ]
googleads/googleads-dfa-reporting-samples
dotnet/v3.4/Floodlight/DownloadFloodlightTags.cs
2,747
C#
using System; using System.Threading.Tasks; using Waf.NewsReader.Applications.Services; using Xamarin.Essentials; namespace Waf.NewsReader.Presentation.Services { public class LauncherService : ILauncherService { public Task LaunchBrowser(Uri uri) { return Browser.OpenAsync(uri, Br...
22.8125
70
0.709589
[ "MIT" ]
DotNetUz/waf
src/NewsReader/NewsReader.Presentation/Services/LauncherService.cs
367
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20210201Preview { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// <summary>Trigger context</summary> public partial class TriggerContext { /// <summary> /// <c>AfterFro...
63.916667
290
0.672751
[ "MIT" ]
Khushboo-Baheti/azure-powershell
src/DataProtection/generated/api/Models/Api20210201Preview/TriggerContext.json.cs
7,551
C#
using System; namespace NAudio.WaveFormRenderer { public sealed class RmsPeakProvider : PeakProvider { private readonly int blockSize; public RmsPeakProvider(int blockSize) { this.blockSize = blockSize; } public override PeakInfo GetNextPeak() { ...
26.470588
78
0.488889
[ "MIT" ]
carbon/NAudio.WaveFormRenderer
WaveFormRendererLib/RmsPeakProvider.cs
902
C#
using System; namespace Imagin.Common.Input { /// <summary> /// Specifies a changed value. /// </summary> /// <typeparam name="TValue">The kind of value.</typeparam> public class ChangedValue<TValue> { readonly Tuple<TValue, TValue> _value; /// <summary> /// The old va...
25.677419
123
0.547739
[ "BSD-2-Clause" ]
OkumaScott/Imagin.NET
Imagin.Common/Input/ChangedValue.Generic.cs
798
C#
using System; namespace LiveHAPI.Shared.Interfaces.Model { public interface IObsMemberScreening { DateTime BookingDate { get; set; } Guid Eligibility { get; set; } Guid IndexClientId { get; set; } Guid EncounterId { get; set; } Guid HivStatus { get; set; } strin...
28.722222
46
0.586074
[ "MIT" ]
palladiumkenya/livehapi
LiveHAPI.Shared/Interfaces/Model/IObsMemberScreening.cs
519
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using OpenQA.Selenium; using PossumLabs.Specflow.Core; namespace PossumLabs.Specflow.Selenium { public static class Extensions { public static string LogFormat(this Dictionary<string, WebValidation> validations) ...
27.182927
128
0.545985
[ "MIT" ]
BasHamer/PossumLabs.Specflow.Selenium
PossumLabs.Specflow.Selenium/Extensions.cs
2,231
C#
using System; using System.Collections.Generic; namespace SitefinityWebApp.TorrentTrackerServices.Contracts { public interface ITaxonomyService { List<string> GetTaxonNamesByTaxonomy(string taxonomyName); List<Guid> GetTaxonIdsByTaxonomy(List<string> taxonNames, string taxonomyName); } }
26.583333
87
0.768025
[ "MIT" ]
annix8/Torrent-Tracker-Sitefinity
TorrentTracker/TorrentTrackerServices/Contracts/ITaxonomyService.cs
321
C#
/* * Copyright 2015 Google Inc * * Licensed under the Apache License, Version 2.0(the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
39.956044
99
0.694719
[ "Apache-2.0" ]
Ankan1991/googleads-dfa-reporting-samples
dotnet/v3.2/Remarketing/TargetAdToRemarketingList.cs
3,638
C#
using System; using System.Collections.Generic; using System.Text; using ZimaHrm.Core.Infrastructure.Result; using FluentValidation; namespace ZimaHrm.Core.Infrastructure.Validation { public abstract class Validator<T> : AbstractValidator<T> { protected Validator() { } protect...
22.05
70
0.566893
[ "Apache-2.0" ]
Dakicksoft/ZimaHrm
ZimaHrm.Infrastructure/Validation/Validator.cs
884
C#
/* SecureMessage VERSION: 1.0 Inputs: Message to encrypt. Outputs: Encrypted message. Description: This software tool allows to encrypt and decrypt a message. Developer: Nicolas CHEN */ using System; using System.Windows.Forms; namespace SecureMessage { public partial class SecureMessage : ...
26.790123
85
0.517512
[ "MIT" ]
hnjm/SecureMessage
SecureMessage/MainMenu.cs
2,172
C#
using Windows.UI.Xaml.Controls; namespace Coding4Fun.Toolkit.Controls { public class ColorSliderThumb : Control { public ColorSliderThumb() { DefaultStyleKey = typeof(ColorSliderThumb); } } }
18.615385
56
0.632231
[ "MIT" ]
Coding4FunProjects/Coding4FunToolk
Experimental/Sliders/Win8SuperSliderTest/App1/ColorSliderThumb.cs
244
C#
using System; using System.IO; using System.IO.MemoryMappedFiles; using System.Threading; namespace Mrh.DataStructures.Buffer { /// <summary> /// Creates a ring buffer that's backed by a memory mapped file. /// File format is [number(long)][previous(long)][size(int)][msg(bytes)][-1next number(long...
34.525547
109
0.515222
[ "Apache-2.0" ]
mrh0057/net-data-structures
Mrh.DataStructures/Buffer/RingBufferMemoryMap.cs
4,732
C#
using System.Globalization; using System.Text; using System.Text.RegularExpressions; using Calculator.Tokenization; namespace Calculator; public class LexerError { public int Position { get; } public LexerError(int position) { this.Position = position; } } public class Lexer { private r...
33.221698
132
0.460883
[ "MIT" ]
milleniumbug/ExpressionEvaluator
Calculator/Lexer.cs
7,045
C#
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; us...
26.851429
103
0.715684
[ "MIT" ]
Plankankul/SharpDevelop-w-Framework
src/AddIns/DisplayBindings/AvalonEdit.AddIn/Src/SharpDevelopInsightWindow.cs
4,701
C#
// dnlib: See LICENSE.txt for more info using dnlib.DotNet.MD; using System.Collections.Generic; namespace dnlib.DotNet.Writer { /// <summary> /// MD table interface /// </summary> public interface IMDTable { /// <summary> /// Gets the table type /// </summary> Tabl...
28.668142
133
0.501158
[ "MIT" ]
Owen0225/ConfuserEx-Plus
dnlib/src/DotNet/Writer/MDTable.cs
6,479
C#
namespace FlexLib.Parsing { public class Token { public readonly string Type; public readonly string Ligature; public readonly string Input; public readonly int Index; public Token(string type, string input, int index) : this(type, null, input, index) { } ...
22.558824
75
0.479791
[ "MIT" ]
matthewm8m/FlexLib
FlexLib/Parsing/Token.cs
769
C#
// <auto-generated /> using System; using DataAccess; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace DataAccess...
36.451429
125
0.445132
[ "Unlicense" ]
Kemma87/gap
Insurance.Api/DataAccess/Migrations/20200829234509_UpdateCoveringPeriodToCoverPeriod.Designer.cs
12,760
C#
//----------------------------------------------------------------------- // <copyright file="PrimitiveCriteriaSingle.cs" company="Marimer LLC"> // Copyright (c) Marimer LLC. All rights reserved. // Website: http://www.lhotka.net/cslanet/ // </copyright> // <summary>no summary</summary> //---------------------...
23.420732
138
0.658683
[ "MIT" ]
angtianqiang/csla
Source/Csla.test/Silverlight/Server/DataPortal/PrimitiveCriteriaSingle.cs
3,843
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 Y...
46.714286
101
0.662385
[ "Apache-2.0" ]
68681395/npoi
testcases/ooxml/XSSF/UserModel/Helpers/TestHeaderFooterHelper.cs
3,270
C#
using System; using System.Collections; using System.Collections.Generic; namespace DotNetCoreTest.SinglyLinkedList { public class SinglyLinkedList<T> : IEnumerable<T>, ISinglyLinkedList<T> { private SinglyLinkedNode<T> head; private bool recount; private int count; public in...
21.531707
75
0.370526
[ "MIT" ]
XACT-RobA/dotnetcoretest
src/SinglyLinkedList/SinglyLinkedList.cs
8,828
C#
using Renci.SshNet.Sftp; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using Renci.SshNet.Tests.Common; namespace Renci.SshNet.Tests { /// <summary> ///This is a test class for SftpSynchronizeDirectoriesAsyncResultTest and is intended ///to contain all SftpSynchronizeDirectoriesAsyncRe...
37.892857
123
0.708765
[ "Unlicense" ]
RSchwoerer/SSH.NET
Renci.SshClient/Renci.SshNet.Tests/Classes/Sftp/SftpSynchronizeDirectoriesAsyncResultTest.cs
1,063
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Runtime.InteropServices; using System; internal class NullableTes...
35.849727
143
0.630381
[ "MIT" ]
333fred/runtime
src/tests/JIT/Directed/nullabletypes/Desktop/boxunboxvaluetype.cs
170,573
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Tests { [TestClass] public class BTests { [TestMethod] public void TestMethod1() { const string input = @"3 2 1 2 5 5 -2 8"; const string output = @"1"; Tester.InOutTest(() => Tasks.B.S...
19.363636
67
0.497653
[ "CC0-1.0" ]
AconCavy/AtCoder.Tasks.CS
ABC/ABC133/Tests/BTests.cs
852
C#
using System; using System.Collections.Generic; using System.Text; using Volo.Abp.Application.Dtos; namespace BiKe.Poetry.Dto { public class ShiJingDto : AuditedEntityDto<Guid> { /// <summary> /// 词牌名 /// </summary> public virtual string Chapter { get; set; } /// <summa...
20.395349
52
0.49943
[ "MIT" ]
coco-bike/BiKe.Poetry
src/BiKe.Poetry.Application.Contracts/Dto/ShiJingDto.cs
897
C#
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using Microsoft.SqlTools.Hosting.Protocol.Contracts; using Microsoft.SqlTools.ServiceLayer.TaskServices; using Microsoft.SqlTools.ServiceLayer.Utility; using Syst...
39.068182
177
0.666958
[ "MIT" ]
Bhaskers-Blu-Org2/sqltoolsservice
src/Microsoft.SqlTools.ServiceLayer/SchemaCompare/Contracts/SchemaCompareOpenScmpRequest.cs
3,440
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("AWSSDK.MediaLive")] [assembly: AssemblyDes...
46.875
226
0.752667
[ "Apache-2.0" ]
dwainew/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/MediaLive/Properties/AssemblyInfo.cs
1,500
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
31.578947
91
0.570833
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Dnspod/V20210323/Models/UserInfo.cs
3,896
C#
namespace Dalion.WebAppTemplate.Api.Security { public static class Constants { public static class Scopes { public const string ApiFullAccess = "Api.FullAccess"; } public static class Roles { public const string ApiFullAccess = "Api.FullAccess"; } p...
35
102
0.635714
[ "MIT" ]
DavidLievrouw/DalionWebAppTemplate
src/WebAppTemplate.Api/Security/Constants.cs
702
C#
using Microsoft.SqlServer.TransactSql.ScriptDom; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; namespace SqlServerValidator.Formatter.Visitors { public abstract class ReplaceSqlFragmentVisitor : TSqlFragmentVisitor { protected readonly Diction...
26.024752
104
0.528248
[ "MIT" ]
Dimsday/ReSequel
SqlServerValidator/Formatter/Visitors/ReplaceSqlFragmentVisitor.cs
5,259
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace EasyCron.Sample.Controllers { [ApiController] [Route("[controller]")] public class WeatherForecastController : ControllerBase {...
28.675
110
0.600697
[ "MIT" ]
Anymedi-Inc/EasyCronJob
samples/EasyCron.Sample/Controllers/WeatherForecastController.cs
1,149
C#
// Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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 ...
39.674419
102
0.639508
[ "ECL-2.0", "Apache-2.0" ]
AOrlov/MassTransit
src/MassTransit/Saga/ISagaFactory.cs
1,706
C#
using HumanFood.Food; using HumanFood.Human; using Microsoft.Extensions.DependencyInjection; var provider = new ServiceCollection() .AddTransient<List<IFood>>() .AddScoped<Human>() .AddTransient<IFeed>(s => s.GetRequiredService<Human>()) .AddTransient<IHuman>(s => s.GetRequiredService<Human>()) .A...
28.344828
75
0.751825
[ "MIT" ]
aleksandrmaslovskii/HumanFood
HumanFood/Program.cs
824
C#
//----------------------------------------------------------------------- // <copyright file="Int32ArrayBinaryReader.cs" company="Leet"> // Copyright © by Hubert Bukowski. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace Leet.Binary { usin...
44.576923
127
0.586713
[ "MIT" ]
hubuk/Binary
src/LeetABit.Binary/Backups/Bits/Int32ArrayBinaryReader.cs
6,955
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Xml.Schema; using System.Xml.Serialization; namespace Workday.Compensation { [GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrough...
20.672131
136
0.727201
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.Compensation/Condition_RuleObjectIDType.cs
1,261
C#
namespace DaggerLib.UI.Windows { partial class ValueEditorDialog { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary>...
40.311111
113
0.590959
[ "MIT" ]
mikecopperwhite/DSGraphEdit
DaggerLib.UI.Windows/ValueEditorDialog.Designer.cs
3,628
C#
// This file is part of Silk.NET. // // You may modify and distribute Silk.NET under the terms // of the MIT license. See the LICENSE file for details. using System; using System.Runtime.InteropServices; using System.Text; using Silk.NET.Core.Native; using Ultz.SuperInvoke; namespace Silk.NET.Vulkan { public un...
22.515152
57
0.652759
[ "MIT" ]
mcavanagh/Silk.NET
src/Vulkan/Silk.NET.Vulkan/Structs/PerformanceValueINTEL.gen.cs
743
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...
42.772727
243
0.587825
[ "ECL-2.0", "Apache-2.0" ]
ScriptBox99/pulumi-azure
sdk/dotnet/Kusto/DatabasePrincipal.cs
13,174
C#
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org) // Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net) // Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp) // See the LICENSE.md file in the project root for full license information. u...
32.316327
159
0.606568
[ "MIT" ]
Ethereal77/stride
sources/engine/Stride.Graphics/VertexPositionTexture.cs
3,167
C#
using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options;...
45.083984
185
0.54577
[ "Apache-2.0" ]
kurage0807/kamonohashi
web-api/platypus/platypus/Startup.cs
25,529
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. using System; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Threading; using TerraFX.ApplicationModel; usin...
39.825
222
0.611111
[ "MIT" ]
LoicBaumann/terrafx
samples/TerraFX/Program.cs
6,373
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DestroyObj : MonoBehaviour { private float counter = 0; void Update () { counter += Time.deltaTime; if (counter >= 1) { Destroy(gameObject); } } }
16.5
39
0.599327
[ "MIT" ]
julianapotengy/GameFeel
Assets/Scripts/DestroyObj.cs
299
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.Diagnostics; using System.Security.Cryptography; using System.Security.Cryptography.Asn1;...
39.177305
110
0.476647
[ "MIT" ]
AlanParr/corefx
src/System.Security.Cryptography.Pkcs/src/Internal/Cryptography/Pal/AnyOS/AsnHelpers.cs
5,524
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] public class Source_UnitInventory { public List<Source_InventoryGroup> groups;//Группировки слотов. public Source_UnitInventory(Source_UnitInventory based) { this.groups = based.groups; } }
21.2
67
0.761006
[ "MIT" ]
Airashe/DrippingMind
Source/Objects/Units/Source_UnitInventory.cs
337
C#
using UnityEngine; using System.Collections; public class BGLooper : MonoBehaviour { int numBGPanels = 6; float pipeMax = 0.6540825f; float pipeMin = -0.08800149f; void Start() { GameObject[] pipes = GameObject.FindGameObjectsWithTag ("Pipe"); foreach (GameObject pipe in pipes) { Vector3 pos = pipe.tra...
21.916667
66
0.69962
[ "MIT" ]
mnapier/ClonyBird
Assets/Scripts/BGLooper.cs
791
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.588235
104
0.64636
[ "ECL-2.0", "Apache-2.0" ]
la3mmchen/pulumi-gcp
sdk/dotnet/CloudRun/Inputs/ServiceTemplateSpecVolumeSecretArgs.cs
2,019
C#
using System.Collections.Generic; namespace Sawczyn.EFDesigner.EFModel.EditingOnly { public partial class GeneratedTextTransformation { #region Template // EFDesigner v3.0.6 // Copyright (c) 2017-2021 Michael Sawczyn // https://github.com/msawczyn/EFDesigner public class EFCore3Mo...
35.366197
120
0.556352
[ "MIT" ]
BigHam/EFDesigner
src/DslPackage/TextTemplates/EditingOnly/EFCore3ModelGenerator.cs
2,511
C#
using System.Numerics; using System.Threading.Tasks; using Rocket.API.Entities; namespace Rocket.API.Player { /// <summary> /// Represents a player entity. /// </summary> public interface IPlayerEntity<TPlayer> : IEntity where TPlayer : IPlayer { TPlayer Player { get; } } }
22.285714
77
0.653846
[ "MIT" ]
DropMod/Drop
Rocket.API/Player/IPlayerEntity.cs
314
C#
//------------------------------------------------------------------------------ // <auto-generated> // Этот код был создан программным средством. // Версия среды выполнения: 4.0.30319.42000 // // Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если // код создан повто...
40.450704
173
0.616992
[ "MIT" ]
shakir-timur/GetGuid
GetGuid/Properties/Resources.Designer.cs
3,406
C#
using System; namespace PizzaStoreMVC.UI.Models { public class ErrorViewModel { public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); } }
19.454545
70
0.672897
[ "MIT" ]
1811-nov27-net/JohnPot_Project_1
PizzaStoreMVC.UI/Models/ErrorViewModel.cs
214
C#
namespace Parsnet.FileWatchers.CreationTimeWatcher.Data { public class CreationTimeWatcherData { public int Id { get; set; } public string ParserName { get; set; } public long LastCreationTimeUtc { get; set; } } }
27.666667
55
0.662651
[ "MIT" ]
Metetron/Metetron.FileParser
src/Parsnet/FileWatchers/CreationTimeWatcher/Data/CreationTimeWatcherData.cs
249
C#
using System; namespace sbcsms { public class TelicEvent { public DateTime EventTime { get; set; } public EventType EventType { get; set; } public DateTime ReceiveTime { get; set; } public DateTime GpsTime { get; set; } public float Speed { get; set; } // [km/h] ...
31.478261
61
0.578039
[ "MIT" ]
SystemCheater/sbcsms
sbcsms/sbcsms/TelicEvent.cs
1,451
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("Wo...
37.594595
84
0.744069
[ "MIT" ]
stStoyanov93/SoftUni-TechModule-ProgrammingFundamentals-2017
12 Files, Directories and Exceptions/LAB_FilesDirectoriesAndExceptions/WordCount/Properties/AssemblyInfo.cs
1,394
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 Silk.NET.Core.Attributes; #pragma warning disable 1591 namespace Silk.NET.SDL { [NativeName("AnonymousName", "__AnonymousEnum_SDL_events_L55_C9")] [Nat...
39.069231
71
0.625517
[ "MIT" ]
Ar37-rs/Silk.NET
src/Windowing/Silk.NET.SDL/Enums/EventType.gen.cs
5,079
C#
namespace Bali.Converter.App.Modules.MediaDownloader.ViewModels { using Prism.Mvvm; public class VideoFormatViewModel : BindableBase { private int fps; private int height; private int width; private float abr; private float vbr; public int Width { ...
22.659091
64
0.515547
[ "Unlicense" ]
bozali/bali-converter
sources/Bali.Converter.App/Modules/MediaDownloader/ViewModels/VideoFormatViewModel.cs
999
C#
namespace dBosque.Stub.Editor { partial class AddEditMessageTypeForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </sum...
46.089404
154
0.586033
[ "Apache-2.0" ]
dbosque/Stub
dBosque.Stub.Editor/Forms/AddEditMessageTypeForm.Designer.cs
13,921
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.Composition; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeA...
39.363636
158
0.629435
[ "MIT" ]
mbpframework/roslyn
src/Features/LanguageServer/Protocol/Handler/FoldingRanges/FoldingRangesHandler.cs
4,765
C#
using UnityEngine; namespace SteeringBehaviours { public class Flee : AgentBehaviour { public float secureDistance = 3; //Secure distance to flee and stop public override Steering GetSteering() { // Create the structure to hold our output Steering steering = n...
29.175
79
0.525278
[ "MIT" ]
jotaate/Crowds
Assets/Scripts/Steering Behaviours/Basics/Flee.cs
1,169
C#
using DaAPI.Core.Common; using DaAPI.Core.Common.DHCPv6; using DaAPI.Core.Packets.DHCPv4; using DaAPI.Core.Packets.DHCPv6; using DaAPI.Infrastructure.FilterEngines.DHCPv4; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using...
25.461538
112
0.71148
[ "MIT" ]
just-the-benno/DaAPI
src/DaAPI.Infrastructure/FilterEngines/DHCPv4/SimpleDHCPv4PacketFilterEngine.cs
1,326
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class HideCube : MonoBehaviour { // Start is called before the first frame update void Start() { transform.localScale = new Vector3(0, 0, 0); } // Update is called once per frame void Update() {...
16.9
52
0.633136
[ "MIT" ]
kangningchen/museum-navigator
Assets/Scripts/HideCube.cs
340
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.EntityFrameworkCore.TestModels.Northwind; namespace Microsoft.EntityFrameworkCore.Query; public abstract class NorthwindQueryRelationalFixture<TModelCustomizer> : N...
38.62069
117
0.759821
[ "MIT" ]
Applesauce314/efcore
test/EFCore.Relational.Specification.Tests/Query/NorthwindQueryRelationalFixture.cs
1,120
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Runtime.InteropServices.ComTypes; using System.Text; using System.Threading.Tasks; using Avalonia.Platform; namespace Avalonia.Win32 { public class IconImpl : IWindowIconImpl ...
29.326087
94
0.585619
[ "MIT" ]
Beffyman/Avalonia
src/Windows/Avalonia.Win32.NetStandard/IconImpl.cs
1,351
C#
using System; using System.Linq; using System.Windows.Controls; #if netle40 using GalaSoft.MvvmLight.Command; #else using GalaSoft.MvvmLight.CommandWpf; # endif using HandyControl.Controls; using HandyControlDemo.Data; using HandyControlDemo.Service; namespace HandyControlDemo.ViewModel { public class StepBarDemo...
26.280702
119
0.594126
[ "MIT" ]
DinoChan/HandyControl
src/Shared/HandyControlDemo_Shared/ViewModel/Controls/StepBarDemoViewModel.cs
1,512
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Net.Http; namespace Microsoft.Rest { /// <summary> /// Represents the base return type of all ServiceClient REST operations w...
32.258993
141
0.590767
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/mgmtcommon/ClientRuntime/ClientRuntime/HttpOperationResponse.cs
4,486
C#
using Microsoft.Azure.ServiceBus; namespace DFC.Api.JobProfiles.IntegrationTests.Support.AzureServiceBus.ServiceBusFactory.Interfaces { public interface IMessageFactory { Message Create(string messageId, byte[] messageBody, string actionType, string contentType); } }
32.111111
100
0.782007
[ "MIT" ]
SkillsFundingAgency/dfc-api-integration-tests
DFC.Api.JobProfiles.IntegrationTests/Support/AzureServiceBus/ServiceBusFactory/Interfaces/IMessageFactory.cs
291
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace StylesSample { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { ...
18.111111
42
0.705521
[ "MIT" ]
CNinnovation/WPFWorkshopSep2018
Day1/StylesSample/StylesSample/App.xaml.cs
328
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("BP....
38
84
0.747511
[ "MIT" ]
xEvilDevilx/BusinessPrototype
BusinessPrototype_Template/DataService/BP.DataService.Base/Properties/AssemblyInfo.cs
1,409
C#
using ExtensionsIO; using ExtensionsRegex; using System; using System.Collections.Generic; using System.IO; using System.ServiceProcess; using Microsoft.Win32; using System.Runtime.InteropServices; using System.ComponentModel; using System.Diagnostics; namespace WinFix.Services { class Diagnostic_Services : _IFea...
37.517241
140
0.575061
[ "MIT" ]
bvandevliet/WinFix
WinFix/Services/Diagnostic_Services.cs
3,266
C#
using Blu4Net; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Reactive.Linq; using System.Runtime.CompilerServices; using System.Threading.Tasks; using System.Windows; namespace BluMiniPlayer { /// <summary> /// Interaction logic for MainWindow.xam...
30.552632
123
0.532127
[ "MIT" ]
roblans/Blu4Net
samples/BluMiniPlayer/MainWindow.xaml.cs
5,807
C#
using GraphQL.Conventions.Tests.Templates; using GraphQL.Conventions.Tests.Templates.Extensions; using GraphQL.Conventions.Types.Resolution; using GraphQL.Types; using Extended = GraphQL.Conventions.Adapters.Types; namespace GraphQL.Conventions.Tests.Adapters { public class FieldDerivationTests : ConstructionTestB...
32.477157
102
0.597687
[ "MIT" ]
rodolfotorres/conventions
test/Tests/Adapters/FieldDerivationTests.cs
6,398
C#
using Esfa.Recruit.Vacancies.Client.Domain.Entities; using System; namespace Esfa.Recruit.Employer.UnitTests.Employer.Web.HardMocks { internal class VacancyOrchestratorTestData { internal static Vacancy GetPart1CompleteVacancy() { return new Vacancy { Em...
30.060606
76
0.53125
[ "MIT" ]
bjstone82/das-recruit
src/Employer/UnitTests/Employer.Web/HardMocks/VacancyOrchestratorTestData.cs
994
C#