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.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("Cur...
38.108108
84
0.751064
[ "MIT" ]
Radostta/Programming-Basics-And-Fundamentals-SoftUni
CSharpBookExcercises/CurrencyConverterBook/Properties/AssemblyInfo.cs
1,413
C#
namespace FluentValidation.WebApi { using System.Collections.Generic; using System.Web.Http.Metadata; using System.Web.Http.Validation; using Internal; using Validators; internal class EmailFluentValidationPropertyValidator : FluentValidationPropertyValidator { private IEmailValidator EmailValidator ...
36
233
0.796296
[ "Apache-2.0" ]
slgal/FluentValidation
src/FluentValidation.WebApi/PropertyValidatorAdapters/EmailFluentValidationPropertyValidator.cs
650
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 ShelterClient { public class Program ...
23.64
73
0.715736
[ "MIT" ]
TJEverett/Shelter_Client
ShelterClient/Program.cs
593
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> //--...
38.930556
189
0.606493
[ "MIT" ]
agarc657/CPSC481
CPSC_481_Trailexplorers/Properties/Resources.Designer.cs
2,805
C#
using System.Collections.Generic; using UnityEngine; public class QuestController : Singleton<QuestController> { private List<Quest> activeQuests; private List<Quest> completedQuests; private QuestUI questUI; private CharacterProps playerProps; private LevelController levelController; ...
23.11828
84
0.51093
[ "MIT" ]
gdemirev01/Avija
Assets/Scripts/Quests/QuestController.cs
4,302
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using Jarvis.TypeScriptGenerator.Builders; using Newtonsoft.Json; namespace Jarvis.TypeScriptGenerator { internal class Runner { private const string TsgeneratorJson = "tsgenerator.json"; ...
34.71123
113
0.526883
[ "Apache-2.0" ]
ProximoSrl/Jarvis.TypeScriptGenerator
src/Jarvis.TypeScriptGenerator/Runner.cs
6,491
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Core.Definitions; using Microsoft.MixedReality.Toolkit.Core.Definitions.InputSystem; using Microsoft.MixedReality.Toolkit.Core....
44.075758
184
0.654864
[ "MIT" ]
StephenHodgson/MixedRealityToolkit-Unity
Assets/MixedRealityToolkit/_Core/Inspectors/Profiles/MixedRealityInputActionsProfileInspector.cs
5,822
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("EM...
38.351351
84
0.745595
[ "Apache-2.0" ]
1stResponder/em-serializers
NIEM/EMS.NIEM.Resource/Properties/AssemblyInfo.cs
1,422
C#
//////////////////////////////////////////////////////////////////////////////// //EF Core Provider for LCPI OLE DB. // IBProvider and Contributors. 26.03.2021. using System; using System.Diagnostics; using System.Reflection; namespace Lcpi.EntityFrameworkCore.DataProvider.LcpiOle...
32.75
130
0.591309
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Code/Provider/Source/Basement/EF/Dbms/Firebird/V03_0_0/Query/Local/D3/Expressions/Op2/Code/Subtract/NullableInt64/Op2_Code__Subtract___NullableInt64__NullableInt32.cs
1,705
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
32.567901
112
0.641395
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/PinpointEmail/Generated/Model/KinesisFirehoseDestination.cs
2,638
C#
using System; using GeoAPI.Geometries; using NetTopologySuite.Geometries; using NUnit.Framework; namespace NetTopologySuite.Tests.NUnit.Operation.Buffer { public class Test { [TestAttribute] public void Buffer() { var geom = new Polygon( n...
31.714286
111
0.472973
[ "EPL-1.0" ]
ChaplinMarchais/NetTopologySuite
NetTopologySuite.Tests.NUnit/Operation/Buffer/Test.cs
888
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; using ...
31.649289
172
0.549865
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-yandex
sdk/dotnet/GetVpcSubnet.cs
6,678
C#
namespace NFugue.Patterns { public enum TokenType { Voice, Layer, Instrument, Tempo, KeySignature, TimeSignature, BarLine, TrackTimeBookmark, TrackTimeBookmarkRequested, Lyric, Marker, Function, Note, ...
17.045455
35
0.509333
[ "Apache-2.0" ]
kurena-777/NFugue
src/NFugue/Patterns/TokenType.cs
375
C#
using System; using System.Drawing; namespace TechEd.Demo.SolidPrinciples.Lsp.Principles.Entities { public class Car { private bool _hasFuel = true; public Car(Color color) { Color = color; } public virtual void StartEngine() { if (!_ha...
21.389313
124
0.53212
[ "MIT" ]
Inventum24/SOLID
TechEd.SolidPrinciples/TechEd.Demo.SolidPrinciples.Lsp.Principles/Entities/Car.cs
2,804
C#
using System; using CryptoApisLibrary.DataTypes; using CryptoApisLibrary.ResponseTypes.Blockchains; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace CryptoApisLibrary.Tests.Blockchains.Transactions.SendAllAmountUsingPassword { [TestClass] public abstract class BaseEthSimilarCoin : BaseTest { ...
39.164706
116
0.660859
[ "MIT" ]
Crypto-APIs/.NET-Library
CryptoApisLibrary.Tests/Blockchains/Transactions/SendAllAmountUsingPassword/BaseEthSimilarCoin.cs
3,331
C#
using UnityEngine; using UnityEngine.Assertions; using UnityEngine.Rendering; namespace uNvPipe { [RequireComponent(typeof(Renderer))] public class uNvPipeDecodedTexture : MonoBehaviour { [SerializeField] uNvPipeDecoder decoder = null; Texture2D texture_; CommandBuffer cb_; void...
23.854167
101
0.638428
[ "BSD-3-Clause" ]
Neos-Metaverse/uNvPipe
Assets/uNvPipe/Scripts/uNvPipeDecodedTexture.cs
1,147
C#
using System; using System.Collections.Generic; namespace MobaFrame.SkillAction { public class SimpleSkillAction : BaseSkillAction { protected override bool doAction() { if (this.skillData == null) { return false; } string[] array = this.skillData.start_actions; if (base.unit.Sta...
29.666667
150
0.684732
[ "MIT" ]
corefan/mobahero_src
MobaFrame.SkillAction/SimpleSkillAction.cs
1,513
C#
using JTNE.Protocol.Attributes; using JTNE.Protocol.Formatters.MessageBodyFormatters; using System; using System.Collections.Generic; using System.Text; namespace JTNE.Protocol.MessageBody { /// <summary> /// 连续三次登入失败后,到下一次登入的时间间隔。有效值范围:1~240(表示1min~240min) /// </summary> [JTNEFormatter(typeof(JTNE_...
29.230769
61
0.644737
[ "MIT" ]
SmallChi/GBNewEnergy
src/JTNE.Protocol/MessageBody/JTNE_0x81_0x0C_Device.cs
898
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.IO; using Microsoft.AspNetCore.Components.WebView.WebView2; using Microsoft.Web.WebView2.Core; namespace Microsoft.AspNetCore.Components....
43.294118
170
0.849185
[ "MIT" ]
41396/maui
src/BlazorWebView/src/Wpf/WpfCoreWebView2WebResourceRequestedEventArgsWrapper.cs
1,474
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; using System.Collections.Generic; using System.Diagnostics.Tracing; using System.IO; using System.Linq; using Microsoft.Extensions.Loggin...
44.585196
202
0.543871
[ "Apache-2.0" ]
RickyLin/Extensions
src/Logging/Logging.EventSource/test/EventSourceLoggerTest.cs
31,925
C#
using Hashgraph.Extensions; using Hashgraph.Test.Fixtures; using System; using System.Linq; using System.Threading.Tasks; using Xunit; using Xunit.Abstractions; namespace Hashgraph.Test.Token { [Collection(nameof(NetworkCredentials))] public class DissociateTokenTests { private readon...
58.43871
210
0.666151
[ "Apache-2.0" ]
ZhingShan/Hashgraph
test/Hashgraph.Test/Token/DissociateTokenTests.cs
27,176
C#
using System.IO; using System.Xml.Serialization; namespace MyCalendar.App.Helpers { public class FileHelpersXml<T> where T : new() { private readonly string _filePath; public FileHelpersXml(string filePath) { _filePath = filePath; } public void SerializeTo...
28.840909
72
0.57368
[ "MIT" ]
deSp44/MyCalendar
MyCalendar.App/Helpers/FileHelpersXml.cs
1,271
C#
using UnityEngine; using MacKay.PlayerController.Ship; namespace MacKay.Animations { public class PlayerAnimationController : MonoBehaviour { private static PlayerAnimationController _instance; public static PlayerAnimationController Instance { get { return _instance; } } [SerializeFie...
25.266667
86
0.487247
[ "MIT" ]
mikebmac/VR-Local-Solar-System-for-Master-s-Thesis
Scripts/Runtime/Animations/Player/PlayerAnimationController.cs
1,137
C#
using System; using System.Xml; using System.Xml.Schema; using WebServiceXmlParser.Core.Interfaces; using WebServiceXmlParser.Core.Models; namespace WebServiceXmlParser.Services { public class ParseInputDocumentService : IParseInputDocumentService { /// <summary> /// Parse an Xml document and ...
34.942529
146
0.504934
[ "MIT" ]
beirnem/upgraded-happiness
WebServiceXmlParser/Services/ParseInputDocumentService.cs
3,042
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...
24.805556
81
0.620381
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/EdgeOrder/Outputs/ImageInformationResponseResult.cs
893
C#
partial class InnerVerifier { public Task VerifyFile(string path) { Guard.FileExists(path, nameof(path)); settings.extension ??= EmptyFiles.Extensions.GetExtension(path); return VerifyStream(FileHelpers.OpenRead(path)); } public Task VerifyFile(FileInfo target) { ...
25.066667
73
0.643617
[ "MIT" ]
304NotModified/Verify
src/Verify/Verifier/InnerVerifier_File.cs
364
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...
54.188393
175
0.673362
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/HealthLake/Generated/_bcl35/AmazonHealthLakeClient.cs
60,693
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraSystem : MonoBehaviour { public GameObject target; public float movementVelocity; void Update () { Vector3 targetPos = new Vector3(target.transform.position.x, target.transform.position.y, -10); //Set the distance...
31.533333
136
0.780127
[ "Apache-2.0" ]
JustDevGuy/NotAccurateShots
Assets/Scripts/CameraSystem.cs
475
C#
using System.Xml.Linq; namespace Dovetail.SDK.Bootstrap.Clarify.Metadata { public interface IXElementVisitor { bool Matches(XElement element, ParsingContext context); void Visit(XElement element, ParsingContext context); void ChildrenBound(ParsingContext context); } }
21.615385
57
0.793594
[ "Apache-2.0" ]
DovetailSoftware/dovetail-bootstrap
source/Dovetail.SDK.Bootstrap/Clarify/Metadata/IXElementVisitor.cs
283
C#
using System; using Microsoft.Extensions.DependencyInjection; using R5T.Lombardy; using R5T.D0048; using R5T.D0078; using R5T.D0079; using R5T.D0083; using R5T.D0096; using R5T.D0096.D003; using R5T.D0101; using R5T.D0105; using R5T.L0017.D001; using R5T.T0063; using N004 = R5T.S0030.T003.N004; namespace R5T.S003...
52.263844
148
0.702275
[ "MIT" ]
SafetyCone/R5T.S0030
source/R5T.S0030/Code/Extensions/IServiceCollectionExtensions-Operations.cs
32,090
C#
// Copyright (c) MOSA Project. Licensed under the New BSD License. // This code was generated by an automated template. using Mosa.Compiler.Framework; namespace Mosa.Platform.ARMv8A32.Instructions { /// <summary> /// RsfImm - Reverse Subtract /// </summary> /// <seealso cref="Mosa.Platform.ARMv8A32.ARMv8A32Instr...
32.204082
76
0.750317
[ "BSD-3-Clause" ]
Arakis/MOSA-Project
Source/Mosa.Platform.ARMv8A32/Instructions/RsfImm.cs
1,578
C#
using System.Collections.Generic; using System.Collections; using System; namespace UnityEditor.iOS.Xcode.GetSocial { class PBXElement { protected PBXElement() {} // convenience methods public string AsString() { return ((PBXElementString)this).value; } public PBXElementArray...
24.35514
101
0.540675
[ "Apache-2.0" ]
MySt1KxSyL3nT/getsocial-capture
demo/sampleapp/Assets/GetSocial/Editor/iOS/xcodeapi/PBX/Elements.cs
2,606
C#
/* * Copyright 2012-2018 Aerospike, Inc. * * Portions may be licensed to Aerospike, Inc. under one or more contributor * license agreements. * * 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 Lice...
28.354167
94
0.680015
[ "MIT" ]
Jac21/aerospike-client-csharp
Framework/AerospikeDemo/ScanSeries.cs
2,722
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.ComponentModel; using SoonLearning.Assessment.Player.Data; using SoonLearning.Assessment.Data; using System.Reflection; namespace SoonLearning.Math_Fast.SYSS300.FZLJ { public class FZLJDataCr...
31.434211
157
0.430096
[ "MIT" ]
LigangSun/AppCenter
source/Apps/Math_Fast_SYSS300/1-10/SoonLearning.Math_Fast.SYSS300.FZLJ/FZLJ_DataCreator.cs
19,742
C#
using System; using Akka.Actor; using Akka.Event; using TIK.Core.Application.Messaging; namespace TIK.Applications.Online.BackLogs { public class BackLogsActor : ReceiveActor { private readonly ILoggingAdapter _logger = Context.GetLogger(); private IActorRef JobActor { get; } public...
29.190476
127
0.564437
[ "MIT" ]
sripirom/T-I-K
TIK/Applications/Online/BackLogs/BackLogsActor.cs
1,841
C#
//Released under the MIT License. // //Copyright (c) 2018 Ntreev Soft co., Ltd. // //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 //rig...
37.421456
149
0.637145
[ "MIT" ]
NtreevSoft/Crema
client/Ntreev.Crema.Services/Users/UserCategoryCollection.cs
9,769
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;...
22.586207
50
0.722137
[ "MIT" ]
nuitsjp/KAMISHIBAI
Source/Kamishibai.Wpf.MaterialDesignThemes.Demo/UserDialog.xaml.cs
675
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.Owin; using Microsoft.Owin.Security.Cookies; using Microsoft.Owin.Security.Google; using Microsoft.Owin.Security.OAuth; using Owin; using TechPortal.Data....
40.085714
125
0.649323
[ "MIT" ]
gmckin/TechPortal
TechPortal.Data.Client/App_Start/Startup.Auth.cs
2,808
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.Text; using System.Threading.Tasks; using System.Composition.Hosting; using System.Composition.Hosting...
27.688442
97
0.54882
[ "MIT" ]
belav/runtime
src/libraries/System.Composition/tests/CircularityTests.cs
5,510
C#
using System.IO; using System.IO.Compression; using System.Text; using Azure.Storage.Blobs; #pragma warning disable CS1591 namespace Frends.Community.Azure.Blob { public class Utils { public static BlobContainerClient GetBlobContainer(string connectionString, string containerName) { ...
36.341176
105
0.534153
[ "MIT" ]
CommunityHiQ/Frends.Community.Azure.Blob
Frends.Community.Azure.Blob/Utils.cs
3,091
C#
// Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell...
47.209302
118
0.732266
[ "Apache-2.0" ]
121468615/mono
mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/DataGridViewTextBoxColumnTest.cs
4,060
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * 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 r...
35.308564
167
0.50066
[ "BSD-3-Clause" ]
joseenriquegomezrodriguez/opensim
OpenSim/Framework/Util.cs
140,175
C#
using Platform.Network.ExtensibleServer; using Platform.Network.ExtensibleServer.CommandServer; namespace Platform.VirtualFileSystem.Network.Text.Server { [TextCommandSpecification("GETPOSITION", RandomAccessRunLevel.NAME)] public class GetPositionCommandProcessor : FileSystemTextCommandProcessorWithOptions...
23.965517
70
0.752518
[ "BSD-3-Clause" ]
MarcelRaschke/Platform.VirtualFileSystem
src/Platform.VirtualFileSystem.Network.Text.Server/GetPositionCommandProcessor.cs
695
C#
// Copyright (c) Peter Vrenken. All rights reserved. See the license on https://github.com/vrenken/EtAlii.Ubigia namespace EtAlii.Ubigia.Api.Functional.Antlr { using EtAlii.Ubigia.Api.Functional.Context; public partial class UbigiaVisitor { public override object VisitSchema(UbigiaParser.SchemaCon...
38.516129
147
0.630653
[ "MIT" ]
vrenken/EtAlii.Ubigia
Source/Api/EtAlii.Ubigia.Api.Functional.Antlr/UbigiaVisitor.Schema.cs
1,194
C#
using System; namespace SubstituteUnitTests.Models { public interface IParameter { string Name { get; } Type Type { get; } object Value { get; set; } } }
17.363636
36
0.581152
[ "MIT" ]
RotemKir/SubstituteUnitTests
SubstituteUnitTests/Models/IParameter.cs
193
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
35.354839
85
0.538321
[ "MIT" ]
wee2tee/XPump
XPump/Model/shiftsttak.cs
1,096
C#
using TradeProcessing.Configuration.Service; namespace TradeProcessing.Configuration { public class AppConfig { public TradeProcessingServiceSettings TradeProcessingService { get; set; } } }
21.3
82
0.755869
[ "Apache-2.0" ]
SC-Poc/Service.TradeProcessing
src/TradeProcessing/Configuration/AppConfig.cs
215
C#
using FeatureSwitcher.Configuration; using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; namespace FeatureSwitcher.VstsConfiguration.Tests { [TestClass] public class ConfigureVstsTests { [TestMethod] public void ConfigureVsts_features_can_be_configured...
31.157534
91
0.575291
[ "MIT" ]
6heads/FeatureSwitcher.VstsConfiguration
test/FeatureSwitcher.VstsConfiguration.Tests/ConfigureVstsTests.cs
4,551
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("Log...
37.72973
84
0.748567
[ "MIT" ]
VanHakobyan/ISTC_Coding_School
ISTC.FirtStage/ISTC.FirtsStage.LogicOperators/Properties/AssemblyInfo.cs
1,399
C#
using AssetsTools.NET; public class Constants { public static readonly uint[] editDifferScriptNEHash = new uint[] { 0x6eb46069, 0x5eda7d6c, 0xbfd0ce46, 0xadf887b5 }; public static readonly uint[] sceneMetadataScriptNEHash = new uint[] { 0x993f3608, 0x2cc0f87e, 0xca6371c5, 0x4ed77624 }; //315b6d24636691245...
39.90625
124
0.776038
[ "MIT" ]
asyncrun/HKWorldEdit2
Assets/Editor/Bundler/Constants.cs
1,279
C#
using Microsoft.AspNetCore.Http.Features; using Microsoft.AspNetCore.SignalR; using Newtonsoft.Json; using ReserveBlockCore.Data; using ReserveBlockCore.Models; using ReserveBlockCore.Services; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Security; using System....
34.433579
164
0.467717
[ "MIT" ]
treyhicks236/ReserveBlockCore
ReserveBlockCore/P2P/P2PServer.cs
18,665
C#
/// <summary> /// Author: Krzysztof Dobrzyński /// Project: Chemistry.NET /// Source: https://github.com/Sejoslaw/Chemistry.NET /// </summary> namespace Chemistry.NET.Particles.Models { public partial class Fermion : Particle { public int Generation { get; } public Fermion(string name, string ...
25
107
0.634
[ "MIT" ]
Sejoslaw/Chemistry.NET
Chemistry.NET/Particles/Models/Fermion.cs
501
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("NC...
37.702703
84
0.743369
[ "Apache-2.0" ]
elyor0529/NCR
NCR.Library/Properties/AssemblyInfo.cs
1,398
C#
using UnityEngine; using UnityEngine.Rendering; using UnityEngine.Rendering.Universal; using UnityEngine.Rendering.Universal.PostProcessing; using UnityEngine.Scripting; // Mercilessly cannibalised from the tutorial on https://github.com/yahiaetman/URPCustomPostProcessingStack // lowkey kinda bullshit how I have to u...
36.903226
195
0.806381
[ "MIT" ]
Phanty133/VITC2021
Assets/Scripts/Post Processing/DamageEffect.cs
2,288
C#
// 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 writing, software distributed under the ...
48.484586
171
0.604705
[ "Apache-2.0" ]
HamidMosalla/google-api-dotnet-client
Src/Generated/Google.Apis.Cloudbilling.v1/Google.Apis.Cloudbilling.v1.cs
100,654
C#
namespace DriveManip { public class MetaCharacterdisplay { public Google.Apis.Drive.v3.Data.File MetaFile { get; set; } public string CharacterName { get; set; } } }
24.25
68
0.649485
[ "Unlicense" ]
Angelsinhbfs/googleDocsDownload
DriveManip/DriveManip/MetaCharacterdisplay.cs
196
C#
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6365, generator: {generator}) // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Commvault.Powershell.Models { using Commvault.Powershell.Runtime.PowerShell; /// <summary> /// Applicable o...
114.523256
529
0.782668
[ "MIT" ]
Commvault/CVPowershellSDKV2
generated/api/Models/AzureCredentialContentWithTenantId.PowerShell.cs
19,698
C#
using System; namespace Mondop.Templates.Model { public class InputElement : TemplateElement { public InputElement(TemplateElement parent) : base(parent) { } public string Type { get; set; } public string Alias { get; set; } public Type ToType() { ...
18.142857
66
0.564304
[ "Apache-2.0" ]
MondopDotCom/Mondop.Templates
src/Mondop.Templates/Mondop.Templates/Model/InputElement.cs
383
C#
// Copyright Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Collections.Generic; using UnityEngine; public class GazeSelection : MonoBehaviour { [HeaderAttribute("Gaze Search")] [Tooltip("Distance along the g...
46.185841
225
0.571757
[ "MIT" ]
Heron11/Heron
Assets/Scripts/Input/GazeSelection.cs
5,221
C#
using Matrix.Application.Common.Interfaces; using FluentValidation; using Microsoft.EntityFrameworkCore; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Matrix.Application.TodoLists.Commands.UpdateTodoList { public class UpdateTodoListCommandValidator : AbstractValidator<UpdateT...
34.5
125
0.67663
[ "MIT" ]
zuyuz/Matrix
src/Application/TodoLists/Commands/UpdateTodoList/UpdateTodoListCommandValidator.cs
1,106
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.Diagnostics; using System.Runtime.Serialization; using System.Xml; namespace System.ServiceModel.Syndication { [DataContract] public abstract class ServiceDocum...
33.737179
136
0.621129
[ "MIT" ]
2m0nd/runtime
src/libraries/System.ServiceModel.Syndication/src/System/ServiceModel/Syndication/ServiceDocumentFormatter.cs
10,526
C#
// Copyright 2017 DAIMTO ([Linda Lawton](https://twitter.com/LindaLawtonDK)) : [www.daimto.com](http://www.daimto.com/) // // 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.apa...
47.686411
503
0.596741
[ "Apache-2.0" ]
AhmerRaza/Google-Dotnet-Samples
Samples/DCM/DFA Reporting And Trafficking API/v2.7/ContentCategoriesSample.cs
13,688
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
36.316456
107
0.620077
[ "MIT" ]
FosterMichelle/azure-powershell
src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/NetworkWatcherAPITests.cs
2,793
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
31.637795
104
0.5482
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/Macie2/Generated/Model/DescribeClassificationJobResponse.cs
12,054
C#
using System; using EifelMono.Fluent.IO; using EifelMono.Fluent.NuGet; using EifelMono.Fluent.Test.XunitTests; using Xunit; using Xunit.Abstractions; namespace EifelMono.Fluent.Test.DotNetTests { #pragma warning disable IDE1006 // Naming Styles public class NugetTests : XunitCore { public NugetTests(I...
36.461538
125
0.596519
[ "MIT" ]
EifelMono/EifelMono.Fluent
src/EifelMono.Fluent.Test/DotNetTests/NugetTests.cs
1,898
C#
using System.Collections.Generic; using UnityEditor; using UnityEngine; namespace FMODUnity { [CustomEditor(typeof(StudioParameterTrigger))] public class StudioParameterTriggerEditor : Editor { StudioEventEmitter targetEmitter; SerializedProperty emitters; SerializedProperty trigge...
45.149351
167
0.495182
[ "MIT" ]
631-Infection-Team/infection
Assets/Plugins/FMOD/src/Editor/StudioParameterTriggerEditor.cs
6,955
C#
using CXUtils.Components; using UnityEditor; [CustomEditor( typeof( CharacterController2D ) )] public class CharacterController2DInspectorWindow : Editor { public override void OnInspectorGUI() { var charControl2D = (CharacterController2D)target; base.OnInspectorGUI(); if ( charCont...
32.423077
137
0.730724
[ "MIT" ]
AMAIOLAMO/CXUtils-Unity
Scripts/Editor/PlayerMovements/2D/Controller/CharacterController2DInspectorWindow.cs
845
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.Collections.Immutable; using System.Diagnostics; using System.Linq; using Microsoft.CodeAnalysis.CSharp.Symbol...
47.50675
239
0.567884
[ "Apache-2.0" ]
iseneirik/roslyn-pt
src/Compilers/CSharp/Portable/Binder/Semantics/OverloadResolution/OverloadResolution.cs
151,334
C#
using System.Drawing; namespace BezierDrawControlTest { public class SquareGrid { public SquareGrid() { Width = 5; Height = 5; OffsetX = 0; OffsetY = 0; GridColor = ColorTranslator.FromHtml("#FFFFFF"); } public int Wid...
19.177419
60
0.380151
[ "Apache-2.0" ]
KHCmaster/PPD
Win/BezierDrawControlTest/SquareGrid.cs
1,191
C#
// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.Azure.Devices.Routing.Core.Query.Builtins { using System; using System.Linq; using Microsoft.Azure.Devices.Routing.Core.Query.Types; using Microsoft.Azure.Devices.Routing.Core.Util; /// <summary> /// This adds support for vari...
39.942857
160
0.610157
[ "MIT" ]
CIPop/iotedge
edge-hub/src/Microsoft.Azure.Devices.Routing.Core/query/builtins/VarArgs.cs
1,398
C#
using System.ComponentModel; namespace Harmony.Models.Player { public class Resume : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; public long Id { get; set; } public string CurrentVolume { get; set; } public double CurrentPosition { get; s...
29.64
65
0.646424
[ "MIT" ]
EgoistDeveloper/Harmony
Harmony/Harmony/Models/Player/Entities/Resume.cs
743
C#
using System; using System.ComponentModel.DataAnnotations; using FileManagement.Common; using Microsoft.AspNetCore.Identity; namespace FileManagement.Entities { public class AppUser : IdentityUser { public AppUser() { this.Folder = Guid.NewGuid(); } [Required] ...
23.517241
50
0.648094
[ "MIT" ]
KaloyanSimitchiyski/aws-s3-management
FileManagement/Entities/AppUser.cs
684
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...
40.621622
85
0.733866
[ "Unlicense", "MIT" ]
peterbucher/silkveil
silkveil.net EBC Prototype by Golo/silkveil.net.ContentSources.File.Tests/Properties/AssemblyInfo.cs
1,506
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Linq; namespace Moq.AutoMock.Tests { [TestClass] public class DescribeCreateInstance { [TestMethod] public void It_creates_object_with_no_constructor() { var mocker = new AutoMocker(); ...
35.808081
134
0.635825
[ "MIT" ]
blankenshipmq10k/Moq.AutoMocker
Moq.AutoMock.Tests/DescribeCreateInstance.cs
3,547
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("h3...
37.324324
84
0.742216
[ "Apache-2.0" ]
AskoVaananen/Csharp-ohjelmointi
h3t1/h3t1/h3t4/Properties/AssemblyInfo.cs
1,384
C#
// This file is part of Dipol-3 Camera Manager. // MIT License // // Copyright(c) 2018-2019 Ilia Kosenkov // // 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 Softw...
45.954545
103
0.71365
[ "MIT" ]
Ilia-Kosenkov/DIPOL-UF
src/DIPOL-UF/Converters/ValidationErrorsToStringValueConverter.cs
2,024
C#
using System; namespace Pulse.Sensor { /// <summary> /// A sensor which forwards a signal to a given action. /// </summary> public sealed class SnsAct : ISensor { private readonly Action<ISignal> act; private readonly Func<bool> isAlive; private readonly Func<bool> isActive...
25.596154
92
0.525169
[ "MIT" ]
g00fy88/Poof
src/Pulse/Sensor/SnsAct.cs
1,333
C#
//----------------------------------------------------------------------- // <copyright file="TestKit.cs" company="Akka.NET Project"> // Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net> // </copyright> //-----...
38.360902
143
0.551352
[ "Apache-2.0" ]
uQr/akka.net
src/contrib/testkits/Akka.TestKit.Xunit/TestKit.cs
5,104
C#
using Khooversoft.Toolbox.Configuration; using Khooversoft.Toolbox.Standard; namespace MessageHub.NameServer { public class BlobRepositoryDetails { public string ContainerName { get; set; } = null!; public string Connection { get; set; } = null!; public void Verify() { ...
24.631579
70
0.643162
[ "MIT" ]
khooversoft/Toolbox.Core
Src/Dev/MessageNet/MessageNet.NameServer/Application/BlobRepository.cs
470
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
34.684211
112
0.610521
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/WAFRegional/Generated/Model/CreateIPSetRequest.cs
3,954
C#
using UnityEngine; namespace Game { public class TouchMovement : ScreenMovement { protected override bool TryGetInput(out Vector2 input) { if (Input.touchCount > 0) { input = Input.touches[0].position; return true; } ...
19.25
62
0.496104
[ "CC0-1.0" ]
DesDeaDer/GameLikeAsArchHero
Assets/Scripts/MovementInputs/TouchMovement.cs
387
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;...
24.117647
61
0.715854
[ "MIT" ]
jackfiled/PostCalendarWindows
PostCalendarWindows/Setting/UserControlSettingItem.xaml.cs
832
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.Management.Storage.Models { public partial class ChangeFeed : IUtf8JsonSerializable { void IUtf8JsonSeriali...
27.311111
77
0.531326
[ "MIT" ]
AzureDataBox/azure-sdk-for-net
sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/Models/ChangeFeed.Serialization.cs
1,229
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.IO; using System.Text; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.Razor.Internal; using Microsoft.AspNetCore.Razor....
40.708333
130
0.646366
[ "Apache-2.0" ]
aneequrrehman/Mvc
test/WebSites/RazorPageExecutionInstrumentationWebSite/TestRazorCompilationService.cs
1,954
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
28.563636
101
0.612349
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/SimpleWorkflow/Generated/Internal/AmazonSimpleWorkflowMetadata.cs
1,571
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; namespace DEMO_WebAPI_NET { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API configuration and services // Web API routes ...
23.6
62
0.583051
[ "MIT" ]
StefanIordache/Laborator-DAW
solutions/DEMO-WebAPI-NET/App_Start/WebApiConfig.cs
592
C#
// The MIT License (MIT) // // Copyright (c) Andrew Armstrong/FacticiusVir & xuri 2021 // // 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 limitatio...
33.567797
112
0.606665
[ "MIT" ]
xuri02/SharpVk
src/SharpVk/Khronos/DisplayProperties.gen.cs
3,961
C#
using System; using System.Collections; using System.ComponentModel; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Data; using UWPApp = Windows.UI.Xaml.Application; using UWPDataTemplate = Windows.UI.Xaml.DataTemplate; using WScrollBarVisibility = Windows.UI.Xaml.Controls.ScrollBarVisibility; using WScrollMode...
30.00947
178
0.757715
[ "MIT" ]
in-situ-inc/Xamarin.Forms
Xamarin.Forms.Platform.UAP/CollectionView/CarouselViewRenderer.cs
15,847
C#
namespace Microsoft.Maui.Controls { public partial class Slider : ISlider { IImageSource ISlider.ThumbImageSource => ThumbImageSource; void ISlider.DragCompleted() { (this as ISliderController).SendDragCompleted(); } void ISlider.DragStarted() { (this as ISliderController).SendDragStarted(); } ...
18
60
0.728395
[ "MIT" ]
3DSX/maui
src/Controls/src/Core/HandlerImpl/Slider.Impl.cs
324
C#
using System; namespace AntColony { #if WINDOWS || XBOX static class Program { /// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Game1 game = new Game1()) { ...
17.5
54
0.431169
[ "MIT" ]
wahabjawed/Ant-Colony-Simulation
AntColony/AntColony/AntColony/Program.cs
385
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...
46.895161
178
0.678934
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/IoTAnalytics/Generated/Model/LimitExceededException.cs
5,815
C#
using adminlte.Helpers; using iTextSharp.text; using iTextSharp.text.pdf; using Rotativa; using Rotativa.Options; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Web; using System.Web.Mvc; namespace adminlte.Controllers { public class ExamplesController : Controlle...
23.153846
116
0.486948
[ "MIT" ]
Raghavendrssnk/PDFMerger
adminlte/Controllers/ExamplesController.cs
2,109
C#
using Kingmaker.Blueprints; using Kingmaker.Blueprints.Classes; using Kingmaker.Blueprints.Classes.Prerequisites; using Kingmaker.Designers.Mechanics.Facts; using TabletopTweaks.Config; using TabletopTweaks.Extensions; using TabletopTweaks.Utilities; namespace TabletopTweaks.NewContent.Feats { static class Celest...
60.666667
164
0.642465
[ "MIT" ]
1onepower/WrathMods-TabletopTweaks
TabletopTweaks/NewContent/Feats/CelestialServant.cs
2,554
C#
// Copyright (c) 2019, WebsitePanel-Support.net. // Distributed by websitepanel-support.net // Build and fixed by Key4ce - IT Professionals // https://www.key4ce.com // // Original source: // Copyright (c) 2015, Outercurve Foundation. // All rights reserved. // // Redistribution and use in source and binary f...
40.987654
174
0.667169
[ "BSD-3-Clause" ]
Key4ce/Websitepanel
WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/OrganizationMenu.ascx.cs
3,320
C#
namespace Renci.SshNetCore.Messages.Connection { /// <summary> /// Represents "x11-req" type channel request information /// </summary> internal class X11ForwardingRequestInfo : RequestInfo { private byte[] _authenticationProtocol; /// <summary> /// Channel request name ...
32.529851
115
0.540491
[ "MIT" ]
rintindon/SSH.NET.dotnetcore
src/Renci.SshNet.Core/Messages/Connection/ChannelRequest/X11ForwardingRequestInfo.cs
4,361
C#
using System.Collections.Generic; namespace Microsoft.Dafny { public class FunctionCallSubstituter : Substituter { public readonly Function A, B; public FunctionCallSubstituter(Expression receiverReplacement, Dictionary<IVariable, Expression/*!*/>/*!*/ substMap, Function a, Function b) : base(receiverR...
42.78125
144
0.673484
[ "MIT" ]
Anjiang-Wei/dafny
Source/Dafny/Verifier/FunctionCallSubstituter.cs
1,369
C#
// // This file manually written from cef/include/internal/cef_types.h. // C API name: cef_drag_operations_mask. // #pragma warning disable 1591 // ReSharper disable once CheckNamespace namespace Xilium.CefGlue { using System; /// <summary> /// "Verb" of a drag-and-drop operation as negotiated between the...
25.178571
80
0.625532
[ "MIT", "BSD-3-Clause" ]
NovusTheory/Chromely
src/Chromely.CefGlue/CefGlue/Enums/CefDragOperationsMask.cs
707
C#
namespace WasaKredit.Client.Dotnet.Sdk.Contracts { public class CartItem { public string ProductId { get; set; } public string ProductName { get; set; } public Price PriceExVat { get; set; } public int Quantity { get; set; } public string VatPercentage { get; set; } ...
21
49
0.597619
[ "MIT" ]
wasakredit/dotnet-checkout-sdk
src/WasaKredit.Client.Dotnet.Sdk/Contracts/CartItem.cs
422
C#
using Newtonsoft.Json; namespace AuroraNative { /// <summary> /// 群系统消息 - 进群消息列表 抽象类 /// </summary> public sealed class JoinRequest : BaseRequest { #region --属性-- /// <summary> /// 请求者 /// </summary> [JsonProperty(PropertyName = "requester_uin")] pu...
20.515152
55
0.524372
[ "Apache-2.0" ]
fossabot/AuroraNative
AuroraNative/Abstract/Groups/SystemMessage/JoinRequest.cs
735
C#
namespace Calculator_CSharp.Models { public class Calculator { public Calculator(decimal leftOperand, decimal rightOperand, string @operator) { LeftOperand = leftOperand; RightOperand = rightOperand; Operator = @operator; Result = 0; } ...
24.865385
86
0.46249
[ "MIT" ]
Supbads/Softuni-Education
08 SoftwareTechnologies 06.17/Software-Technologies/asp.net/01. Calculator/Calculator-CSharp/Models/Calculator.cs
1,295
C#