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 |
|---|---|---|---|---|
CodeFirst/SalesReport.ConsoleClient/ProductExporter.cs | iordan93/DBApps-TeamKelvin | 1 | 7055530 | <gh_stars>1-10
namespace SalesReport.ConsoleClient
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SalesReport.Data;
using SalesReport.Models;
... |
GeneticsTests/TestCases/ArraySpliceTestCases.cs | mattleibow/Syringe | 15 | 7055531 | <reponame>mattleibow/Syringe
using System.Collections.Generic;
using Android.Content.Res;
using Genetics;
using Genetics.Attributes;
namespace GeneticsTests.TestCases
{
public class ArraysTargetObject
{
[Splice(Resource.Array.IntegerArrayResource)]
public int[] IntegerArrayProperty { get; set;... |
source/CapFrameX.Data/ECaptureFileMode.cs | Mixaill/CapFrameX | 211 | 7055532 | <reponame>Mixaill/CapFrameX<gh_stars>100-1000
using System.ComponentModel;
namespace CapFrameX.Data
{
public enum ECaptureFileMode
{
[Description("JSON")]
Json = 1,
[Description("JSON + CSV")]
JsonCsv = 2
}
}
|
Sigma.Core.Monitors.WPF/View/Parameterisation/Defaults/SigmaCheckBox.xaml.cs | LunarWorld/Sigma | 119 | 7055533 | /*
MIT License
Copyright (c) 2016-2017 <NAME>, <NAME>
For full license see LICENSE in the root directory of this project.
*/
using System;
using Sigma.Core.Monitors.Synchronisation;
using Sigma.Core.Monitors.WPF.ViewModel.Parameterisation;
using Sigma.Core.Utils;
namespace Sigma.Core.Monitors.WPF.View.Parameteri... |
aliyun-net-sdk-companyreg/Companyreg/Transform/V20201022/GetEnterprisesInfoResponseUnmarshaller.cs | pengweiqhca/aliyun-openapi-net-sdk | 572 | 7055534 | /*
* 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 ... |
KeyCommander/UserForms/frmEditDosemuAlias.Designer.cs | kabahandle/KeyCommander | 0 | 7055535 | <filename>KeyCommander/UserForms/frmEditDosemuAlias.Designer.cs
namespace KCommander.UserForms
{
partial class frmEditDosemuAlias
{
/// <summary>
/// 必要なデザイナー変数です。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 使用中のリ... |
src/chatle/Views/Account/_ChangePasswordPartial.cshtml | aguacongas/chatle | 22 | 7055536 | @using System.Security.Principal
@model UpdatePasswordViewModel
<p>You're logged in as <strong>@User.Identity.Name</strong>.</p>
<form class="form-horizontal" role="form" method="post" asp-action="UpdatePassword" asp-antiforgery="true">
<h4>Change Password Form</h4>
<hr />
<div asp-validation-summary="All" class="... |
samples/Hexiron.AspNetCore.Authentication.HostSample/Controllers/HomeController.cs | mkeymolen/Hexiron.AspNetCore.Authentication.AzureAdMixed | 1 | 7055537 | using Hexiron.Azure.ActiveDirectory.Connectors.Interfaces;
using Microsoft.AspNetCore.Mvc;
namespace Hexiron.AspNetCore.Authentication.HostSample.Controllers
{
public class HomeController : Controller
{
private readonly IAzureAdB2CSecuredApiConnector _b2CConnector;
public HomeController(IAzur... |
BeautifulFractals/Services/FractalsManager.cs | T-Alex/BeautifulFractals | 7 | 7055539 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using System.IO;
using System.Xml.Serialization;
using TAlex.BeautifulFractals.Fractals;
using TAlex.BeautifulFractals.Helpers;
using System.Diagnostics;
namespace TAlex.BeautifulFractals.Services
{
public cl... |
src/Services/Ordering/Ordering.UnitTests/Domain/OrderAggregateTest.cs | GorbunowArtem/eShopOnContainers | 0 | 7055540 | <filename>src/Services/Ordering/Ordering.UnitTests/Domain/OrderAggregateTest.cs<gh_stars>0
using Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.OrderAggregate;
using Ordering.Domain.Events;
using Ordering.Domain.Exceptions;
using System;
using AutoFixture;
using Ordering.Domain.AggregatesModel.Or... |
Codigo/Controller/AndroidController.cs | RodrigoMedeirosRS/IgorFoundABug | 1 | 7055541 | using Godot;
using System;
public class AndroidController : Node2D
{
public override void _Ready()
{
//SouMobile();
}
private void SouMobile()
{
if (OS.GetName() == "Android")
QueueFree();
}
}
|
src/Core/tests/DeviceTests/Stubs/PathStub.cs | abod1944/maui | 0 | 7055542 | <reponame>abod1944/maui
#nullable enable
namespace Microsoft.Maui.DeviceTests.Stubs
{
public class GeometryStub
{
public void AppendToPath(PathF path)
{
}
}
public class PathStub : ShapeViewStub, IShapeView
{
public PathStub()
{
}
public PathStub(GeometryStub data)
{
Shape = new PathShapeSt... |
Calculator.Tests/CalculatorTests.cs | BLM16/Calculator | 1 | 7055543 | <reponame>BLM16/Calculator
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace Calculator.Tests
{
[TestClass]
public class CalculatorTests
{
#region Calculate
/// <summary>
/// Checks that equations are correctly standardized and evaluated.
/// </su... |
src/Couchbase.Lite.Tests.Shared/ReplicationTest.cs | Sandychuang8/couchbase-lite-net | 366 | 7055544 | //
// ReplicationTest.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... |
src/AspnetRun.Web/Areas/Identity/Pages/Account/ConfirmEmail.cshtml | wardweistra/SE-Workshopdag-20201008 | 329 | 7055545 | @page
@model ConfirmEmailModel
@{
ViewData["Title"] = "Confirm email";
}
<div class="container">
<h1>@ViewData["Title"]</h1>
<div>
<p>
Thank you for confirming your email.
</p>
</div>
</div>
@section CartNotRequired {
<!-- Not need to render Shopping Cart in Cart Page ... |
Src/Core/GameFlags.cs | ExterminatorX99/DissonanceEngine | 36 | 7055546 | using System;
namespace Dissonance.Engine
{
[Flags]
public enum GameFlags
{
None = 0,
/// <summary> Prevents the game from creating a window. <para/> If set without a <seealso cref="NoGraphics"/> flag, it'll be expected that a GLFW/OpenGL context has been associated with the game's thread. </summary>
NoWindo... |
SdkManager.UI/ViewModels/Windows/MainWindowViewModel.cs | GlassToeStudio/Standalone-Android-Sdk-Manager | 16 | 7055547 | <reponame>GlassToeStudio/Standalone-Android-Sdk-Manager
using System;
using System.IO;
using System.Text;
using System.Windows.Input;
using System.Threading.Tasks;
using System.Collections.ObjectModel;
using System.Collections.Generic;
namespace SdkManager.UI
{
public class MainWindowViewModel : BaseViewModel
... |
DigitalLearningSolutions.Web/Helpers/SelectListHelper.cs | TechnologyEnhancedLearning/DLSV2 | 2 | 7055548 | <filename>DigitalLearningSolutions.Web/Helpers/SelectListHelper.cs
namespace DigitalLearningSolutions.Web.Helpers
{
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Mvc.Rendering;
public static class SelectListHelper
{
public static IEnumerable<Select... |
MariGold.OpenXHTML.Tests/TestUtility.cs | mechwave/MariGold.OpenXHTML | 0 | 7055549 | namespace MariGold.OpenXHTML.Tests
{
using System;
using NUnit.Framework;
using Word = DocumentFormat.OpenXml.Wordprocessing;
using System.Collections.Generic;
using DocumentFormat.OpenXml.Validation;
using System.Linq;
using System.Text;
using System.IO;
internal static class TestUtility
{
internal stat... |
src/AIDisplay/Forms/CameraConfigurationDialog.Designer.cs | Ken98045/On-Guard | 28 | 7055550 | namespace SAAI
{
partial class CameraConfigurationDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="dispo... |
Supermercado/BL.Supermercado/DatosdeInicio.cs | AlexIssa-Matamoros/Proyecto--L3 | 0 | 7055551 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BL.Supermercado
{
public class DatosdeInicio : CreateDatabaseIfNotExists<Contexto>
{
protected override void Seed(Context... |
src/TssSqlToMongo/Program.cs | mribichich/tss-sql-to-mongo | 0 | 7055552 | namespace TssSqlToMongo
{
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Reflection;
using Autofac;
using TssSqlToMongo.Config;
using TssSqlToMongo.Core;
using TssSqlToMongo.Data;
using TssSqlTo... |
tests/NuGet.IndexingTests/IdentifierKeywordAnalyzerTests.cs | zhhyu/NuGet.Services.Metadata | 1 | 7055553 | <reponame>zhhyu/NuGet.Services.Metadata<gh_stars>1-10
// 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.Collections.Generic;
using NuGet.Indexing;
using NuGet.IndexingTests.TestSupport;
us... |
LineMessagingAPI/Models/Response/InteractionStatistics/MessageModel.cs | zamhsu/DotNetCoreLineMessagingAPI | 0 | 7055554 | namespace LineMessagingAPI.Models.Response.InteractionStatistics
{
/// <summary>
/// Information about individual message bubbles.
/// </summary>
public class MessageModel
{
/// <summary>
/// Bubble's serial number.
/// </summary>
public long seq { get; set; }
... |
tests/BooCompiler.Tests/SupportingClasses/ReturnDucks.cs | popcatalin81/boo | 479 | 7055555 | <reponame>popcatalin81/boo
namespace BooCompiler.Tests.SupportingClasses
{
public class ReturnDucks
{
public class DuckBase {}
public class DuckFoo : DuckBase
{
public string Foo() { return "foo"; }
}
public class DuckBar : DuckBase
{
public string Bar() { return "bar"; }
}
... |
code/Weapons/Hands.cs | civilgamers/vrp | 0 | 7055556 | <reponame>civilgamers/vrp<filename>code/Weapons/Hands.cs
using Sandbox;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using VRP.Items;
using VRP.Player;
namespace VRP.Weapons
{
[Library( "weapon_hands", Title = "Hands", Spa... |
Source/FikaAmazonAPI/Utils/Sandbox.cs | yassoor/Amazon-SP-API-CSharp | 41 | 7055557 | <filename>Source/FikaAmazonAPI/Utils/Sandbox.cs
using FikaAmazonAPI.Parameter;
using FikaAmazonAPI.Parameter.Order;
using System;
using System.Collections.Generic;
using System.Text;
namespace FikaAmazonAPI.Utils
{
internal static class Sandbox
{
public static Dictionary<string, List<KeyValuePair<stri... |
NCS.DSS.Transfer/ServiceBus/ServiceBusClient.cs | SkillsFundingAgency/cdh-transfer | 0 | 7055558 | using Microsoft.Azure.ServiceBus;
using NCS.DSS.Transfer.Cosmos.Helper;
using Newtonsoft.Json;
using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NCS.DSS.Transfer.ServiceBus
{
public static class ServiceBusClient
{
public static readonly string KeyName = Envir... |
CSharpRESTDemo/Entities/DemoDbContext.cs | ztroop/CSharpRESTDemo | 0 | 7055559 | <reponame>ztroop/CSharpRESTDemo
using Microsoft.EntityFrameworkCore;
namespace CSharpRESTDemo.Entities
{
public class DemoDbContext : DbContext
{
public DemoDbContext(DbContextOptions<DemoDbContext> options) : base(options)
{
}
public DbSet<Customer> Customers { get; set; }
... |
src/Web/Views/Account/Address.cshtml | hd9/aspnet-microservices | 9 | 7055560 | <filename>src/Web/Views/Account/Address.cshtml
@using Web.Models.Account;
@model List<Address>
@{
ViewData["Title"] = "My Addresses";
ViewData["ShowOptions"] = "True";
}
<h2>@ViewData["Title"]</h2>
<p class="lead mb-3">Here's your list of addresses.</p>
<partial name="~/Views/Partials/Account/_Add... |
VKSaver2/Core/VKSaver.Core.Models.Shared/Transfer/SimpleUploadable.cs | RomanGL/VKSaver | 3 | 7055561 | using System.Collections.Generic;
using VKSaver.Core.Models.Common;
namespace VKSaver.Core.Models.Transfer
{
public class SimpleUploadable : IUploadable
{
public string Name { get; set; }
public string Extension { get; set; }
public Dictionary<string, string> AdditionalData { get; set... |
tests/AoCHelper.Test/OverrideInputFileDirPathTests.cs | eduherminio/AoCHelper | 23 | 7055562 | using System.IO;
using Xunit;
namespace AoCHelper.Test
{
public class OverrideInputFileDirPathTests
{
private abstract class BaseProblemFixture : BaseProblem
{
protected override string InputFileExtension => nameof(OverrideInputFileDirPathTests);
public override string... |
src/Stubbl.Api/EventHandlers/Collections/Teams/AuthenticatedUserUpdatedEventHandler.cs | stubbl/stubbl-api | 0 | 7055563 | <reponame>stubbl/stubbl-api
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Gunnsoft.Cqs.Events;
using MongoDB.Driver;
using Stubbl.Api.Authentication;
using Stubbl.Api.Data.Collections.Teams;
using Stubbl.Api.Events.AuthenticatedUserUpdated.Version1;
n... |
xTask/Systems/File/IFileInformation.cs | JeremyKuhne/MacIO | 1 | 7055564 | <filename>xTask/Systems/File/IFileInformation.cs
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace xTask.Systems.File;
/// <summary>
/// Information about a file.
/// </summary>
public interface IFileInformat... |
src/Webs/HealthChecks.Web/Startup.cs | dotnetcloudbase/micro-commerce | 30 | 7055565 | using MicroCommerce.Shared.Monitoring;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Prometheus;
using Serilog;
namespace HealthChecks.Web
{
public class Startup
{
// This method gets ca... |
Tests/WeAreFootball.Services.Data.Tests/LeaguesServiceTests.cs | kocety91/WeAreFootball | 0 | 7055566 | namespace WeAreFootball.Services.Data.Tests
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http.Internal;
using Microsoft.EntityFrameworkCore;
using Newtonsoft.J... |
IEPProject/IEPProject/Utilities/FileNameGenerator.cs | milicadobricic/IEPProject | 0 | 7055567 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace IEPProject.Utilities
{
public static class FileNameGenerator
{
public static string generate()
{
return string.Concat("file_", DateTime.Now.Ticks.ToString());
}
}
} |
OpenNefia.Core/GameObjects/ComponentDependencyAttribute.cs | Zechsu/OpenNefia | 38 | 7055568 | <reponame>Zechsu/OpenNefia
using System;
namespace OpenNefia.Core.GameObjects
{
[AttributeUsage(AttributeTargets.Field)]
public class ComponentDependencyAttribute : Attribute
{
public readonly string? OnAddMethodName;
public readonly string? OnRemoveMethodName;
public ComponentDep... |
ejercicio/Informacion/Gimnasio.cs | Jeyssoon/HistoriaConsola | 0 | 7055569 | namespace Informacion
{
public class Gimnasio
{
public string NombreGimnasio { get; set; }
public string DiametroGimnasio { get; set; }
public string EntranCantidadPersonas { get; set; }
public string NivelGimnasio { get; set; }
public string RecompensasGimnasio ... |
src/UberStrok/CommandRecorder.cs | SirAnuse/uberstrok | 0 | 7055570 | namespace UberStrok
{
public class CommandRecorder
{
public object Recording
{
get { return null; }
}
public void Record(Command command)
{
}
public void Start()
{
}
public void Stop()
{... |
libraries/Microsoft.Bot.Schema/AdaptiveCardInvokeResponse.cs | yeze322/botbuilder-dotnet | 425 | 7055571 | <filename>libraries/Microsoft.Bot.Schema/AdaptiveCardInvokeResponse.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Newtonsoft.Json;
namespace Microsoft.Bot.Schema
{
/// <summary>
/// Defines the structure that is returned as the result of an Invoke ac... |
VstsService.Tests/ExtensionManagement.cs | azure-devops-compliance/rest-service | 2 | 7055572 | <reponame>azure-devops-compliance/rest-service
using System.Net;
using AutoFixture;
using ExpectedObjects;
using Flurl.Http;
using SecurePipelineScan.VstsService.Response;
using Shouldly;
using Xunit;
using Task = System.Threading.Tasks.Task;
namespace SecurePipelineScan.VstsService.Tests
{
[Trait("category", "int... |
Assets/MeshEditor/Modules/Internal/MeshBoolean/Scripts/Net3DBool/Core/Solid.cs | tkonexhh/MeshEditor | 18 | 7055573 | /*
The MIT License (MIT)
Copyright (c) 2014 <NAME>
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, publi... |
IndrivoPM/Gear.DynamicReporting.ProjectManagement/ReportHelpers/Helpers/PdfReportHelper.cs | indrivo/bizon360_pm | 0 | 7055574 | <filename>IndrivoPM/Gear.DynamicReporting.ProjectManagement/ReportHelpers/Helpers/PdfReportHelper.cs
using System;
using System.Collections.Generic;
using System.IO;
using Gear.DynamicReporting.Abstractions.ReportHelpers.Helpers;
using Gear.DynamicReporting.Abstractions.ReportHelpers.Helpers.Base;
using Gear.DynamicRe... |
Qsi.PostgreSql/Internal/PG10/Types/CreatePLangStmt.cs | ScriptBox99/chequer-qsi | 36 | 7055575 | /* Generated by QSI
Date: 2020-08-12
Span: 2404:1 - 2413:18
File: src/postgres/include/nodes/parsenodes.h
*/
using Qsi.PostgreSql.Internal.Serialization;
namespace Qsi.PostgreSql.Internal.PG10.Types
{
[PgNode("CreatePLangStmt")]
internal class CreatePLangStmt : IPg10Node
{
public virtual Node... |
CSShaders/FrontEnd/EntryPoints/Decorations.cs | jodavis42/CSShaders | 4 | 7055576 | using System;
using System.Collections.Generic;
namespace CSShaders
{
class Decorations
{
public static void AddDecorationBlock(FrontEndTranslator translator, ShaderType shaderType, ShaderBlock decorationsBlock)
{
var decorationBlockLiteral = translator.CreateConstantLiteral((int)Spv.Decoration.Deco... |
Libraries/Slf/TypeSystems/Abstract/_Internal/GenericLayer/Members/_MembersBase{TMember}.cs | AlexanderMorou/AbstractionProject | 0 | 7055577 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AllenCopeland.Abstraction.Slf.Abstract.Members;
using AllenCopeland.Abstraction.Slf.Abstract;
/*---------------------------------------------------------------------\
| Copyright © 2008-2016 <NAME>. [<NAME>] Copeland J... |
src/Tapi.Core/Model/DayConsumer.cs | TransformingAudiences/pi | 0 | 7055578 | using System;
using System.Collections.Generic;
using System.Linq;
namespace tapi
{
public class DayConsumer : Unit
{
public string Id { get; }
public double Weight { get; }
public DateTime Date { get; }
public DayConsumer(string id, DateTime date,double weight, IEnumerable<Vari... |
SmsProvider/Models/NRS/NrsGatewayRequest.cs | marioballe/sms-push | 1 | 7055579 | <reponame>marioballe/sms-push
using System;
using System.Collections.Generic;
using System.Text;
namespace Sms.Provider.Models.NSR
{
public class NrsGatewayRequest
{
public List<string> to { get; set; }
public string text { get; set; }
public string from { get; set; }
}
... |
AdventOfCode2020/Day04.cs | patboyer/advent_of_code_2020 | 0 | 7055580 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace AdventOfCode2020
{
public class Passport
{
public string BirthYear { get; set; }
public string CountryID { get; set; }
public string ExpirationYear ... |
Exam.FormUI/Localization/Roles/Localizator.cs | liannoi/exam-wpf | 0 | 7055581 | <filename>Exam.FormUI/Localization/Roles/Localizator.cs<gh_stars>0
// Copyright 2020 <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/LICENS... |
src/UnitTests/UnitTests.Delta.Units/SimpleUnitTests.cs | odalet/Delta.Units | 3 | 7055582 | <reponame>odalet/Delta.Units<filename>src/UnitTests/UnitTests.Delta.Units/SimpleUnitTests.cs
using System.Diagnostics.CodeAnalysis;
using Xunit;
namespace Delta.Units
{
[ExcludeFromCodeCoverage]
public class SimpleUnitTests
{
[Fact]
public void Compatibility()
{
var cm ... |
source/MikhailKhalizev.Max/source/Program/Auto/z-1009-c30c.cs | mikhail-khalizev/max | 3 | 7055583 | using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x1009_c30c-3b44c313")]
public void Method_1009_c30c()
{
ii(0x1009_c30c, 5); push(0x28); ... |
src/NoBeerNoParty.Simulation/Program.cs | ccanizares/NoBeerNoPartyAzure | 1 | 7055584 | using Newtonsoft.Json;
using NoBeerNoParty.Common.Model;
using NoBeerNoParty.Simulation.Services;
using NoBeerNoParty.Common.Services;
using RedDog.Search.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;
namespace No... |
AdaptiveHR/Model/LeaveDTO.cs | AllenFreecs/AdaptiveHR | 0 | 7055585 | <filename>AdaptiveHR/Model/LeaveDTO.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AdaptiveHR.Model
{
public class LeaveDTO
{
public int Id { get; set; }
public int? ID_LeaveType { get; set; }
public string Description { get; set; }
publ... |
oldJudger/src/Judger/DefaultJudger.cs | sdnuacmicpc/sdnuoj | 27 | 7055588 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Diagnostics;
using System.IO;
using JudgeClient.Definition;
namespace JudgeClient.Judger
{
public class DefaultJudger : IJudger
{
private int... |
ArtifactAPI/Models/DecodedDeck.cs | JoshLmao/ArtifactAPI.NET | 8 | 7055589 | <gh_stars>1-10
using System.Collections.Generic;
namespace ArtifactAPI.Models
{
/// <summary>
/// A deck decoded from a deck code. Only contains deck id's and required info. SHould be converted into Deck class for full info on cards
/// </summary>
public class DecodedDeck
{
/// <summary>
... |
MultidimensionalArrays/MultidimensionalArrays/2X2SquaresInMatrixEXERCISE/StartUp.cs | Monna9505/CSharp-Advanced | 0 | 7055590 | using System;
using System.Linq;
namespace _2X2SquaresInMatrixEXERCISE
{
class StartUp
{
static void Main(string[] args)
{
int[] rowsCols = Console.ReadLine().Split().Select(int.Parse).ToArray();
char[][] myMatrix = new char[rowsCols[0]][];
for (int i = 0; ... |
tools/Chiro.CiviSync/Chiro.CiviSync.Services/SyncService.StandaardAdresBewaren.cs | Chirojeugd-Vlaanderen/gap | 0 | 7055591 | /*
Copyright 2013-2015 Chirojeugd-Vlaanderen vzw
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... |
NewLife.IoT/ThingModels/PropertyModel.cs | NewLifeX/NewLife.IoT | 5 | 7055592 | namespace NewLife.IoT.ThingModels;
/// <summary>设备属性模型</summary>
public class PropertyModel
{
/// <summary>名称</summary>
public String Name { get; set; }
/// <summary>数值</summary>
public Object Value { get; set; }
} |
UnityProject/Assets/Source/ComponentBindings/ImageBinding.cs | MaximilianRue/comp-bind | 0 | 7055594 | <gh_stars>0
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using System.Threading.Tasks;
//using UnityEditor;
//using UnityEngine;
//using UnityEngine.UI;
//namespace CompBind.ComponentBindings
//{
// [RequireComponent(typeof(Image))]
// class ImageBinding : Comp... |
src/DialogueEditor/DialogueEditor.Avalonia/Views/StartupView.axaml.cs | ac2pic/CCExtraDialogue | 4 | 7055595 | using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
namespace DialogueEditor.Avalonia.Views
{
public partial class StartupView : Window
{
public StartupView()
{
InitializeComponent();
#if DEBUG
this.AttachDevTools();
#endif
}
private voi... |
EM_PORTABLE/EM_PORTABLE/EM_PORTABLE.iOS/ChangePasswordController.cs | MobiliyaTechnologies/MobileApplication | 0 | 7055596 | <filename>EM_PORTABLE/EM_PORTABLE/EM_PORTABLE.iOS/ChangePasswordController.cs<gh_stars>0
using EM_PORTABLE.iOS.Utils;
using EM_PORTABLE.Models;
using EM_PORTABLE.Utils;
using Foundation;
using Newtonsoft.Json;
using System;
using UIKit;
using System.Net.Http;
using SidebarNavigation;
namespace EM_PORTABLE.iOS
{
p... |
Integration/CreateUsersViaRESTService/WebForm1.aspx.cs | Kentico/Samples | 3 | 7055598 | <reponame>Kentico/Samples<filename>Integration/CreateUsersViaRESTService/WebForm1.aspx.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Xml;
using System.Xml.L... |
NetControl4BioMed/Pages/Administration/Databases/DatabaseNodeFields/Details.cshtml | angelcnx/NetControl4BioMed | 0 | 7055599 | @page
@model DetailsModel
@{
ViewData["Title"] = "Database node field details";
}
<div class="row align-items-center">
<div class="col-lg-6 mb-3">
<a asp-page="/Administration/Databases/DatabaseNodeFields/Edit" asp-route-id="@Model.View.DatabaseNodeField.Id" class="btn btn-warning btn-block" title="Ed... |
src/libraries/System.Text.RegularExpressions/tests/FunctionalTests/CustomDerivedRegexScenarioTest.cs | berkansasmaz/runtime | 12 | 7055600 | <reponame>berkansasmaz/runtime
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Threading;
using Xunit;
namespace System.Text.RegularExpressions.Tests
{... |
src/Conductor.Domain/Interfaces/IWorkflowBulkRepository.cs | apuliasoft/conductor | 0 | 7055601 | <filename>src/Conductor.Domain/Interfaces/IWorkflowBulkRepository.cs
using System.Collections.Generic;
using System.Threading.Tasks;
using WorkflowCore.Models;
namespace Conductor.Domain.Interfaces
{
public interface IWorkflowBulkRepository
{
Task<IEnumerable<string>> GetAllInstanceIds(string workflow... |
ModelGraph/ModelGraph.Core/Model/LineModel/PropertyTextrModel_617 .cs | davetz/ModelGraph2 | 0 | 7055602 | <gh_stars>0
namespace ModelGraph.Core
{
public class PropertyTextModel_617 : PropertyModel
{
internal PropertyTextModel_617(LineModel owner, Item item, Property prop) : base(owner, item, prop) { }
internal override IdKey IdKey => IdKey.PropertyTextModel_617;
public override bool IsText... |
TankLib/STU/Types/Enums/Enum_447977DB.cs | Mike111177/OWLib | 1 | 7055603 | // Enum generated by TankLibHelper.EnumBuilder
// ReSharper disable All
namespace TankLib.STU.Types.Enums {
[STUEnumAttribute(0x447977DB)]
public enum Enum_447977DB : uint {
[STUFieldAttribute(0x12FC2D98)]
x12FC2D98 = 0x0,
[STUFieldAttribute(0x5D02B014)]
x5D02B014 = 0x1,
... |
CMS.Data/ModelEntity/ReplaceChar.cs | cuhuytoan/CMS.Api | 0 | 7055604 | // <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
#nullable disable
namespace CMS.Data.Mo... |
src/Transports/MassTransit.GrpcTransport/Topology/Builders/IGrpcTopologyBuilder.cs | NooNameR/MassTrans | 4,222 | 7055605 | namespace MassTransit.GrpcTransport.Topology.Builders
{
using Contracts;
public interface IGrpcTopologyBuilder
{
void ExchangeBind(string source, string destination, string routingKey);
void QueueBind(string source, string destination);
void ExchangeDeclare(string name, ExchangeT... |
ApolloSTL/Assets/Scripts/ZenithalLightToggle.cs | videege/apollo-stl | 1 | 7055607 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ZenithalLightToggle : MonoBehaviour
{
Toggle toggle;
[SerializeField] private LightController lightController;
// Start is called before the first frame update
void Start()
{
t... |
Assets/Scripts/sporeController.cs | estevaosaleme/unity-2d-game | 0 | 7055608 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class sporeController : MonoBehaviour
{
public float sporeSpeedHigh;
public float sporeSpeedLow;
public float sporeAngle;
public float sporeTorqueAngle;
Rigidbody2D sporeRB;
// Start is called before the fi... |
Lazurite/LazuriteMobile.App/LazuriteMobile.App/Switches/ToggleView.xaml.cs | noant/Pyrite2 | 55 | 7055609 | <reponame>noant/Pyrite2<gh_stars>10-100
using Lazurite.MainDomain;
using LazuriteMobile.App.Switches.Bases;
using LazuriteMobile.App.Switches.Bases.Converters;
using System;
using System.Threading;
namespace LazuriteMobile.App.Switches
{
public partial class ToggleView : SwitchBase
{
public ToggleView... |
TheFirestProject/TheFirestProject/Program.cs | davidpales1/programering_Tutorial | 0 | 7055610 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Globalization;
using System.Net;
namespace theThirdCheckPoint
{
class Program
{
static void Main(string[] args)
{
string test = commounFunctions.ConvertToLocalMonyFromNet(50);
Console.WriteL... |
ModernSlavery.WebUI.Viewing/Views/Viewing/Finder/Parts/MainContent.cshtml | UKHomeOffice/Modern-Slavery-Alpha | 0 | 7055611 | @model SearchViewModel
<div>
<partial name="Finder/Parts/ResultsInfo" model="Model"/>
</div>
@if (Model.Employers.ActualRecordTotal > 1)
{
<div id="AddAllOrgsToCompare" style="@(Model.t == "1" ? "display: none;" : "display: block;");">
<a rel="track" data-track-category="Compare Link Clicked" href="@... |
PortForward/Client.cs | nevtum/PortForward | 0 | 7055612 | <reponame>nevtum/PortForward
using System;
namespace PortForward
{
public abstract class Client
{
private Socket _socket;
public Client(Socket socket)
{
_socket = socket;
socket.OnDataRecieved += OnDataRecieved;
}
public virtual void Push(byte[... |
FB2EPubConverter/FB2Loaders/FB2FileLoader.cs | MyHomeLibrary/FB2ePub | 1 | 7055614 | <filename>FB2EPubConverter/FB2Loaders/FB2FileLoader.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Xml;
using System.Xml.Linq;
using ConverterContracts.Settings;
using FB2Library;
namespace FB2EPubConverter.FB2Loaders
{
/// <summary>
/// Used to load FB2 files
/// </summa... |
Scripts/UI/UIMediaListEntry.cs | insthync/simple-media-unity-sdk | 0 | 7055615 | using UnityEngine;
using UnityEngine.UI;
namespace SimpleMediaSDK
{
public class UIMediaListEntry : MonoBehaviour
{
public Text textId;
public Text textPlayListId;
public Text textTitle;
public Text textDuration;
public Text textSortOrder;
public MediaData Data {... |
ZS.Common.Win32/ZS.Common.Win32/Win32Provider/Win32_NetworkAdapterConfiguration.cs | sugartomato/AllProjects | 0 | 7055616 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ZS.Common.Win32.Win32Provider
{
/// <summary>
/// 网卡配置信息
/// </summary>
public class Win32_NetworkAdapterConfiguration:Win32ProviderBase
{
/// <summary>
/// Short textual de... |
src/Firestorm.Core/Services/IRequestServiceProvider.cs | connellw/Firestorm | 13 | 7055617 | <reponame>connellw/Firestorm
using System;
namespace Firestorm
{
/// <summary>
/// An <see cref="IServiceProvider"/> capable of resolving requests for the current request.
/// </summary>
public interface IRequestServiceProvider : IServiceProvider
{
}
} |
DoctrineShips.Data/Mapping/SubscriptionPlanMap.cs | carlgevans/doctrineships | 3 | 7055618 | namespace DoctrineShips.Data.Mapping
{
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using DoctrineShips.Entities;
public class SubscriptionPlanMap : EntityTypeConfiguration<SubscriptionPlan>
{
public SubscriptionPlanMap()
{
... |
src/System.Data.JsonRpc.Tests/UtfJsonRpcSerializerTests.V1.cs | dmitry26/json-rpc | 0 | 7055619 | <reponame>dmitry26/json-rpc
using System.Collections.Generic;
using System.Data.JsonRpc.Tests.Resources;
using Xunit;
namespace System.Data.JsonRpc.Tests
{
public partial class Utf8JsonRpcSerializerTests
{
// Tests based on the Bitcoin protocol specification (https://bitcoin.org/en/developer-reference... |
DiscordBot/Giphy.cs | MarleyFi/Jenkins | 0 | 7055620 | <filename>DiscordBot/Giphy.cs
using System;
using System.Linq;
using System.Net.Http;
using Discord;
using Newtonsoft.Json.Linq;
namespace DiscordBot
{
internal class Giphy
{
public static async void GetRandomGIF(Channel channel)
{
using (var client = new HttpClient())
... |
src/BrutalFutureFinder/Bar.cs | mastercs999/brutal-future-finder | 0 | 7055621 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace BrutalFutureFinder
{
public class Bar
{
public DateTime DateTimeFrom;
public DateTime... |
src/Sdk.Generator/TemplateMetadata/Services/CommandAttributeUtils.cs | cythral/brighid-commands-sdk | 0 | 7055622 | using System.Linq;
using System.Runtime.CompilerServices;
using Microsoft.CodeAnalysis;
namespace Brighid.Commands.Sdk.Generator.TemplateMetadata
{
/// <inheritdoc />
public class CommandAttributeUtils : ICommandAttributeUtils
{
/// <inheritdoc />
public string GetCommandName(AttributeData... |
src/ui/widgets/comboBox.cs | bholcomb/gameEngine | 9 | 7055623 | using System;
using System.Collections.Generic;
using OpenTK;
using OpenTK.Graphics;
using OpenTK.Graphics.OpenGL;
using OpenTK.Input;
using Graphics;
using Util;
namespace GUI
{
public static partial class UI
{
public static bool beginCombo(String name, String currentName, Vector2 size)
{
... |
DevTreks.Extensions/NPVCalculators/IOs/NPVIOSubscriber.cs | kpboyle1/devtreks2.1 | 0 | 7055624 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.Linq;
using System.Threading.Tasks;
using System.IO;
namespace DevTreks.Extensions
{
///<summary>
///Purpose: This class derives from the CalculatorContracts.InputOutputCalculator
//... |
src/Dfp/Lib/DfpServiceFactory.cs | MajaGrubbe/googleads-dotnet-lib | 0 | 7055625 | <gh_stars>0
// Copyright 2011, Google 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
//
// Unless required ... |
src/MakeLemonadeBot/EntryPoint.cs | pepelev/FunBot | 0 | 7055626 | using System;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Google.Apis.Auth.OAuth2;
using Google.Apis.Services;
using Google.Apis.Sheets.v4;
using Google.Apis.Util.Store;
using MakeLemonadeBot.Communication;
u... |
Party/Messaging/Transport/Serialization/StreamExtensions.cs | Davidnovarro/Party-Messaging | 0 | 7055627 | <gh_stars>0
using System.IO;
namespace Party.Messaging.Serialization
{
public static class StreamExtensions
{
public static void WriteUInt16(this Stream stream, ushort value)
{
stream.WriteByte((byte)(value & 0xFF));
stream.WriteByte((byte)(value >> 8));
}
... |
LogiCal/Nodes/Operators/BinaryOperator.cs | nikolaynikolaevn/LogiCal | 0 | 7055628 | <gh_stars>0
namespace LogiCal
{
abstract class BinaryOperator : Node
{
protected Node leftNode;
protected Node rightNode;
public BinaryOperator(Node leftNode, Node rightNode)
{
this.leftNode = leftNode;
this.rightNode = rightNode;
}
public... |
data.cs | starnutoditopo/solitaire | 0 | 7055629 | using System;
using System.IO;
using System.Text;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Solitaire
{
public static class Data
{
public class GameData
{
public uint totalWins;
public uint bestTime;
}
... |
S2VX.Game.Tests/VisualTests/EditorScreenTests/NotesTimelineTests.cs | maxrchung/S2VX | 3 | 7055630 | using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Screens;
using osu.Framework.Utils;
using osuTK;
using osuTK.Input;
using S2VX.Game.Editor;
using S2VX.Game.Story;
using System.IO;
using System.Linq;
namespace S2VX.Game.Tests.VisualTests.EditorScreenTests {
pub... |
src/OsuSharp.Domain/Interfaces/IEvent.cs | minhducsun2002/OsuSharp | 31 | 7055631 | using System;
using OsuSharp.Domain;
namespace OsuSharp.Interfaces
{
public interface IEvent : IClientEntity
{
DateTimeOffset CreatedAt { get; }
long Id { get; }
EventType Type { get; }
}
} |
Viewseprite/Packages/io.github.ruccho.viewseprite/Runtime/Scripts/GrabberWithSprite.cs | ruccho/Viewseprite | 3 | 7055632 | <filename>Viewseprite/Packages/io.github.ruccho.viewseprite/Runtime/Scripts/GrabberWithSprite.cs<gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Viewseprite
{
public abstract class GrabberWithSprite : GrabberBase
{
[SerializeField] pr... |
src/GraphQL.Tests/Subscription/SubscriptionSchemaWithAutoGraphType.cs | Mu-L/graphql-dotnet | 0 | 7055633 | #nullable enable
using System.Reactive.Linq;
using GraphQL.Types;
namespace GraphQL.Tests.Subscription;
public class SubscriptionSchemaWithAutoGraphType : Schema
{
public SubscriptionSchemaWithAutoGraphType()
{
Query = new AutoRegisteringObjectGraphType<QueryType>();
Mutation = new AutoRegist... |
tests/AuthorizeTest.cs | steven1152/B2.NET | 0 | 7055634 | <filename>tests/AuthorizeTest.cs
using System;
using System.IO;
using System.Net;
using System.Security.Cryptography;
using System.Text;
using B2Net;
using B2Net.Models;
using B2Net.Tests;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
namespace B2.Net.Tests {
[TestClass]
public class Au... |
API-Example/Assets/RTM-Engine/Rtm-Scripts/RtmChannelAttribute.cs | CC-test-web/Agora-Unity-RTM-SDK | 0 | 7055635 | <gh_stars>0
using UnityEngine;
using System.Runtime.InteropServices;
using System;
using AOT;
namespace agora_rtm {
public sealed class RtmChannelAttribute : IRtmApiNative {
private IntPtr _channelAttributePtr = IntPtr.Zero;
private MESSAGE_FLAG _flag = MESSAGE_FLAG.SEND;
private string _key {
get;
set;... |
Modern Operating Systems Lab4/Models/ClientService.cs | MaxBondarchuk/Modern-Operating-Systems-Lab4 | 0 | 7055636 | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Modern_Operating_Systems_Lab4.Models
{
public class ClientService
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public Guid Id { get; set; }
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.