content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
/* * Copyright 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.142857
101
0.667062
[ "Apache-2.0" ]
AltairMartinez/aws-sdk-unity-net
src/Services/IdentityManagement/Generated/Model/UploadSSHPublicKeyResponse.cs
1,688
C#
using LazyBot.Area.Detection; using LazyBot.Area.Searching; using UnityEngine; [CreateAssetMenu(menuName = "Validator/Mask")] public class MaskValidatorSO : DetectionValidatorSO { public override bool Validate(SearchingArea searchingArea, DetectionArea detectionArea) { return !(((1 << detectionArea.Co...
30.230769
104
0.755725
[ "MIT" ]
Seaqqull/lazy-bot
LazyBot/Assets/Scripts/Searching/Validator/MaskValidatorSO.cs
395
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using Windows.UI.Xaml; using OpenCvSharp; namespace SDKTemplate { public class AlgorithmProperty : INotifyPropertyChanged { public event PropertyChangedEventHandler Pr...
29.579787
175
0.44893
[ "BSD-3-Clause" ]
SSteve/opencvsharp_samples
CameraOpenCV/AlgorithmProperty.cs
11,124
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Text; using System.Windows.Forms; namespace SpeedTestClient { public partial class Form1 : Form { public Form1() { InitializeComponent(); comboBox1.SelectedIndex = 0; } pri...
21.242424
85
0.697575
[ "MIT" ]
AntonyChurch/lidgren-network-gen3
OldSamples/LibraryTestSamples/SpeedSample/SpeedClient/Form1.cs
703
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Text.Json; using Azure.Core; namespace Azure.ResourceManager.Compute.Models { public partial class PirSharedGalleryResource { internal static PirSharedG...
32.925926
105
0.488189
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PirSharedGalleryResource.Serialization.cs
1,778
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace MS2Lib.Tests { [TestClass] [DeploymentItem("TestData")] public class MultiArrayFileTests { [TestMethod] public void Indexer_IndexSmallerThanSize_ExpectedResult() { var maf = new MultiArrayFile("fileArray....
30.348837
137
0.598467
[ "MIT" ]
Miyuyami/MS2Lib
MS2Lib.Tests/MultiArrayFileTests.cs
1,307
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DS4WinWPF.DS4Control { public abstract class DS4ControlSettings { } }
16.153846
44
0.761905
[ "MIT" ]
midwan/DS4Windows
DS4Windows/DS4Control/DS4ControlSettings.cs
212
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace Checklist { static class Program { /// <summary> /// Punto di ingresso principale dell'applicazione. /// </summary> [STAThread] static ...
22.347826
65
0.616732
[ "MIT" ]
HarlockOfficial/awesome-hacktoberfest
Sasso Carta Forbice Lizard Spock/Checklist/Program.cs
516
C#
/************************************************************************** * MIT License * * Copyright (C) 2015 Frederic Chaxel <fchaxel@free.fr> * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "So...
38.082645
110
0.601997
[ "MIT" ]
DHSERVICE56/DH-SERVICRES
BacnetExplore/CodeExamples/AnotherStorageImplementation/BacnetObjects/BinaryObject.cs
4,610
C#
using System; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Abp.Authorization; using Abp.Authorization.Roles; using Abp.Authorization.Users; using Abp.Configuration; using Abp.Dependency; using Abp.Domain.Uow; using Abp.Extensions; using Abp.MultiTenancy; using Abp.Runtime.Securi...
41.142077
163
0.576438
[ "MIT" ]
aprognimak/aspnetboilerplate
src/Abp.Zero.AspNetCore/AbpSignInManager.cs
15,060
C#
using System; using System.Collections.Generic; using CommonServiceLocator; namespace LessonsSamples.Lesson6.SL { class MovieLister { private readonly IServiceLocator serviceLocator; public MovieLister() { serviceLocator = ServiceLocator.Current; } public M...
26.268293
88
0.597957
[ "MIT" ]
iQuarc/Code-Design-Training
LessonsSamples/LessonsSamples/Lesson6/MovieLister_SL.cs
1,077
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.683047
247
0.584158
[ "Apache-2.0" ]
5u5hma/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/EC2/Basic/Get-EC2VolumeModification-Cmdlet.cs
19,000
C#
/**** Git Credential Manager for Windows **** * * Copyright (c) Microsoft Corporation * All rights reserved. * * MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the """"Software""""), to deal * in the Software ...
41.404762
146
0.745831
[ "MIT" ]
lift766/Mercurial-Credential-Manager-for-Windows
Microsoft.Alm.Authentication/ICredentialStore.cs
1,741
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; using System.Diagnostics; using System.Windows.Forms; namespace SpaceInvaders { /// <summary> /// This class represents the entire game, it implements the singleton pattern /// </summary> class ...
28.375
110
0.540923
[ "MIT" ]
PerretB/SpaceInvaders
SpaceInvaders/Game.cs
4,315
C#
using System; using System.Threading.Tasks; using DevUniverse.Pipelines.Core.Conditions; using DevUniverse.Pipelines.Core.Steps; namespace DevUniverse.Pipelines.Core.Builders { /// <summary> /// The pipeline builder with 1 parameter which returns the result asynchronously. /// </summary> /// <typepar...
33.68
86
0.675772
[ "MIT" ]
RomanDoskoch/Pipelines
DevUniverse.Pipelines/Sources/Core/DevUniverse.Pipelines.Core/Builders/IPipelineBuilderAsync1.cs
844
C#
namespace Arquitetura.Service.Api.Areas.HelpPage.ModelDescriptions { public class KeyValuePairModelDescription : ModelDescription { public ModelDescription KeyModelDescription { get; set; } public ModelDescription ValueModelDescription { get; set; } } }
31.333333
67
0.748227
[ "MIT" ]
willyamsann/Architecture---DDD-Net-FrameWork-4.7.2
src/Arquitetura.Service.Api/Arquitetura.Service.Api/Areas/HelpPage/ModelDescriptions/KeyValuePairModelDescription.cs
282
C#
#region License /* Copyright © 2014-2018 European Support Limited 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 a...
36.232558
134
0.6457
[ "Apache-2.0" ]
DebasmitaGhosh/Ginger
Ginger/Ginger/Run/RunSetActions/RunSetActionGenerateTestNGReport.cs
4,675
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 "li...
41.328638
183
0.596104
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/SageMaker/Generated/Model/CreateNotebookInstanceRequest.cs
17,606
C#
using UnityEngine; using Unity.Collections; using Unity.Mathematics; using Unity.Jobs; using Unity.Burst; using System.Collections.Generic; using System; namespace MeshBuilder { using TopCellInfo = MarchingSquaresMesher.TopCellMesher.CellInfo; using CellVerts = MarchingSquaresMesher.TopCellMesher.CellVertices...
47.483039
264
0.464695
[ "MIT" ]
hbence/MeshBuilder
builders/marching_squares/OptimizedTopCellMesher.cs
34,997
C#
// Copyright (c) Gurmit Teotia. Please see the LICENSE file in the project root for license information. using System.Collections.Generic; using Amazon.SimpleWorkflow.Model; namespace Guflow.Decider { /// <summary> /// Represent activity started event. /// </summary> public class ActivityStar...
38.263158
152
0.709766
[ "Apache-2.0" ]
Seekatar/guflow
Guflow/Decider/Activity/ActivityStartedEvent.cs
729
C#
// <auto-generated /> using System; using System.Collections.Generic; using MarketingBox.Redistribution.Service.Postgres; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion;...
34.953947
110
0.509317
[ "MIT" ]
MyJetMarketingBox/MarketingBox.Redistribution.Service
src/MarketingBox.Redistribution.Service.Postgres/Migrations/20220504083810_updateFreq2.Designer.cs
5,315
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SalesTaxApp.Data.Models { public class OrderDetail { public int OrderDetailId { get; set; } public int OrderId { get; set; } public int ProductId { get; set; } public ...
18.758621
52
0.615809
[ "MIT" ]
mickfo/SalesTaxApp
Data/Models/OrderDetail.cs
546
C#
namespace p13._01.FamilyTree { using System.Collections.Generic; using System.Text; public class Person { private string name; private string birthday; private List<Person> parents; private List<Person> children; public Person(string name, string birthday) ...
21.865672
60
0.494198
[ "MIT" ]
vesy53/SoftUni
C# Advanced/C#Adanced/LabEndExercises/12.DefiningClassesExercise/p13.01.FamilyTree/Person.cs
1,467
C#
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Screens.Play; namespace osu.Game.Tests.Visual { internal class TestCaseSkipButton : OsuTestCase { public override string Descri...
26.75
93
0.635514
[ "MIT" ]
akmvihfan/osu-RP
osu.Game.Tests/Visual/TestCaseSkipButton.cs
537
C#
using Zaabee.FastDfs.Common; namespace Zaabee.FastDfs.Storage { /// <summary> /// set metat data from storage server /// Reqeust /// Cmd: STORAGE_PROTO_CMD_SET_METADATA 13 /// Body: /// @ FDFS_PROTO_PKG_LEN_SIZE bytes: filename length /// @ FDFS_PROTO_PKG_LEN_SIZE bytes: meta data size ...
29.8
79
0.626398
[ "MIT" ]
Mutuduxf/Zaabee.FastDFS
src/Zaabee.FastDfs/Storage/SetMetadata.cs
896
C#
using System; using System.Linq; using System.Threading.Tasks; using IdentityModel.Client; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.OpenIdConnect; using Microsoft.Extensions.Options; using Microsoft.IdentityModel.Protocols.OpenIdConnect; namespace IdentityModel.AspNetCore.Ac...
33.738956
208
0.683014
[ "Apache-2.0" ]
gonzo-coder/IdentityModel.AspNetCore
src/AccessTokenManagement/DefaultTokenClientConfigurationService.cs
8,401
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("CleaningRobot.Test")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("CleaningRobot.Test")] [assembly: As...
30.285714
56
0.756289
[ "MIT" ]
andrii-katolyk/CleaningRobot
CleaningRobot.Test/Properties/AssemblyInfo.cs
637
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
24.604839
134
0.662078
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-ehpc/EHPC/Model/V20180412/ListNodesNoPagingRequest.cs
3,051
C#
using System.Collections.Generic; namespace FiM_Compiler.CodeGeneration.GenerationData.KeywordTokenRules.UserInteractions { public class Output : TokenRule { public Output() { returnType = TokenType.UserOutput; rule = new TokenType[] { TokenType.Keyword,...
30.368421
103
0.558059
[ "MIT" ]
pavvlik777/FIM_Compiler
FiM_Compiler/FiM_Compiler/CodeGeneration/GenerationData/KeywordTokenRules/UserInteractions/Output.cs
1,156
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; using Azure.ResourceManager.Models; namespace Azure.ResourceManager.KeyVault.Models { public partial ...
41.123288
220
0.459527
[ "MIT" ]
damodaravadhani/azure-sdk-for-net
sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/PrivateLinkResourceData.Serialization.cs
6,004
C#
using System.Collections.Generic; namespace InterviewPreparation.MicrosoftExcercises.Easy { class ValidParentheses { public bool IsValid(string s) { var stack = new Stack<char>(); for (int i = 0; i < s.Length; i++) { switch (s[i]) ...
26.871795
70
0.26479
[ "Unlicense" ]
joch0a/coding-exercises
InterviewPreparation/MicrosoftExcercises/Easy/ValidParentheses.cs
2,098
C#
namespace Furion.Extras.Admin.NET.Service { /// <summary> /// OAuth用户参数 /// </summary> public class AuthUserInput { public string Uuid { get; set; } public string Username { get; set; } public string Nickname { get; set; } public string Avatar { get; set; } p...
32.363636
47
0.567416
[ "Apache-2.0" ]
364988343/AKStreamUI
backend/Furion.Extras.Admin.NET/Service/User/Dto/AuthUserInput.cs
722
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace SharpNes { class EmulatorConfiguration { public static EmulatorConfiguration Instance { get { return instance; } } ...
29.482143
111
0.548153
[ "MIT" ]
colinvella/EmuNes
EmuNES/EmulatorConfiguration.cs
1,653
C#
namespace Turtle.Actions { public class Move : IAction { } }
12
31
0.611111
[ "MIT" ]
Meldow/TurtleSimple
Turtle/Actions/Move.cs
72
C#
namespace IssueTrackingSystem2.Web.InputModels.Issue { using AutoMapper; using IssueTrackingSystem2.Common.Enums; using IssueTrackingSystem2.Services.Mapping; using IssueTrackingSystem2.Services.Models; using IssueTrackingSystem2.Web.Infrastructure.Attributes; using IssueTrackingSystem2.Web.Inp...
31.54
104
0.634115
[ "MIT" ]
r-petrov/Issue-Tracking-System-2
src/Web/IssueTrackingSystem2.Web.InputModels/Issue/IssueCreateInputModel.cs
1,579
C#
using CMS.Core; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Globalization; using System.Web.Mvc; namespace HBS.LocalizedValidationAttributes.Kentico.MVC { /// <summary> /// Localized version of the RequiredAttribute, Error Message can contain resol...
44.384615
178
0.758232
[ "MIT" ]
KenticoDevTrev/KenticoLocalizedValidationAttributes
LocalizedValidationAttributes/LocalizedAttributes/LocalizedRequiredAttribute.cs
1,156
C#
using OrchardCore.ContentManagement; using OrchardCore.ContentManagement.Records; using System.Linq; using System.Threading.Tasks; using YesSql; namespace Lombiq.HelpfulLibraries.Libraries.Contents { public class ContentVersionNumberService : IContentVersionNumberService { private readonly I...
38.125
112
0.659016
[ "BSD-3-Clause" ]
CityofSantaMonica/Helpful-Libraries
Lombiq.HelpfulLibraries/Libraries/Contents/ContentVersionNumberService.cs
1,222
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Csla; using Csla.DiffGram; namespace Test.Library { [Serializable] public class LineItemEdit : DiffBase<LineItemEdit> { public static readonly PropertyInfo<int> IdProperty = RegisterProperty<int>(c => c.Id); publ...
26.229167
115
0.669579
[ "MIT" ]
Crown0815/csla
Samples/NET/cs/Csla.DiffGram/Test.Library/LineItemEdit.cs
1,261
C#
using Imagin.Common.Linq; using System; using System.Globalization; using System.Windows.Data; namespace Imagin.Common.Converters { /// <summary> /// /// </summary> [ValueConversion(typeof(string), typeof(string))] public class FileExtensionConverter : IValueConverter { /// <summary> ...
29.5
103
0.550847
[ "BSD-2-Clause" ]
OkumaScott/Imagin.NET
Imagin.Common.WPF/_Converters/FileExtensionConverter.cs
1,300
C#
namespace Security.HMAC { using System; public class HmacMiddlewareOptions { public TimeSpan ClockSkew { get; set; } public string RequestProtocol { get; set; } public string Host { get; set; } } }
21.727273
51
0.619247
[ "MIT" ]
ifbaltics/hmac-security
src/NetCore/HmacMiddlewareOptions.cs
241
C#
namespace Oyooni.Server.Data.BusinessModels.Interfaces { /// <summary> /// Represents a base entity contract /// </summary> public interface IBaseEntity { /// <summary> /// The identifier of the entity /// </summary> string Id { get; set; } } }
21.571429
55
0.562914
[ "MIT" ]
Oyooni5245/Oyooni
Source/Oyooni/Oyooni.Server/Data/BusinessModels/Interfaces/IBaseEntity.cs
304
C#
using System.Collections.Generic; using System.Collections.ObjectModel; using Newtonsoft.Json; using Nuka.Core.Middlewares.InfoSelf.Providers; namespace Nuka.Core.Models { public class InfoSelfResponse { public IEnumerable<string> Tags { get; set; } public string ClusterServiceName { get; set; ...
35.555556
71
0.698438
[ "MIT" ]
Nuka-World/Nuka.Alpha
Nuka.Core/Models/InfoSelfResponse.cs
640
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat...
37.657224
1,358
0.556233
[ "MIT" ]
Kusnaditjung/MimDms
src/Mim.V6301/Generated/PORX_IN090101UK31Message.cs
13,293
C#
// <auto-generated /> using BusinessContacts.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace BusinessConta...
35.15942
80
0.5169
[ "MIT" ]
kbratkovic/BusinessContacts
BusinessContacts/Migrations/20210130170008_InitialContactDataMigration.Designer.cs
2,428
C#
namespace P08_CondenseArrayToNumber { using System; using System.Linq; public class Program { public static void Main() { int[] nums = Console.ReadLine().Split().Select(int.Parse).ToArray(); int firstLength = nums.Length - 1; int finalResult = 0; ...
23.864865
80
0.433749
[ "MIT" ]
MertYumer/Tech-Module-2018
03. Arrays/P08-CondenseArrayToNumber/Program.cs
885
C#
 namespace DocsToolset { partial class Ui { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param ...
54.965839
167
0.634047
[ "MIT" ]
trishores/docs-toolset
code/docs-toolset-proj/Classes/Ui.Designer.cs
17,701
C#
using System.Collections.Generic; using PANDA.Data.Models; namespace PANDA.Services { public interface IUserService { User GetUserLogin(string username, string password); List<string> GetAllUsernames(); bool CreateUser(User user); } }
24.636364
60
0.697417
[ "MIT" ]
RosenDev/SoftuniLearning
C#Web/SIS/PANDA.Services/IUserService.cs
273
C#
// Copyright 2007-2019 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 // // Unles...
41.318182
82
0.751375
[ "ECL-2.0", "Apache-2.0" ]
AOrlov/MassTransit
src/MassTransit/Configuration/Registration/ConsumerEndpointRegistrationConfigurator.cs
909
C#
namespace ClearHl7.Codes.V270 { /// <summary> /// HL7 Version 2 Table 0261 - Location Equipment. /// </summary> /// <remarks>https://www.hl7.org/fhir/v2/0261</remarks> public enum CodeLocationEquipment { /// <summary> /// EEG - Electro-Encephalogram. /// </summary> ...
20.78
59
0.454283
[ "MIT" ]
kamlesh-microsoft/clear-hl7-net
src/ClearHl7.Codes/V270/CodeLocationEquipment.cs
1,041
C#
using System.Reflection; using System.Runtime.InteropServices; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("TrackMe.WinPhoneN...
38.297297
84
0.751588
[ "MIT" ]
PGSSoft/TrackMe-Mobile
TrackMe.WinPhoneNative/Properties/AssemblyInfo.cs
1,420
C#
namespace Microsoft.eShopWeb; public class CatalogSettings { public string CatalogBaseUrl { get; set; } public string ServiceBusConnectionString { get; set; } public string DeliverReserveFunctionUrl { get; set; } }
25.444444
58
0.746725
[ "MIT" ]
Eduard-Zhyzneuski-Epam/eShopOnWeb
src/ApplicationCore/CatalogSettings.cs
231
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.Collections.Generic; using System.Diagnostics; using System.Threading; using StarkPlatform.CodeAnalysis.Stark.Extensions; using StarkPlatform.Co...
40.333333
161
0.629315
[ "Apache-2.0" ]
stark-lang/stark-roslyn
src/EditorFeatures/Stark/Highlighting/KeywordHighlighters/LoopHighlighter.cs
4,116
C#
/* This software known as 'Distrib' is under the GNU GPL v2. License This license can be found at: http://www.gnu.org/licenses/gpl-2.0.html Unless this software has been made available to you under the terms of an alternative license by Clint Pearson, your use of this software is dependent upon compliance w...
30.71875
101
0.623601
[ "MIT" ]
ckpearson/Distrib
Distrib/Distrib/Data/Transport/DataTransportPointAttribute.cs
1,968
C#
/* Write a program that reads a text file and inserts line numbers in front of each of its lines. The result should be written to another text file.*/ using System; using System.IO; namespace _03.LineNumbers { class LineNumbers { static void Main(string[] args) { String fileName...
29.234043
98
0.443959
[ "MIT" ]
IvanGrigorov/CSharp-2
TextFiles/03. LineNumbers/LineNumbers.cs
1,376
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Controls; using System.IO; namespace PWPlanner.TileTypes { public class Special : Tile { public override int ZIndex { get { return 10; } ...
21.915789
73
0.472622
[ "MIT" ]
ColdUnwanted/PWPlanner
PWPlanner/TileTypes/Special.cs
2,084
C#
namespace QuizEMI.Data.Models { using System; using System.Collections.Generic; using QuizEMI.Data.Common.Enumerations; using QuizEMI.Data.Common.Models; public class Event : BaseDeletableModel<string> { public Event() { this.Id = Guid.NewGuid().ToString(); ...
26.659091
76
0.618926
[ "MIT" ]
BENALIsalahEDDINE/QuizEMI
Data/QuizEMI.Data.Models/Event.cs
1,175
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; namespace Daisy.SaveAsDAISY { public partial class ConversionProgress : Form { public ConversionProgress() { ...
28.404762
123
0.66974
[ "BSD-3-Clause" ]
daisy/word-save-as-daisy
Common/DaisyAddinLib/ConversionProgress.cs
1,195
C#
using System; using System.Runtime.Serialization; namespace Xtrimmer.SqlDatabaseBuilder { [Serializable] public class InvalidDatabaseIdentifierException : ArgumentException { public InvalidDatabaseIdentifierException() { } public InvalidDatabaseIdentifierException(string m...
23.482759
102
0.646109
[ "Apache-2.0" ]
Xtrimmer/SqlDatabaseBuilder
src/SqlDatabaseBuilder/Exceptions/InvalidDatabaseIdentifierException.cs
683
C#
using System; using System.Collections.Generic; using Umbraco.Core.Models; using Umbraco.Core.Models.ContentEditing; using Umbraco.Core.Models.Membership; namespace Umbraco.Web.ContentApps { public class ContentInfoContentAppFactory : IContentAppFactory { // see note on ContentApp private cons...
31.744681
105
0.484584
[ "MIT" ]
0Neji/Umbraco-CMS
src/Umbraco.Web/ContentApps/ContentInfoContentAppFactory.cs
1,494
C#
// Copyright 2019 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Diagnostics.CodeAnalysis; using System.Linq; using JetBrains.Annotations; using Nuke.Common.OutputSinks; using Nuke.Common.Utilities; namespace Nuke.Common....
27.527778
69
0.608476
[ "MIT" ]
Janek91/common
source/Nuke.Common/CI/TravisCI/TravisCIOutputSink.cs
991
C#
namespace NetFusion.Bootstrap.Plugins { /// <summary> /// Marker interface used to identify interfaces implemented by modules that /// provide access to information it manages. All, modules implementing an /// interface derived from this type will be added to the dependency-injection /// container...
33.923077
82
0.712018
[ "MIT" ]
grecosoft/NetFusion
netfusion/src/Core/NetFusion.Bootstrap/Plugins/IPluginModuleService.cs
443
C#
using Dfc.ProviderPortal.TribalExporter.Interfaces; using System; using System.Collections.Generic; using System.IO; using System.Text; namespace Dfc.ProviderPortal.TribalExporter.Helpers { public static class DelimitedFileHelper { public static IEnumerable<IDelimitedLine> ReadLines(TextReader reader,...
37.862069
136
0.472222
[ "MIT" ]
SkillsFundingAgency/dfc-providerportal-tribalexporter
src/Dfc.ProviderPortal.TribalExporter/Helpers/DelimitedFileHelper.cs
4,394
C#
namespace Perpetuum { public class GlobalConfiguration { public string ListenerIP { get; set; } public int ListenerPort { get; set; } public string GameRoot { get; set; } public string WebServiceIP { get; set; } public string PersonalConfig { get; set; } public s...
28.62963
65
0.614489
[ "MIT" ]
OpenPerpetuum/PerpetuumServer
src/Perpetuum/GlobalConfiguration.cs
773
C#
/* Copyright 2010-present MongoDB Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
26.694444
74
0.649324
[ "Apache-2.0" ]
591094733/mongo-csharp-driver
src/MongoDB.Driver.Legacy/EvalFlags.cs
961
C#
using System; using LionFire.Persistence; namespace LionFire.Serialization { //public interface IDeserializerScorer : ISerializerScorerBase<DeserializePersistenceOperation, DeserializePersistenceContext> //{ // //float ScoreForStrategy(SerializationStrategyPreference preference, Lazy<DeserializationPer...
41.555556
231
0.78877
[ "MIT" ]
LionFire/Core
src/LionFire.Persistence/Serialization/Scorers/delete-IDeserializerScorer.cs
750
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.InteropServices; using System.Text; using SmartHunter.Game.Helpers; namespace SmartHunter.Core.Helpers { public static class MemoryHelper { static List<PointerTrace> s_UniquePointerTrac...
35.491909
176
0.525212
[ "MIT" ]
1342293181/SmartHunter
SmartHunter/Core/Helpers/MemoryHelper.cs
10,967
C#
using UnityEngine; using UnityEngine.EventSystems; using System.Collections.Generic; namespace Unicessing { /** @class UGraphics @lang_en -------- Base class for drawing by Unicessing @end_lang @lang_jp -------- Unicessingによる描画の基本クラス @end_lang */ public cl...
44.793457
223
0.587831
[ "MIT" ]
ioio-creative/CityGallery_UnicessingDemo
Unicessing_Test/Assets/Unicessing/Scripts/System/Core/UGraphics.cs
75,237
C#
using System.Windows.Input; using Xamarin.Forms; namespace CoffeeChain.App.ViewModels { public class TokenTransferViewModel : BaseViewModel { private string _recipient; public string Recipient { get { return _recipient; } set { SetProperty(ref _recipi...
29.615385
101
0.558442
[ "MIT" ]
illwerkevkw-innovationlab/CoffeeChain
CoffeeChain.App/CoffeeChain.App/ViewModels/TokenTransferViewModel.cs
1,543
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Security.Authentication.Identity.Provider { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__ #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__ [global::Uno.NotImplemented] #...
31.170732
64
0.719092
[ "Apache-2.0" ]
06needhamt/uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Security.Authentication.Identity.Provider/SecondaryAuthenticationFactorAuthenticationStage.cs
1,278
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] public class Handsome : Trait { public override int GetSelfToAllySentimentGain(EnumSentiment sentiment, int baseSentiment) { return baseSentiment; } public override int GetAllyToSelfSentimentGain...
24.096774
94
0.665328
[ "MIT", "Unlicense" ]
Malan-Tai/SynCOM
Assets/Scripts/Characters/Traits/Handsome.cs
747
C#
/******************************************/ /* */ /* Copyright (c) 2020 monitor1394 */ /* https://github.com/monitor1394 */ /* */ /******************************************/ using System.Collections.Generic; using UnityEngi...
33.899543
117
0.45757
[ "MIT" ]
Amblion/unity-ugui-XCharts
Assets/XCharts/Runtime/XUGL/UGLHelper.cs
7,450
C#
namespace PanGu.Lucene.ImportTool { partial class FormImport { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </...
45.29932
143
0.585373
[ "Apache-2.0" ]
eaglet2006/pangu
PanGu4Lucene/PanGu.Lucene.ImportTool/FormImport.Designer.cs
6,709
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SitecoreCognitiveServices.Foundation.MSSDK.Speech.Models { public class OperationLocation { public string Url { get; set; } } }
22.666667
68
0.753676
[ "MIT" ]
markstiles/SitecoreCognitiveServices.Core
src/Foundation/MSSDK/code/Speech/Models/OperationLocation.cs
274
C#
// // Copyright (c) 2017 The nanoFramework project contributors // See LICENSE file in the project root for full license information. namespace Windows.Devices.WiFi { /// <summary> /// Describes whether to automatically reconnect to this network. /// </summary> public enum WiFiReconnectionKind { ...
22.333333
69
0.598881
[ "Apache-2.0" ]
haeberle/lib-Windows.Devices.WiFi
source/Windows.Devices.WiFi/WiFiReconnectionKind.cs
538
C#
using CookPopularCSharpToolkit.Communal; using CookPopularCSharpToolkit.Windows; using System; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Input; /* * Copyright (c) 2021 All Rights Reserved. * Description:DataGridAssistant ...
47.689252
199
0.628289
[ "Apache-2.0" ]
Muzsor/CookPopularControl
CookPopularControl/Controls/Grid/DataGridAssistant.cs
20,683
C#
#region License // Copyright 2004-2010 Castle Project - http://www.castleproject.org/ // // 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/lic...
29.131579
77
0.688347
[ "Apache-2.0" ]
ByteDecoder/Castle.Facilities.NHibernateIntegration
src/Castle.Facilities.NHibernateIntegration.Tests/Issues/IssueTestCase.cs
1,070
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: AssemblyTi...
38.945946
85
0.727967
[ "MIT" ]
jdm7dv/financial
windows/CsForFinancialMarkets/CsForFinancialMarkets/BookExamples/Ch10/TestFDM/Properties/AssemblyInfo.cs
1,444
C#
/* ==================================================================== Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for Additional information regarding copyright ownership. The ASF licenses this file to ...
41.51145
109
0.595072
[ "Apache-2.0" ]
Arch/Npoi.Core
src/Npoi.Core/POIFS/FileSystem/DirectoryEntry.cs
5,440
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using Microsoft.OpenApi.Any; using Microsoft.OpenApi.Models; using Microsoft.OpenApi.Properties; using System.Collections.Generic; namespace Microsoft.OpenApi.Validations.Rules { /// <summary> /// The validation ...
39.094595
157
0.499654
[ "MIT" ]
senthilkumarmohan/OpenAPI.NET
src/Microsoft.OpenApi/Validations/Rules/OpenApiSchemaRules.cs
5,788
C#
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. #if STRIDE_GRAPHICS_API_DIRECT3D11 // Copyright (c)...
49.235808
1,483
0.640532
[ "MIT" ]
Alan-love/xenko
sources/engine/Stride.Graphics/Direct3D/GraphicsOutput.Direct3D.cs
11,275
C#
/* _BEGIN_TEMPLATE_ { "id": "EX1_316", "name": [ "力量的代价", "Power Overwhelming" ], "text": [ "使一个友方随从获得+4/+4,该随从会在回合结束时死亡。", "Give a friendly minion +4/+4 until end of turn. Then, it dies. Horribly." ], "cardClass": "WARLOCK", "type": "SPELL", "cost": 1, "rarity": "COMMON", "set": "...
21.511628
93
0.541622
[ "MIT" ]
chi-rei-den/Silverfish
cards/HOF/EX1/Sim_EX1_316.cs
981
C#
namespace UblTr.Common { [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:oa...
51.416667
162
0.768233
[ "MIT" ]
canyener/Ubl-Tr
Ubl-Tr/Common/CommonBasicComponents/TrainIDType.cs
617
C#
#pragma warning disable CS1591 /* * * * * * A simple JSON Parser / builder * ------------------------------ * * It mainly has been written as a simple JSON parser. It can build a JSON string * from the node-tree, or generate a node tree from any valid JSON string. * * If you want to use compression when savin...
33.664207
130
0.502817
[ "MIT" ]
BitArmory/ReCaptcha
BitArmory.ReCaptcha/Utils/SimpleJson.cs
45,616
C#
namespace Discord { /// <summary> /// Modify the current user with the specified arguments /// </summary> /// <example> /// <code language="c#"> /// await Context.Client.CurrentUser.ModifyAsync(x => /// { /// x.Avatar = new Image(File.OpenRead("avatar.jpg")); /// }); ...
26.074074
63
0.492898
[ "Unlicense" ]
Lelouch99/bot_cc
Discord.Net/src/Discord.Net.Core/Entities/Users/SelfUserProperties.cs
706
C#
using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Application.Common.Interfaces; using Application.Common.Repositories; using Domain.Entities; using Microsoft.EntityFrameworkCore; namespace Persistence.Common { public class ChatUserRepository : BaseRe...
37.242424
113
0.665582
[ "MIT" ]
destbg/TwitterRecreated
src/Persistence/Common/ChatUserRepository.cs
1,231
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using FluentScheduler; using Twitter.Data.UnitOfWork; namespace ScheduledJob { public class Program { static void Main(string[] args) { JobManager.Ad...
31.017544
162
0.493778
[ "Apache-2.0" ]
ZJGSU-Open-Source/QQmgs
ScheduledJob/Program.cs
1,958
C#
using System; using System.Collections.Specialized; using System.Data.Entity; using System.Linq; using System.Web.Mvc; using NewGenFramework.Core.Aspects.Postsharp.AuthorizationAspects; using NewGenFramework.Core.DataAccess; using NewGenFramework.Core.Utilities.Mappings; using NonFactors.Mvc.Grid; using BayiPuan.Busin...
43.392308
326
0.651658
[ "MIT" ]
keremvaris/NewGenFramework
BayiPuan.MvcWebUi/Controllers/BuyController.cs
11,397
C#
/*! * \file Evaporation.cs * * \brief Implements the models for the calculation of evaporation as described in FAO paper 56. * * \author Hunstock * \date 15.08.2015 */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tas...
41.876543
167
0.533756
[ "Apache-2.0" ]
ATB-Potsdam/IDM
ATB_Irrigation-Module_cs/Evaporation.cs
6,786
C#
namespace Kenc.Cloudflare.Core.IntegrationTests { using System.Collections.Generic; using System.Threading.Tasks; using Kenc.Cloudflare.Core.Clients; using Microsoft.VisualStudio.TestTools.UnitTesting; [TestClass] [TestCategory("IntegrationTests")] public class DNSScenarioTests : Integratio...
37.705882
168
0.660426
[ "MIT" ]
Kencdk/Kenc.Cloudflare
src/Libraries/Kenc.Cloudflare.Core.IntegrationTests/DNSScenarioTests.cs
1,923
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.515625
177
0.613285
[ "MIT" ]
B13K/opc-ua-samples
RobotServer/Properties/Resources.Designer.cs
2,787
C#
using System; using System.Collections.Generic; namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// <summary> /// <para>表示 [POST] /cgi-bin/guide/getguideacctconfig 接口的请求。</para> /// </summary> public class CgibinGuideGetGuideAccountConfigRequest : WechatApiRequest { } }
23.076923
75
0.703333
[ "MIT" ]
KimMeng2015/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/Config/CgibinGuideGetGuideAccountConfigRequest.cs
318
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.17379 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
35.155673
175
0.541954
[ "MIT" ]
IberaSoft/discount-me
DiscountMeWP7/DiscountMe.Languages/Idiomas/Texts.Designer.cs
13,341
C#
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Voximplant.API.Response { /// <summary> /// The [GetContractorInfo] function result. /// </summary> public class ContractorInfoType { /// <summary> /// Russian-specific ID for tax purposes. ///...
29.432836
121
0.570487
[ "MIT" ]
voximplant/apiclient-dotnet
apiclient/Response/ContractorInfoType.cs
1,972
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class StaticData : MonoBehaviour { public static string playerName = "player11"; }
20.333333
50
0.748634
[ "MIT" ]
Papyrustaro/UnityFishingGame
Assets/Scripts/StaticData.cs
185
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web; using System.Web.Cors; using System.Web.Http.Cors; namespace WebAPITemplate.Util { [AttributeUsage(AttributeTargets.Method |...
32.948276
115
0.613291
[ "MIT" ]
aniketphadte/Web-API-Template
WebAPITemplate/WebAPITemplate/Util/CorsPolicyAttribute.cs
1,913
C#
using System; using System.Collections.Generic; using System.Linq; using ljepotaservis.Infrastructure.DataTransferObjects.ServicesDtos; using ljepotaservis.Infrastructure.DataTransferObjects.StoreDtos; using ljepotaservis.Infrastructure.DataTransferObjects.UserDtos; using Newtonsoft.Json.Linq; namespace ljepotaservis...
40.424242
127
0.715142
[ "MIT" ]
AnteVuletic/ljepotaservis
ljepotaservis/ljepotaservis.Infrastructure/DataTransferObjects/ReservationDtos/CreateReservationDto.cs
1,336
C#
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Nez; using Nez.Sprites; using System; class Bumper : WorldObject, ITriggerListener { protected const float minBumpVelocity = 600f; protected readonly Vector2 bumpDirection = Vector2.Normalize(new Vector2(0f, -1)); protected SpriteAn...
34.54902
119
0.645857
[ "MIT" ]
Rouli-M/OpenJam2020
Components/Bumper.cs
1,764
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-generate...
42.194444
152
0.587887
[ "MIT" ]
Luxoft/BSSFramework
src/_DomainDriven/Framework.DomainDriven.ServiceModel/Properties/Settings.Designer.cs
1,486
C#
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including wit...
42.75
463
0.768519
[ "MIT" ]
Acidburn0zzz/CodeContracts
Microsoft.Research/Contracts/System.Web/System.Web.UI.BaseParser.cs
2,052
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Kubernetes.Types.I...
28.867925
129
0.620915
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/argocd-operator/dotnet/Kubernetes/Crds/Operators/ArgocdOperator/Argoproj/V1Alpha1/Inputs/ApplicationStatusResourcesArgs.cs
1,530
C#