max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
Homework/TechModule/ProgramingFundamentals-Normal/ExamPreparations/ExamPreparation3(first)/p01.SoftuniCoffeeOrders/StartUp.cs | GitHarr/SoftUni | 0 | 7051725 | <gh_stars>0
namespace p01.SoftuniCoffeeOrders
{
using System;
using System.Globalization;
public class StartUp
{
public static void Main()
{
int ordersCount = int.Parse(Console.ReadLine());
decimal allOrders = 0.0M;
for (int i = 0; i < ordersCount; ... |
src/Deviser.Modules/Deviser.Modules.ContentManagement/Services/LayoutTypeAdminService.cs | deviserplatform/deviserplatform | 3 | 7051726 | <filename>src/Deviser.Modules/Deviser.Modules.ContentManagement/Services/LayoutTypeAdminService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Deviser.Admin.Config;
using Deviser.Admin.Config.Filters;
using Deviser.Admin.Data;
using Deviser.Admin.Extensions;
u... |
Solaris.Web.CrewApi/Solaris.Web.CrewApi.Presentation/Migrations/20200501001155_FixColumnNames.cs | GagiuFilip1/Solaris.Web.CrewApi | 0 | 7051727 | <gh_stars>0
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Solaris.Web.CrewApi.Presentation.Migrations
{
public partial class FixColumnNames : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
... |
Xamarin.PropertyEditing.Mac/HostResourceProvider.cs | netonjm/Xamarin.PropertyEditing | 0 | 7051728 | <filename>Xamarin.PropertyEditing.Mac/HostResourceProvider.cs<gh_stars>0
using System;
using System.IO;
using AppKit;
using Foundation;
using ObjCRuntime;
namespace Xamarin.PropertyEditing.Mac
{
public class HostResourceProvider
: IHostResourceProvider
{
public NSAppearance CurrentAppearance
{
get;
set;
... |
test/FunctionalTests/Taupo/Source/Taupo/Contracts/ProcessOutput.cs | Sreejithpin/odata.net | 629 | 7051729 | //---------------------------------------------------------------------
// <copyright file="ProcessOutput.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//---------------------------------------... |
src/Vts.Test/Common/BindableTestClass.cs | VirtualPhotonics/VTS | 22 | 7051730 | <gh_stars>10-100
using System.ComponentModel;
namespace Vts.Test.Common
{
public class BindableTestClass : BindableObjectWithChangeTracking
{
private int _first;
private int _third;
public int First
{
get => _first;
set
{
Han... |
Assets/Plugins/8i/examples/assets/scripts/HvrRenderPerfUI.cs | bfrager/WonderBuffaloVR | 0 | 7051731 | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
namespace HVR
{
[ExecuteInEditMode]
public class HvrRenderPerfUI : MonoBehaviour
{
public Text textPerf;
public Text textResolution;
public HvrRender hvrRender;
public float updateTick = 0.2f;
... |
kendoui/wrappers/aspnetmvc/Examples/Areas/razor/Views/web/datepicker/index.cshtml | asajin/sf_accounting_001 | 1 | 7051732 | <gh_stars>1-10
<div id="email-settings">
<div style="margin-top: -6px; margin-left: 180px">
@(Html.Kendo().DatePicker()
.Name("datepicker")
.Value("10/10/2011")
.HtmlAttributes(new { style = "width:150px" })
)
</div>
<div style="margin-top: 59px; mar... |
SportsStore/Areas/Employee/Controllers/ProductsController.cs | SangMinhTruong/sports-store | 0 | 7051733 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using SportsStore.Data;
using SportsStore.Models;
using SportsStore.M... |
TelerivetAPIClient/Phone.cs | emkwanazi/telerivet-dotnet-client | 1 | 7051734 | <filename>TelerivetAPIClient/Phone.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
namespace Telerivet.Client
{
/**
Represents a phone or gateway that you use to send/receive messages via Telerivet.
Basic R... |
DataProfiler/Profiler.cs | dalenewman/DataProfiler | 5 | 7051735 | #region license
// Data Profiler
// Copyright © 2013-2018 <NAME>
//
// 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
//
// Unle... |
Library/Locust.Logging/NullLogger.cs | mansoor-omrani/Locust.NET | 1 | 7051736 | <filename>Library/Locust.Logging/NullLogger.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace Locust.Logging
{
public class NullLogger:BaseLogger
{
public NullLogger()
{
... |
Services/Orders/src/Services.Orders/Domain/Model/OrderItem.cs | vip32/aspnetcore-pact | 0 | 7051738 | <reponame>vip32/aspnetcore-pact
namespace Services.Orders.Domain
{
using System;
public class OrderItem
{
public string Title { get; internal set; }
public string Ean { get; internal set; }
public DateTime CreatedAt { get; internal set; } = DateTime.UtcNow;
public decima... |
src/Surging.Cloud/Surging.Cloud.System/Module/Attributes/ModelBinderTypeAttribute.cs | microserviceframe/surging.cloud-new | 0 | 7051739 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Surging.Cloud.System.Module.Attributes
{
/// <summary>
/// ModelBinderTypeAttribute 自定义特性类
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherite... |
Tests/GaeaTests.cs | Babblesort/GameOfLife | 0 | 7051741 | using Engine;
using NUnit.Framework;
using System;
namespace Tests
{
[TestFixture]
public class GaeaTests
{
[Test]
public void CanBeCreated()
{
var grid = new Grid();
var rules = new Rules();
var gaea = new Gaea(grid, rules);
Assert.... |
AspNetCore3WebApi/Infrastructure/Query/IQueryEntity.cs | thomascayne/AspNetCore3WebApi | 0 | 7051742 | namespace AspNetCore3WebApi.Infrastructure.Query
{
/// <summary>
/// Defines the <see cref="IQueryEntity{TResult}" /> interface
/// </summary>
/// <typeparam name="TResult">The generic result type</typeparam>
public interface IQueryEntity<TResult>
{
}
}
|
View/Components/SourceListControl.Designer.cs | sndnvaps/rtsp-camera-view | 137 | 7051743 | <filename>View/Components/SourceListControl.Designer.cs<gh_stars>100-1000
namespace View.Components
{
partial class SourceListControl
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary... |
test/In.ProjectEKA.HipServiceTest/Common/TestServer/AuthenticatedTestRequestMiddleware.cs | thanakritTW/hip-service | 1 | 7051744 | namespace In.ProjectEKA.HipServiceTest.Common.TestServer
{
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
public class AuthenticatedTestRequestMiddleware
{
private readonly RequestDelegate _next;
public AuthenticatedTestRequestMiddlewa... |
src/Moryx.ClientFramework/Dialog/MessageBoxImage.cs | slawor/MORYX-ClientFramework | 11 | 7051745 | <filename>src/Moryx.ClientFramework/Dialog/MessageBoxImage.cs
// Copyright (c) 2020, Phoenix Contact GmbH & Co. KG
// Licensed under the Apache License, Version 2.0
namespace Moryx.ClientFramework.Dialog
{
/// <summary>
/// Enum for possible message box image types which can be
/// displayed in the box
... |
src/CPS.Core/Dict/Dtos/RouteTypeInputDto.generated.cs | jiangyimin/CPS | 0 | 7051746 | <gh_stars>0
// -----------------------------------------------------------------------
// <auto-generated>
// 此代码由代码生成器生成。
// 手动更改此文件可能导致应用程序出现意外的行为。
// 如果重新生成代码,对此文件的任何修改都会丢失。
// 如果需要扩展此类:可遵守如下规则进行扩展:
// 1.横向扩展:如需添加额外的属性,可新建文件“RouteTypeInputDto.cs”的分部类“public partial class RouteTypeInputDto”}添加属性
// <... |
realestateinspectorService/Controllers/SharedAccessSignatureController.cs | nickrandolph/realestateinspector | 7 | 7051747 | <filename>realestateinspectorService/Controllers/SharedAccessSignatureController.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using Microsoft.WindowsAzure.Mobile.Service;
using Microsoft... |
dotNetMemoryScan/ScanMemory.cs | SmoLL-iCe/dotNetMemoryScan | 22 | 7051748 | <reponame>SmoLL-iCe/dotNetMemoryScan<filename>dotNetMemoryScan/ScanMemory.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
using System.Diagnostics;
using System.IO;
using Microsoft.Win32.SafeHandles;
using Syst... |
CMC - Client Pro/CMC - Client Pro/Form16.Designer.cs | fkdldkRhya/PC-Keeper | 0 | 7051749 | <filename>CMC - Client Pro/CMC - Client Pro/Form16.Designer.cs
namespace CMC___Client_Pro
{
partial class Form16
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up... |
Programming Fundamentals/Lists Exersices/task3 Array Manipulator/Array Manipulator.cs | NadiaKaradjova/SoftUni | 0 | 7051750 | <reponame>NadiaKaradjova/SoftUni
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace task3_Array_Manipulator
{
public class Program
{
public static void Main()
{
var currentList = Console.ReadLine().Split(' '... |
Main Scripts/AudioClipper.cs | TheEletricboy/Et-timores-cordis-Game-Project- | 0 | 7051751 | <reponame>TheEletricboy/Et-timores-cordis-Game-Project-
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AudioClipper : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
//THIS WAS A FAILED SCRIPT AS I FOUDN ANO... |
code/Core/Sitecore.Ecommerce.Kernel/Pipelines/PaymentStarted/StartPayment.cs | HydAu/sitecore8ecommerce | 5 | 7051752 | <reponame>HydAu/sitecore8ecommerce
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="StartPayment.cs" company="Sitecore Corporation">
// Copyright (c) Sitecore Corporation 1999-2015
// </copyright>
// <summary>
// The sta... |
CleanArchitecture/Core/Response/Identity/UserResponse.cs | gitViwe/CleanArchitecture | 0 | 7051753 | <filename>CleanArchitecture/Core/Response/Identity/UserResponse.cs
namespace Core.Response.Identity
{
/// <summary>
/// Data Transfer Object for user responses
/// </summary>
public class UserResponse
{
public string Id { get; set; }
public string UserName { get; set; }
publ... |
Assets/Scripts/User Interface/ChangeNameButton.cs | Epicguru/Money-Manager | 0 | 7051754 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ChangeNameButton : MonoBehaviour {
public void OpenNameMenu()
{
ChangeNameMenu.Instance.TriggerOpen();
}
}
|
Klarna.Rest/Klarna.Rest.Core/Model/PaymentMerchantUrls.cs | Naveen1402/kalrna-test-c- | 0 | 7051755 | using Newtonsoft.Json;
namespace Klarna.Rest.Core.Model
{
public class PaymentMerchantUrls
{
/// <summary>
/// URL of merchant confirmation page (max 2000 characters).
/// </summary>
/// <remarks>Required</remarks>
[JsonProperty(PropertyName = "confirmation")]
p... |
src/cs/production/contexts/C2CS.Contexts.ReadCodeC/Data/Model/CTypeAlias.cs | lithiumtoast/c-2-cs | 0 | 7051756 | <gh_stars>0
// Copyright (c) <NAME>. (https://github.com/bottlenoselabs). All rights reserved.
// Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information.
using System.Diagnostics.CodeAnalysis;
using System.Text.Json.Serialization;
namespace C2CS.Contexts.Rea... |
Assets/Scripts/Player/GroundAttack.cs | Treyboyland/Ostara2021 | 0 | 7051757 | <filename>Assets/Scripts/Player/GroundAttack.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GroundAttack : MonoBehaviour
{
[SerializeField]
float damagePerSecond;
public float DamagePerSecond
{
get
{
return damagePerSecond;
... |
kendoui/wrappers/aspnetmvc/Examples/Areas/razor/Views/web/grid/editingcustomvalidation.cshtml | asajin/sf_accounting_001 | 1 | 7051759 | @(Html.Kendo().Grid<Kendo.Mvc.Examples.Models.CustomValidationProductViewModel>()
.Name("Grid")
.Columns(columns =>
{
columns.Bound(p => p.ProductName);
columns.Bound(p => p.UnitPrice).Width(140);
columns.Command(command => command.Edit()).Width(200);
})
.Editable(editable =... |
src/OpenPWCL/Controllers/TaskInstancesController.cs | branc116/OpenPWCL | 0 | 7051760 | <gh_stars>0
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using OpenPWCL.Data;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace OpenPWCL.Controllers
{
public class TaskInstancesController : Controller
{
private readonly TasksContext _context;
pub... |
Scripts/Camera2D.cs | overTheRocks/CSVC | 0 | 7051761 | <filename>Scripts/Camera2D.cs
using Godot;
using System;
public class Camera2D : Godot.Camera2D
{
private OpenSimplexNoise SimplexX = new OpenSimplexNoise();
private OpenSimplexNoise SimplexY = new OpenSimplexNoise();
private OpenSimplexNoise SimplexR = new OpenSimplexNoise();
public float Trauma = 0;
... |
src/CommandLine/Commands/Option.cs | bunnypro/CommandLine.Net | 0 | 7051762 | using System;
namespace Bunnypro.CommandLine.Commands
{
public sealed class Option : IEquatable<Option>
{
private bool _multiValue;
public Option(string name)
{
Name = name;
}
public string Name { get; }
public char? ShortName { get; set; }
... |
Gaming/UrhoSharp/Primo_Progetto_UrhoSharp/Core/Aircrafts/Enemies/EnemyXamonkey.cs | massimoubertini/Mobile | 0 | 7051763 | using Urho;
using Urho.Actions;
namespace SamplyGame
{
public class EnemyXamonkey : Enemy
{
public override int MaxHealth => 30;
protected override Vector3 CollisionShapeSize => base.CollisionShapeSize * 6;
protected override async void Init()
{
InitialRotation = n... |
VirtualListView/VirtualListViewRenderer.uwp.cs | dorisoy/Xamarin.Forms.VirtualListView | 1 | 7051764 | <reponame>dorisoy/Xamarin.Forms.VirtualListView<gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Linq;
using System.Text;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Xamarin.Forms.Pla... |
Services/ICacheService.cs | mrtillman/aspnetcore-authorization-request | 0 | 7051765 | <filename>Services/ICacheService.cs<gh_stars>0
using System.Threading.Tasks;
using System.Collections.Generic;
using Common;
using Domain;
namespace Services {
public interface ICacheService
{
void Clear();
T GetValue<T>(KEYS key);
void SetValue<T>(KEYS key, T value);
}
} |
src/EdFi.SampleDataGenerator.Core/DataGeneration/Generators/Parent/ParentEntityGenerator.cs | jamessmckay/Ed-Fi-SampleDataGenerator | 1 | 7051766 | using EdFi.SampleDataGenerator.Core.DataGeneration.Common;
using EdFi.SampleDataGenerator.Core.DataGeneration.Common.Dependencies;
using EdFi.SampleDataGenerator.Core.DataGeneration.Common.Entity;
using EdFi.SampleDataGenerator.Core.DataGeneration.InterchangeEntities;
namespace EdFi.SampleDataGenerator.Core.DataGener... |
PuzzleBox.TimeLines/Payloads/TimePayloadBase.cs | JasonKStevens/TimeLines | 1 | 7051767 | using NodaTime;
namespace PuzzleBox.Time.Payloads
{
public abstract class TimePayloadBase
{
public abstract TimePayloadBase Clone();
public abstract bool Equals(TimePayloadBase obj);
public static TimePayloadBase operator +(TimePayloadBase t1, TimePayloadBase t2)
{
... |
src/Orleans/Orleans_v_1_5/GrainsCollection/HelloWorldGrain.cs | tim-fay/Education | 0 | 7051768 | using System.Threading.Tasks;
using GrainInterfaces;
using Orleans;
namespace GrainsCollection
{
public class HelloWorldGrain : Grain, IHelloWorld
{
public Task<string> SayHello(string helloMessageFrom)
{
return Task.FromResult($"Hello world message from {helloMessageFrom}");
... |
TeamIHOC.Forums/Areas/Admin/Views/Moderate/Index.cshtml | IHOC/Website | 3 | 7051769 | @model MVCForum.Website.Areas.Admin.ViewModels.AdminModerateViewModel
@{
ViewBag.Title = "Moderate Topics / Posts";
}
<div role="tabpanel">
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active">
<a href="#topics" aria-controls="topics" role="tab" data-toggle="ta... |
AzusaERP.OldStuff/WarWalking/Control/TourProcessor.cs | feyris-tan/azusa | 0 | 7051770 | <reponame>feyris-tan/azusa<gh_stars>0
using System;
using System.IO;
using System.Text;
using AzusaERP.OldStuff;
using moe.yo3explorer.azusa.WarWalking.Boundary;
using moe.yo3explorer.azusa.WarWalking.Entity;
namespace moe.yo3explorer.azusa.WarWalking.Control
{
class TourProcessor : IPostConnectionTask
{
... |
Assets/Scripts/Emuera/GameView/ConsoleDisplayLine.cs | 0999312/uEmuera | 194 | 7051771 | <filename>Assets/Scripts/Emuera/GameView/ConsoleDisplayLine.cs<gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Text;
//using System.Drawing;
using MinorShift._Library;
//using System.Windows.Forms;
using uEmuera.Drawing;
namespace MinorShift.Emuera.GameView
{
//難読化用属性。enum.ToString()やe... |
Sillycore/Extensions/QueryableExtensions.cs | mstfzdmr/Sillycore | 12 | 7051772 | using System;
using System.Linq;
using System.Linq.Dynamic.Core;
using Sillycore.Domain.Abstractions;
using Sillycore.Domain.Enums;
using Sillycore.Domain.Objects;
using Sillycore.Domain.Requests;
using Sillycore.DynamicFiltering;
using Sillycore.Paging;
namespace Sillycore.Extensions
{
public static class Querya... |
Modules/DailyChallenge/DailyChallenge51.cs | BogdanskiPatryk/DailyChallenge | 0 | 7051773 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DailyChallenge
{
/*
* Implement an LRU (Least Recently Used) cache. It should be able to be initialized with a cache size n, and contain the following methods:
• set(key, ... |
OeipWrapperTest/MediaOutputForm.Designer.cs | xxxzhou/oeip | 32 | 7051774 | namespace OeipWrapperTest
{
partial class MediaOutputForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
Module07_Fonctions/IPCours07_DemoFonctions/IPCours07_DemoFonctions/Fonctions.cs | L-Architect/420-W10-SF | 0 | 7051775 | using System;
using System.Collections.Generic;
using System.Text;
namespace IPCours07_DemoFonctions
{
public class Fonctions
{
public static void AfficherLigneMotifs(int p_largeur, char p_motif)
{
if (p_largeur < 1)
{
throw new ArgumentExcep... |
src/Services/Discount/Discount.API/Controllers/DiscountController.cs | AmirHJabari/AspNetMicroservices-Course | 0 | 7051776 | <reponame>AmirHJabari/AspNetMicroservices-Course
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Discount.Core.Entities;
using Discount.Core.Repositories;
using Microsoft.AspNetCore.Http;
using M... |
Objects/Objects/Structural/ApplicationSpecific/GSA/Loading/GSALoadGridPoint.cs | luhtech/speckle-sharp | 9 | 7051777 | <gh_stars>1-10
using Objects.Geometry;
using Objects.Structural.Geometry;
using Objects.Structural.Loading;
using Objects.Structural.GSA.Geometry;
namespace Objects.Structural.GSA.Loading
{
public class GSALoadGridPoint : GSALoadGrid
{
public Point position { get; set; }
public double value { ... |
UltraStar Play/Assets/Scenes/Options/DevelopmentOptions/PitchDetectionAlgorithmPicker.cs | SirLangley/Play | 0 | 7051778 | <filename>UltraStar Play/Assets/Scenes/Options/DevelopmentOptions/PitchDetectionAlgorithmPicker.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.UI;
using UniInject;
using UniRx;
// Disable warning about fields that are never assigned... |
mcs/tests/test-iter-20.cs | lefb766/mono | 469 | 7051779 | <filename>mcs/tests/test-iter-20.cs
//
// This was a bug which was triggered because I removed a routine
// inadvertently. The routine was restored, and now the scopes
// are initialized
//
using System;
using System.Collections;
using System.Reflection;
public class CustomDict {
ArrayList data;
public CustomDict... |
src/Tracer.OpenTracing/LoggerAdapter.cs | ndrwrbgs/Tracer.OpenTracing.Fody | 5 | 7051780 | <filename>src/Tracer.OpenTracing/LoggerAdapter.cs
namespace Tracer.OpenTracing
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using global::OpenTracing;
using global::OpenTracing.Contrib.SemanticConventions;
using global::... |
modules/LeapToy/1/scripts/toy.cs | Sednari/twitch-tutorial-flappy-birds | 1,309 | 7051781 | //-----------------------------------------------------------------------------
// Copyright (c) 2013 GarageGames, LLC
//
// 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 restrictio... |
src/LinqToRegex/CharGroupings.cs | timiil/LinqToRegex | 156 | 7051782 | // Copyright (c) <NAME>. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Pihrtsoft.Text.RegularExpressions.Linq
{
/// <summary>
/// Exposes static methods that returns instance of <see cref="CharGrouping"... |
OAuth2.Example.Test/Sina/SinaOAuthHandler.cs | sloth4413/CommOAuth2 | 69 | 7051783 | <reponame>sloth4413/CommOAuth2
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using OAuth2.Entities.Sina;
using OAuth2.MessageHandler;
using OAuth2.Protocols;
using OAuth2.Sina;
namespace OAuth2.Example.Test.Sina
{
public class SinaOAuthHandler : IOAuthHandler<SinaContentInfo... |
test/Amazon.Lambda.Tools.Test/UtilitiesTests.cs | NGL321/aws-extensions-for-dotnet-cli | 0 | 7051784 | <filename>test/Amazon.Lambda.Tools.Test/UtilitiesTests.cs
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace Amazon.Lambda.Tools.Test
{
public class UtilitiesTests
{
[Theory]
[InlineData("dotnetcore2.1", "netcoreapp2.1")]
[InlineData("dotnetcore... |
src/Neptuo/Data/IEventRebuilderStore.cs | ScriptBox99/Money | 148 | 7051785 | <reponame>ScriptBox99/Money
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Neptuo.Data
{
/// <summary>
/// TODO: Fill description.
/// </summary>
public interface IEventRebuilderStore
{
/// <summary>
///... |
AWAPI_Admin/admin/controls/TinyMCEScript.ascx.designer.cs | omeryesil/awapicms | 0 | 7051786 | <reponame>omeryesil/awapicms<gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4200
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is... |
GitFameSharp.Lib/GitFileAnalyzer.cs | MisterGoodcat/GitFameSharp | 1 | 7051787 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using GitFameSharp.Git;
namespace GitFameSharp
{
public class GitFileAnalyzer
{
private readonly GitFileAnalyzerOptions _options;
private readonly GitCommands _git;
... |
Frameworks/WpfHandler/UI/Controls/AutoCollection.xaml.cs | ElbyFross/datum-point | 1 | 7051788 | //Copyright 2019 <NAME>
//
//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, s... |
DBMS/DbmsApi/Mongo/User.cs | csydora/BIMkit | 2 | 7051789 | <reponame>csydora/BIMkit<filename>DBMS/DbmsApi/Mongo/User.cs
using DbmsApi.API;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System.Collections.Generic;
namespace DbmsApi.Mongo
{
public class User
{
/// <summary>
/// Username will be stored in db all lowercase
... |
MethodDecorator.Fody.Tests/When_using_different_marker_types.cs | pierresebastien/MethodDecorator | 0 | 7051790 | using System.Reflection;
using Xunit;
namespace MethodDecorator.Fody.Tests
{
public class When_using_different_marker_types : IUseFixture<DecoratedSimpleTest>
{
private Assembly assembly;
private dynamic testClass;
private dynamic testMessages;
[Fact]
public void Shou... |
MyLOB.Mvc/Models/LookupModel.cs | EasyLOB/EasyLOB-MyLOB-2 | 0 | 7051791 | <reponame>EasyLOB/EasyLOB-MyLOB-2<gh_stars>0
using EasyLOB.Activity;
using System.Collections.Generic;
namespace EasyLOB.Mvc
{
/// <summary>
/// Lookup Model
/// </summary>
public class LookupModel
{
/// <summary>
/// Operation Result.
/// </summary>
pub... |
ToDoListMvc/ToDoList/Controllers/TodoController.cs | AlexanderVieira/ToDoListMvc | 0 | 7051792 | <reponame>AlexanderVieira/ToDoListMvc
using System;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using ToDoList.Interfaces;
using ToDoList.Models;
namespace ToDoList.Controllers
{
public class TodoController : Controller
{
private readonly ITodoRepository _todoRepository;
public TodoCon... |
uRAT.Client/Tools/Blob/PluginBlobWriter.cs | madified/uRAT | 6 | 7051793 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using uRAT.Client.Plugin;
namespace uRAT.Client.Tools.Blob
{
internal class PluginBlobWriter : IDisposable
{
private struct PluginOffsetSizePair
{
public int Offset;
p... |
Selenium/Utilities/UIElement.cs | aksil1337/aft | 1 | 7051794 | // Copyright © <NAME>. All rights reserved.
// Licensed under the MIT License.
using OpenQA.Selenium;
using OpenQA.Selenium.Interactions;
using SeleniumExtras.WaitHelpers;
using System.Collections.Generic;
using System.Linq;
namespace Selenium.Utilities
{
/// <summary>
/// Provides a wrapper to extend the fu... |
PFV-DBApp/Controllers/SalesPersonsController.cs | khyatichandak/PVF-DBApp | 0 | 7051795 | <filename>PFV-DBApp/Controllers/SalesPersonsController.cs
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using S1G6_PVFAPP.Models;
namespace S1G6_PVFAPP.Controllers
{
public class SalesPerson... |
0024.cs | Gunasekare/projecteuler | 0 | 7051796 | <filename>0024.cs
//Problem - Euler Problem #24 (Lexicographic permutations)
//URL - https://projecteuler.net/problem=24
//Author - Gunasekare
//Date - 2020-05-16
//Version - 1 (Naive)
//Des - Using Heap's Algorithm https://en.wikipedia.org/wiki/Heap%27s_algorithm
using System;
using System.Collections.Ge... |
YetiCommon/CastleAspects/IDecoratorSelf.cs | googlestadia/vsi-lldb | 28 | 7051797 | // Copyright 2020 Google LLC
//
// 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 ... |
src/TerraSdk/Core/StdSignature.cs | ridicoulous/terrasdk-dotnet | 0 | 7051798 | using Newtonsoft.Json;
using TerraSdk.Common.Extensions;
namespace TerraSdk.Core
{
///**
// * A signature consists of a message signature with a public key to verify its validity.
// * You likely will not need to work with StdSignature objects directly as they are automatically created for you.
// */
... |
src/Cosmos.I18N.Countries/Cosmos/I18N/Countries/CountryManager.ExposeInfo.cs | badreddine-dlaila/I18N | 1 | 7051799 | namespace Cosmos.I18N.Countries {
public static partial class CountryManager {
/// <summary>
/// Expose information
/// </summary>
public static class Expose {
/// <summary>
/// To count the Country-CountryCode mapping
/// </summary>
pu... |
Panelak.Framework/Panelak.Sql.Parsing/Expressions/ComparisonExpression.cs | czmirek/Panelak.Framework | 0 | 7051800 | namespace Panelak.Sql.Parsing
{
using System;
using System.Diagnostics;
/// <summary>
/// Abstraction for SQL operators in the form [Column] [Operator] [Literal].
/// </summary>
[DebuggerDisplay("{Column} {Operator} {Literal}")]
public abstract class ColumnComparisonExpression : ISqlCondit... |
BZFlag.Math/Geometry/Plane.cs | JeffM2501/LibBZFlag | 2 | 7051801 | /*
Copyright (C) 2013 <NAME>
Author: <NAME>
*
Note this code file does NOT derive from any previous work.
*
This is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; ei... |
Assets/Scripts/Stencil/Papers.cs | gilescoope/stencil | 3 | 7051802 | using System;
using UnityEngine;
namespace FriendlyMonster.Stencil
{
public class Papers : MonoBehaviour
{
[SerializeField] private Paper Paper;
[SerializeField] private Texture[] Textures;
private RenderTexture[] m_RenderTextures;
private void Awake()
{
m... |
v5.1.2/RabbitMQ.Client/Client/Api/AsyncDefaultBasicConsumer.cs | ryanmvt/RabbitMQ.Core | 9 | 7051803 | using System;
using System.Threading.Tasks;
using RabbitMQ.Client.Events;
using TaskExtensions = RabbitMQ.Client.Impl.TaskExtensions;
namespace RabbitMQ.Client
{
public class AsyncDefaultBasicConsumer : IBasicConsumer, IAsyncBasicConsumer
{
/// <summary>
/// Creates a new instance of an <see cr... |
Scripts/SaveManager.cs | U3DC/Live-Portrait-Maker | 63 | 7051804 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
using System;
using Kino;
using SoftMasking;
public class SaveManager : MonoBehaviour
{
public GameObject SaveProfile, LoadProfile, NewProfile, NoteEditor;
private LoadUI lu; private NotesUI nu... |
Assets/Scripts/UI/Panels/MainPanel.cs | miryamGSM/hogwarts | 1 | 7051805 | <filename>Assets/Scripts/UI/Panels/MainPanel.cs
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using Hashtable = ExitGames.Client.Photon.Hashtable;
public class MainPanel : MonoBehaviour {
public Text nickLabel;
public Text LevelLabel;
public Button JoinButton;
private int playerId;
pub... |
RoiFormulaMaker/Models/RoiFormulas.cs | s2atoru/RayStationScripts | 3 | 7051806 | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
namespace RoiFormulaMaker.Models
{
public class RoiFormulas
{
public bool CanExecute { get; set; } = false;
public string Description { get; set; } = string.Empty;
public... |
BedrockService/BedrockManagementServiceASP/BedrockService/Core/BedrockService.cs | crowbarmaster/BedrockManagementService | 10 | 7051807 | <reponame>crowbarmaster/BedrockManagementService
using BedrockManagementServiceASP.BedrockService.Core.Interfaces;
using BedrockManagementServiceASP.BedrockService.Management;
using BedrockManagementServiceASP.BedrockService.Networking;
using BedrockManagementServiceASP.BedrockService.Server;
using BedrockService.Shar... |
Runtime/Ability System/Abilities/DebugAblNavPointVisualizer.cs | axikita/akitacore | 1 | 7051808 | <gh_stars>1-10
//draws the navigation path for an AblAINavPointFollow.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Akitacore{
[RequireComponent(typeof(AblAINavPointFollow))]
[ExecuteInEditMode]
public class DebugAblNavPointVisualizer : MonoBehaviour {
AblAINavPointFollow... |
MFiles.VAF.Extensions/Configuration/TimeSpanEx.cs | esahaapamaki/VAF.Extensions.Community | 0 | 7051809 | using MFiles.VAF.Configuration;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace MFiles.VAF.Extensions
{
[DataContract]
[JsonConverter(typeof(TimeSpanExJsonConverter))]
public class TimeSpanEx
: IRecurrenc... |
ZimmerBot.Core/Utilities/ErrorCollection.cs | JornWildt/ZimmerBot | 3 | 7051810 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZimmerBot.Core.Utilities
{
public class ErrorCollection : List<ErrorCollection.Error>
{
public class Error
{
public string Message { get; protected... |
src/RepoCat.Transmission.Contracts/TransmitterArguments/TransmissionMode.cs | bartosz-jarmuz/RepoCat | 3 | 7051811 | // -----------------------------------------------------------------------
// <copyright file="TransmissionMode.cs" company="<EMAIL>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace RepoCat.Transmission.Contracts
{... |
TDI/Interception/Tests/ConstructMe.cs | Osipion/TDI | 0 | 7051812 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace TDI.Interception.Tests
{
public interface ISomething
{
void Something();
}
public class Something : ISomething
{
void... |
SyntSky.GoodGame.Api.V4/Dto/Games/GroupDto.cs | SyntSky/GoodGame | 0 | 7051813 | using System.Text.Json.Serialization;
namespace SyntSky.GoodGame.Api.V4.Dto.Games;
public class GroupDto
{
[JsonPropertyName("id")]
[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)]
public long Id { get; set; }
[JsonPropertyName("name")]
public string Name { get; set; }
[JsonPropertyName("maps"... |
Weorder.NET/Clients/IntegrationsClient.cs | mrlund/Weorder.NET | 0 | 7051814 | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Weorder.NET.Entities;
using Weorder.NET.Interfaces;
using Weorder.NET.Utilities;
namespace Weorder.NET.Clients
{
public class IntegrationsClient : IIntegrationsClient
{
private readonly WeorderClient... |
ColladaImporter/Collada.cs | ScanMountGoat/ColladaSharp | 3 | 7051815 | using System;
using System.Collections.Generic;
namespace ColladaSharp
{
public partial class Collada
{
/// <summary>
/// Event called every time a debug line is printed.
/// </summary>
public static event Action<string> OutputLine;
public static void WriteLine(string l... |
Projector/ProjectorHelper.cs | RoyalVeterinaryCollege/EventSaucing | 1 | 7051816 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Reflection;
using Dapper;
using EventSaucing.Storage;
using Scalesque;
namespace EventSaucing.Projector {
public static class ProjectorHelper {
/// <summary>
/// Gets the uniquepro... |
src/Carbonated.Data.Tests/TupleSpike.cs | CarbonatedSoftware/carbonated-data | 3 | 7051817 | <filename>src/Carbonated.Data.Tests/TupleSpike.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using NUnit.Framework;
namespace Carbonated.Data.Tests
{
[TestFixture]
public class TupleSpike
{
[Test]
public void Test()
... |
Xpand/Xpand.ExpressApp/Xpand.ExpressApp.Win/ListEditors/GridListEditors/GridView/MasterDetail/MasterDetailActionsController.cs | larspl/Expand | 1 | 7051818 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Actions;
using DevExpress.ExpressApp.Utils;
using DevExpress.ExpressApp.Win.Editors;
using DevExpress.XtraGrid;
using Fasterflect;
using Xpand.Persistent.Base.General;
using ListVie... |
Test/Day3Test.cs | klyse/AdventOfCode2020 | 0 | 7051819 | <reponame>klyse/AdventOfCode2020<filename>Test/Day3Test.cs
using System;
using System.IO;
using NUnit.Framework;
using Solver;
using Solver.Challenges.Day3;
namespace Test
{
public class Day3Test
{
private const string BasePath = "Day3";
private const string FileName = "day3.in";
private readonly string _fileP... |
AbstractFactory/OrangeSodaLiquid.cs | kombuchamp/DesignPatternsInCSharp | 0 | 7051820 | using System;
using System.Collections.Generic;
using System.Text;
namespace AbstractFactory
{
class OrangeSodaLiquid : AbstractLiquid
{
public override string ToString() => "Orange Soda";
}
}
|
src/SFA.DAS.ProviderApprenticeshipsService.Web.UnitTests/Orchestrators/Commitments/ApprenticeshipValidationTestBase.cs | uk-gov-mirror/SkillsFundingAgency.das-providerapprenticeshipsservice | 0 | 7051821 | using System;
using System.Collections.Generic;
using System.Linq;
using FluentValidation.Results;
using MediatR;
using Moq;
using NUnit.Framework;
using SFA.DAS.Commitments.Api.Types;
using SFA.DAS.Commitments.Api.Types.Commitment;
using SFA.DAS.Commitments.Api.Types.Commitment.Types;
using SFA.DAS.Encoding;
using SF... |
CSharpWebDevBasics/HandmadeHttpServer/WebServer/Application/App.cs | Iliyan7/SoftUni | 0 | 7051822 | using WebServer.Application.Controllers;
using WebServer.Server.Contracts;
using WebServer.Server.Handlers;
using WebServer.Server.Routing.Contracts;
namespace WebServer.Application
{
public class App : IApplication
{
public void Config(IAppRouteConfig routeConfig)
{
routeConfig.Ad... |
Assets/Scripts/Game/jpmj/MahjongScripts/GameTable/DnxbCtl.cs | da1fanshu/1234ewsd | 2 | 7051823 | <gh_stars>1-10
using System.Collections;
using Assets.Scripts.Game.jpmj.MahjongScripts.MahjongCommon;
using UnityEngine;
namespace Assets.Scripts.Game.jpmj.MahjongScripts.GameTable
{
//东南西北
public enum EnDnxbDir
{
Dong,
Nan,
Xi,
Bei
}
public class DnxbCtl : MonoBe... |
MixedRemoteViewCompositor/Samples/LowLatencyMRC/Unity/Assets/AddOns/MixedRemoteViewCompositor/Scripts/MrvcCapture.cs | carmines/MixedRealityCompanionKit | 3 | 7051824 | <gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using UnityEngine;
using UnityEngine.XR.WSA;
namespace MixedRemoteViewCompositor
{
public enum CaptureState
{
... |
Interfaces/UDPServer.cs | Freshdouble/libconnection | 0 | 7051825 | <filename>Interfaces/UDPServer.cs
using libconnection.Interfaces.UDP;
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Timers;
using Timer = System.Timers.Timer;
using System.Linq;
using Hear... |
src/Uno.UWP/Devices/Sensors/BarometerReadingChangedEventArgs.cs | olirobert/uno | 5,973 | 7051826 | <reponame>olirobert/uno<filename>src/Uno.UWP/Devices/Sensors/BarometerReadingChangedEventArgs.cs
namespace Windows.Devices.Sensors
{
public partial class BarometerReadingChangedEventArgs
{
internal BarometerReadingChangedEventArgs(BarometerReading reading) =>
Reading = reading;
public BarometerReading Readin... |
BDTest/Attributes/ScenarioTextAttribute.cs | afscrome/BDTest | 55 | 7051827 | <reponame>afscrome/BDTest<filename>BDTest/Attributes/ScenarioTextAttribute.cs
using System;
namespace BDTest.Attributes
{
[AttributeUsage(AttributeTargets.Method)]
public class ScenarioTextAttribute : Attribute
{
public string Text { get; }
public ScenarioTextAttribute(string stepText)
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.