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 |
|---|---|---|---|---|---|---|---|---|
// This file may be edited manually or auto-generated using IfcKit at www.buildingsmart-tech.org.
// IFC content is copyright (C) 1996-2018 BuildingSMART International Ltd.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentMo... | 24.789474 | 97 | 0.746285 | [
"Unlicense",
"MIT"
] | BuildingSMART/IfcDoc | IfcKit/schemas/IfcStructuralElementsDomain/IfcTendonTypeEnum.cs | 942 | C# |
using System.IO;
using NUnit.Framework;
using Solutionizer.Models;
using Solutionizer.Services;
using Solutionizer.ViewModels;
namespace Solutionizer.Tests {
[TestFixture]
public class SolutionViewModelTests : ProjectTestBase {
private readonly ISettings _settings;
private readonly I... | 43.983051 | 161 | 0.665896 | [
"MIT"
] | thoemmi/Solutionizer | Solutionizer.Tests/SolutionViewModelTests.cs | 2,539 | C# |
using AutoFixture;
namespace Framework.Extensions.Fixture;
public static class FixtureExtensions
{
public static AutoFixture.Fixture IgnoreCircular(this AutoFixture.Fixture fixture)
{
fixture.Behaviors.Remove(new ThrowingRecursionBehavior());
fixture.Behaviors.Add(new OmitOnRecursionBehavior(... | 28.894737 | 86 | 0.723133 | [
"BSD-3-Clause"
] | byCrookie/Framework | src/Framework/Extensions/Fixture/FixtureExtensions.cs | 551 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Blockycraft.World.Chunk
{
public sealed class ChunkBlocks : IEnumerable<BlockType>
{
public BlockType[,,] Blocks { get; }
public int Length => Blocks.GetLength(0);
public int Height => Bl... | 28.731343 | 69 | 0.465455 | [
"MIT"
] | blockycraft/blockycraft | blockycraft/Assets/Engine/Spatial/ChunkBlocks.cs | 1,927 | C# |
namespace FormatValidator
{
using System.Collections.Generic;
public interface ISourceReader
{
IEnumerable<string> ReadLines(string rowSeperator);
}
}
| 16.181818 | 59 | 0.702247 | [
"MIT"
] | alexander-sml/csv-validator | src/Validate.Lib/ISourceReader.cs | 180 | C# |
namespace UblTr.Common
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2... | 52.454545 | 176 | 0.774697 | [
"MIT"
] | enisgurkann/UblTr | Ubl-Tr/Common/CommonBasicComponents/LimitationDescriptionType.cs | 577 | C# |
using Azimuth.DataProviders.Interfaces;
using Azimuth.Infrastructure.Concrete;
namespace Azimuth.DataProviders.Concrete
{
//public class MusicServiceWorkUnit : IMusicServiceWorkUnit
//{
// private readonly IMusicServiceFactory _musicServiceFactory;
// public MusicServiceWorkUnit(IMusicServiceFa... | 30.157895 | 79 | 0.675393 | [
"MIT"
] | DmitrijDN/Azimuth | Azimuth/DataProviders/Concrete/MusicServiceWorkUnit.cs | 575 | C# |
using System;
using AdjacentProduct;
using Xunit;
namespace AdjacentProductTests
{
public class UnitTest1
{
[Fact]
public void LargestValue1()
{
int[,] dataSet = new int[,] { { 1, 2, 1 }, { 2, 4, 2 }, { 3, 6, 8 }, { 7, 8, 1 } };
Assert.Equal(64, Program.LargestP... | 24.277778 | 107 | 0.45881 | [
"MIT"
] | ericsingletonjr/Data-Structures-and-Algorithms | First_Iteration/Challenges/AdjacentProduct/AdjacentProductTests/UnitTest1.cs | 874 | C# |
using System;
using System.IO;
namespace ReadAoe2Recrod
{
public partial class Aoe2Record
{
public string GameVersion;
public double SaveVersion;
public bool IsDE = false;
public double Version;
private void ReadVersion(BinaryReader reader)
{
... | 31.678571 | 68 | 0.582864 | [
"MIT"
] | Aoe2Overlay/Aoe2DEOverlay | Aoe2DEOverlay/Parser/Aoe2Record.Version.cs | 887 | C# |
namespace ExampleApi
{
// ReSharper disable once UnusedMember.Global
public record HeadersReceived(ExternalCorrelation External, InternalCorrelation Internal, IAllCorrelation All);
}
| 27.428571 | 115 | 0.8125 | [
"MIT"
] | stevetalkscode/TypedHttpHeaders | example/ExampleApi/HeadersReceived.cs | 192 | C# |
#if NGUI
using System;
using System.Collections.Generic;
using UnityEngine;
using Renko.Utility;
using Renko.LapseFramework;
namespace Renko.MVCFramework
{
/// <summary>
/// The base class of all MVC view components.
/// </summary>
public class BaseMvcView : MonoBehaviour, IMvcView {
/// <summary>
/// Just... | 26.878049 | 109 | 0.669147 | [
"MIT"
] | jerryrox/Renko-L | Framework/MVC/BaseMvcView.cs | 5,512 | C# |
using System;
namespace Discord.Json.Objects.Guilds
{
public class IntegrationObject
{
public ulong id;
public string name;
public string type;
public bool enabled;
public bool syncing;
public ulong role_id;
public int expire_behavior;
public int... | 23.3 | 48 | 0.645923 | [
"MIT"
] | QuiCM/Discord-Core-Objects | Json/Objects/Guilds/IntegrationObject.cs | 468 | C# |
using System.ComponentModel.DataAnnotations;
namespace ApiScanner.Entities.Models
{
public class ConfigurationModel
{
/// <summary>
/// Name of config.
/// </summary>
[Key]
[MaxLength(50)]
public string Name { get; set; }
/// <summary>
/// Value... | 20.47619 | 45 | 0.525581 | [
"MIT"
] | icehowler/ApiScanner | ApiScanner.Entities/Models/ConfigurationModel.cs | 432 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LCU.NET
{
public enum InitializeMethod
{
CommandLine,
Lockfile
}
}
| 14.866667 | 33 | 0.695067 | [
"MIT"
] | Chobocharles/LCU.NET | InitializeMethod.cs | 225 | C# |
using Phantasma.Cryptography;
using Phantasma.Numerics;
namespace Phantasma.Domain
{
public enum AccountTrigger
{
OnMint, // address, symbol, amount
OnBurn, // address, symbol, amount
OnSend, // address, symbol, amount
OnReceive, // address, symbol, amount
OnWitness, //... | 32.903226 | 117 | 0.670098 | [
"MIT"
] | merl111/PhantasmaChain | Phantasma.Domain/DomainSettings.cs | 2,042 | C# |
// Copyright (c) 2017 Jan Pluskal
//
//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 ... | 41.591837 | 183 | 0.648348 | [
"Apache-2.0"
] | pokornysimon/NetfoxDetective | NetfoxCore/Detective/App/Analyzers/AnalyzerAppIdent/ViewModels/ProtocolModelsClusteringVm.cs | 6,116 | 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... | 62.239234 | 3,762 | 0.63238 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/DynamoDBv2/Generated/Model/AttributeValueUpdate.cs | 13,008 | C# |
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Configuration;
using osu.Framework.Platform;
namespace osu.Game.Screens.Tournament.Components
{
public class DrawingsConfigManager : In... | 26.258065 | 93 | 0.62285 | [
"MIT"
] | AtomCrafty/osu | osu.Game/Screens/Tournament/Components/DrawingsConfigManager.cs | 786 | C# |
// This sample, non-production-ready project that demonstrates how to detect when an Amazon Elastic Beanstalk
// platform's base AMI has been updated and starts an EC2 Image Builder Pipeline to automate the creation of a golden image.
// © 2021 Amazon Web Services, Inc. or its affiliates. All Rights Reserved.
// ... | 47.861111 | 193 | 0.677597 | [
"MIT-0"
] | aws-samples/elastic-beanstalk-image-pipeline-trigger | src/BeanstalkImageBuilderPipeline/AmiMonitor.cs | 3,447 | C# |
using UnityEngine;
using Unity.Burst;
using Unity.Collections;
using Unity.Entities;
using Unity.Jobs;
using Unity.Mathematics;
using Unity.Rendering;
using Unity.Transforms;
using UnityEditor;
using Random = Demo.Utils.Random;
namespace Demo.Systems
{
[AlwaysUpdateSystem]
[DisableAutoCreation]
public cla... | 34.66443 | 122 | 0.585286 | [
"MIT"
] | zulfajuniadi/unity-ecs-system-debugger | Assets/EntitySystemDebugger/Demo/Systems/SpawnEntitySystem.cs | 5,165 | C# |
using Alura.CoisasAFazer.Core.Models;
using MediatR;
namespace Alura.CoisasAFazer.Core.Commands
{
public class ObtemCategoriaPorId: IRequest<Categoria>
{
public ObtemCategoriaPorId(int idCategoria)
{
IdCategoria = idCategoria;
}
public int IdCategoria {... | 21.1875 | 58 | 0.628319 | [
"MIT"
] | deividt/alura_cursos_csharp | curso_testes_integracao/testes-integracao/src/Alura.CoisasAFazer.Core/Commands/ObtemCategoriaPorId.cs | 341 | C# |
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Nop.Core.Configuration
{
/// <summary>
/// Represents distributed cache configuration parameters
/// </summary>
public partial class DistributedCacheConfig : IConfig
{
/// <summary>
/// Gets or sets a distributed ca... | 37.378378 | 130 | 0.632683 | [
"CC0-1.0"
] | peterthomet/BioPuur | nopCommerce 4.4/src/Libraries/Nop.Core/Configuration/DistributedCacheConfig.cs | 1,385 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace Tizen.NUI
{
internal static partial class Interop
{
internal static partial class Renderer
{
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Renderer_Range_BA... | 70.851351 | 174 | 0.759012 | [
"Apache-2.0",
"MIT"
] | bshsqa/TizenFX | src/Tizen.NUI/src/internal/Interop/Interop.Renderer.cs | 10,488 | C# |
using PnP.Framework.Entities;
using PnP.Framework.Graph;
using PnP.PowerShell.Commands.Attributes;
using PnP.PowerShell.Commands.Base;
using PnP.PowerShell.Commands.Base.PipeBinds;
using System;
using System.IO;
using System.Management.Automation;
namespace PnP.PowerShell.Commands.Microsoft365Groups
{
[Cmdlet(Ver... | 35.058252 | 145 | 0.557463 | [
"MIT"
] | manishsati/powershell | src/Commands/Microsoft365Groups/SetMicrosoft365Group.cs | 3,613 | 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.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Formatters.Binary;
using Xunit;
namesp... | 42.43595 | 214 | 0.606699 | [
"MIT"
] | 71221-maker/runtime | src/libraries/System.Collections/tests/Generic/Dictionary/Dictionary.Tests.cs | 20,539 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace WinRT
{
[EditorBrowsable(EditorBrowsableState.Never)]
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public sealed class ProjectedRuntimeClassAttribute : Attribute
... | 34.765957 | 193 | 0.718482 | [
"MIT"
] | angelazhangmsft/CsWinRT | WinRT.Runtime/Attributes.cs | 1,636 | C# |
using Mosa.Runtime;
using System;
using System.Collections.Generic;
namespace Mosa.External.x86
{
public static class Impl
{
public static string[] Split(this string s, char c)
{
string str = s;
List<string> ls = new List<string>();
int indx;
w... | 23.066667 | 60 | 0.455202 | [
"Unlicense"
] | SartoxOnlyGNU/MOSA-Core | Source/Mosa.External.x86/Impl.cs | 694 | C# |
namespace WildernessCallouts.Callouts
{
using Rage;
using Rage.Native;
using LSPD_First_Response.Mod.API;
using LSPD_First_Response.Mod.Callouts;
using System.Drawing;
using WildernessCallouts.Types;
[CalloutInfo("IllegalHunting", CalloutProbability.Medium)]
internal class IllegalHunti... | 47.525386 | 298 | 0.585257 | [
"MIT"
] | EvolutionaryCode/Wilderness-Callouts | src/Callouts/IllegalHunting.cs | 21,531 | C# |
namespace Gu.Units.Benchmarks
{
using System.Globalization;
using BenchmarkDotNet.Attributes;
[MemoryDiagnoser]
public class Parse
{
[Benchmark(Baseline = true)]
public double DoubleParse()
{
return double.Parse("1.2", CultureInfo.InvariantCulture);
}
... | 20.695652 | 71 | 0.588235 | [
"MIT"
] | GuOrg/Gu.Units | Gu.Units.Benchmarks/Benchmarks/Parse.cs | 478 | C# |
namespace MassTransit.Pipeline.Pipes
{
using System;
using System.Threading.Tasks;
using Context.Converters;
using GreenPipes;
public class ConsumeObserverAdapter :
IFilterObserver
{
readonly IConsumeObserver _observer;
public ConsumeObserverAdapter(IConsumeObserver ob... | 27.47619 | 105 | 0.64067 | [
"ECL-2.0",
"Apache-2.0"
] | MathiasZander/ServiceFabricPerfomanceTest | src/MassTransit/Pipeline/Pipes/ConsumeObserverAdapter.cs | 1,731 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.Devices.Common;
using Microsoft.Azur... | 37.284024 | 154 | 0.60054 | [
"MIT"
] | brycewang-microsoft/azure-iot-sdk-csharp | provisioning/service/src/Manager/EnrollmentGroupManager.cs | 6,303 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class SausagMan : MonoBehaviour
{
public List<AudioClip> clips;
public bool hasCarrot, hasSausage, hasLemon = false;
// Start is called before the first frame update
void Start()
{
... | 24.633803 | 131 | 0.547742 | [
"MIT"
] | SiiMeR/WorldEater | Assets/SausagMan.cs | 1,749 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Exten... | 29.967742 | 143 | 0.61141 | [
"MIT"
] | kasuken/Shooty | src/Shooty/Shooty.Web/Startup.cs | 1,858 | 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... | 35.438202 | 107 | 0.638871 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/SimpleEmailV2/Generated/Model/DeleteConfigurationSetEventDestinationRequest.cs | 3,154 | C# |
namespace StreamMarkers
{
public class ConstantsBase
{
public static readonly string CLIENT_ID = "";
public static readonly string CLIENT_SECRET = "";
}
public partial class Constants : ConstantsBase
{
}
} | 20.583333 | 57 | 0.647773 | [
"MIT"
] | aplulu/StreamMarkers | Constants.cs | 249 | C# |
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Media;
using Avalonia.Platform;
using Avalonia.Rendering.SceneGraph;
using Avalonia.Skia;
using SimpleDraw.Avalonia;
using SimpleDraw.Skia;
using SimpleDraw.View... | 34.266284 | 142 | 0.439481 | [
"MIT"
] | wieslawsoltes/SimpleDraw | SimpleDraw/Controls/SimpleCanvas.cs | 17,889 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace LAB_05
{
public partial class Form1 : Form
{
public Form1()
... | 39.376812 | 214 | 0.587045 | [
"MIT"
] | kawsarahamad/SWE4202 | LAB-05/LAB-05/Form1.cs | 2,719 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace CollectionsNamespace {
public class QueueExample {
static void Main(string[] args) {
// CONSTRUCTORS
Queue<char> charQ = new Queue<char>();
Queue<double> doubleQ = new Queue<double>(Enumerable... | 42.446154 | 124 | 0.550924 | [
"MIT"
] | Fennec2000GH/Software_Engineering_Interview | src/C# Examples/Collections/QueueExample.cs | 2,761 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Windows.Forms;
namespace TerraViewer
{
public class FilterGraphTool : IUiController
{
SpreadSheetLayer layer = null;
int domainColumn = -1;
public int DomainColumn... | 34.58728 | 296 | 0.43748 | [
"MIT"
] | Carifio24/wwt-windows-client | WWTExplorer3d/FilterGraphTool.cs | 25,562 | C# |
using System;
using System.Collections.Generic;
namespace DotNext.Reflection
{
/// <summary>
/// Indicates that requested constructor doesn't exist.
/// </summary>
public sealed class MissingConstructorException : ConstraintViolationException
{
/// <summary>
/// Initializes a new e... | 38.153846 | 110 | 0.659946 | [
"MIT"
] | human33/dotNext | src/DotNext.Reflection/Reflection/MissingConstructorException.cs | 1,490 | C# |
using System;
namespace GitVersion
{
[Serializable]
public class WarningException : Exception
{
public WarningException(string message)
: base(message)
{
}
}
}
| 15.214286 | 47 | 0.58216 | [
"MIT"
] | AlexGoris-KasparSolutions/GitVersion | src/GitVersionCore/Model/Exceptions/WarningException.cs | 213 | C# |
using Azure.Storage.Blobs.Specialized;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
namespace CsvImporter.Services
{
class AzureReaderCsvService : IReaderService
{... | 27.514286 | 91 | 0.663551 | [
"MIT"
] | cristiantorres/CSVImporter | CsvImporter/Services/AzureReaderCsvService.cs | 965 | C# |
#pragma warning disable SA1300
using System.Collections.Generic;
namespace AudioBand.Settings.Models.V3
{
/// <summary>
/// The format for exported profiles.
/// </summary>
public class ProfileExportV3
{
/// <summary>
/// Gets or sets the version.
/// </summary>... | 24.636364 | 68 | 0.54797 | [
"MIT",
"BSD-3-Clause"
] | AudioBand/AudioBand | src/AudioBand/Settings/Models/v3/ProfileExportV3.cs | 544 | C# |
/*
* Prime Developer Trial
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Collections;
using System.Col... | 43.15528 | 229 | 0.619891 | [
"Apache-2.0"
] | factset/enterprise-sdk | code/dotnet/SecuritizedDerivativesAPIforDigitalPortals/v2/src/FactSet.SDK.SecuritizedDerivativesAPIforDigitalPortals/Model/InlineResponse2006InstrumentLifeCycleMaturity.cs | 6,948 | 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... | 30.882353 | 146 | 0.600635 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/DataFactory/V20170901Preview/Outputs/SparkSourceResponse.cs | 1,575 | C# |
using System;
using Zilon.Core.World;
namespace Zilon.Core.PersonModules
{
public class MovingModule : IMovingModule
{
private const int BASE_DEXTERITY = 10;
private const int COST_PER_DEXTERITY_UNIT = 1;
private readonly IAttributesModule _attributesModule;
private readonly ... | 31.483871 | 99 | 0.67623 | [
"MIT"
] | kreghek/Zilon_Roguelike | Zilon.Core/Zilon.Core/PersonModules/MovingModule.cs | 978 | C# |
using UnityEngine;
using System;
namespace Obi
{
[RequireComponent(typeof(Animator))]
[DisallowMultipleComponent]
public class ObiAnimatorController : MonoBehaviour
{
private Animator animator;
private float lastUpdate;
private float updateDelta;
public float UpdateDelta{
get{return updateDelta;}
}
... | 26.574074 | 128 | 0.726829 | [
"MIT"
] | Ultra-lion/Tajurbagah | Assets/Global Plugins/Obi/Scripts/Solver/ObiAnimatorController.cs | 1,437 | C# |
// <copyright file="IBlobRepository.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace Microsoft.Teams.Apps.EmployeeTraining.Repositories
{
using System.IO;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage.Blob;
/// <summary... | 40.864865 | 107 | 0.638889 | [
"MIT"
] | Prachii2020/EmployeeTraining20 | Source/Microsoft.Teams.Apps.EmployeeTraining/Repositories/Blob/IBlobRepository.cs | 1,514 | 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 ... | 17.72 | 95 | 0.626895 | [
"Apache-2.0"
] | brightness007/unofficial-aliyun-openapi-net-sdk | aliyun-net-sdk-cdn/Cdn/Model/V20180510/DescribeDomainFileSizeProportionDataResponse.cs | 3,101 | C# |
using Cumulocity.MQTT.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using static Cumulocity.MQTT.Client;
namespace Cumulocity.MQTT.Model
{
public class AlarmUpdateRequest : Request
{
private readonly AlarmFragment _alarmFragment;
priva... | 33.407407 | 195 | 0.593126 | [
"MIT"
] | SoftwareAG/cumulocity-clients-cs | DeviceSDK/MQTT/src/MQTT.Client.NetFramework/Model/AlarmUpdateRequest.cs | 1,806 | C# |
namespace Snyk.VisualStudio.Extension.UI.Toolwindow.SnykCode
{
using System.Windows.Input;
/// <summary>
/// Data flow step object for UI representation of SnykCode markers.
/// </summary>
public class DataFlowStep
{
/// <summary>
/// Gets or sets row number in source file.
... | 29.864407 | 110 | 0.548241 | [
"Apache-2.0"
] | snyk/snyk-visual-studio-plugin | Snyk.VisualStudio.Extension.Shared/Snyk/VisualStudio/Extension/UI/Toolwindow/SnykCode/DataFlowStep.cs | 1,764 | 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.837838 | 85 | 0.727209 | [
"MIT"
] | SevdalinZhelyazkov/TelerikAcademy | CSharp-Part-2/Arrays/FrequentNumber/Properties/AssemblyInfo.cs | 1,440 | C# |
using Blog.Core.Common;
using Blog.Core.IRepository.Base;
using Blog.Core.IServices;
using Blog.Core.Model.Models;
using Blog.Core.Services.BASE;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Blog.Core.Services
{
public class TopicDetailServices : BaseServices<TopicDetail>, ITopicDetai... | 27.5 | 87 | 0.654545 | [
"Apache-2.0"
] | hudingwen/Blog.Core | Blog.Core.Services/TopicDetailServices.cs | 680 | C# |
using System;
using System.Diagnostics;
using AliceServices;
using BobServices;
using CarolServices;
using IAliceServices;
using IBobServices;
using ICarolServices;
using Xunit;
namespace Zaaby.Shared.Test
{
public class UnitTest1
{
[Fact]
public void GetByAttribute()
{
var ... | 25.50495 | 82 | 0.632764 | [
"MIT"
] | Mutuduxf/Zaaby | tests/Zaaby.Shared.Test/LoadHelperTest.cs | 2,576 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace Surging.Core.CPlatform.Utilities
{
public class EnvironmentHelper
{
public static string GetEnvironmentVariable(string name)
{
return Environment.GetEnvironmentVariable(name);
}
public sta... | 25.526316 | 95 | 0.5 | [
"MIT"
] | haibinli/surging | src/Surging.Core/Surging.Core.CPlatform/Utilities/EnvironmentHelper.cs | 972 | C# |
using System;
using System.Linq;
using System.Reflection;
using UnityEditor.Build.Content;
namespace BundleKit.Utility
{
internal static class ReflectionExtensions
{
private static FieldInfo WriteResult_SerializedObjects;
private static FieldInfo WriteResult_ResourceFiles;
private st... | 44.821429 | 160 | 0.683134 | [
"MIT"
] | PassivePicasso/BundleKit | Editor/Utility/ReflectionExtensions.cs | 3,767 | C# |
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AntChain.SDK.BAASDT.Models
{
public class QueryIpCodeResponse : TeaModel {
// 请求唯一ID,用于链路跟踪和问题排查
[NameInMap("req_msg_id")]
[Validation(Required=fals... | 25.54 | 70 | 0.613156 | [
"MIT"
] | alipay/antchain-openapi-prod-sdk | baasdt/csharp/core/Models/QueryIpCodeResponse.cs | 1,389 | C# |
using LagoVista.IoT.DeviceManagement.Repos.Repos;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LagoVista.IoT.DeviceManagement.Core.Tests.PEMs
{
[TestClass]
public class PEMRecon... | 1,561.029412 | 35,367 | 0.644974 | [
"MIT"
] | LagoVista/DeviceManagement | tests/LagoVista.IoT.DeviceManagement.Core.Tests/PEMs/PEMReconstructionTests.cs | 53,077 | C# |
using NHyphenator.Loaders;
using NUnit.Framework;
namespace NHyphenator.Tests
{
public class FileLoaderTests
{
[Test]
public void LoadPatternsTest()
{
var loader = new FilePatternsLoader("./Resources/test_pat.txt");
var hyphenator = new Hyphenator(loader, "-");
... | 30.962963 | 103 | 0.595694 | [
"Apache-2.0"
] | SimUTZ/NHyphenator | NHyphenator.Tests/FileLoaderTests.cs | 866 | C# |
// Control|Controls3D|100010
namespace VRTK
{
using UnityEngine;
using UnityEngine.Events;
/// <summary>
/// All 3D controls extend the `VRTK_Control` abstract class which provides a default set of methods and events that all of the subsequent controls expose.
/// </summary>
[ExecuteInEditMode... | 33.592417 | 237 | 0.561653 | [
"MIT"
] | GeekLiB/VRTK | Assets/VRTK/Scripts/Controls/3D/VRTK_Control.cs | 7,090 | C# |
using System;
class MyName
{
static void Main()
{
Console.WriteLine("Kristina Tsvetkova");
}
}
| 13.272727 | 52 | 0.472603 | [
"MIT"
] | krismy/CSharp-One | HW_krismy_Vuvedenie-v-programiraneto_2015-01-16_15-57/Homework 1/Homework 1/Problem 5. Print Your Name/PrintMyName.cs | 148 | C# |
namespace Mpdn.PlayerExtensions
{
namespace GitHub
{
public partial class DisplayChangerConfigDialog : DisplayChangerConfigBase
{
public DisplayChangerConfigDialog()
{
InitializeComponent();
}
protected override void Lo... | 36.131579 | 91 | 0.585579 | [
"MIT"
] | Shiandow/PlayerExtensions | PlayerExtensions/DisplayChanger.ConfigDialog.cs | 1,375 | C# |
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using Newtonsoft.Json.Linq;
using Umbraco.Core;
using Umbraco.Core.Models;
using Umbraco.Core.Models.Editors;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
[SupportTags(typeof(TagPro... | 39.653465 | 285 | 0.567041 | [
"MIT"
] | AdrianJMartin/Umbraco-CMS | src/Umbraco.Web/PropertyEditors/TagsPropertyEditor.cs | 4,007 | C# |
using System;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Threading.Tasks;
using Xamarin.Forms;
using Lachlan.Visual.Sample.Models;
using Lachlan.Visual.Sample.Views;
namespace Lachlan.Visual.Sample.ViewModels
{
public class ItemsViewModel : BaseViewModel
{
public Ob... | 25.706897 | 94 | 0.511066 | [
"MIT"
] | lachlanwgordon/Lachlan.Visual | Source/Lachlan.Visual.Sample/ViewModels/ItemsViewModel.cs | 1,493 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using A... | 62.933162 | 480 | 0.681263 | [
"MIT"
] | KurnakovMaksim/azure-sdk-for-net | sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateDnsZoneGroupCollection.cs | 24,481 | C# |
using System;
using Microsoft.EntityFrameworkCore;
using MtdKey.Storage.DataModels;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MtdKey.Storage
{
public partial class RequestProvider : IDisposable
{
private async Task<List<NodePatternItem>> GetNodePatter... | 43.090909 | 118 | 0.50326 | [
"MIT"
] | mtdkey/storage | src/RequestProvider/Node/RequestProvider.NodeHelper.cs | 5,216 | C# |
#region CopyrightHeader
//
// Copyright by Contributors
//
// 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.txt
//
// Unless requ... | 27.37594 | 110 | 0.546965 | [
"Apache-2.0"
] | marcsommer/mdo | mdo/src/mdo/dao/hl7/segments/MshSegment.cs | 7,282 | C# |
/*
* Copyright 2010-2013 OBS.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
*
*
*
* or in the "license" file accompanying this fil... | 29.909091 | 80 | 0.729483 | [
"Apache-2.0"
] | huaweicloud/huaweicloud-sdk-net-dis | DotNet/eSDK_OBS_API/OBS.S3/Model/DeleteCORSConfigurationResponse.cs | 987 | C# |
using GameEstate.Core;
using System.Collections.Generic;
using System.IO;
namespace GameEstate.Formats.Binary.Tes.Records
{
public class LVSPRecord : Record
{
public override string ToString() => $"LVSP: {EDID.Value}";
public STRVField EDID { get; set; } // Editor ID
public B... | 39.111111 | 111 | 0.590909 | [
"MIT"
] | smorey2/GameEstate | src/GameExtensions/Tes/src/GameEstate.Extensions.Tes/Formats/Binary/Tes/Records/040-LVSP.Leveled Spell.cs | 1,058 | C# |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.Notifications
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public partial class ToastDismissedEventArgs... | 39.173913 | 146 | 0.752497 | [
"Apache-2.0"
] | AbdalaMask/uno | src/Uno.UWP/Generated/3.0.0.0/Windows.UI.Notifications/ToastDismissedEventArgs.cs | 901 | C# |
using ProtoBuf.Meta;
using ProtoBuf.Serializers;
using System;
using System.Text;
namespace ProtoBuf.Internal
{
partial class PrimaryTypeProvider :
IMeasuringSerializer<string>,
IMeasuringSerializer<int>,
IMeasuringSerializer<long>,
IMeasuringSerializer<bool>,
IMeasuringSer... | 59.705094 | 160 | 0.667939 | [
"Apache-2.0"
] | mgravell/protobuf-net | src/protobuf-net.Core/Internal/PrimaryTypeProvider.Primitives.cs | 22,272 | C# |
using System;
using System.Data.SqlClient;
using System.Linq;
using AutoMapper;
using ZNCHANY.Api.Entities;
using ZNCHANY.Api.Entities.Enums;
using ZNCHANY.Api.Extensions;
using ZNCHANY.Api.Extensions.AuthContext;
using ZNCHANY.Api.Extensions.CustomException;
using ZNCHANY.Api.Extensions.DataAccess;
using ZNCHANY.Api... | 39.616408 | 170 | 0.50417 | [
"Apache-2.0"
] | zazzlec/znchany | ZNCHANY.Api/Controllers/Api/ZNRS1/ch/DncchlistController.cs | 18,373 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OldiEraser.Common
{
public class DateTimeProvider : IDateTimeProvider
{
public DateTime Now => DateTime.Now;
}
}
| 18.714286 | 53 | 0.732824 | [
"MIT"
] | shoter/OldiEraser | OldiEraser.Common/DateTimeProvider.cs | 264 | C# |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Box.V2.Models
{
/// <summary>
/// Box representation of a retention assignment
/// </summary>
public class BoxRetentionPolicyAssignment : BoxEntity
{
public const string FieldRetentionPolicy = "reten... | 39.673469 | 117 | 0.643519 | [
"Apache-2.0"
] | box/box-windows-sdk-v2 | Box.V2/Models/BoxRetentionPolicyAssignment.cs | 1,944 | C# |
using GitVersion.BuildAgents;
using GitVersion.Common;
using GitVersion.Configuration;
using GitVersion.Extensions;
using GitVersion.Logging;
using GitVersion.VersionCalculation;
using GitVersion.VersionCalculation.Cache;
using GitVersion.VersionConverters;
using Microsoft.Extensions.DependencyInjection;
using Microsof... | 38.73913 | 94 | 0.745791 | [
"MIT"
] | GitTools/GitVersion | src/GitVersion.Core/GitVersionCoreModule.cs | 1,782 | C# |
namespace DocoptNet.Tests
{
using NUnit.Framework;
[TestFixture]
public class ShortOptionsErrorHandlingTests
{
[Test]
public void Duplicate()
{
Assert.Throws<DocoptLanguageErrorException>(
() => new Docopt().Apply("Usage: prog -x\nOptions: -x this\n ... | 26.351351 | 90 | 0.521026 | [
"MIT"
] | GerHobbelt/docopt.net | tests/DocoptNet.Tests/ShortOptionsErrorHandlingTests.cs | 975 | C# |
using Blazored.LocalStorage;
using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using Radzen.Blazor;
using Radzen.Blazor.GridColumnVisibilityChooser.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace Radzen.Blazor.... | 43.353909 | 163 | 0.583009 | [
"MIT"
] | Inspirare-LLC/Radzen.Blazor.GridColumnVisibilityChooser | Radzen.Blazor.GridColumnVisibilityChooser/RadzenGridColumnVisibilityChooser.razor.cs | 10,537 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Headless_Pi
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
... | 23.086957 | 66 | 0.585687 | [
"MIT"
] | lbussy/headless-pi | Headless Pi/Program.cs | 533 | C# |
/************************************************************************************
Copyright : Copyright 2014 Oculus VR, LLC. All Rights reserved.
Licensed under the Oculus VR Rift SDK License Version 3.2 (the "License");
you may not use the Oculus VR Rift SDK except in compliance with the License,
which... | 42.493666 | 245 | 0.586087 | [
"Apache-2.0"
] | lilshim/stock-market-visual | Assets/OVR/Scripts/OvrCapi.cs | 107,339 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace SharpIRC.API {
internal class Events {
internal void ChanMsg(IRCConnection connection, string message, string host, string channel) {
if (host.IsIgnored() || connection.DelayActive) return;
IRCUser newUser... | 50.280556 | 221 | 0.501851 | [
"Apache-2.0"
] | kibmcz/SharpIRC | SharpIRC/SharpIRC/API/Events.cs | 18,103 | C# |
//
// IFromRouter.cs
//
// Copyright (c) 2017 Couchbase, Inc 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.52381 | 100 | 0.677492 | [
"Apache-2.0"
] | Pio1006/couchbase-lite-net | src/Couchbase.Lite.Shared/API/Query/IFromRouter.cs | 1,326 | C# |
using PresentationBase;
using Sungaila.SUBSTitute.Core;
using Sungaila.SUBSTitute.ViewModels;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace Sungaila.SUBSTitute.Commands
{
public class BrowserRefreshDirectoryCommand
: ViewModelCommand<MainWindowViewModel>
... | 27.142857 | 103 | 0.703947 | [
"MIT"
] | DenisMtfl/SUBSTitute | Commands/BrowserRefreshDirectoryCommand.cs | 762 | C# |
/*
* Original author: Ali Marsh <alimarsh .at. uw.edu>,
* MacCoss Lab, Department of Genome Sciences, UW
* Copyright 2020 University of Washington - Seattle, WA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Li... | 35.439834 | 155 | 0.513172 | [
"Apache-2.0"
] | CSi-Studio/pwiz | pwiz_tools/Skyline/Executables/SharedBatch/SharedBatch/Properties/Settings.cs | 8,543 | 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... | 42.680851 | 351 | 0.680957 | [
"Apache-2.0"
] | pulumi/pulumi-kubernetes-crds | operators/seldon-operator/dotnet/Kubernetes/Crds/Operators/SeldonOperator/Machinelearning/V1/Inputs/SeldonDeploymentSpecPredictorsComponentSpecsSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsMatchFieldsArgs.cs | 2,006 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Diagnostics;
using System.Runtime;
using System.ServiceModel;
using System.ServiceModel.Diagnostics;
using System.ServiceModel.Diagnostics.Ap... | 29.913433 | 154 | 0.536374 | [
"MIT"
] | 777Eternal777/wcf | src/System.Private.ServiceModel/src/System/ServiceModel/Channels/RequestContextBase.cs | 10,021 | C# |
using Basement.BLFramework.Core.Context;
using Basement.BLFramework.Core.Util;
namespace Basement.BLFramework.Core.Model
{
public abstract class CollectionBase<TModel> : ModelBase where TModel : IModel
{
protected CollectionBase(string key, IContext context, IModel parent) : base(key, context, parent)... | 26.34375 | 106 | 0.569395 | [
"MIT"
] | planetouched/Unity3d_OEPFramework | Basement/BLFramework/Core/Model/CollectionBase.cs | 845 | C# |
// *****************************************************************************
//
// © Component Factory Pty Ltd, 2006 - 2016. All rights reserved.
// The software and associated documentation supplied hereunder are the
// proprietary information of Component Factory Pty Ltd, PO Box 1504,
// Glen Waverley, Vic... | 32.475962 | 104 | 0.592598 | [
"BSD-3-Clause"
] | Krypton-Suite-Legacy/Krypton-NET-5.460 | Source/Demos/Non-NuGet/Krypton Toolkit Examples/KryptonCheckButton Examples/Form1.cs | 6,758 | C# |
using System;
using System.Diagnostics;
using System.IO;
using Lucene.Net.Analysis.Tokenattributes;
using org.apache.lucene.analysis.util;
using Reader = System.IO.TextReader;
using Version = Lucene.Net.Util.LuceneVersion;
namespace Lucene.Net.Analysis.Util
{
/*
* Licensed to the Apache Software Foundation (ASF) ... | 29.016194 | 141 | 0.647272 | [
"Apache-2.0"
] | CerebralMischief/lucenenet | src/Lucene.Net.Analysis.Common/Analysis/Util/SegmentingTokenizerBase.cs | 7,169 | C# |
using System;
using System.IO;
using Krompaco.RecordCollector.Content.FrontMatterParsers;
using Krompaco.RecordCollector.Content.Models;
using Xunit;
namespace Krompaco.RecordCollector.Content.Tests
{
public class TomlTests
{
[Fact]
public void ParserTest()
{
string input =... | 33.126316 | 129 | 0.627582 | [
"MIT"
] | IsseMohamed/record-collector | tests/Krompaco.RecordCollector.Content.Tests/TomlTests.cs | 3,149 | C# |
using System.Linq;
using System.Collections.Generic;
using UIKit;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
using AzureBlobStorageSampleApp;
using AzureBlobStorageSampleApp.iOS;
//[assembly: ExportRenderer(typeof(ContentPage), typeof(ContentPageCustomRenderer))]
[assembly: ExportRenderer(typeof(Spec... | 32.464286 | 90 | 0.630363 | [
"MIT"
] | andrewchungxam/2019AzureBlobLocalOnly | AzureBlobStorageSampleApp.iOS/Custom Renderers/ContentPageCustomRenderer.cs | 1,820 | 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... | 44.351648 | 126 | 0.579286 | [
"Apache-2.0"
] | pulumi-bot/pulumi-azure-native | sdk/dotnet/NetApp/V20200701/Account.cs | 8,072 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Mi... | 77.920635 | 306 | 0.702893 | [
"MIT"
] | Agazoth/azure-powershell | src/ConnectedNetwork/generated/api/Models/Api20210501/PreviewSubscription.json.cs | 9,693 | C# |
using System.Collections.Generic;
using Scripts.Utilities;
using UnityEngine;
namespace Examples.UILineRenderer
{
[RequireComponent(typeof(Scripts.Primitives.UILineRenderer))]
public class LineRendererOrbit : MonoBehaviour
{
private Scripts.Primitives.UILineRenderer lr;
private Circle circ... | 25.725 | 88 | 0.533528 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | obkaul/VRTactileDraw | Assets/unity-ui-extensions/Examples/UILineRenderer/LineRendererOrbit.cs | 2,060 | C# |
using CMS.Base;
using Generic.Repositories.Interfaces;
using Generic.Services.Interfaces;
using System.ComponentModel.DataAnnotations;
namespace Generic.Attributes
{
/// <summary>
/// Checks if the password matches the current user's password. Used in Password reset.
/// </summary>
public class Curre... | 37.408163 | 121 | 0.625205 | [
"MIT"
] | HBSTech/Kentico13CoreBaseline | MVC/MVC/Resources/Attributes/CurrentUserPasswordValidAttribute.cs | 1,835 | C# |
namespace Masny.Microservices.Identity.Api.Contracts.Requests
{
/// <summary>
/// Register request.
/// </summary>
public class RegisterRequest
{
/// <summary>
/// Email.
/// </summary>
public string Email { get; set; }
/// <summary>
/// User... | 22.294118 | 62 | 0.472296 | [
"MIT"
] | MikhailMasny/awesome-microservices | src/Masny.Microservices.Identity.Api/Contracts/Requests/RegisterRequest.cs | 760 | C# |
namespace Sedati
{
partial class frmAbout
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param na... | 44.015038 | 165 | 0.58507 | [
"MIT"
] | ellivr/Sedati | Sedati/frmAbout.Designer.cs | 5,856 | C# |
using System.Timers;
namespace Hotel.Client.Extensions
{
public static class TimerExtensions
{
public static void Reset(this Timer timer)
{
timer.Stop();
timer.Start();
}
}
}
| 16.928571 | 50 | 0.561181 | [
"MIT"
] | PGBSNH19/project-grupp-1-hotel | Hotel.Client/Extensions/TimerExtensions.cs | 239 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Mi... | 70.596591 | 521 | 0.704225 | [
"MIT"
] | Agazoth/azure-powershell | src/ConnectedMachine/generated/api/Models/Api20210520/PrivateLinkScopesResource.PowerShell.cs | 12,250 | C# |
using System.Windows;
using System.Windows.Media;
namespace Quan.ControlLibrary
{
public static class FloatingTextHelper
{
private const double DefaultFloatingScale = 0.75;
private static readonly Point DefaultFloatingOffset = new Point(0, -15);
private const double DefaultHintOpacity ... | 38.945652 | 150 | 0.700809 | [
"MIT"
] | quanljh/Quan.ControlLibrary | src/Quan.ControlLibrary/AttachedProperties/FloatingTextHelper.cs | 3,585 | C# |
using System.Reflection;
using Abp.AspNetCore.TestBase;
using Abp.Configuration.Startup;
using Abp.Modules;
using Abp.AspNetCore.Configuration;
using Abp.AspNetCore.Mocks;
using Abp.Auditing;
using Abp.Localization;
namespace Abp.AspNetCore.App
{
[DependsOn(typeof(AbpAspNetCoreTestBaseModule))]
public class A... | 31.170732 | 107 | 0.668232 | [
"MIT"
] | mehmetozkaya/aspnetboilerplate | test/Abp.AspNetCore.Tests/App/AppModule.cs | 1,280 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.