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 |
|---|---|---|---|---|
Epi.Web.EF/User.cs | 82ndAirborneDiv/Epi-Info-Cloud-Data-Capture | 4 | 7032785 | <reponame>82ndAirborneDiv/Epi-Info-Cloud-Data-Capture
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this f... |
Prova di Esame/OccorrenzeFile/OccorrenzeFile/Form1.cs | LucaMazzei88/CefiCourse | 0 | 7032786 | <reponame>LucaMazzei88/CefiCourse<gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
namespace OccorrenzeFile
{
public parti... |
Migr8.Npgsql.Test/TestMigration.cs | ctrlenter/migr8 | 29 | 7032787 | using System.Collections.Generic;
using System.Linq;
using Migr8.Internals;
namespace Migr8.Npgsql.Test
{
class TestMigration : IExecutableSqlMigration, ISqlMigration
{
public TestMigration(int sequenceNumber, string branchSpecification, string sql, string description = null, IEnumerable<string> hints... |
01.Programming Basics with C# - November 2021/04.E - Conditional Statements/P05.Godzilla vs Kong/Program.cs | Marti2509/SoftUni | 1 | 7032788 | <reponame>Marti2509/SoftUni
using System;
namespace P05.Godzilla_vs_Kong
{
internal class Program
{
static void Main(string[] args)
{
double buget = double.Parse(Console.ReadLine());
int statisti = int.Parse(Console.ReadLine());
double obleklo = double.Parse... |
src/webApps/AspnetRunBasics/Migrations/20200218071258_Initial.cs | shockzinfinity/shockz.msa | 0 | 7032789 | <gh_stars>0
using Microsoft.EntityFrameworkCore.Migrations;
namespace AspnetRunBasics.Migrations
{
public partial class Initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Carts",
columns: table => new {
... |
Rebus.SingleAccessSagas.Sample/SingleAccessSaga.cs | MrMDavidson/Rebus.SingleAccessSagas | 5 | 7032790 | using System;
using System.Threading.Tasks;
using Rebus.Bus;
using Rebus.Handlers;
using Rebus.Sagas;
namespace Rebus.SingleAccessSagas.Sample {
public class SingleAccessSaga : Saga<SingleAccessSaga.CountingSagaData>,
IAmInitiatedBy<SingleAccessSaga.StartSagaCommand>,
IHandleMessages<SingleAccessSaga.IncrementCo... |
MonoDevelop.AddinMaker/AddinBrowser/AddinNodeBuilder.cs | netonjm/MonoDevelop.AddinMaker | 0 | 7032791 | using System;
using Mono.Addins;
using MonoDevelop.Ide.Gui.Components;
using Gtk;
using MonoDevelop.Components;
namespace MonoDevelop.AddinMaker.AddinBrowser
{
class AddinNodeBuilder : ModuleNodeBuilder, ITreeDetailBuilder
{
public override Type NodeDataType {
get { return typeof(Addin); }
}
public overrid... |
Code/Zephyr.Net/Zephyr.Core/Exporter/IDataGetter.cs | zhupangithub/WEBERP | 0 | 7032792 | <reponame>zhupangithub/WEBERP
/*************************************************************************
* 文件名称 :IDataGetter.cs
* 描述说明 :取得数据接口
*
* 创建信息 : create by <EMAIL> on 2012-11-10
* 修订信息 : modify by (person) on (date) for (reason)
*
* 版权信息 : Copyright (c) 2013 厦门纵云信息科技有限公司 www.... |
OpenSimModules/PotamOSAddon/Handlers/HppoDefaultHandler.cs | communityus-private/opensim-viewer | 32 | 7032793 | <reponame>communityus-private/opensim-viewer
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text;
using System.Net;
using System.Web;
using log4net;
using OpenSim.Framework.Servers.HttpServer;
using OpenSim.Server.Base;
using OpenSim.S... |
Assets/Scripts/GameFlow/Utils/Ui/Scroll/Core/ScrollElementsMoveUtility.cs | TheProxor/code-samples-from-pg | 0 | 7032794 | <reponame>TheProxor/code-samples-from-pg
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using DG.Tweening;
using Modules.General;
using Object = UnityEngine.Object;
namespace Drawmasters.Utils.Ui
{
public class ScrollElementsMoveUtility
{
#region Fields
... |
src/Synopackage.Generator/Entities/NewsDto.cs | dMajoIT/synopackage_dotnet | 0 | 7032795 | <filename>src/Synopackage.Generator/Entities/NewsDto.cs
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Synopackage.Generator.Entities
{
public class NewsDto
{
[JsonConverter(typeof(DateFormatConverter), "yyyy-MM-dd")]
public DateTime Date { get; set; }
public string T... |
src/Sfa.Tl.ResultsAndCertification.Models/Registration/RegistrationRecordResponse.cs | SkillsFundingAgency/tl-result-and-certification | 1 | 7032796 | using Sfa.Tl.ResultsAndCertification.Models.BulkProcess;
using System;
using System.Collections.Generic;
namespace Sfa.Tl.ResultsAndCertification.Models.Registration
{
public class RegistrationRecordResponse : ValidationState<BulkProcessValidationError>
{
public RegistrationRecordResponse()
{
... |
SpiceSharp/Components/Semiconductors/Mosfets/Level2/ModelTemperature.cs | Polyfly/SpiceSharp | 0 | 7032797 | using SpiceSharp.Attributes;
using SpiceSharp.Behaviors;
using SpiceSharp.Entities;
using SpiceSharp.ParameterSets;
using SpiceSharp.Simulations;
using System;
namespace SpiceSharp.Components.Mosfets.Level2
{
/// <summary>
/// Temperature behavior for a <see cref="Mosfet2Model"/>
/// </summary>
/// <s... |
src/Gambot.Bot/Program.cs | mohammedh123/Gambot2 | 3 | 7032798 | <filename>src/Gambot.Bot/Program.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Gambot.Core;
using Gambot.Data;
using Gambot.Data.InMemory;
using Gambot.Data.SQL... |
TicTacToe/Form1.cs | jmcroft7/TicTacToe | 0 | 7032799 | namespace TicTacToe
{
public partial class Form1 : Form
{
bool turn = true; //true=x false=o
int turnCount = 0;
public Form1()
{
InitializeComponent();
}
//about
private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
{
... |
MARS geofencing/Library/PackageCache/com.unity.mars@1.3.1/Editor/Scripts/Simulation/CompositeRenderContext.cs | bsides44/MARSGeofencing | 0 | 7032800 | using System;
using Unity.MARS;
using Unity.MARS.Simulation.Rendering;
using Unity.XRTools.ModuleLoader;
using Unity.XRTools.Utils;
#if UNITY_2021_2_OR_NEWER
using UnityEditor.SceneManagement;
#else
using UnityEditor.Experimental.SceneManagement;
#endif
using UnityEngine;
using UnityEngine.Experimental.Rendering;
using... |
HelloCSharpUniverse/RgbToHexDesktopConverter/ViewModels/ColorViewModel.cs | r-mura/CSharpCodeAcademy | 0 | 7032801 | <filename>HelloCSharpUniverse/RgbToHexDesktopConverter/ViewModels/ColorViewModel.cs
using RgbToHexDesktopConverter.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RgbToHexDesktopConverter.ViewModels
{
... |
Assets/triangleScript.cs | eXish/triangle | 0 | 7032802 | <filename>Assets/triangleScript.cs<gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using UnityEngine;
using KModkit;
public class triangleScript : MonoBehaviour
{
public KMBombInfo Bomb;
public KMAudio Audio;
publ... |
EliteDangerousCoPilot/src/EliteDangerousCoPilot/Controls/CommonRankPanel.xaml.cs | h0useRus/EliteDangerousCoPilot | 0 | 7032803 | <filename>EliteDangerousCoPilot/src/EliteDangerousCoPilot/Controls/CommonRankPanel.xaml.cs
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using NSW.EliteDangerous.Copilot.Helpers;
namespace NSW.EliteDangerous.Copilot.Controls
{
public enum CommonRank
{
Combat,
... |
MongoDB.Context/Tracking/TrackingMongoEntityBase.cs | cadams93/MongoDB.Context | 7 | 7032804 | using MongoDB.Context.Enums;
namespace MongoDB.Context.Tracking
{
public abstract class TrackingMongoEntityBase<TDocument, TIdField>
where TDocument : AbstractMongoEntityWithId<TIdField>
{
protected readonly TrackedCollection<TDocument, TIdField> Collection;
protected TrackingMongoEntityBase(TrackedCollec... |
CodeOfKutulu/lib/Vec.cs | skbkontur/codingame-kutulu-starterkit-cs | 4 | 7032805 | using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Runtime.CompilerServices;
namespace CodeOfKutulu
{
public class Vec : IEquatable<Vec>, IFormattable
{
public readonly int X, Y;
public Vec(int x, int y)
{
X = x;
... |
src/Common/Plugins/Vault/FruaVaultFileViewer.cs | grannypron/Gold-Box-Explorer | 14 | 7032806 | using System.Windows.Forms;
using System;
namespace GoldBoxExplorer.Lib.Plugins.Vault
{
public class FruaVaultFileViewer : IGoldBoxViewer
{
private readonly FruaVaultFile _file;
public event EventHandler<ChangeFileEventArgs> ChangeSelectedFile;
public FruaVaultFileViewer(FruaVaultFile ... |
StigSchmidtNielsson.Extensions.IEnumerable/EnumerableExtensions.cs | snielsson/StigSchmidtNielsson.Net4ClientProfile | 0 | 7032807 | // Copyright © 2016 <NAME> & Nielsson Consulting. All rights reserved. Distributed under the terms of the MIT License, see LICENSE.txt and http://opensource.org/licenses/MIT.
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace StigSchmidtNielsson.Extensions.IEnumerable {
/// <summar... |
ForkEat/ForkEat.Core/Domain/PasswordValidator.cs | ForkEat/server | 0 | 7032808 | using FluentValidation;
using FluentValidation.Results;
namespace ForkEat.Core.Domain;
public class PasswordValidator : AbstractValidator<User>, IPasswordValidator
{
public bool IsValid { get; set; }
public PasswordValidator()
{
RuleFor(user => user.Email).EmailAddress();
RuleFor(... |
Tests/SIMDTests/ContainsSIMDTests.cs | manofstick/LinqFaster | 663 | 7032809 | using NUnit.Framework;
using JM.LinqFaster.SIMD;
using System.Linq;
namespace Tests
{
[TestFixture]
class ContainsSIMDTests
{
[Test]
public void ContainsSIMDYes()
{
var a = Test.intArray.Contains(0);
var b = Test.intArray.ContainsS(0);
Assert.T... |
src/Glader.ASP.ServiceDiscovery.Server/Database/Models/ServiceEndpointModel.cs | HelloKitty/Glader.ASP.ServiceDiscovery | 1 | 7032810 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace Glader.ASP.ServiceDiscovery
{
[Table("service_endpoints")]
public class ServiceEndpointModel
{
//Key is now ba... |
Special Course/Assets/Plugins/StansAssets/Modules/AndroidNative/Scripts/System/Results/AN_AccessTokenResult.cs | KingOfFawns/Special_Course | 0 | 7032811 | using UnityEngine;
using System.Collections;
public class AN_AccessTokenResult : SA.Common.Models.Result {
private string _accessToken = string.Empty;
private string _tokenType = string.Empty;
private long _expiresIn = 0L;
public AN_AccessTokenResult(string errorMessage) : base (new SA.Common.Models.Error(0, ... |
src/Cake.Topshelf/Manager/TopshelfManager.cs | Nyami/Cake.Topshelf | 10 | 7032812 | #region Using Statements
using System;
using System.Linq;
using System.Collections.Generic;
using Cake.Core;
using Cake.Core.IO;
using Cake.Core.Diagnostics;
using Cake.Topshelf.Exceptions;
#endregion
namespace Cake.Topshelf
{
/// <summary>
/// Provides a high level utility for managing Topshelf services
... |
src/InfluxDB.Client.Net/InfluxdbVersion.cs | JerryXia/ML | 3 | 7032813 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace InfluxDB.Client.Net
{
public enum InfluxdbVersion
{
/// <summary>
/// v0.8 or older
/// </summary>
Version08 = 8,
/// <summary>
/// v0.9
/// </summary>
V... |
src/FluidScript.CoreLib/Primitives/Integer.cs | Vinayaka-Hebbar/FluidScript | 0 | 7032814 | <reponame>Vinayaka-Hebbar/FluidScript
using System;
namespace FluidScript
{
/// <summary>
/// Represents a 32-bit signed integer.
/// </summary>
[Runtime.Register(nameof(Integer))]
[Serializable]
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential)... |
Assets/NatsunekoLaboratory/TailwindUSS/Plugins/Embedded/FlexGrow.cs | natsuneko-laboratory/tailwind-uss | 0 | 7032815 | <reponame>natsuneko-laboratory/tailwind-uss
using System.Collections.Generic;
namespace NatsunekoLaboratory.TailwindUSS.Plugins.Embedded
{
internal class FlexGrow : ITailwindPlugin
{
public void Run(Configuration configuration, ITailwindCompiler compiler)
{
compiler.AddUtilities(ne... |
BLL/HandleXML.cs | LUYUJIA/CosimRisk | 0 | 7032816 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.IO;
namespace BLL
{
public class HandleXML
{
#region 将xml解析读取到数据库
... |
Petitioner_UserControl.cs | Ashwin1398/Police-Management-System-in-VS | 1 | 7032817 | <reponame>Ashwin1398/Police-Management-System-in-VS
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace Po... |
Public/Src/Engine/Dll/Distribution/InternalBond/BondProxyConnectionManager.cs | kant/BuildXL | 1 | 7032818 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#if !DISABLE_FEATURE_BOND_RPC
using System;
using System.Collections.Concurrent;
using System.Diagnostics;
using System.Diagnostics.ContractsLight;
using System... |
source/MarketingTool/DataAccess/Models/Template.cs | alex-coupe/MarketingTool | 1 | 7032819 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataAccess.Models
{
public class Template
{
[Key]
public int Id { get; ... |
AlipaySDKNet/Domain/AlipayOpenSearchBoxactivityModifyModel.cs | alipay/alipay-sdk-net | 0 | 7032820 | using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayOpenSearchBoxactivityModifyModel Data Structure.
/// </summary>
[Serializable]
public class AlipayOpenSearchBoxactivityModifyModel : AopObject
{
/// <summar... |
NBXplorer.Tests/ServerTester.cs | nopara73/NBXplorer | 0 | 7032821 | <gh_stars>0
using System.Linq;
using Microsoft.Extensions.Logging;
using NBXplorer.Configuration;
using Microsoft.AspNetCore.Hosting;
using NBitcoin;
using NBitcoin.Tests;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Runtime.CompilerServices;
using System.Text... |
Migrations/20180803085132_mySqlInitial.cs | dinosmajovic/social-network-project | 1 | 7032822 | <gh_stars>1-10
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace SocialNetwork.API.Migrations
{
public partial class mySqlInitial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrat... |
src/SFA.DAS.AssessorService.Application.Api/Properties/Types/StandardOrganisationSummary.cs | codescene-org/das-assessor-service | 6 | 7032823 | <reponame>codescene-org/das-assessor-service
namespace SFA.DAS.AssessmentOrgs.Api.Client.Core.Types
{
using System.Collections.Generic;
public class StandardOrganisationSummary
{
public string StandardCode { get; set; }
public string Uri { get; set; }
public IEnumerable<Period> P... |
Models/CorreiosShippingModel.cs | delsoft/NopBrasil.Plugin.Shipping.Correios | 11 | 7032825 | <reponame>delsoft/NopBrasil.Plugin.Shipping.Correios
using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;
using System.Collections.Generic;
namespace NopBrasil.Plugin.Shipping.Correios.Models
{
public class CorreiosShippingModel : BaseNopModel
{
public CorreiosShippingModel()
... |
AwsEmptyApp1/Program.cs | NeptuneCoon/AwsEmptyApp | 0 | 7032826 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Amazon;
using Amazon.DynamoDBv2;
using Amazon.DynamoDBv2.Model;
using Amazon.DynamoDBv2.DocumentModel;
// Add using statements to access AWS SDK for .NET services.
// Both the Service and its Model namespace... |
src/ATM/ATM.Application.Tests/SavingsAccountTests.cs | TieDyeGeek/ATM-Playground | 0 | 7032828 | <filename>src/ATM/ATM.Application.Tests/SavingsAccountTests.cs
using System;
using System.Threading.Tasks;
using ATM.Application.Tests.Helpers;
using ATM.Persistence;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ATM.Application.Tests
{
[TestClass]
public class SavingsAccountTests
{
private Saving... |
DotNet/MVC/Commerce/Commerce.Data/Database/Category.cs | cybervoid/BetterProgramming | 1 | 7032830 | <reponame>cybervoid/BetterProgramming
namespace Commerce.Data.Database
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("Category")]
public partial clas... |
IoTWork.IoTReader.net4/IoTWork.XML/FileLoader.cs | samnium/IoTWork.Reader | 1 | 7032831 | <filename>IoTWork.IoTReader.net4/IoTWork.XML/FileLoader.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IoTWork.XML
{
public class FileLoader : ILoader
{
String Path;
public string L... |
UserTesting.Persistence/SqlServer/Repositories/ApplicationRoles/ApplicationRolesRepository.cs | SargeMahoney/CustomUserAspCoreApp | 0 | 7032832 | using AutoMapper;
using Dapper;
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using UserTesting.Application.Contracts.Persistence.Roles;
using UserTesting.Application.Models.Results;
using... |
SHFB/Source/SandcastleBuilderUtils/FileItem.cs | velyo/SHFB | 2 | 7032833 | //===============================================================================================================
// System : Sandcastle Help File Builder Utilities
// File : FileItem.cs
// Author : <NAME> (<EMAIL>)
// Updated : 05/17/2015
// Note : Copyright 2008-2015, <NAME>, All rights reserved
// Com... |
Systems/Networking/Clients/UdpClient.cs | nievesj/unity-core-project | 51 | 7032834 | using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using Core.Tools.Networking;
using Cysharp.Threading.Tasks;
using LiteNetLib;
using LiteNetLib.Utils;
using UniRx;
using UnityLogger;
namespace Core.Networking.Clients
{
public enum PacketType : byt... |
src/PeNet/Parser/ImageLoadConfigDirectoryParser.cs | xclemence/PeNet | 1 | 7032835 | using PeNet.Structures;
namespace PeNet.Parser
{
internal class ImageLoadConfigDirectoryParser : SafeParser<IMAGE_LOAD_CONFIG_DIRECTORY>
{
private readonly bool _is64Bit;
internal ImageLoadConfigDirectoryParser(byte[] buff, uint offset, bool is64Bit)
: base(buff, offset)
... |
Libraries/test/Amazon.Lambda.RuntimeSupport.Tests/Amazon.Lambda.RuntimeSupport.IntegrationTests/CustomRuntimeTests.cs | smhmhmd/aws-lambda-dotnet | 1 | 7032836 | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
ios11/EvenOddNumberDrag/EvenOddNumberDrag/ViewController.cs | susairajs/ios-samples | 863 | 7032837 | <gh_stars>100-1000
using System;
using UIKit;
using Foundation;
namespace EvenOddNumberDrag
{
public partial class ViewController : UIViewController, IUIDragInteractionDelegate, IUIDropInteractionDelegate
{
#region Fields
Random random;
UIDropInteraction evenDropInteraction;
U... |
LevelEditor/Models/TileSet.cs | Otard95/tools-exam-2 | 0 | 7032838 | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using LevelEditor.Domain;
using LevelEditor.Domain.Exceptions;
using Newtonsoft.Json;
namespace LevelEditor.Models
{
public class TileSet : IEquatable<TileSet>
{
[JsonIgnore]
private Guid _id;
[JsonIgno... |
Tests/Editor/ProblemDescriptorTests.cs | jacob-kjaer/ProjectAuditor | 0 | 7032839 | <reponame>jacob-kjaer/ProjectAuditor<gh_stars>0
using System;
using System.Linq;
using System.Reflection;
using NUnit.Framework;
using Unity.ProjectAuditor.Editor;
using Unity.ProjectAuditor.Editor.Utils;
using UnityEditor;
using UnityEditorInternal;
using UnityEngine;
using UnityEngine.TestTools;
namespace Unity.Proj... |
src/CoreFtp/Infrastructure/Caching/InMemoryCache.cs | jilonglv/CoreFTP | 0 | 7032840 | <filename>src/CoreFtp/Infrastructure/Caching/InMemoryCache.cs
namespace CoreFtp.Infrastructure.Caching
{
using System;
using System.Threading.Tasks;
#if NET40
using CoreFtp.Infrastructure.Extensions;
using System.Runtime.Caching;
public class InMemoryCache : ICache
{
private readonly M... |
src/SmartReaderTests/ArticleMetadata.cs | carbon/SmartReader | 93 | 7032842 | <reponame>carbon/SmartReader<gh_stars>10-100
namespace SmartReaderTests
{
public sealed class ArticleMetadata
{
public string Url { get; init; }
public bool Readerable { get; init; }
public string Title { get; init; }
public string Dir { get; init; }
public string By... |
Quasardb.Tests/Entry/Blob/RemoveIf.cs | waltersoto/qdb-api-dotnet | 5 | 7032844 | <reponame>waltersoto/qdb-api-dotnet
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Quasardb.Exceptions;
namespace Quasardb.Tests.Entry.Blob
{
[TestClass]
public class RemoveIf
{
[TestMethod]
[ExpectedException(typeof(ArgumentNullException))]
public void Thr... |
src/From Sunsteel/From Sunsteel/Program.cs | Carroted/From-Sunsteel | 0 | 7032845 | using System;
using System.Threading;
using System.Collections.Generic;
using System.IO;
namespace From_Sunsteel
{
class Program
{
public static string playerName;
public static string playerLocation;
public static string[] locations;
public static string language = "en-US"; //... |
billchop-be/billchop-be/Services/Models/CreateNewPayment.cs | TeamInterject/BillChop | 0 | 7032846 | using System;
using System.ComponentModel.DataAnnotations;
using BillChopBE.DataAccessLayer.Models;
using BillChopBE.Validation;
namespace BillChopBE.Services.Models
{
public class CreateNewPayment : ValidatableModel
{
[Required]
public decimal Amount { get; set; }
[Required]
... |
src/dotless.Core/configuration/XmlConfigurationInterpreter.cs | chrisjowen/nLess | 4 | 7032847 | /* Copyright 2009 dotless project, http://www.dotlesscss.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... |
MicroFeel.YonYou.EntityFrameworkCore/Extensions/SaDispatchlist.cs | microfeel/Yonyou | 0 | 7032848 | <reponame>microfeel/Yonyou<filename>MicroFeel.YonYou.EntityFrameworkCore/Extensions/SaDispatchlist.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace MicroFeel.YonYou.EntityFrameworkCore.Data
{
partial class SaDispatchlist
{
... |
Assets/LoomSDK/DAppChainClient.cs | Unity3DQIQI/unity3d-sdk | 1 | 7032849 | <filename>Assets/LoomSDK/DAppChainClient.cs
using Google.Protobuf;
using Chaos.NaCl;
using System.Text;
using UnityEngine;
using System.Threading.Tasks;
using UnityEngine.Networking;
using System;
using Newtonsoft.Json;
namespace Loom.Unity3d
{
#region JSON RPC Interfaces
internal class JsonRpcErrorResponse
... |
MCS/MCS/Services/MessageBoxService.cs | cichya/MCS | 0 | 7032850 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace MCS.Services
{
public class MessageBoxService : IMessageBoxService
{
public void ShowErrorMsgBox(string message)
{
MessageBox.Show(message, Languages.Lang.ErrorL... |
ProjectReaderPlugin/AssemblyPlugins/InterfaceDetectionPlugin.cs | rageappliedgame/RQAT | 0 | 7032851 | /*
* Copyright 2020 Open University of the Netherlands
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* This project has received funding from the European Union’s Horizon
* 2020 research and innovation programme under grant ... |
Assets/Scripts/Controller/EffectController.cs | GDtiger/TheDark | 0 | 7032852 | <gh_stars>0
using System.Collections;
using UnityEngine;
public class EffectController : MonoBehaviour
{
[SerializeField] float time;
public EffectID effectID;
public void Initiate(float time)
{
this.time = time;
}
public void Start()
{
Destroy(gameObject, time);
}
}
|
Puppet.Common/Services/MqttService.cs | eoware/puppet | 1 | 7032854 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.Extensions.Configuration;
using MQTTnet;
using MQTTnet.Extensions.ManagedClient;
using Puppet.Com... |
MultiObjectiveShortestPath.Models/DepthFirstSearchUnweightedDirectedPathAlgorithm.cs | tnc1997/dotnet-multi-objective-shortest-path | 2 | 7032855 | using System;
using System.Linq;
namespace MultiObjectiveShortestPath.Models
{
public class DepthFirstSearchUnweightedDirectedPathAlgorithm<TVertex> : IUnweightedDirectedPathAlgorithm<TVertex>
{
public DepthFirstSearchUnweightedDirectedPathAlgorithm(IUnweightedDirectedGraph<TVertex> graph)
{
... |
src/extensions.msal/Microsoft.Identity.Client.Extensions.Msal/GError.cs | davidjohnoliver/microsoft-authentication-library-for-dotnet | 0 | 7032856 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Microsoft.Identity.Client.Extensions.Msal
{
/// <summary>
/// Error returned by libsecret library if saving or retrieving fails
/// https://developer.gnome.org/glib/stable/glib-Error-Reporting.html
/// </summary>... |
lib/ohLibSpotify/src/ManagedApiBuilder/ArgumentTransformers/StringReturnTransformer.cs | LukiLeu/loadify | 7 | 7032857 | <filename>lib/ohLibSpotify/src/ManagedApiBuilder/ArgumentTransformers/StringReturnTransformer.cs<gh_stars>1-10
using ApiParser;
namespace ManagedApiBuilder.ArgumentTransformers
{
/// <summary>
/// Handles int (... char *buffer, size_t buffer_size)
/// </summary>
class StringReturnTransformer : IArgu... |
DesignPatterns.Prototype/Program.cs | lampo1024/DesignPatterns | 0 | 7032858 | <gh_stars>0
using System;
namespace DesignPatterns.Prototype
{
[Serializable]
public class Person
{
public string[] Names;
public Address Address;
public Person(string[] names,Address address)
{
if (names == null)
{
throw new Argument... |
src/Service.Exchange.Sdk/Messages/ExBalanceUpdateInstruction.cs | MyJetWallet/Service.Exchange.Sdk | 0 | 7032859 | <filename>src/Service.Exchange.Sdk/Messages/ExBalanceUpdateInstruction.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Service.Exchange.Sdk.Messages
{
[DataContract]
public class ExBalanceUpdateInstruction
{
[DataMember(Order = 1)] public ... |
src/UnitTests/DistributionTests/Discrete/CategoricalTests.cs | KommuSoft/mathnet-numerics | 1 | 7032860 | // <copyright file="CategoricalTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
// Copyright (c) 2009-2010 Math.NET
// Permission is hereby granted, free of charge, to a... |
Assets/Scripts/Towns/TownGeneralSplitElement.cs | TrutzX/9nations | 1 | 7032861 | using UI;
using UI.Show;
using UnityEngine;
namespace Towns
{
public class TownGeneralSplitElement : SplitElement
{
protected Town town;
public TownGeneralSplitElement(Town town) : base(town.name, town.GetIcon())
{
this.town = town;
}
public override void Sh... |
src/SFA.DAS.EmployerIncentives.Data.UnitTests/ApprenticeshipIncentive/WhenDeleteCalled.cs | uk-gov-mirror/SkillsFundingAgency.das-employer-incentives | 0 | 7032862 | using AutoFixture;
using FluentAssertions;
using Microsoft.EntityFrameworkCore;
using NUnit.Framework;
using SFA.DAS.EmployerIncentives.Data.Models;
using SFA.DAS.EmployerIncentives.Domain.ApprenticeshipIncentives.Models;
using SFA.DAS.EmployerIncentives.Domain.ValueObjects;
using System;
using System.Linq;
using Syst... |
Reaktix.Common.Libraries.FastCGI/Protocol/FastCGIInputStream.cs | jhaygood86/FastCgiServerLibrary | 1 | 7032863 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Reaktix.Common.Libraries.FastCGI.Protocol
{
class FastCGIInputStream : MemoryStream
{
}
}
|
InterceptionDemo/InterceptionDemo.Web/Models/Account/RegisterViewModel.cs | ducthinhdeveloper/aspnetboilerplate-samples | 820 | 7032864 | using System.ComponentModel.DataAnnotations;
using Abp.Authorization.Users;
using Abp.MultiTenancy;
namespace InterceptionDemo.Web.Models.Account
{
public class RegisterViewModel
{
/// <summary>
/// Not required for single-tenant applications.
/// </summary>
[StringLength(AbpTen... |
TwitterUnfollowAlertScheduler.Worker/Services/ITwitterService.cs | tolgakisin/twitter-unfollow-alert | 2 | 7032865 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using TwitterUnfollowAlertScheduler.Worker.Models;
namespace TwitterUnfollowAlertScheduler.Worker.Services
{
public interface ITwitterService
{
Task<User> GetUserByIdAsync(long id);
... |
nz.govt.moe.idp.saml.client/Validation/DKSaml20AssertionValidator.cs | nz-govt-moe-skysigal/nz.govt.moe.idp.saml.client.asp.net | 0 | 7032866 | <filename>nz.govt.moe.idp.saml.client/Validation/DKSaml20AssertionValidator.cs<gh_stars>0
using System.Collections.Generic;
using nz.govt.moe.idp.saml.client.Profiles.DKSaml20;
using nz.govt.moe.idp.saml.client.Schema.Core;
namespace nz.govt.moe.idp.saml.client.Validation
{
internal class DKSaml20AssertionValidato... |
Extensions/Extensions.cs | MrtnNmck/notenizer | 0 | 7032867 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using java.util;
using java.io;
using edu.stanford.nlp.trees;
using edu.stanford.nlp.ling;
using nsConstants;
using System.Windows.Forms;
using System.Runtime.InteropServices;
namespace nsExtensions
{
... |
CSharp version/One Time Pad/One Time Pad CS/Form1.Designer.cs | OliverBathurst/One-Time-Pad-OTP | 2 | 7032868 | <reponame>OliverBathurst/One-Time-Pad-OTP
namespace One_Time_Pad_CS
{
partial class otp
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used... |
MicroServices/V3Ocelot/V3MemberServer/Program.cs | huruiyi/MicroServices | 4 | 7032869 | <reponame>huruiyi/MicroServices<gh_stars>1-10
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
namespace V3MemberServer
{
public class Program
{
public static void Main(string[] args)
{
WebHost.CreateDefaultBuilder(args).UseStartup<Startup>().UseUrls("http://127.0.0.... |
Bny.Tags/ID3v2/ID3v2_3/Frames/TextFrame.cs | BonnyAD9/Bny.Tags | 0 | 7032870 | using System.Text;
using Bny.Tags.ID3v1;
namespace Bny.Tags.ID3v2.ID3v2_3.Frames;
/// <summary>
/// Text information frame (ID3v2.3)
/// </summary>
public class TextFrame : Frame
{
/// <summary>
/// Text in the frame
/// </summary>
public string Information { get; set; }
/// <summary>
/// Cr... |
itext.tests/itext.kernel.tests/itext/kernel/pdf/PdfStreamUnitTest.cs | Kiteedge/itext7-dotnet | 0 | 7032871 | <filename>itext.tests/itext.kernel.tests/itext/kernel/pdf/PdfStreamUnitTest.cs<gh_stars>0
/*
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:/... |
PlatformRacing3.Server/Collections/Matcher/ExcludeSocketMatcher.cs | CoralCOasa/PlatformRacing3 | 0 | 7032872 | <gh_stars>0
using Net.Collections;
using Net.Sockets;
namespace PlatformRacing3.Server.Collections.Matcher
{
internal sealed class ExcludeSocketMatcher : ISocketMatcher
{
internal ISocket Not { get; }
internal ExcludeSocketMatcher(ISocket not)
{
this.Not = not;
}
... |
src/Perpetuum/Services/Sessions/Session.cs | pkucherov/PerpetuumServer | 46 | 7032873 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Transactions;
using Perpetuum.Accounting;
using Perpetuum.Accounting.Characters;
using Perpetuum.Data;
using Perpetuum.GenXY;
using Perpetuum.Groups.Corporations;
using Perpetuum.... |
src/Nuuvify.CommonPack.Middleware/Extensions/AssemblyExtension.cs | lzocateli00/Nuuvify.CommonPack | 0 | 7032874 | using System.Reflection;
using System.Text;
namespace Nuuvify.CommonPack.Middleware.Extensions
{
internal static class AssemblyExtension
{
public static string GetApplicationNameByAssembly
{
get
{
var entryAssembly = Assembly.GetEntryAssembly().GetName... |
MxWeiXinPF.Web/weixin/ucard/qiandao.aspx.cs | herrylau/wwzkushop | 0 | 7032875 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MxWeiXinPF.Common;
using System.Text;
namespace MxWeiXinPF.Web.weixin.ucard
{
public partial class qiandao : WeiXinPage
{
protected string openid = "";
... |
src/BuildMaster.Net/Infrastructure/Models/Server.cs | lvermeulen/BuildMaster.Net | 0 | 7032876 | <gh_stars>0
using System.Collections.Generic;
using BuildMaster.Net.Common;
using BuildMaster.Net.Common.Models;
using Newtonsoft.Json;
namespace BuildMaster.Net.Infrastructure.Models
{
public class Server
{
public string Name { get; set; } // A string of no more than fifty characters: numbers(0-9), u... |
src/SharpGLTF.Toolkit/Animations/CurveBuilder.cs | ehtick/SharpGLTF | 1 | 7032877 | using System;
using System.Collections.Generic;
using System.Numerics;
using System.Text;
using System.Linq;
namespace SharpGLTF.Animations
{
/// <summary>
/// Represents an editable curve of <typeparamref name="T"/> elements.
/// </summary>
/// <typeparam name="T">An element of the curve.<... |
TMCRegisterControl/ViewModels/TMC2590/TMC2590SGCSCONFViewModel.cs | alexgubanow/YaDRV | 0 | 7032878 | using Events;
using Prism.Commands;
using Prism.Events;
using Prism.Mvvm;
using System;
using System.Globalization;
using System.Reflection;
namespace TMCRegisterControl.ViewModels
{
public class TMC2590SGCSCONFViewModel : BindableBase
{
private readonly IEventAggregator _eventAggregator;
pri... |
samples/Myra.Samples.AllWidgets/AllWidgetsGame.cs | Genobreaker/Myra | 0 | 7032879 | using System.Threading.Tasks;
using Myra.Graphics2D.UI;
#if !XENKO
using Microsoft.Xna.Framework;
#else
using Xenko.Engine;
using Xenko.Games;
using Xenko.Graphics;
using Xenko.Core.Mathematics;
#endif
namespace Myra.Samples.AllWidgets
{
public class AllWidgetsGame : Game
{
#if !XENKO
private readonly GraphicsDe... |
EditorLibraries/ICSharpCode.AvalonEdit/Editing/MouseSelectionMode.cs | trigger-death/ZeldaOracle | 16 | 7032880 | // Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team
//
// 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, co... |
src/Backup/Nucleo.OnlineTests/Web/Context/QuerystringServiceFirstLook.aspx.cs | brianmains/Nucleo.NET | 2 | 7032881 | using System;
using System.Collections.Specialized;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Nucleo.Context;
using Nucleo.Framework;
using Nucleo.Web.Context.Services;
namespace Nucleo.Web.Context
{
public partial class QuerystringServiceFirstLook : NameValue... |
BlobBackup.Test/TestConstants.cs | rdragon/blob-backup | 0 | 7032882 | <filename>BlobBackup.Test/TestConstants.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BlobBackup.Test
{
public static class TestConstants
{
public const string EXAMPLE_NAME = "example-name";
}
}
|
sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/src/Generated/DigitalTwinsOperations.cs | arsunda/azure-sdk-for-net | 0 | 7032883 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure.ResourceMa... |
src/cor64/Mips/R4300I/JitIL/CLRValueType.cs | bryanperris/cor64 | 38 | 7032884 | <filename>src/cor64/Mips/R4300I/JitIL/CLRValueType.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace cor64.Mips.R4300I.JitIL
{
public enum CLRValueType
{
Unknown,
UINT_8,
UINT_16,
UINT_32,
UI... |
Assets/Editor/BuildSoldiersAnimEditor.cs | zerospace007/SpriteMVC | 52 | 7032885 | using System;
using System.Collections.Generic;
using System.IO;
using UnityEditor;
using UnityEditor.Animations;
using UnityEditor.U2D;
using UnityEngine;
using UnityEngine.U2D;
using UnityEngine.UI;
using Object = UnityEngine.Object;
public class BuildAnimation : Editor
{
//生成出的Prefab的路径
private static stri... |
TuBus-SS/Resources/Horario.cs | afermon/TuBus-SS | 0 | 7032886 | using System;
namespace Entities
{
public class Horario : BaseEntity
{
public int HorarioId { get; set; }
public int RutaId { get; set; }
public int Dia { get; set; }
public TimeSpan Hora { get; set; }
}
} |
dev/Nglib/DATA/CONNECTOR/ConnectorGeneric.cs | NueGy/NGLib | 1 | 7032887 | <reponame>NueGy/NGLib<filename>dev/Nglib/DATA/CONNECTOR/ConnectorGeneric.cs<gh_stars>1-10
// ----------------------------------------------------------------
// Open Source Code on the MIT License (MIT)
// Copyright (c) 2015 <NAME>
// https://github.com/NueGy/NgLib
// --------------------------------------------------... |
SlimeJump/Assets/Script/ScoreManager.cs | myami/SlimeJump | 0 | 7032888 | <reponame>myami/SlimeJump<gh_stars>0
using UnityEngine;
using System.Collections;
public class ScoreManager : MonoBehaviour {
private Generate generate;
int previousScore = -1;
public Sprite[] numberSprites;
public SpriteRenderer Units, Tens, Hundreds;
void Start () {
(Tens.gameObject as GameObject).SetActiv... |
LeChiffre.Core/AcmeClientService.cs | gitter-badger/LeChiffre | 0 | 7032889 | using System;
using System.Collections.Generic;
using System.Threading;
using ACMESharp;
using LeChiffre.Core.Interfaces;
using LeChiffre.Core.Models;
using Serilog;
namespace LeChiffre.Core
{
public class AcmeClientService : IAcmeClientService
{
private readonly ILogger _logger;
private reado... |
source/Ftp.Web.Extensions/Samples/SampleConsole/FtpSamples.cs | JasonHaley/Ftp.WebJob.Extensions | 0 | 7032890 | using System.IO;
using Ftp.WebJobs.Extensions;
using Microsoft.Azure.WebJobs;
namespace SampleConsole
{
public static class FtpSamples
{
//public static void ProcessFile(
// [FileTrigger(@"import\{name}", "*.txt", autoDelete: true)] Stream input,
// [Ftp(@"{name}")] Stream output... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.