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 |
|---|---|---|---|---|
DLR/Microsoft.Dynamic/Hosting/Shell/BasicConsole.cs | IMaeland/IronSmalltalk | 1 | 7037808 | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If
... |
ComIOP/Common/Server/Hda/ComHdaItemManager.cs | mrsuciu/UA-.NETStandard-Samples | 118 | 7037809 | /* ========================================================================
* Copyright (c) 2005-2019 The OPC Foundation, Inc. All rights reserved.
*
* OPC Foundation MIT License 1.00
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
... |
Leo/Runtime/LeoEcsSystemsManager.cs | UniGameTeam/UniGame.ECS | 1 | 7037810 | using UnityEngine;
namespace UniModules.UniGame.ECS.Leo.Runtime
{
using System;
using System.Collections.Generic;
using System.Linq;
using Core.Runtime.DataFlow.Interfaces;
using global::UniCore.Runtime.ProfilerTools;
using Leopotam.Ecs;
using UniCore.Runtime.DataFlow;
using UnityEdito... |
src/VoxelEditor/GlobalSuppressions.cs | Cerberus1746/voxel_engine | 0 | 7037811 | <filename>src/VoxelEditor/GlobalSuppressions.cs
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
using System.Diagnos... |
src/OneNote.ToMarkdown/Program.cs | aloneguid/onenote-sdk-dotnet | 1 | 7037812 | using System;
using Microsoft.IdentityModel.Clients.ActiveDirectory;
using OneNote.Net.ADAL;
using Config.Net;
using System.Threading.Tasks;
using OneNote.Net;
using Serilog;
using System.Diagnostics;
namespace Aloneguid.OneNote.ToMarkdown
{
class Program
{
private const string AadInstance = "https://logi... |
ModernWpf.Demo/Views/CheckBoxPage.xaml.cs | ghost1372/ModernWpf | 70 | 7037813 | using System.Windows.Controls;
namespace ModernWpf.Demo.Views
{
/// <summary>
/// Interaction logic for CheckBoxPage.xaml
/// </summary>
public partial class CheckBoxPage : UserControl
{
public CheckBoxPage()
{
InitializeComponent();
}
}
}
|
NetTelebot.Tests/TypeTestObject/ResultTestObject/ChatMemberInfoResultObject.cs | themehrdad/nettelebot | 16 | 7037815 | <filename>NetTelebot.Tests/TypeTestObject/ResultTestObject/ChatMemberInfoResultObject.cs
using NetTelebot.Result;
using Newtonsoft.Json.Linq;
namespace NetTelebot.Tests.TypeTestObject.ResultTestObject
{
internal static class ChatMemberInfoResultObject
{
/// <summary>
/// Object represent this ... |
Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/ImportAsymmetricKeyResponse.cs | Yubico/Yubico.NET.SDK | 25 | 7037816 | <gh_stars>10-100
// Copyright 2021 Yubico AB
//
// 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 o... |
PersonelProject.ToDo.Business/Concrete/ReportManager.cs | onuraytuglu/StaffApplication | 0 | 7037817 | <reponame>onuraytuglu/StaffApplication
using PersonelProject.ToDo.Business.Interfaces;
using PersonelProject.ToDo.DataAccess.Concrete.EFC.Repositories;
using PersonelProject.ToDo.DataAccess.InterFaces;
using PersonelProject.ToDo.Entities.Concrete;
using System;
using System.Collections.Generic;
using System.Text;
nam... |
sources/Interop/Xlib/X11/other/helper-types/XFontSet.cs | tannergooding/terrafx.interop.xlib | 7 | 7037818 | // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
using System;
namespace TerraFX.Interop.Xlib
{
public unsafe partial struct XFontSet : IComparable, IComparable<XFontSet>, IEquatable<XFontSet>, IFormattable
{
public r... |
NesCore/Storage/CartridgeMapKonamiVrc.cs | colinvella/EmuNes | 27 | 7037819 | <filename>NesCore/Storage/CartridgeMapKonamiVrc.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NesCore.Storage
{
abstract class CartridgeMapKonamiVrc : CartridgeMap
{
public CartridgeMapKonamiVr... |
Keen.NetStandard/ProjectSettingsProviderFile.cs | IshamMohamed/keen-sdk-net | 0 | 7037820 | <filename>Keen.NetStandard/ProjectSettingsProviderFile.cs
using System.IO;
using Newtonsoft.Json.Linq;
namespace Keen.Core
{
/// <summary>
/// Project settings provider which reads project settings from a text file.
/// </summary>
public class ProjectSettingsProviderFile : ProjectSettingsProvider
... |
Source/PrimerLibrary/Interop/Windows/User32/Methods/SetCaretBlinkTime.cs | Shkyrockett/Primer | 1 | 7037821 | // <copyright file="SetCaretBlinkTime.cs" company="Shkyrockett" >
// Copyright © 2020 - 2021 Shkyrockett. All rights reserved.
// </copyright>
// <author id="shkyrockett">Shkyrockett</author>
// <license>
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// <... |
src/Dloc.Domain/IRepositories/IPortadorRepository.cs | douglascoutinho/ControleAves | 0 | 7037822 | using Dloc.Domain.DTOs;
using Dloc.Domain.Entities;
using System;
using System.Collections.Generic;
namespace Dloc.Domain.IRepositories
{
public interface IPortadorRepository
{
void Cadastrar(Portador model);
void Editar(Portador model);
void Excluir(int id);
List<Portador> Con... |
Util/NugetAuditor/Mono.Security/Mono.Security.X509.Extensions/KeyAttributesExtension.cs | SaViGnAnO/XamarinComponents | 469 | 7037823 | //
// KeyAttributesExtension.cs: Handles X.509 *DEPRECATED* KeyAttributes extensions.
//
// Author:
// <NAME> <<EMAIL>>
//
// (C) 2003 Motus Technologies Inc. (http://www.motus.com)
// (C) 2004 Novell (http://www.novell.com)
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of t... |
Game Server/Server/NpcConversation.cs | DragonicK/Crystalshire--C--Server- | 3 | 7037824 | using GameServer.Data;
using GameServer.Communication;
using GameServer.Network.PacketList;
namespace GameServer.Server {
public sealed class NpcConversation {
public Player Player { get; set; }
public void Start() {
var target = Player.Target;
if (target < 1 || target > ... |
Remote.Linq/Expressions/MemberMemberBinding.cs | mrmandrake/maoui | 0 | 7037825 | // Copyright (c) <NAME>. All rights reserved. See license.txt in the project root for license information.
namespace Remote.Linq.Expressions
{
using Aqua.TypeSystem;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
[Serializable]
[Data... |
src/Services/SuperMemoAssistant.Services.HTML/Models/HtmlFilterBase.cs | KeepOnSurviving/SuperMemoAssistant | 0 | 7037826 | #region License & Metadata
// The MIT License (MIT)
//
// 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, modi... |
src/Tests.Amarok.Shared/Shared/Test_ByteArrayExtensions.cs | Amarok79/Amarok.Shared | 3 | 7037827 | /* MIT License
*
* Copyright (c) 2020, <NAME>
* https://github.com/Amarok79/Amarok.Shared
*
* 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 li... |
source/bindings/type-vs-managedType/source/androidx.leanback/leanback/additions/ItemBridgeAdapter.cs | moljac/Samples.AndroidX | 0 | 7037828 | // using System;
// namespace AndroidX.Leanback.Widget
// {
// public partial class ItemBridgeAdapter
// {
// public override void OnBindViewHolder (Java.Lang.Object holder, int position)
// {
// this.OnBindViewHolder((global::Android.Views.ViewGroup)holder, position);
/... |
src/Sitecore.MediaFramework/Commands/EmbedMedia.cs | KRazguliaev/pmi.sitecore.9.1.brightcove | 2 | 7037829 | namespace Sitecore.MediaFramework.Commands
{
using System;
using Sitecore.Data;
using Sitecore.Diagnostics;
using Sitecore.Layouts;
using Sitecore.Shell.Framework.Commands;
using Sitecore.Text;
using Sitecore.Web;
using Sitecore.Web.UI.Sheer;
[Serializable]
public class EmbedMedia : ... |
src/BookCrossingBackEnd/Validators/MessageValidator.cs | ita-social-projects/Bookcrossing-Back-End | 6 | 7037830 | using Application.Dto;
using FluentValidation;
namespace BookCrossingBackEnd.Validators
{
public class MessageValidator: AbstractValidator<MessageDto>
{
readonly int _minLength = 1;
readonly int _maxLength = 580;
public MessageValidator()
{
RuleFor(x => x.Message).... |
source/Tests/Common/StringTranslatorFixture.cs | Microsoft/enterprise-library-common-infrastructure | 3 | 7037831 | <filename>source/Tests/Common/StringTranslatorFixture.cs
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System.Reflection;
using System.Resources;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Microsoft.Practices.Enterpr... |
ALACore/DomainAbstractions/StringMap.cs | arnab-sen/GALADE | 7 | 7037832 | <filename>ALACore/DomainAbstractions/StringMap.cs
using System;
using System.Text;
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows;
using Libraries;
using ProgrammingParadigms;
namespace DomainAbstractions
{
/// <summary>
/// <para>Given an input string a... |
OpenDreamClient/Interface/Controls/ControlOutput.cs | MarkSuckerberg/OpenDream | 68 | 7037833 | <gh_stars>10-100
using OpenDreamShared.Interface;
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace OpenDreamClient.Interface.Controls {
class ControlOutput : InterfaceControl {
private TextBox _textBox;
private Border _border;
public... |
EIDSS v6/bltoolkit.3.2.dev/EditableObjects/EditableList.cs | EIDSS/EIDSS-Legacy | 2 | 7037834 | using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
namespace BLToolkit.EditableObjects
{
[Serializable]
[DebuggerDisplay("Count = {Count}")]
public class EditableList<T> : EditableArrayList, IList<T>
{
#region Constructors
... |
AADUpdater/Arguments.cs | ivee-tech/aad-custom-claims | 0 | 7037835 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AADUpdater
{
internal class Arguments
{
public string Command { get; set; }
public IDictionary<string, string> Parameters { get; private set; }
public Argument... |
src/JTT/Gen/JTTGenerator.cs | Lc3586/SuperSocket.JTT | 1 | 7037836 | <gh_stars>1-10
using SuperSocket.JTT.Model;
using SuperSocket.JTT.JTTBase.Extension;
using SuperSocket.JTT.JTTBase.Filter;
using SuperSocket.JTT.JTTBase.Interface;
using SuperSocket.JTT.JTTBase.Model;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.DependencyInjection... |
solid-explained/solid-explained/SRP/CorrectUsage/DatabaseLogger.cs | vlatushko/solid-explained | 1 | 7037837 | <gh_stars>1-10
using System;
namespace solid_explained.SRP.CorrectUsage
{
public class DatabaseLogger : IDatabaseLogger
{
public void Log(
LogType logType,
string message,
Exception exception = null)
{
//logic of saving logs to a datab... |
libraries/Microsoft.Bot.Schema/SuggestedActions.cs | yeze322/botbuilder-dotnet | 1 | 7037838 | <gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Microsoft.Bot.Schema
{
using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
/// <summary>
/// SuggestedActions that can be performed.
... |
Wolf/ImageViewer.cs | sadams115/Wolf | 32 | 7037839 | <reponame>sadams115/Wolf<filename>Wolf/ImageViewer.cs
using System;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
namespace Wolf
{
public partial class ImageViewer : Form
{
public ImageViewer(string Pic)
{
InitializeComponent();
Image Im... |
08-ProgrammingBasicsExercises/04-ProgrammingBasicsExam-17July2016/03-MatchTickets.cs | kavier/Programing-Basic-Csharp | 0 | 7037840 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _03.Match_Tickets
{
class Program
{
static void Main(string[] args)
{
double budget = double.Parse(Console.ReadLine());
string zone = Console.Rea... |
NPOI.OpenXmlFormats.Vml.Office/CT_Fill.cs | iNeverSleeeeep/NPOI-For-Unity | 1 | 7037841 | using System;
using System.ComponentModel;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace NPOI.OpenXmlFormats.Vml.Office
{
[Serializable]
[XmlRoot("CT_Fill", Namespace = "urn:schemas-microsoft-com:office:office", IsNullable = true)]
[XmlType(TypeName = "CT_Fill", Namespace = "urn:schemas-microso... |
algorithms/code/leetcode/lc027_remove_element/LC027RemoveElement.cs | altermarkive/training | 0 | 7037842 | // https://leetcode.com/problems/remove-element/
namespace AlgorithmDesign.code.leetcode.lc027_remove_element
{
public class Solution
{
public int RemoveElement(int[] nums, int val)
{
if (nums == null) return 0;
int index = 0;
for (int i = 0; i < nums.Length;... |
src/Microsoft.Owin.Host.SystemWeb/CallEnvironment/AspNetDictionary.cs | gregwoodio/AspNetKatana | 950 | 7037843 | // 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;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace Microsoft.Owin.Host.Syst... |
Chapter 5/Tests.Unit/InMemoryDatabaseForCodeMappings.cs | PacktPublishing/Learning-NHibernate-4 | 7 | 7037844 | <reponame>PacktPublishing/Learning-NHibernate-4
using System;
using System.Collections.Generic;
using NHibernate.Mapping.ByCode;
using Persistence.Mappings.ByCode;
namespace Tests.Unit
{
public class InMemoryDatabaseForCodeMappings : InMemoryDatabase
{
public InMemoryDatabaseForCodeMappings(b... |
camunda-bpm-platform-net/engine/src/test/java/org/camunda/bpm/engine/test/api/variables/scope/AssertVariableScopeDelegate.cs | luizfbicalho/Camunda.NET | 6 | 7037846 | <filename>camunda-bpm-platform-net/engine/src/test/java/org/camunda/bpm/engine/test/api/variables/scope/AssertVariableScopeDelegate.cs
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work fo... |
src/Stl.Fusion/Authentication/User.cs | Themodem/Stl.Fusion | 0 | 7037848 | using System;
using System.Collections.Generic;
using System.Security.Claims;
using System.Security.Principal;
using Newtonsoft.Json;
namespace Stl.Fusion.Authentication
{
public class User : IPrincipal, IIdentity, IHasId<string>
{
public static string GuestName { get; set; } = "Guest";
private... |
Src/Marathon.Domain/Entities/SignUpMarathonEvent.cs | NorthRebel/Marathon | 0 | 7037849 | <filename>Src/Marathon.Domain/Entities/SignUpMarathonEvent.cs
using Marathon.Domain.Common;
namespace Marathon.Domain.Entities
{
public sealed class SignUpMarathonEvent : IEntity<int>
{
public int Id { get; set; }
public short? BibNumber { get; set; }
public int? RaceTime { get; set; }... |
WOD.Game.Server/Feature/ChatCommandDefinition/SystemChatCommand.cs | Cavcode/WOD_NWN | 0 | 7037850 | using System;
using System.Collections.Generic;
using WOD.Game.Server.Entity;
using WOD.Game.Server.Enumeration;
using WOD.Game.Server.Service;
using WOD.Game.Server.Service.ChatCommandService;
using static WOD.Game.Server.Core.NWScript.NWScript;
namespace WOD.Game.Server.Feature.ChatCommandDefinition
{
public cl... |
ArendaMain/src/Arenda/Bank/frmAddBank.cs | nonenane/Arenda | 1 | 7037851 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Arenda.Bank
{
public partial class frmAddBank : Form
{
private ... |
EneterMessaging/EneterMessagingFramework/DataProcessing/Serializing/DataContractJsonStringSerializer.cs | ng-eneter/eneter-net | 11 | 7037852 |
#if !NET35
using System;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Json;
using System.Text;
using System.Xml;
using Eneter.Messaging.Diagnostic;
namespace Eneter.Messaging.DataProcessing.Serializing
{
/// <summary>
/// Serializes data into JSON.
... |
src/Refer/ReferenceException.cs | banalna/pip-services3-commons-dotnet | 1 | 7037853 | <gh_stars>1-10
using PipServices3.Commons.Errors;
using System;
using System.Runtime.Serialization;
namespace PipServices3.Commons.Refer
{
/// <summary>
/// Error when required component dependency cannot be found.
/// </summary>
#if CORE_NET
[DataContract]
#else
[Serializable]
#endif
public c... |
LoteriaFacil.UI.Web/Views/Person/Index.cshtml | DiegoGalante/lotofacil-aspnetcore | 0 | 7037854 | <reponame>DiegoGalante/lotofacil-aspnetcore
@model IEnumerable<PersonViewModel>
@{
ViewData["Title"] = "Pessoas";
Layout = "~/Views/Shared/_LayoutLoteria.cshtml";
}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper" style="margin-left: 0;">
<!-- Content Header (Page header) -->
... |
DragonSpark.Application/Entities/Queries/Compiled/Evaluation/ToSum.cs | DragonSpark/Framework | 10 | 7037855 | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DragonSpark.Application.Entities.Queries.Compiled.Evaluation;
sealed class ToSum : IEvaluate<decimal, decimal>
{
public static ToSum Default { get; } = new();
ToSum() {}
public ValueTask<decimal> Get(IAsyncEnumerable<de... |
src/WebChemistry.Framework.Core/Exceptions/NonUniqueAtomIdExcetion.cs | dsehnal/PatternQuery | 0 | 7037856 | <filename>src/WebChemistry.Framework.Core/Exceptions/NonUniqueAtomIdExcetion.cs
namespace WebChemistry.Framework.Core
{
using System;
/// <summary>
/// Thrown if two atoms with the same id appear in the same "context" (collection)
/// </summary>
public class NonUniqueAtomIdException : Exception
... |
NNSharp/Kernels/CPUKernels/SoftmaxKernel.cs | andrasberes/NNSharp | 53 | 7037857 | <filename>NNSharp/Kernels/CPUKernels/SoftmaxKernel.cs<gh_stars>10-100
using NNSharp.DataTypes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NNSharp.Kernels.CPUKernels
{
[Serializable()]
public class SoftmaxKernel : IKernel
{
... |
IdentitySLN/IdentityApp/Errors/ApiResponse.cs | baitul10/Identity | 0 | 7037858 | using System;
namespace IdentityApp.Errors
{
public class ApiResponse
{
public ApiResponse(int statusCode, string message=null)
{
StatusCode = statusCode;
Message = message ?? GetDefaultMessage(statusCode);
}
public int StatusCode { get; set; }
... |
src/Gallio/Gallio/Framework/Pattern/CompositePatternAttribute.cs | citizenmatt/gallio | 1 | 7037859 | <reponame>citizenmatt/gallio
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 <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
//
// ... |
C# Advanced September 2019/C# Advanced/exercises/Sets and Dictionaries Advanced - Exercise/04. Even Times/Program.cs | amartinn/SoftUni | 3 | 7037860 | <filename>C# Advanced September 2019/C# Advanced/exercises/Sets and Dictionaries Advanced - Exercise/04. Even Times/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace _04._Even_Times
{
class Program
{
static void Main(string[] args)
{
var dictio... |
ImageServer/Web/Application/Pages/Admin/Configure/Devices/ThrottleSettingsTab.ascx.designer.cs | econmed/ImageServer20 | 1 | 7037861 | <reponame>econmed/ImageServer20
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3082
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is re... |
Orm/Xtensive.Orm/Orm/EntitySetEventArgs.cs | alex-kulakov/dataobjects-net | 0 | 7037862 | <gh_stars>0
// Copyright (C) 2003-2010 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
// Created by: <NAME>
// Created: 2009.10.23
using System;
namespace Xtensive.Orm
{
/// <summary>
/// Describes <see cref="Orm.EntitySet{TItem}"/>-related events.
... |
Runtime/rt/java/util/concurrent/BlockingDeque.cs | danelkhen/cs2java | 11 | 7037863 | //***************************************************
//* This file was generated by JSharp
//***************************************************
namespace java.util.concurrent
{
public partial interface BlockingDeque<E> : BlockingQueue<E>, Deque<E>
{
void addFirst(E prm1);
void addLast(E prm1);... |
src/FileReader.cs | Kros-sk/Kros.DummyData.Initializer | 0 | 7037864 | using Microsoft.Extensions.Logging;
using System.Collections.Generic;
using System.IO;
using System.Text.Json;
using System.Threading.Tasks;
namespace Kros.DummyData.Initializer
{
/// <summary>
/// File reader, which postprocess readed file with scriban.
/// </summary>
public class FileReader
{
... |
AnnoSavegameViewer/Structures/Savegame/Generated/Content/HeatersList.cs | brumiros/AnnoSavegameViewer | 0 | 7037865 | using AnnoSavegameViewer.Serialization.Core;
using System.Collections.Generic;
namespace AnnoSavegameViewer.Structures.Savegame.Generated {
public class HeatersList {
[BinaryContent(Name = "IsCity", NodeType = BinaryContentTypes.Attribute)]
public object IsCity { get; set; }
[BinaryContent(Name = "ID"... |
src/PoC.SharpDiff.WebAPI/Program.cs | jboliveira/PoC.SharpDiff | 4 | 7037866 | using System;
using System.IO;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using PoC.SharpDiff.Persistence.Contexts;
using PoC.SharpDiff.WebAPI.Infrastructure.Extensions;
using Serilog;
namespace PoC.SharpDiff.WebAPI
{
/// <summary> Application entry point </summary>
class... |
Demos/04b-HelloMvcWithDI/src/HelloMvcWithDI.Tests/HomeControllerTests.cs | tonysneed/GK.AspNet5.London.160404 | 0 | 7037867 | <filename>Demos/04b-HelloMvcWithDI/src/HelloMvcWithDI.Tests/HomeControllerTests.cs
using HelloMvcWithDI.Controllers;
using HelloMvcWithDI.Patterns;
using Microsoft.AspNet.Mvc;
using Xunit;
namespace HelloMvcWithDI.Tests
{
public class HomeControllerTests
{
[Fact]
public async void Index_action... |
NBi.Testing/Unit/Core/ResultSet/Lookup/LookupExistsAnalyzerTest.cs | CoolsJoris/NBi | 0 | 7037868 | using NBi.Core.ResultSet;
using NBi.Core.ResultSet.Lookup;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Testing.Unit.Core.ResultSet.Lookup
{
public class LookupE... |
WorkAPI/Migrations/CompanyContextModelSnapshot.cs | jortega2020/tutorial | 0 | 7037869 | <gh_stars>0
// <auto-generated />
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using WorkAPI.Models.DBContext;
namespace WorkAPI.Migrations
{
[DbContext(t... |
Module 1/[01] CSharp/C# Fundamentals/[07]Arrays[lecture-10]/10.SubsequenceSum/SubsequenceSum.cs | VProfirov/Telerik-Academy-BetaRun | 0 | 7037870 | /* Write a program that
*
* finds in given array of integers a sequence of given sum S
* (if present).
*
* Example: {4, 3, 1, 4, 2, 5, 8}, S=11 {4, 2, 5}
*/
namespace SubsequenceSum
{
using System;
using System.Text;
public class SubsequenceSum
{
public static void Main()
... |
Exercises/Ex05-Interfaces/08-MilitaryElite/StartUp.cs | VladimirKyuranov/CSharp-OOP-Basics | 0 | 7037871 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
class StartUp
{
static void Main(string[] args)
{
var army = new Dictionary<int, ISoldier>();
string input;
try
{
while ((input = Console.ReadLine()) != "End")
{
string[] soldierArgs = input.Split();
string soldier... |
Jade.Shell/AppSettings.cs | colin08/Jade.Net | 66 | 7037872 | /*
********************************************************************
*
* 曹旭升(sheng.c)
* E-mail: <EMAIL>
* QQ: 279060597
* https://github.com/iccb1013
* http://shengxunwei.com r
*
*
********************************************************************/
using System;
using System.Collections.Generic;... |
OnlineBankingPrism.SharedEntities/Entities/CardTransactions.cs | Gortaur/OnlineBanking | 0 | 7037873 | using System.Collections.Generic;
using Newtonsoft.Json;
using OnlineBankingPrism.SharedEntities.Entities.Abstract;
namespace OnlineBankingPrism.SharedEntities.Entities
{
public class CardTransactions : DbEntityBase
{
[JsonProperty("transactions")]
public List<Transaction> Transaction... |
Teil 05 - Paare/mit Uebung/Scripts/Karte.cs | renebuehling/gamedev-profi.de_card-game | 0 | 7037874 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Playables;
/// <summary>
/// Zeichnet die Daten einer Kartenbeschreibung in der Szene
/// und regelt die Interaktionsmöglichkeiten.
/// </summary>
public class Karte : MonoBehaviour
{
... |
YeetOverFlow.Core.Application/Data/Commands/ICommandDispatcher.cs | adiamante/yeetoverflow | 0 | 7037875 | using System.Threading.Tasks;
using YeetOverFlow.Core.Application.Data.Core;
namespace YeetOverFlow.Core.Application.Data.Commands
{
/// <summary>
/// Passed around to all allow dispatching a command and to be mocked by unit tests
/// </summary>
public interface ICommandDispatcher
{
/// <s... |
test/Cimpress.Auth0.Client.UnitTests/Auth0TokenProviderTests.cs | Cimpress-MCP/auth0-aspnet-core | 3 | 7037876 | <gh_stars>1-10
using System;
using System.Threading.Tasks;
using Cimpress.Auth0.Client.Proxies;
using Xunit;
using FluentAssertions;
using Microsoft.Extensions.Logging;
using Moq;
namespace Cimpress.Auth0.Client.UnitTests
{
public class Auth0TokenProviderTests
{
private readonly Mock<ILoggerFactory> lo... |
06. C# OOP Advanced - July 2017/02. Generics/02. Generics - Exercise/Exercises Generics/09. Custom List Sorter/MyList.cs | zrusev/SoftwareUniversity2016 | 2 | 7037877 | namespace _09.Custom_List_Sorter
{
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class MyList<T>
{
public MyList()
{
this.List = new List<T>();
}
public IList<T> List { get; private set; }
public void Add(T item... |
RealArtists.ShipHub.Actors/RepositoryActor.cs | opsroller/shiphub-server | 14 | 7037878 | <reponame>opsroller/shiphub-server
namespace RealArtists.ShipHub.Actors {
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.... |
RepositoryLayer/Migrations/20210305120935_RemoveTable.Designer.cs | JayKrishnareddy/OnionArchitecture | 14 | 7037879 | <filename>RepositoryLayer/Migrations/20210305120935_RemoveTable.Designer.cs
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFr... |
Source/ModelGroups/Material_DoubleSided.cs | cx20/glTF-Asset-Generator | 79 | 7037880 | using AssetGenerator.Runtime;
using System;
using System.Collections.Generic;
namespace AssetGenerator.ModelGroups
{
internal class Material_DoubleSided : ModelGroup
{
public override ModelGroupId Id => ModelGroupId.Material_DoubleSided;
public Material_DoubleSided(List<string> imageList)
... |
GraphQL.HotChocolate/Types/EnrollmentObject.cs | Uka4me/GraphQl.EfCore.Translate | 0 | 7037882 | <filename>GraphQL.HotChocolate/Types/EnrollmentObject.cs
using Entity.Models;
namespace GraphQL.HotChocolate.Types
{
public class EnrollmentObject : ObjectType<Enrollment>
{
protected override void Configure(IObjectTypeDescriptor<Enrollment> descriptor)
{
descriptor.Field(t => t.En... |
Mate.Production.Core/Agents/DispoAgent/Dispo.Instruction.cs | JulianWolfgangVonRoete/MATE | 13 | 7037883 | using Akka.Actor;
using AkkaSim.Definitions;
using Mate.DataCore.DataModel;
using static FArticles;
using static FStockReservations;
namespace Mate.Production.Core.Agents.DispoAgent
{
public partial class Dispo
{
public class Instruction
{
public class RequestArticle : SimulationMe... |
src/UWP/ZoDream.Reader/Pages/BookPage.xaml.cs | zx648383079/ZoDream-Reader | 3 | 7037884 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.Storage.Pickers;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
us... |
src/IO.Swagger/Model/TableMetaData.cs | freetalent/Activiti.Rest | 0 | 7037885 | /*
* Activiti REST API
*
* # activiti - Activiti is battle-tested Business Process Management. Organizations across the world depend on the open source platform in a huge range of demanding situations. It supports open standards with BPMN and DMN so you can create processes that suit you.
*
* OpenAPI spec ver... |
osu.Game.Rulesets.Mania.Tests/TestSceneManiaBeatSnapGrid.cs | EZ2ACTux/osu | 0 | 7037886 | // Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Input.Events;
using osu.Framework.Timing;
using osu.Game.... |
src/MsieJavaScriptEngine/ActiveScript/Debugging/IDebugDocumentText.cs | Taritsyn/MsieJavaScriptEngine | 84 | 7037887 | #if !NETSTANDARD
using System;
using System.Runtime.InteropServices;
namespace MsieJavaScriptEngine.ActiveScript.Debugging
{
/// <summary>
/// Provides access to a text-only version of the debug document
/// </summary>
[ComImport]
[Guid("51973c22-cb0c-11d0-b5c9-00a0244a0e7a")]
[InterfaceType(ComInterfaceType.In... |
src/Xels.Bitcoin.Features.Wallet/Models/AddressDescriptor.cs | xels-io/SideChain-SmartContract | 0 | 7037888 | using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json;
namespace Xels.Bitcoin.Features.Wallet.Models
{
public class AddressDescriptor
{
[Required]
[JsonProperty(PropertyName = "address")]
public string Address { get; set; }
[Required]
[JsonProperty(Propert... |
SongFuseCLI/TextureOptions.cs | PikminGuts92/BFForever | 10 | 7037889 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CommandLine;
namespace SongFuseCLI
{
[Verb("texture", HelpText = "Encode/decode texture files")]
internal class TextureOptions
{
[Value(0, Required = true, MetaName = "Input Pa... |
src/NuGet.Clients/NuGet.VisualStudio.Implementation/Utility/PathLookupTrie.cs | carpnick/NuGet.Client | 4 | 7037890 | <filename>src/NuGet.Clients/NuGet.VisualStudio.Implementation/Utility/PathLookupTrie.cs
// 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;
using System.Collections.Generic;
using System.IO... |
Prijestupna_godina/Program.cs | kamelija-kauzlaric/AlgebraC-2020 | 0 | 7037891 | using System;
namespace Prijestupna_godina
{
class Program
{
static void Main(string[] args)
{
// Zadatak 5.3.6.
Console.WriteLine("PRIJESTUPNE GODINE");
Console.WriteLine("");
Console.WriteLine("Sve prijestupne godine od 1900. do 2007. su: ");
... |
Framework/Adxstudio.Xrm/Metadata/OrganizationServiceContextExtensions.cs | emtea/xRM-Portals-Community-Edition | 117 | 7037892 | <filename>Framework/Adxstudio.Xrm/Metadata/OrganizationServiceContextExtensions.cs
/*
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for license information.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using Sy... |
Dyd.BaseService.TaskManager.Web/Controllers/CategoryController.cs | Txooo/Dyd.BaseService.TaskManager | 98 | 7037893 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Dyd.BaseService.TaskManager.Domain.Model;
using Dyd.BaseService.TaskManager.Domain.Dal;
using XXF.Db;
using Dyd.BaseService.TaskManager.Web.Models;
namespace Dyd.BaseService.TaskManager.Web.Controllers
{
... |
Src/VNS/Reg/Reg/RegInfo.cs | knifecaojia/CoinsPro | 0 | 7037894 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace Reg
{
public class RegInfo
{
public string Username { get; set; }
public string Password { get; set; }
public s... |
src/Chatter.CQRS/tests/Context/UsingContextContainer/WhenGettingOrDefault.cs | brenpike/Chatter | 1 | 7037895 | using Chatter.CQRS.Context;
using Moq;
using Xunit;
namespace Chatter.CQRS.Tests.Context.UsingContextContainer
{
public class WhenGettingOrDefault
{
private readonly ContextContainer _parentContextContainer;
private readonly ContextContainer _sut;
private readonly Mock<ReallyFakeContex... |
Toolbox/Toolbox/ToolboxControls/ProjectWizard/Controls/HostControl.cs | igoreksiz/NetOffice | 544 | 7037896 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Xml;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace NetOffice.DeveloperToolbox.ToolboxControls.ProjectWizard.Controls
{
/// <summary>
/// Supported of... |
GitTfsTest/Integration/IntegrationHelper.cs | rbirkby/git-tfs | 0 | 7037897 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Sep.Git.Tfs.Core;
using Sep.Git.Tfs.Core.TfsInterop;
using Sep.Git.Tfs.VsFake;
namespace Sep.Git.Tfs.Test.... |
src/dotnet-pack-local/Commands/NuGetRepositoryPathCommand.cs | zvirja/dotnet-pack-local | 3 | 7037898 | <reponame>zvirja/dotnet-pack-local<filename>src/dotnet-pack-local/Commands/NuGetRepositoryPathCommand.cs
using DotnetPackLocal.Persistence;
using Spectre.Console;
namespace DotnetPackLocal.Commands
{
internal class NuGetRepositoryPathCommand
{
private readonly IConfigStore _configStore;
publi... |
Ragnarok.DA/Repositories/Book/BookRepository.cs | DiaPasc/ragnarok | 0 | 7037899 | <reponame>DiaPasc/ragnarok
using System;
using System.Data.Entity;
using System.Linq;
using Ragnarok.DA.Book.Entity;
using System.Data.Entity.Infrastructure;
namespace Ragnarok.DA.Repositories
{
public class BookRepository : BaseRepository<Book.Entity.Book>, IBookRepository
{
public BookRepository(DbC... |
src/Zsharp.Rpc.Client/IWalletClient.cs | firoorg/zsharp | 2 | 7037900 | <filename>src/Zsharp.Rpc.Client/IWalletClient.cs
namespace Zsharp.Rpc.Client
{
using System;
using System.Threading;
using System.Threading.Tasks;
using NBitcoin;
public interface IWalletClient : IAsyncDisposable, IDisposable
{
Task<BitcoinAddress> GetNewAddressAsync(CancellationToken c... |
ds_winapp/Registro.cs | cafc79/DeltaCore | 0 | 7037901 | <filename>ds_winapp/Registro.cs
using System;
using Microsoft.Win32;
namespace DeltaCore.WinApp
{
public static class Registro
{
public static bool ponerEnInicio(string nombreClave, string nombreApp)
{
// Resgistrará en Inicio del registro la aplicación indicada
// Devuelve True si todo fue bien, False en... |
src/Ch01/Ex02-AdheringPrinciple1/NameCalculation.cs | huanlin/dop-book-code | 0 | 7037902 | <filename>src/Ch01/Ex02-AdheringPrinciple1/NameCalculation.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Ch01.Ex02_AdheringPrinciple1
{
public class NameCalculation
{
p... |
Playwright.Synchronous/RequestSynchronous.cs | evgenynazarchuk/Playwright.Synchronous | 1 | 7037903 | /*
* MIT License
*
* Copyright (c) <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, merg... |
Horizon.Payment.Alipay/Response/AlipayInsSceneProductAccessApplyResponse.cs | bluexray/Horizon.Sample | 1 | 7037904 | <gh_stars>1-10
using System.Text.Json.Serialization;
using Horizon.Payment.Alipay.Domain;
namespace Horizon.Payment.Alipay.Response
{
/// <summary>
/// AlipayInsSceneProductAccessApplyResponse.
/// </summary>
public class AlipayInsSceneProductAccessApplyResponse : AlipayResponse
{
/// <sum... |
Presentation/BrnShop.Web/mobile/themes/default/views/ucenter/orderinfo.cshtml | leafcxy/BrnShop | 2 | 7037905 | <filename>Presentation/BrnShop.Web/mobile/themes/default/views/ucenter/orderinfo.cshtml
@model BrnShop.Web.Mobile.Models.OrderInfoModel
@{
Layout = null;
}
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>订单信息-@{@WorkContext.ShopConfig.SiteTitle}触屏版</title>
@Html.Raw(WorkContext.ShopConfig.S... |
Tourism.WebsocketServer/Utils/WebSocketHandler.cs | luochenLing/Tourism.Api | 0 | 7037906 | <reponame>luochenLing/Tourism.Api<gh_stars>0
using log4net;
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;
using System;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Tourism.WebsocketServer.Utils
{
public abstract class WebSocketHandler
... |
XenAdmin/Plugins/Cmd/PowerShellCmd.cs | xueqingz/xenadmin | 323 | 7037907 | <gh_stars>100-1000
/* Copyright (c) <NAME>, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyr... |
Source/KaosCollections/RankedBag.cs | kaosborn/KaosCollections | 9 | 7037908 | // File: RankedBag.cs
//
// Copyright © 2009-2020 <NAME> (github.com/kaosborn)
// MIT License - Use and redistribute freely
//
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.Serialization;
namespace Kaos.Collections
{
/// <summary>
///... |
03. Extension-Methods-Delegates-Lambda-LINQ/DividableByThreeAndSeven/DivisableByTwoNumbers.cs | tpulkov/CSharp-OOP | 0 | 7037909 | <gh_stars>0
namespace DivisibleBySevenAndThree
{
using System;
using Extentions;
using Utilities.Extentions;
public class DivisableByTowNumbers
{
public static void Main()
{
var numbers = new long[] { 3456, 42, 865, 33, 67, 84, 49 };
Console.ForegroundColor... |
CiccioSoft.Collections/BindingSet.cs | FrancescoCrimi/CiccioSoft.Collections | 0 | 7037910 | <reponame>FrancescoCrimi/CiccioSoft.Collections<gh_stars>0
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
// <NAME> <EMAIL>
using System;
using System.Collections... |
AzRanger/Models/ExchangeOnline/RemoteDomain.cs | HackmichNet/AzRanger | 0 | 7037911 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AzRanger.Models.ExchangeOnline
{
public class RemoteDomain
{
public string DomainName { get; set; }
public bool IsInternal { get; set; }
public bool TargetDeliv... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.