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 |
|---|---|---|---|---|
Dg.KMS/InitModule/Animal/IAnimal.cs | PowerDG/Dg.KMS.Web | 1 | 7044243 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Animal
{
//https://www.cnblogs.com/Chary/p/11351457.html
//深入浅出依赖注入容器——Autofac
public interface IAnimal
{
void SayHello();
}
public class Doge : IAnimal
{
public void... |
source/FWF.FluidEntity - Copy/Data/IProc.cs | FrameworkFactory/FluidEntity | 1 | 7044244 | <filename>source/FWF.FluidEntity - Copy/Data/IProc.cs
using System.Collections.Generic;
namespace FWF.FluidEntity.Data
{
public interface IProc
{
string Name { get; }
IEnumerable<IProcParameter> Parameters { get; }
}
}
|
camdangel.webapi/Tools/DataTools.cs | veysel/camdangel | 0 | 7044245 | using System.Collections.Generic;
using camdangel.webapi.Models;
namespace camdangel.webapi.Tools
{
public static class DataTools
{
public static List<MenuModel> GetMenuList()
{
List<MenuModel> menuList = new List<MenuModel>();
menuList.Add(new MenuModel { Id = 1, Title... |
src/GrainInterfaces/IUserGrain.cs | Sveer/rrod | 408 | 7044246 | <reponame>Sveer/rrod<filename>src/GrainInterfaces/IUserGrain.cs
using Orleans;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace GrainInterfaces
{
public enum Gender
{
Unknown = 0,
Male = 1,
Female = 2,
Other = 9
}
public class Invi... |
XCScript/Plugins/Interaction/PathProperty.cs | AndrewAGuy/XCScript | 0 | 7044247 | using System.IO;
namespace XCScript.Plugins.Interaction
{
/// <summary>
/// Paths to files and directories
/// </summary>
public class PathProperty : PropertyBase<string>, IProperty
{
/// <summary>
///
/// </summary>
/// <param name="n"></param>
/// <param ... |
_no_namespace/HeadgearTypeEnum.cs | SinsofSloth/RF5-global-metadata | 1 | 7044248 | public enum HeadgearTypeEnum // TypeDefIndex: 7071
{
// Fields
public int value__; // 0x0
public const HeadgearTypeEnum Hat = 0;
public const HeadgearTypeEnum Headband = 1;
public const HeadgearTypeEnum Ribbon = 2;
public const HeadgearTypeEnum Hairpin = 3;
public const HeadgearTypeEnum Glasses = 4;
public cons... |
PresidentWeb/Views/Offices.cshtml | chrisjsherm/FinanceWeb | 0 | 7044249 | @inherits Umbraco.Web.Mvc.UmbracoTemplatePage
@{
Layout = "_Layout.cshtml";
}
<div class="title-banner">
<div class="row">
<div class="small-12 large-12 columns">
<h1>@Umbraco.Field("Headline")</h1>
</div>
</div>
</div>
@{
var members = Umbraco.TypedContentAtXPath("//Offic... |
src/MLOps.NET/Storage/Interfaces/IHyperParameterRepository.cs | RonaldMariah/MLOps.NET | 66 | 7044250 | using System;
using System.Threading.Tasks;
namespace MLOps.NET.Storage
{
/// <summary>
/// Repository to access and manage hyperparameters
/// </summary>
public interface IHyperParameterRepository
{
/// <summary>
/// Logs a given hyperparameter for a run
/// </summary>
... |
FullReceiver/Helpers.cs | cecilphillip/azure-servicebus-playaround | 0 | 7044251 | <reponame>cecilphillip/azure-servicebus-playaround
using Microsoft.ServiceBus.Messaging;
using Newtonsoft.Json.Linq;
using System;
using System.IO;
using System.Threading.Tasks;
namespace FullReceiver
{
public static class Helpers
{
public const string ConnectionStringKey = "Microsoft.ServiceBus.Conne... |
src/EA.Weee.RequestHandlers/Search/FetchOrganisationSearchResultsForCache/IFetchOrganisationSearchResultsForCacheDataAccess.cs | uk-gov-mirror/defra.prsd-weee | 2 | 7044252 | namespace EA.Weee.RequestHandlers.Search.FetchOrganisationSearchResultsForCache
{
using EA.Weee.Core.Search;
using System.Collections.Generic;
using System.Threading.Tasks;
public interface IFetchOrganisationSearchResultsForCacheDataAccess
{
/// <summary>
/// Returns a list of all ... |
Ant/Rig.cs | ollelogdahl/ScreenInvasion | 0 | 7044253 | <reponame>ollelogdahl/ScreenInvasion<gh_stars>0
using OEngine;
namespace AntInvasion {
class Rig {
// Ant Body -----------------------------------------------------------
public Vec2 BodyA {get; private set;}
public Vec2 BodyB {get; private set;}
public Vec2 BodyC {get; priva... |
Facturama/Models/Complements/Payroll/Payroll.cs | rafa-dx/facturama-dotnet-sdk | 2 | 7044254 | using System;
using Facturama.Services;
using Newtonsoft.Json;
namespace Facturama.Models.Complements.Payroll
{
public class Payroll
{
[JsonProperty("Issuer")]
public Issuer Issuer { get; set; }
[JsonProperty("Employee")]
public Employee Employee { get; set; }
[JsonProperty("Perceptions")]
public Perc... |
Primeiro/PrimeiroTests2/ContasTests.cs | N0N4T0/dio-bootcamp-1 | 0 | 7044255 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Contas;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Contas.Tests
{
[TestClass()]
public class ContasTests
{
[TestMethod()]
public void SomaTest()
... |
SPToCore/T4/SPToCoreT4Data.cs | burukan/SPToCore | 46 | 7044256 | using SPToCore.Model;
using System.Collections.Generic;
namespace SPToCore.T4
{
partial class SPToCoreT4
{
private List<Sp> SpList { get; set; }
private string Namespace { get; set; }
private string SolutionDestinationFolder { get; set; }
private string DestinationDbContext { ... |
bam.net.schema.org/Schema.Org/Things/Review.cs | BryanApellanes/bamsdo | 0 | 7044257 | <reponame>BryanApellanes/bamsdo<gh_stars>0
using Bam.Net.Schema.Org.DataTypes;
namespace Bam.Net.Schema.Org.Things
{
///<summary>A review of an item - for example, of a restaurant, movie, or store.</summary>
public class Review: CreativeWork
{
///<summary>The item that is being reviewed/rated.</summary>
public ... |
com.Github.Haseoo.BMMS.Wpf/SelectMaterialDialog.xaml.cs | Haseoo/Building-Material-Management-System | 1 | 7044258 | <gh_stars>1-10
using com.Github.Haseoo.BMMS.Business.DTOs;
using com.Github.Haseoo.BMMS.Business.Services;
using System;
using System.Linq;
using System.Windows;
namespace com.Github.Haseoo.BMMS.Wpf
{
/// <summary>
/// Interaction logic for SelectMaterialDialog.xaml
/// </summary>
public partial class... |
Common.Tests/Providers/ConfigProviderTest.cs | CMITInternational/Guitars | 0 | 7044259 | using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.Providers;
using NUnit.Framework;
namespace Common.Tests.Providers
{
[TestFixture]
public class ConfigProviderTest
{
private ConfigProvider _providerUnderTest;
[SetUp]
... |
DataStructuresAndAlgorithms/Algorithms/Recursion/Fibonacci.cs | HollowLukeDias/DataStructuresAndAlgorithms | 1 | 7044260 | using System;
using System.Collections.Generic;
using System.Text;
namespace DataStructuresAndAlgorithms.Algorithms.Recursion
{
class Fibonacci
{
public static long RecursiveFibonacci(long number)
{
if (number < 2)
{
return number;
}
... |
demos/initial/MusicStore/MusicStore/CustomHtmlHelpers.cs | newventuresoftware/kendoui-for-aspnet | 0 | 7044261 | <reponame>newventuresoftware/kendoui-for-aspnet
namespace MusicStore
{
using System.Collections.Generic;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
public static class CustomHtmlHelpers
{
public static IHtmlString MyList(this HtmlHelper helper, IEnumerable<string... |
code/extensions/EntityExtensions.cs | Adesii/DarkBindsEvil | 0 | 7044262 | namespace DarkBinds;
public static class EntityExtension
{
/// <summary>
/// Kill an entity by applying float.MaxValue Generic Damage.
/// </summary>
/// <param name="ent">Entity Extension</param>
public static void Kill( this Entity ent )
{
ent.TakeDamage( DamageInfo.Generic( float.MaxValue ) );
}
/// <sum... |
components/modal/confirmDialog/ConfirmRef.cs | noctis0430-open-source/ant-design-blazor | 3,659 | 7044263 | <reponame>noctis0430-open-source/ant-design-blazor<gh_stars>1000+
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace AntDesign
{
/// <summary>
///
/// </summary>
public class ConfirmRef : FeedbackRefWithOkCancelBase
{
#region interna... |
Tests/MathCore.WPF.WindowTest/GlobalHotKey.cs | Platonenkov/MathCore.WPF | 5 | 7044264 | using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
using System.Threading;
using System.Windows.Input;
using System.Windows.Interop;
namespace MathCore.WPF.WindowTest
{
public class GlobalHotKey : IDisposable
{
/// <summary>
/// Define a system-wide hot key.
... |
src/cs/Microsoft.PhoneticMatching/Matchers/FuzzyMatcher/IFuzzyMatcher.cs | skoomasteve/PhoneticMatching | 89 | 7044265 | <gh_stars>10-100
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Microsoft.PhoneticMatching.Matchers
{
using System;
using System.Collections.Generic;
/// <summary>
/// Fuzzy Matcher interface.
/// </summary>
/// <typeparam name="Targe... |
UnityProject/Assets/OurScripts/Porte/Notifiable/Obj_Output.cs | pja35/LogicGates-Last | 2 | 7044266 | using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Pour gerer l'objet comme un Output pouvant se connecter à un Input valide.
/// </summary>
public class Obj_Output : IInOut, INotifiable
{
/// <summary>
/// ed. Si le cable peut être détruit ou non. (Utilisé pour les connections i... |
OracleScriptRunnerSettingsTest/AddOnScriptManagerTests.cs | matthiasgenzel/OracleScriptRunner | 0 | 7044267 | using NUnit.Framework;
using OracleScriptRunnerSettings;
using OracleScriptRunnerSettingsTest.Mocks;
namespace OracleScriptRunnerSettingsTest
{
internal class AddOnScriptManagerTests
{
AddOnScriptsManager _manager;
const string ScriptText = "select * from dual";
[SetUp]
public... |
Src/Kaushik.Spot.StandardClient/ClientProgram.cs | cwithfourplus/kaushikspotservices | 0 | 7044268 | using System;
using System.Security.Cryptography;
namespace Kaushik.Spot.ConsoleClient
{
class ClientProgram
{
static void Main(string[] args)
{
TestSpotService(1000000);
//Crypto();
Console.ReadLine();
}
public static void TestSpotServic... |
src/dajet-metadata/enrichers/converters/DataTypeInfoConverter.cs | zhichkin/dajet-metadata | 13 | 7044269 | using DaJet.Metadata.Model;
using DaJet.Metadata.Services;
using System;
using System.Collections.Generic;
using System.Linq;
namespace DaJet.Metadata.Converters
{
public sealed class DataTypeInfoConverter : IConfigObjectConverter
{
private readonly Dictionary<Guid, Dictionary<Guid, ApplicationObject>... |
src/Messaging/NBB.Messaging.Abstractions/MessageBusPublisher.cs | VCuzmin/nbb | 1 | 7044270 | // Copyright (c) TotalSoft.
// This source code is licensed under the MIT license.
using NBB.Core.Abstractions;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensio... |
CS_MVC5/Views/Lite/Index.cshtml | radpdf/samples | 0 | 7044271 | @using System.Web.UI.WebControls;
@using RadPdf.Web.UI;
@*
To use the Client API, the following code must be in the <head> element of your View's HTML:
@Html.Raw(RadPdf.Web.UI.PdfWebControl.RenderHead())
See: /Views/Shared/_Layout.cshtml
*@
@{
ViewBag.Title = "RAD PDF Lite Sample";
// Get web control from ViewB... |
MoreLinq/CountMethods.cs | sid-6581/MoreLINQ | 2,999 | 7044272 | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2016 <NAME> (leandromoh). 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
//
//... |
TiendaElectronicos-Tarea 7/BL.Tecnologia/Resultado2.cs | thaniay/ventas | 0 | 7044273 | <filename>TiendaElectronicos-Tarea 7/BL.Tecnologia/Resultado2.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BL.Tecnologia
{
public class Resultado2 // 2da clase usada para validaciones
{
public bool Exitoso { get; set; ... |
src/Asp.Net.MVC/ExitGames.Web.Sample/Controllers/ClientController.cs | exitgames/photon.custom-authentication | 32 | 7044274 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ClientController.cs" company="Exit Games GmbH">
// Copyright (c) Exit Games GmbH. All rights reserved.
// </copyright>
// <summary>
// Defines the ClientController type.
// <... |
Brushes/Arc3PointsBrush.cs | jibonaronno/ArduinoLadder | 43 | 7044275 | <gh_stars>10-100
using System;
using Cairo;
namespace LadderLogic.Brushes
{
using File.DrawingFile;
public static class Arc3PointsBrush
{
public static void Draw(Context grw, Arc3PointsElement arc)
{
const double eps = 0.000001;
double arcStart;
double arcEnd;
if (arc.Foregraund !=... |
MtaServer.Packets/Definitions/Sync/ReturnSyncPacket.cs | CrosRoad95/Slipe-Server | 1 | 7044276 | <gh_stars>1-10
using MtaServer.Packets.Enums;
using MtaServer.Packets.Structures;
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Text;
using System.Linq;
using System.Runtime.CompilerServices;
namespace MtaServer.Packets.Definitions.Sync
{
public class ReturnSyncPacket : Pack... |
src/Zooyard.Rpc.AkkaImpl.Extensions/ServiceBuilderExtensions.cs | wutao0315/zooland | 9 | 7044277 | <reponame>wutao0315/zooland
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using Zooyard.Core;
using Zooyard.Rpc.Cache;
using Zooyard.Rpc.Cluster;
using Z... |
src/LazyEntityGraph.AutoFixture/LazyEntityGraphCustomization.cs | GaryFreeman/LazyEntityGraph | 17 | 7044278 | using LazyEntityGraph.Core;
using AutoFixture;
using AutoFixture.Kernel;
using System;
namespace LazyEntityGraph.AutoFixture
{
public class LazyEntityGraphCustomization : ICustomization
{
private readonly ModelMetadata _modelMetadata;
public LazyEntityGraphCustomization(ModelMetadata modelMet... |
src/MarkPad.PluginApi/IPluginSettingsProvider.cs | asine/DownmarkerWPF | 817 | 7044279 | using System.ComponentModel.Composition;
namespace MarkPad.Plugins
{
[InheritedExport]
public interface IPluginSettingsProvider
{
T GetSettings<T>() where T : IPluginSettings, new();
void SaveSettings<T>(T settings) where T : IPluginSettings, new();
}
}
|
Program.cs | AlexTox/Right-Triangle-Utilites | 0 | 7044280 | using System;
using static RightTriangle.ConsoleUtilites;
namespace RightTriangle
{
class Program
{
static void Main(string[] args)
{
while (true)
{
int[] _sides = new int[3];
for (int _sideNumber = 0; _sideNumber < _sides.Length; _sideN... |
src/Web.Server/Program.cs | zhichkin/one-c-sharp-sql | 16 | 7044281 | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using OneCSharp.Metadata.Model;
using OneCSharp.Metadata.Services;
using System;
using System.IO;
namespace OneCSharp.Web... |
Ghost.NET/Models/Page.cs | hevey/Ghost.Net | 1 | 7044282 | <reponame>hevey/Ghost.Net
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace GhostNet.Models
{
public class Page
{
[JsonPropertyName("slug")]
public string Slug { get; set; }
[JsonPropertyName("id")]
public string Id { get; set; }
... |
WhatsApp/WhatsApp/Areas/Admin/Views/Shared/_SideBar.cshtml | olaolumusic/WhatsApp | 1 | 7044283 | <button class="kt-aside-close " id="kt_aside_close_btn"><i class="la la-close"></i></button>
<div class="kt-aside kt-aside--fixed kt-grid__item kt-grid kt-grid--desktop kt-grid--hor-desktop" id="kt_aside">
<!-- begin:: Aside -->
<div class="kt-aside__brand kt-grid__item " id="kt_aside_brand">
<div c... |
src/XPath2/Iterator/SpecialChildNodeIterator.cs | wjgerritsen-0001/XPath2.Net | 27 | 7044284 | // Microsoft Public License (Ms-PL)
// See the file License.rtf or License.txt for the license details.
// Copyright (c) 2011, <NAME> (<EMAIL>)
// All rights reserved.
using System.Xml.XPath;
namespace Wmhelp.XPath2.Iterator
{
internal sealed class SpecialChildNodeIterator : SequentialAxisNodeIterator
{
... |
Stardew-Valley-Mods/PermanentCookoutKit/PermanentCookoutKit.cs | mc-kaishixiaxue/Stardew-Valley-Mods | 0 | 7044286 | namespace PermanentCookoutKit
{
using StardewModdingAPI;
using StardewValley;
using System;
using System.Collections.Generic;
using StardewObject = StardewValley.Object;
public static class ExtensionMethods
{
public static bool IsCookoutKit(this StardewObject o)
{
... |
DomainLayer/ServiceLayer/ServiceLayer/Implementations/CategoryService.cs | andrei-curta/auction-enterprise-app | 0 | 7044287 | // <copyright file="CategoryService.cs" company="Transilvania University of Brașov">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
namespace ServiceLayer.Implementations
{
using DataMapper.DAO;
using DomainModel.Models;
using DomainModel.Validators;
using ServiceLayer.Implementations;
... |
CustomRenderers/VideoPlayerDemos/VideoPlayerDemos/VideoPlayerDemos.UWP/FormsVideoLibrary/VideoPicker.cs | emersonk/xamarin-forms-samples | 27 | 7044288 | using System;
using System.Threading.Tasks;
using Windows.Storage;
using Windows.Storage.Pickers;
using Xamarin.Forms;
[assembly: Dependency(typeof(FormsVideoLibrary.UWP.VideoPicker))]
namespace FormsVideoLibrary.UWP
{
public class VideoPicker : IVideoPicker
{
public async Task<string> GetVideoFileAs... |
LocalSettings.Tests/LocalSettingServiceTests.cs | Sigurdur42/LocalSettings | 0 | 7044289 | using System;
using System.Collections.Generic;
using System.IO;
using NUnit.Framework;
namespace LocalSettings.Tests
{
public class LocalSettingServiceTests
{
private readonly List<FileInfo> _filesToDeleteAtTheEnd = new List<FileInfo>();
private DirectoryInfo _workDirectory;
private ... |
Master40.XUnitTest/Online/Agents/Types/ArticleCache.cs | MaxWeickert/ng-erp-4.0 | 0 | 7044290 | using Akka.TestKit.Xunit;
using Master40.DB;
using Master40.DB.Data.Context;
using Master40.DB.Data.Helper;
using Master40.DB.Data.Initializer;
using Master40.DB.Nominal.Model;
using Xunit;
namespace Master40.XUnitTest.Online.Agents.Types
{
public class ArticleCache : TestKit
{
private DataBase<Produc... |
src/TonClientBlazor.Domain/Modules/Contract/TonContractDecodeRunOutputParams.cs | ch1seL/TonClientBlazor | 6 | 7044291 | using System.Text.Json.Serialization;
namespace ch1seL.TonClientBlazor.Modules.Contract
{
public class TonContractDecodeRunOutputParams
{
[JsonPropertyName("abi")] public TonAbi Abi { get; set; }
[JsonPropertyName("bodyBase64")] public string BodyBase64 { get; set; }
[JsonPropertyNam... |
InfobipClient/InfobipClientLib/Infobip/Api/Model/Sms/Mt/Send/Tracking.cs | lira92/infobip-api-csharp-client | 0 | 7044292 | using System.Collections.Generic;
using Newtonsoft.Json;
using System;
namespace Infobip.Api.Model.Sms.Mt.Send
{
/// <summary>
/// This is a generated class and is not intended for modification!
/// </summary>
public class Tracking
{
[JsonProperty("track")]
public string Track { get... |
WEB/Src/EventCounterCollector/EventCounterCollector.Tests/TestEventCounter.cs | ylabade/ApplicationInsights-dotnet | 238 | 7044293 | <filename>WEB/Src/EventCounterCollector/EventCounterCollector.Tests/TestEventCounter.cs
using System;
using System.Collections.Generic;
using System.Diagnostics.Tracing;
using System.Text;
namespace EventCounterCollector.Tests
{
[EventSource(Name = "Microsoft-ApplicationInsights-Extensibility-EventCounterCollecto... |
itext.tests/itext.styledxmlparser.tests/itext/styledxmlparser/jsoup/parser/TokenQueueTest.cs | criipto/itext7-dotnet | 990 | 7044294 | <reponame>criipto/itext7-dotnet
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2021 iText Group NV
Authors: iText Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
AGPL... |
WUD240B1299/Interop.WUApiLib.dll/WUApiLib/IUpdateInstallationResult.cs | eladkarako/WUD-Source | 1 | 7044295 | namespace WUApiLib
{
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[ComImport, Guid("D940F0F8-3CBB-4FD0-993F-471E7F2328AD"), TypeLibType((short) 0x10c0)]
public interface IUpdateInstallationResult
{
[DispId(0x60020001)]
int HResult {... |
UCloudSDK/Models/UHost/DescribeImage.ImageSet.cs | sanjusss/ucloud-csharp-sdk | 1 | 7044296 | namespace UCloudSDK.Models
{
/// <summary>
/// 获取指定数据中心镜像列表,用户可通过指定操作系统类型,镜像Id进行过滤。
/// <para>
/// http://docs.ucloud.cn/api/uhost/describe_image.html
/// </para>
/// </summary>
public partial class DescribeImageSet
{
/// <summary>
/// 镜像ID
... |
voicemodel/src/GoogleAssistant/ActionSDK/TableCardItem.cs | voicebridge/most | 3 | 7044297 | <gh_stars>1-10
using Newtonsoft.Json;
namespace VoiceBridge.Most.VoiceModel.GoogleAssistant.ActionSDK
{
public class TableCardItem
{
[JsonProperty("tableCard")]
public TableCard Value { get; set; }
}
} |
Epi.Windows/Controls/DragableGroupBox.cs | keymind/Epi-Info-Community-Edition | 14 | 7044298 | #region Namespaces
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
using System.Collections.Generic;
using Epi.Fields;
using Epi.Windows;
#endregion
namespace Epi.Windows.Controls
{
/// <summary>
/// A ... |
Magalu.Challenge.ApplicationServices/AutoMapper/Profiles/ApplicationToDomainProfile.cs | ivelten/MagaluChallenge | 0 | 7044299 | using AutoMapper;
using Magalu.Challenge.Application.Models.Customer;
using Magalu.Challenge.Application.Models.Product;
using Magalu.Challenge.Domain.Entities;
namespace Magalu.Challenge.ApplicationServices.AutoMapper.Profiles
{
public class ApplicationToDomainProfile : Profile
{
public ApplicationTo... |
Epi.Web.CheckCodeEngine/Rules/Rule_Quit.cs | 82ndAirborneDiv/Epi-Info-Cloud-Data-Capture | 14 | 7044300 | <reponame>82ndAirborneDiv/Epi-Info-Cloud-Data-Capture
using System;
using System.Collections.Generic;
using System.Text;
namespace Epi.Core.EnterInterpreter.Rules
{
public class Rule_Quit : EnterRule
{
public Rule_Quit(Rule_Context pContext)
: base(pContext)
{
... |
ProgrammingFundamentalsCSharp/12RegularExpressionsRegex/07QueryMess/QueryMess.cs | lapd87/SoftUniProgrammingFundamentalsCSharp | 0 | 7044301 | namespace QueryMess
{
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
public class StartUp
{
public static void Main()
{
string input = Console.ReadLine();
string replaceWithSpace = @"(%20)|(\+)";
string re... |
OAuthApp/Areas/Identity/Pages/Account/ForgotPasswordConfirmation.cshtml | geffzhang/IdentityServer4.MicroService | 13 | 7044302 | @page
@model ForgotPasswordConfirmation
<div class="text-center mt-5 pt-5">
<div class="text-success mb-4">
<svg width="5em" height="5em" viewBox="0 0 16 16" class="bi bi-check-circle" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14... |
KimonoCore.Mac/Classes/KimonoDesignSurface.cs | vvolkgang/KimonoDesigner | 275 | 7044303 | <gh_stars>100-1000
using System;
using AppKit;
using CoreGraphics;
using Foundation;
using SkiaSharp;
using KimonoCore;
namespace KimonoCore.Mac
{
/// <summary>
/// The Kimono Design Surface is a Xamarin.Mac specific editing surface that allows the
/// user to modify a given <c>KimonoPortfolio</c> and the collecti... |
Core/Parser/MSSql/Parser.cs | pinopino/CodeGenerator | 5 | 7044304 | <reponame>pinopino/CodeGenerator
using Generator.Common;
using Generator.Core.Config;
using Microsoft.SqlServer.Management.Smo;
using System;
using System.Collections.Generic;
using System.Data.Common;
namespace Generator.Core.MSSql
{
public class Parser : BaseParser
{
public Parser(GlobalConfiguratio... |
src/Tests/Peachpie.Runtime.Tests/PhpValue.Tests.cs | Valks/peachpie | 1,576 | 7044305 | <reponame>Valks/peachpie
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Pchp.Core;
namespace Peachpie.Runtime.Tests
{
[TestClass]
public class PhpValueTest
{
[TestMethod]
public void StringLongConversion()
{
Assert.AreEqual(Pchp.Core.Convert.Stri... |
sdk/dotnet/Devops/Outputs/DeployStageDeployStagePredecessorCollectionItem.cs | EladGabay/pulumi-oci | 5 | 7044306 | <reponame>EladGabay/pulumi-oci
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
usi... |
src/Mvc/Jerrycurl.Cqs/Queries/Internal/IO/Readers/NewReader.cs | rhodosaur/jerrycurl-merge1 | 2 | 7044307 | using System.Collections.Generic;
using Jerrycurl.Cqs.Metadata;
using Jerrycurl.Cqs.Queries.Internal.IO.Targets;
namespace Jerrycurl.Cqs.Queries.Internal.IO.Readers
{
internal class NewReader : BaseReader
{
public KeyReader PrimaryKey { get; set; }
public IList<JoinTarget> Joins { get; } = new... |
XamlCSS/CssParsing/CssToken.cs | ThomasPrioul/XamlCSS | 321 | 7044308 | using System.Diagnostics;
using System.Text;
namespace XamlCSS.CssParsing
{
[DebuggerDisplay("{Type} {Text}")]
public class CssToken
{
public CssTokenType Type { get; set; }
public string Text { get; set; }
public int Line { get; set; }
public int Column { get; set; }
public... |
LibDataService/CacheService/interface/ICacheData.cs | MarianHristov92/Service-Prototype | 0 | 7044309 | <filename>LibDataService/CacheService/interface/ICacheData.cs
// ///-----------------------------------------------------------------
// /// Class: ICacheData
// /// Description: <Description>
// /// Author: <NAME> Date: 13.10.2016
// /// Notes: <Notes>
// /... |
td/PizzaIllico.Mobile/PizzaIllico.Mobile/PizzaIllico.Mobile/App.xaml.cs | Julien-Mialon/Cours-Xamarin | 4 | 7044310 | using System.Diagnostics;
using PizzaIllico.Mobile.Pages;
using PizzaIllico.Mobile.Services;
using Xamarin.Forms;
using Xamarin.Forms.Internals;
using Xamarin.Forms.Xaml;
[assembly: XamlCompilation(XamlCompilationOptions.Compile)]
namespace PizzaIllico.Mobile
{
public partial class App
{
public App()... |
Tech Module/Extended-Programming-Fundamentals/ExtendedSimpleArraysMoreExercises/p03Phonebook1/Program.cs | vesy53/SoftUni | 0 | 7044311 | <reponame>vesy53/SoftUni
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace p03Phonebook1
{
class Program
{
static void Main(string[] args)
{
string[] phoneNum = Console.ReadLine()
.Split()
.ToArray();
... |
src/Foundation/Infrastructure/Gimela.Infrastructure.Messaging/Messages/NotificationMessageSpecific.cs | J-W-Chan/Gimela | 230 | 7044312 | <gh_stars>100-1000
namespace Gimela.Infrastructure.Messaging
{
/// <summary>
/// 通知消息
/// </summary>
public class NotificationMessage<T> : NotificationMessage<string, T>
{
/// <summary>
/// 通知消息
/// </summary>
/// <param name="notification">通知</param>
/// <param name="content">指定类型对象</pa... |
CleanMachineDemo/Converters/IntToStringConverter.cs | GregPiWalker/CleanMachine | 0 | 7044313 | <filename>CleanMachineDemo/Converters/IntToStringConverter.cs
using System;
using System.Globalization;
using System.Windows.Controls;
using System.Windows.Data;
namespace CleanMachineDemo.Converters
{
public class IntToStringConverter : IValueConverter
{
public object Convert(object value, T... |
Framework/PressPlay.FFWD.Test/Core framework/WhenLoadingAScene.cs | fehaar/FFWD | 20 | 7044314 | <reponame>fehaar/FFWD
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace PressPlay.FFWD.Test.Core_framework
{
[TestFixture]
public class WhenLoadingAScene
{
TestHierarchy h;
TestComponent rootComponent;
... |
Source/ImageProcessing.App.DomainLayer/DomainModel/ColorMatrix/Implementation/RgbToXyzEColorMatrix.cs | dudinda/Image-Processing | 2 | 7044315 | using ImageProcessing.App.DomainLayer.DomainModel.ColorMatrix.Interface;
using ImageProcessing.Utility.DataStructure.ReadOnly2DArray.Implementation;
namespace ImageProcessing.App.DomainLayer.DomainModel.ColorMatrix.Implementation
{
/// <summary>
/// XYZ of the E reference illuminant.
/// </summary>
pub... |
test/Microsoft.AspNet.Mvc.FunctionalTests/DirectivesTest.cs | moljac/Mvc | 0 | 7044316 | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.TestHost;
using RazorWebSite;
using... |
src/Day12.cs | andi0b/advent-of-code-2020 | 0 | 7044317 | using System;
using System.Diagnostics;
using System.Linq;
namespace aoc_runner
{
public record Day12((char, int)[] Instructions)
{
public Day12(string[] input) : this(input.Select(i => (i[0], int.Parse(i[1..]))).ToArray()) { }
public int Part1() => Solve(new ShipPosition());
public i... |
src/ChartJs.Blazor/Common/Handlers/LegendLabelsGenerator.cs | TrevorDArcyEvans/ChartJs.Blazor | 534 | 7044318 | using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace ChartJs.Blazor.Common.Handlers
{
/// <summary>
/// A generator for legend labels.
/// </summary>
/// <param name="chart">The chart for which to generate the labels.</param>
/// <returns>The <see cref="LegendItem"/>s the chart ... |
aliyun-net-sdk-ros/ROS/Transform/V20190910/GenerateTemplatePolicyResponseUnmarshaller.cs | awei1688/aliyun-openapi-net-sdk | 572 | 7044319 | <gh_stars>100-1000
/*
* 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
... |
Scripts/Core/Variables/GameObjectVariable.cs | Anvil3D/Anvil-Toolset | 0 | 7044320 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace VGDevs
{
[CreateAssetMenu(menuName = VGDevs.kCreateMenuPrefixNameVariables + "GameObject")]
public class GameObjectVariable : BaseVariable<GameObject>
{
}
} |
Gcpe.Hub.API/Models/Message.cs | bcgov/gcpe-news-dashboard-api | 1 | 7044321 | <filename>Gcpe.Hub.API/Models/Message.cs<gh_stars>1-10
using System;
using System.ComponentModel.DataAnnotations;
namespace Gcpe.Hub.API.Models
{
public class Message
{
public Guid Id { get; set; }
[Required]
public string Title { get; set; }
public string Description... |
sdk/datalake-store/Microsoft.Azure.Management.DataLake.Store/src/Customizations/IFileSystemOperations.Customizations.cs | gjy5885/azure-sdk-for-net | 3,268 | 7044322 | <gh_stars>1000+
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
namespace Microsoft.Azure.Management.DataLake.Store
{
using System;
using System.Collections.Generic;
using System.Net.Http;
us... |
src/Server/Test/Unit/Processors/MockJobProcessor.cs | collective4U/clara-dicom-adapter | 29 | 7044323 | <gh_stars>10-100
/*
* Apache License, Version 2.0
* Copyright 2019-2020 NVIDIA Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... |
TestScreenshot/Logger/LogLevel.cs | eruanno123/Direct3DHook | 1 | 7044324 | <filename>TestScreenshot/Logger/LogLevel.cs
namespace HellbladeSaver.Logger
{
public enum LogLevel
{
Trace = 0,
Info = 1,
Warning = 2,
Error = 3,
Fatal = 4
}
}
|
src/GR.Extensions/GR.Forms.Extension/GR.Forms.Razor/TagHelpers/FormBody.cs | indrivo/GEAR | 7 | 7044325 |
namespace GR.Forms.Razor.TagHelpers
{
public enum FormStyle
{
StandardTemplate, EditTemplate
}
public static class FormUtil
{
/// <summary>
/// Get form body
/// </summary>
/// <param name="formStyle"></param>
/// <returns></returns>
public static string GetFormBodyByFormStyle(FormStyle formStyle)
... |
Services/TelegramService/Commands/TopCommand.cs | ArSoron/TransmissionRemoteBot | 0 | 7044326 | <gh_stars>0
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Telegram.Bot;
using Telegram.Bot.Types;
using Telegram.Bot.Types.Enums;
using TransmissionRemoteBot.Services.Telegram.Helpers;
using TransmissionRemoteBot.Services.Transmission;
namespace TransmissionRemoteBot.Ser... |
sdk/dotnet/Glue/Outputs/CatalogTableStorageDescriptorSortColumn.cs | alexbowers/pulumi-aws | 260 | 7044327 | <reponame>alexbowers/pulumi-aws
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
us... |
Libraries/DataCore/Mzg.Data.Abstractions/DataBaseOptions.cs | lygwys/dlvm_lygwys | 0 | 7044328 | using Microsoft.Extensions.Options;
namespace Mzg.Data.Abstractions
{
/// <summary>
/// 基础数据库参数,查询数据的最大时间为3分钟
/// xmg
/// 202007061905
/// </summary>
public class DataBaseOptions : IOptions<DataBaseOptions>, IDataProviderOptions
{
public string DbType { get; set; }
public i... |
src/WInterop.Desktop/Com/Native/VARDESC.cs | kant2002/WInterop | 1 | 7044329 | <gh_stars>1-10
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Runtime.InteropServices;
namespace WInterop.Com.Native
{
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
pub... |
Examples/Command/TextEditorApp/PasteCommand.cs | bzolka/designpatterns | 0 | 7044330 | <reponame>bzolka/designpatterns
using DesPattCode.Command.Framework;
using System;
using System.Collections.Generic;
using System.Text;
namespace DesPattCode.Command.App
{
class PasteCommand : ICommand
{
public void Execute()
{
// Pszeudó kód
// Ebben a példában a Paste... |
src/Nest/Domain/Analysis/Analyzers/PatternAnalyzer.cs | Bloomerang/elasticsearch-net | 2 | 7044331 | <filename>src/Nest/Domain/Analysis/Analyzers/PatternAnalyzer.cs
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Nest
{
/// <summary>
/// An analyzer of type pattern that can flexibly separate text into terms via a regular expression.
/// </summary>
public class PatternAnalyzer : AnalyzerBase
... |
ZeldaOracle/Game/Game/Tiles/ActionTiles/MagnetBallAction.cs | trigger-death/ZeldaOracle | 16 | 7044332 | <gh_stars>10-100
using System;
using ZeldaOracle.Common.Geometry;
using ZeldaOracle.Common.Graphics;
using ZeldaOracle.Common.Graphics.Sprites;
using ZeldaOracle.Game.Control;
using ZeldaOracle.Game.Entities.Projectiles.PlayerProjectiles;
namespace ZeldaOracle.Game.Tiles.ActionTiles {
public class MagnetBallAction ... |
SA2Tools/SA2MessageFileEditor/MainForm.cs | sonicretro/sa_tools | 53 | 7044333 | using FraGag.Compression;
using SplitTools;
using SAModel;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using static SAModel.SAEditorCommon.SettingsFile;
namespace SA2MessageFileEditor
{
public partial class MainForm : Form
{
pu... |
01.DefiningClassesFisrstPart/GSM/MobilePhone.cs | Gecata-/OOP-Telerik | 0 | 7044334 | <filename>01.DefiningClassesFisrstPart/GSM/MobilePhone.cs
namespace GSM
{
using System;
class MobilePhone
{
public static void Main()
{
Battery phoneBattery = new Battery("Samsung", 124.5, 12.30, BatteryType.NiMH);
Display phoneDisplay = new Display(14.5, 16000000)... |
UI/ManagerUI/ManagerUI/Controllers/BeerController.cs | 201019-UiPath/FoleyBrian-Project1 | 0 | 7044335 | <reponame>201019-UiPath/FoleyBrian-Project1<gh_stars>0
using System;
using Microsoft.AspNetCore.Mvc;
using ManagerUI.Models;
using System.Net.Http;
using Newtonsoft.Json;
using System.Text;
// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace Mana... |
aspnet-core/src/HC.WeChat.Core/WeChatConsts.cs | DonaldTdz/syq | 0 | 7044336 | <filename>aspnet-core/src/HC.WeChat.Core/WeChatConsts.cs
namespace HC.WeChat
{
public class WeChatConsts
{
public const string LocalizationSourceName = "WeChat";
public const string ConnectionStringName = "Default";
public const bool MultiTenancyEnabled = false;
}
}
|
Assets/Scripts/Shared/Tags.cs | MalachiMackie/Platformer | 0 | 7044337 | <filename>Assets/Scripts/Shared/Tags.cs
// ReSharper disable UnusedMember.Global
namespace Shared
{
public static class Tags
{
public const string Ground = "Ground";
public const string Player = "Player";
public const string Goal = "Goal";
public const string KillZone = ... |
src/Server/Bit.Server.Core/Extensions/IDependencyManagerExtensions.cs | meysambagheri96/bitframework | 1 | 7044338 | <gh_stars>1-10
using System;
namespace Bit.Core.Contracts
{
public static class IDependencyManagerExtensions
{
public static IDependencyManager RegisterAppEvents<TAppEvents>(this IDependencyManager dependencyManager)
where TAppEvents : class, IAppEvents
{
if (dependency... |
src/ServiceStack.Interfaces/Web/IContentTypeWriter.cs | nustack/ServiceStack | 3 | 7044339 | using System.IO;
namespace ServiceStack.Web
{
public interface IContentTypeWriter
{
byte[] SerializeToBytes(IRequest requestContext, object response);
string SerializeToString(IRequest requestContext, object response);
void SerializeToStream(IRequest requestContext, object response, Stream ... |
ClassRegistration/ClassRegistration.DataAccess/Repository/CourseRepository.cs | 2006-jun15-net/ar-dk-ps-project2 | 0 | 7044340 | <reponame>2006-jun15-net/ar-dk-ps-project2
using ClassRegistration.DataAccess.Entity;
using ClassRegistration.DataAccess.Interfaces;
using ClassRegistration.DataAccess.Pagination;
using ClassRegistration.Domain.Model;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
usin... |
src/NetLearningGuide.UnitTest/NetLearning/InCommonUse/TernaryOperatorTest.cs | wingtian/NetLearningGuide | 0 | 7044341 | <reponame>wingtian/NetLearningGuide
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Shouldly;
using Xunit;
namespace NetLearningGuide.UnitTest.NetLearning.InCommonUse
{
public class TernaryOperatorTest
{
[Fact]
public Task TernaryOperatorTestCase1()
... |
ProjetNoob/Assets/Scripts/Manager/GameManager.cs | SynysterRev/ProjetNoob | 0 | 7044342 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
using UnityEngine.UI;
public class GameManager : NetworkBehaviour
{
public delegate void DelegateReturnMenu();
public event DelegateReturnMenu OnReturnMenu = () => { };
public static Ga... |
source/Cosmos.IL2CPU/_ExceptionRegionInfo.cs | midonator1305/IL2CPU | 0 | 7044343 | <filename>source/Cosmos.IL2CPU/_ExceptionRegionInfo.cs<gh_stars>0
using System.Reflection;
using System.Reflection.Metadata;
namespace Cosmos.IL2CPU
{
public class _ExceptionRegionInfo
{
public readonly Module Module;
public readonly ExceptionRegion ExceptionRegion;
public readonly int... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.