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 |
|---|---|---|---|---|
share/JSSoft.Crema.Services.Test/Users/UserCategoryTest.cs | s2quake/Ntreev.Crema | 0 | 7052356 | // Released under the MIT License.
//
// Copyright (c) 2018 Ntreev Soft co., Ltd.
// Copyright (c) 2020 <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, inclu... |
PreliminaryTest/PreliminaryTest.Service/StringProcessorService.cs | isgtpepper/PreliminaryTest | 0 | 7052357 | using PreliminaryTest.Service.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PreliminaryTest.Service
{
/// <summary>
/// Process a collection of string values
/// </summary>
public class StringProcessorService : IStringProcessorService
{
... |
src/IoUring/Submission.cs | tkp1n/IoUringTransport | 71 | 7052358 | <gh_stars>10-100
using Tmds.Linux;
namespace IoUring
{
public readonly unsafe partial struct Submission
{
private readonly io_uring_sqe* _sqe;
internal Submission(io_uring_sqe* sqe)
{
_sqe = sqe;
}
}
} |
CSharpMath/Atom/Atoms/Table.cs | jp2masa/CSharpMath | 274 | 7052359 | using System.Collections.Generic;
using System.Linq;
namespace CSharpMath.Atom.Atoms {
///<summary>A table. Not part of TeX.</summary>
public sealed class Table : MathAtom, IMathListContainer {
public Table(string? environment, List<List<MathList>>? cells = null) : base(string.Empty) =>
(Environment, Cel... |
Lockdown/Assets/Global/Scripts/Structs/Direction.cs | oliverspryn/lockdown | 0 | 7052360 | /// <summary>
/// The <c>Direction</c> class functions like a C-sytle struct,
/// and is used to hold pointers to objects which are to the North,
/// South, East, and West of a particular <c>Cell</c>.
/// </summary>
public class Direction<T> {
#region Fields
/// <summary>
/// A pointer to an object which is to the ... |
Control Escolar/Control Escolar/Login.cs | Equipo-6/Gestion | 0 | 7052361 | using Control_Escolar.Context;
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 MySql.Data.MySqlClient;
namespace Control_Escolar
{
public part... |
data/train/csharp/f79322d7fe17a8e0f67f7416e92eb7851bac61ccBuildViewModels.cs | aliostad/deep-learning-lang-detection | 84 | 7052362 | <filename>data/train/csharp/f79322d7fe17a8e0f67f7416e92eb7851bac61ccBuildViewModels.cs
using ManagerDomain.Models.Dbs;
using ManagerDomain.Models.ViewModels;
using PositivoDigital.Web.MVC.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UserBusiness.Logics;
names... |
src/Shortcodes/ShortcodesProcessor.cs | deanmarcussen/shortcodes | 39 | 7052363 | <filename>src/Shortcodes/ShortcodesProcessor.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Parlot;
namespace Shortcodes
{
public class ShortcodesProcessor
{
private readonly ShortcodesParser _parser = new ShortcodesParser()... |
Moviebase.Core/Diagnostics/NetworkObserver.cs | Omac092627/Moviebase | 13 | 7052364 | <gh_stars>10-100
using System;
using System.Net.NetworkInformation;
using Moviebase.Core.Natives;
namespace Moviebase.Core.Diagnostics
{
public sealed class NetworkObserver
{
private static Lazy<NetworkObserver> _lazy = new Lazy<NetworkObserver>(() => new NetworkObserver());
private static Pin... |
PhotoMSK/Tests/PhotoMSK.UI.Tests/Default/MasterclassControllerTests.cs | MarkusMokler/photomsmsk-by | 1 | 7052366 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using PhotoMSK.UI.Tests.Extension;
namespace PhotoMSK.UI.Tests.Default
{
[TestClass]
public class MasterclassControllerTests : AbstractTest
{
[TestMethod]
public void GoToMasterclasses()
{
_driver.Navigate().GoToUrl(Ur... |
src/NQuery/Text/SourceText.cs | dallmair/nquery-vnext | 63 | 7052367 | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
using System.Threading;
namespace NQuery.Text
{
public abstract class SourceText
{
private SourceTextContainer _container;
protected SourceText()
: this(null)
... |
src/Merchello.Core/Gateways/GatewayProviderActivationAttribute.cs | teeto/Merchello | 0 | 7052368 | <filename>src/Merchello.Core/Gateways/GatewayProviderActivationAttribute.cs
using System;
namespace Merchello.Core.Gateways
{
/// <summary>
/// An attribute used to decorate gateway providers to be resolved and "activated/deactivated"
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultipl... |
HKX2/Autogen/hkMeshVertexBuffer.cs | soulsmods/DSMapStudio | 128 | 7052369 | <reponame>soulsmods/DSMapStudio<gh_stars>100-1000
using SoulsFormats;
using System.Collections.Generic;
using System.Numerics;
namespace HKX2
{
public enum LockResult
{
RESULT_FAILURE = 0,
RESULT_SUCCESS = 1,
RESULT_IN_USE = 2,
}
public partial class hkMeshVertexBuffer : hk... |
external/source/Scanner/share/LumiSoft.Net/SIP/Message/SIP_t_CSeq.cs | 0x727/metasploit-framework | 1 | 7052370 | using System;
namespace LumiSoft.Net.SIP.Message
{
// Token: 0x0200006A RID: 106
public class SIP_t_CSeq : SIP_t_Value
{
// Token: 0x06000376 RID: 886 RVA: 0x0001265B File Offset: 0x0001165B
public SIP_t_CSeq(string value)
{
this.Parse(new StringReader(value));
}
// Token: 0x06000377 RID... |
Source/MobileTemplate.Core/Pages/Shopping/Grid/ShoppingItemGridItemView.xaml.cs | NowBI/Xamarin-Forms-Mobile-Template | 113 | 7052371 | using System;
using MobileTemplate.Core.Extensions;
using Xamarin.Forms;
namespace MobileTemplate.Core.Pages.Shopping.Grid
{
public partial class ShoppingGridItemView : Xamarin.Forms.Grid, IDisposable
{
public ShoppingGridItemView()
{
InitializeComponent();
}
publi... |
AzureCloudLabEnvironmentFunctionApp/Dao/OnGoingEventDao.cs | sundaramb26/AzureCloudLabEnvironment | 8 | 7052372 | using System;
using System.Collections.Generic;
using System.Linq;
using AzureCloudLabEnvironment.Helper;
using AzureCloudLabEnvironment.Model;
using Microsoft.Extensions.Logging;
namespace AzureCloudLabEnvironment.Dao;
internal class OnGoingEventDao : Dao<OnGoingEvent>
{
public OnGoingEventDao(Config config, IL... |
Source/starshipxac.Shell/PropertySystem/Interop/IPropertyStoreCapabilities.cs | rasmus-z/starshipxac.ShellLibrary | 1 | 7052374 | using System;
using System.Runtime.InteropServices;
using starshipxac.Shell.Interop;
namespace starshipxac.Shell.PropertySystem.Interop
{
/// <summary>
/// Exposes a method that determines whether a property can be edited in the UI by the user.
/// </summary>
/// <remarks>
/// ht... |
PholioVisualisationWS/DataConstructionTest/QuinaryPopulationCalculatorTest.cs | publichealthengland/fingertips-open | 2 | 7052375 | <gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PholioVisualisation.DataAccess;
using PholioVisualisation.DataConstruction;
using PholioVisualisation.PholioObjects;
namespace PholioVisualisation.DataConstructionTest
{
[TestClass]
p... |
2.0/sources/QuickGraph.Unit/Operations/EmptyDomain.cs | danm-de/quickgraph | 0 | 7052376 | using System.Collections;
using System;
namespace QuickGraph.Operations
{
public sealed class EmptyDomain : IDomain
{
private string name = null;
public EmptyDomain()
{}
public string Name
{
get
{
return this.name;
}
... |
UltimaOnline.Data/Mobiles/Monsters/Elemental/Melee/EarthElemental.cs | netcode-gamer/game.ultimaonline.io | 0 | 7052377 | using System;
using System.Collections;
using UltimaOnline.Items;
using UltimaOnline.Targeting;
namespace UltimaOnline.Mobiles
{
[CorpseName("an earth elemental corpse")]
public class EarthElemental : BaseCreature
{
public override double DispelDifficulty { get { return 117.5; } }
... |
Actividad.Mobile/Actividad.Mobile/Services/IServicioUsuarios.cs | Bedolla/Actividad15 | 0 | 7052378 | <reponame>Bedolla/Actividad15
using Actividad.Data.Dtos;
using Actividad.Data.Entities;
using Actividad.Mobile.Extensions;
using Microsoft.AspNetCore.WebUtilities;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
namespace Actividad.Mobile.Services
{
public interface IServici... |
ATS.Scheduler/PersonTracker.cs | Sakchai/ATS | 0 | 7052379 | <gh_stars>0
using ATS.Model;
using ATS.Services;
using Autofac;
using log4net;
using log4net.Config;
using System;
using System.Configuration;
using System.Globalization;
using System.IO;
using System.Net.Http;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using ATS.Dto;
using Newtonsoft.Js... |
Disboard/Server/AniList/Models/__Schema.cs | RASK18/Disboard | 0 | 7052380 | <filename>Disboard/Server/AniList/Models/__Schema.cs
using System.Collections.Generic;
namespace Disboard.Server.AniList.Models
{
/// <summary>
/// A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for qu... |
tests/Petshop.Tests/NoOpDomainEventDispatcher.cs | Joebzz/Petshop | 0 | 7052381 | using System.Threading.Tasks;
using Petshop.SharedKernel.Interfaces;
using Petshop.SharedKernel;
namespace Petshop.UnitTests
{
public class NoOpDomainEventDispatcher : IDomainEventDispatcher
{
public Task Dispatch(BaseDomainEvent domainEvent)
{
return Task.CompletedTask;
}
... |
Dota2SentinelDomain/DataTypes/OngoingMatch.cs | EYEOFLIE/Dota2SentinelBot | 10 | 7052382 | <reponame>EYEOFLIE/Dota2SentinelBot
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Dota2SentinelDomain.DataTypes {
public class OngoingMatch {
[Key]
public int Id { get; set; }
[StringL... |
NPOI.OpenXmlFormats.Dml/ST_TextHorzOverflowType.cs | iNeverSleeeeep/NPOI-For-Unity | 1 | 7052383 | using System;
using System.Xml.Serialization;
namespace NPOI.OpenXmlFormats.Dml
{
[Serializable]
[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = false)]
[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
public enum ST_TextHorzOverflowType
{
... |
DataExtraction/SourceGraphExtractionUtils/Utils/Utils.cs | urialon/graph-based-code-modelling | 97 | 7052384 | using System.Collections.Generic;
namespace SourceGraphExtractionUtils.Utils
{
public class Utils
{
private static System.Random _rng = new System.Random();
private static void ListElementSwap<T>(List<T> data, int i, int j)
{
T item = data[i];
data[i] = data[j]... |
Specifications/Events.Processing/Filters/for_FilterValidators/given/all_dependencies.cs | dolittle/Runtime | 12 | 7052385 | // Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
using Dolittle.Runtime.Artifacts;
using Dolittle.Runtime.DependencyInvers... |
src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Extensions/SelectedElementRectangleExtension.cs | galich/SharpDevelop | 0 | 7052386 | // 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/model/Holiday.cs | giorgiozoppi/fleetadmiral | 0 | 7052388 | <reponame>giorgiozoppi/fleetadmiral
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace KarveModel
{
public class Holiday
{
public enum PartOfDay { Morning, Afternoon };
[ForeignKey("Office")]
publi... |
kkde/editor/KagFoldingInfo.cs | mryp/kkde | 13 | 7052389 | <filename>kkde/editor/KagFoldingInfo.cs
using System;
using System.Collections.Generic;
using System.Text;
using kkde.parse;
namespace kkde.editor
{
/// <summary>
/// KAGの折りたたみ情報
/// </summary>
public class KagFoldingInfo
{
RegionItem[] m_regionList;
KagLabelItem[] m_labelList;
/// <summary>
/// 範囲指定折りた... |
05.CSharpWeb/01.Basics/03.WebServer-STATE/WebServer/Server/Common/IOManager.cs | Steffkn/SoftUni | 1 | 7052391 | <filename>05.CSharpWeb/01.Basics/03.WebServer-STATE/WebServer/Server/Common/IOManager.cs
namespace HttpWebServer.Server.Common
{
using System;
using System.IO;
using System.Text;
public static class IOManager
{
public static void EnsureDirectoryExists(string path)
{
if ... |
AiryCat.UtilitiesForUnity/Helper/Singleton.cs | ArkTarusov/Utilities_for_Unity | 1 | 7052392 | <gh_stars>1-10
using UnityEngine;
namespace AiryCat.UtilitiesForUnity.Helper
{
public interface IDestroyableSingleton
{
bool CanDestroyed { get; }
}
public class Singleton<T> : MonoBehaviour where T : Singleton<T>,IDestroyableSingleton
{
private static T _instance;
public ... |
bases-uno/bases-uno/Views/comic/comicr.cs | abadillo/bases-uno | 0 | 7052393 | <reponame>abadillo/bases-uno
using Engine.Classes;
using Engine;
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 bases_uno.Views
{
public ... |
Projects/CaveProject/CaveLib/Bean/IBean.cs | alandrieu/CSHARP_ISITECH | 1 | 7052394 | <reponame>alandrieu/CSHARP_ISITECH<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CaveLib.Bean
{
/// <summary>
/// Interface pour la gestion des méthodes communes aux Beans / Entités
/// </summary>
interface I... |
src/DataLinq.MySql/Models/information_schema/Views/GEOMETRY_COLUMNS.cs | bazer/slim | 1 | 7052395 | <reponame>bazer/slim
using System;
using DataLinq;
using DataLinq.Interfaces;
using DataLinq.Attributes;
namespace DataLinq.MySql.Models
{
[Name("GEOMETRY_COLUMNS")]
public interface GEOMETRY_COLUMNS : IViewModel
{
[Type("tinyint")]
int COORD_DIMENSION { get; }
[Type("varchar", 64)... |
Pages/Shared/_Layout.cshtml | amitkbiswas0/stock-market-visualization | 2 | 7052396 | <filename>Pages/Shared/_Layout.cshtml
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"]</title>
@* for charts *@
<script src="https://canvasjs.com/assets/script/canvasjs.min.js">... |
Orm/Xtensive.Orm/Collections/Interfaces/ITopDeque{K,V}.cs | alex-kulakov/dataobjects-net | 0 | 7052397 | <reponame>alex-kulakov/dataobjects-net
// Copyright (C) 2003-2010 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
// Created by: <NAME>
// Created: 2008.08.26
using System.Collections.Generic;
namespace Xtensive.Collections
{
/// <summary>
/// "Top deque... |
Aperture.Tests/Core/Mocks/EventStream.cs | aneshas/aperture | 1 | 7052398 | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Aperture.Core;
namespace Aperture.Tests.Core.Mocks
{
public class EventStream : IStreamEvents
{
public List<IEvent> Events { get; }
public EventStream(List<IEvent> events)
... |
C# OOP/Homeworks/05.Polymorphism_Exercise/Vehicles/Models/Truck.cs | PhilShishov/Software-University | 9 | 7052399 | using System;
namespace Vehicles.Models
{
public class Truck : Vehicle
{
private const double TruckSummerConsumption = 1.6;
private const double InnitialFuelAmount = 0.95;
public Truck(double fuelQuantity, double fuelConsumption, int tankCapacity)
: base(fuelQuantity, fuel... |
Tools/SetBuildNumber/SetBuildNumber/Program.cs | fmoliveira/tigra-acad | 0 | 7052400 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace SetBuildNumber
{
class Program
{
private static int Count = 1;
static void... |
ITAssetManager.Web/Services/Common/Pagination.cs | tsborissov/ITAssetManager | 0 | 7052401 | using System;
using System.Linq;
namespace ITAssetManager.Web.Services.Common
{
public static class Pagination
{
public static (int currentPage, int lastPage, bool hasPreviousPage, bool hasNextPage) GetPages(IQueryable<object> query, int currentPage, int itemsPerPage)
{
var itemsCo... |
Demo.LearnByDoing.Tests/CodeWars/Beta/ComGovOrgFirstTest.cs | dance2die/Demo.LearnByDoing | 0 | 7052402 | using System;
using System.Collections.Generic;
using System.Linq;
using Demo.LearnByDoing.Core;
using Xunit;
using Xunit.Abstractions;
namespace Demo.LearnByDoing.Tests.CodeWars.Beta
{
/// <summary>
/// https://www.codewars.com/kata/com-gov-org-first
/// </summary>
public class ComGovOrgFirstTest : BaseTest
{
... |
OldThings/HtmlTemplate/HtmlTemplate/RuleFamily/RuleBase.cs | plantain-00/csharp-demo | 1 | 7052403 | <gh_stars>1-10
using System.Windows.Input;
using HtmlTemplate.TextBoxFamily;
namespace HtmlTemplate.RuleFamily
{
public abstract class RuleBase : IRule
{
protected RuleBase()
{
SpaceInTab = 4;
}
public int SpaceInTab { get; set; }
public virtual void InputO... |
OnlineST/Filters/AuthorizeUserAdminAttribute.cs | JaoHundred/OnlineStoreAspCoreMVC | 0 | 7052404 | <reponame>JaoHundred/OnlineStoreAspCoreMVC<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using OnlineST.Services;
using OnlineST.Models;
using OnlineST.UTIL;
namespace OnlineST.Filters... |
src/Infrastructure/System/LongParser.cs | optivem/optivem-commons-cs | 6 | 7052407 | <reponame>optivem/optivem-commons-cs
namespace Atomiv.Infrastructure.System
{
public class LongParser : BaseParser<long?>
{
protected override long? ParseInner(string value)
{
return long.Parse(value);
}
}
} |
Source/MgSoft.K3Cloud.WebApi/Common/Dto/Sp/Sp_PickMtrlSaveInputDto.cs | vebin/Kingdee.Bos.Plug | 1 | 7052408 | using MgSoft.K3Cloud.WebApi.Common.Dto.Property;
using MgSoft.K3Cloud.WebApi.Common.Model;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace MgSoft.K3Cloud.WebApi.Common.Dto.Sp
{
/// <summary>
/// 简单生产领料
/// </summary>
/// <typeparam name="Type_Sp_Pick... |
DemoApp/frmFileDownload.Designer.cs | prog76/csexwb2 | 4 | 7052409 | namespace DemoApp
{
partial class frmFileDownload
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <p... |
SmartCardApi/SmartCardReader/SecuredReader.cs | kogoia/MRTD.NET | 14 | 7052410 | <reponame>kogoia/MRTD.NET<gh_stars>10-100
using System;
using SmartCardApi.Infrastructure;
using SmartCardApi.Infrastructure.Interfaces;
using SmartCardApi.SecureMessaging;
using SmartCardApi.SecureMessaging.Decryption;
using SmartCardApi.SmartCard;
namespace SmartCardApi.SmartCardReader
{
public class SecuredRead... |
Glav.CognitiveServices.FluentApi.Face/ConfigurationBuilderExtensions.cs | glav/CognitiveServicesFluentApi | 4 | 7052411 | <gh_stars>1-10
using Glav.CognitiveServices.FluentApi.Core;
using Glav.CognitiveServices.FluentApi.Face.Configuration;
namespace Glav.CognitiveServices.FluentApi.Face
{
public static class ConfigurationBuilderExtensions
{
public static FaceAnalysisSettings WithFaceAnalysisActions(this CoreAnaly... |
Backend/BusinessLayer/BusinessLayerClass.cs | 12142020-dotnet-uta/P2_the-pretzelmen | 0 | 7052412 | using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Core;
using ModelLayer;
using ModelLayer.ModelViews;
using RepositoryLayer;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using MtgApiManager.Lib.Model;
using MtgApiManager.Lib.Service;
namespace Business... |
source/aframe/source/aframe.Core/Dialogs/Views/ColorDialogContent.xaml.cs | anoyetta/XIVTags | 30 | 7052413 | <gh_stars>10-100
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace aframe
{
public partial class ColorDialogContent : UserControl
{
public ColorDialogContent()
{
this.InitializeComponent();
... |
src/Platformus.ECommerce.Frontend/ViewModels/Shared/Photo/PhotoViewModelFactory.cs | 5118234/Platformus | 0 | 7052414 | <filename>src/Platformus.ECommerce.Frontend/ViewModels/Shared/Photo/PhotoViewModelFactory.cs
// Copyright © 2018 <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Platformus.Barebone;
using Platformus.ECommerce.Data.Entit... |
Spider .NET Core/src/Core/Engine/Spider.App.Engine/CacheSingleton.cs | SpiderDevs/Spider | 0 | 7052415 | using Spider.Cache;
using Spider.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Spider.App.Engine
{
public sealed class CacheSingleton
{
private static ICacheService m_Instance = null;
private static readonly object m_Sy... |
multi-screen-snake/server/Form1.Designer.cs | Igormandello/multi-screen-snake | 0 | 7052417 | <reponame>Igormandello/multi-screen-snake
namespace server
{
partial class Form1
{
/// <summary>
/// Variável de designer necessária.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpar os recursos que estão sendo ... |
Source/Libraries/GSF.Unity/GSF.Core/Console/Arguments.cs | kylekewley/gsf | 131 | 7052418 | //*******************************************************************************************************
// Arguments.cs - Gbtc
//
// Tennessee Valley Authority, 2009
// No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.
//
// This software is made freely available under the TVA Open Sou... |
ch12/start/usersecrets/WickedFavorites/WickedFavorites/Other/Dependencies.cs | ChiefInnovator/Developing-Microsoft-Azure-Solutions | 1 | 7052419 | using AutoMapper;
using Microsoft.Extensions.Logging;
namespace Wicked.Favorites
{
internal class Dependencies<T> : IDependencies<T>
{
public Dependencies(IMapper mapper, ILogger<T> logger, FavoritesContext context)
{
Mapper = mapper;
Logger = logger;
... |
IfcValidator/Models/ReportCard.cs | youshengCode/Ifc.Validator | 10 | 7052420 | <filename>IfcValidator/Models/ReportCard.cs<gh_stars>1-10
using IfcValidator.Core.Models;
using IfcValidator.Helpers;
using System;
using System.Collections.Generic;
using System.Text;
namespace IfcValidator.Models
{
public class ReportCard
{
public ReportCard(string fileName, string originalInfo, str... |
cards/BLACK_TEMPLE/BT/Sim_BT_026.cs | chi-rei-den/Silverfish | 1 | 7052421 | <filename>cards/BLACK_TEMPLE/BT/Sim_BT_026.cs
/* _BEGIN_TEMPLATE_
{
"id": "BT_026",
"name": [
"奥尔多真理追寻者",
"<NAME>"
],
"text": [
"<b>嘲讽,战吼:</b>\n在本局对战中,你的圣契的法力值消耗减少(2)点。",
"<b>Taunt</b>. <b>Battlecry:</b> Reduce the Cost of your Librams by (2) this game."
],
"CardClass": "PALADIN",
"type":... |
ChromiumFX/Source/CfxRemoteCallContext.cs | azraelrabbit/chromiumfx-origin-2020 | 38 | 7052422 | // Copyright (c) 2014-2017 <NAME>
// All rights reserved.
//
// This software may be modified and distributed under the terms
// of the BSD license. See the License.txt file for details.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Chromium.Remote;
namespace Chromium {
... |
Events.cs | commonsensesoft/CommonSenseSoft.Log | 0 | 7052423 | <filename>Events.cs
/*
Copyright (C) 2016 <NAME>.
This work is licensed under the Apache License, Version 2.0; you may not use this work except in compliance with the License.
A copy of the License is included in LICENSE file and can also be obtained at http://www.apache.org/licenses/LICENSE-2.0.
See the NOTICE file d... |
mcs/errors/cs1061-2.cs | nataren/mono | 1 | 7052424 | // CS1061: Type `A' does not contain a definition for `Foo' and no extension method `Foo' of type `A' could be found (are you missing a using directive or an assembly reference?)
// Line: 17
using System;
using System.Runtime.CompilerServices;
class A
{
[IndexerName ("Foo")]
public int this [int index] {
get { re... |
src/Views/Shared/_Layout.cshtml | markpritchett/HtmlService | 0 | 7052425 | @using Microsoft.AspNetCore.Hosting
@using Microsoft.Extensions.Hosting
<!DOCTYPE html>
<html>
<head>
</head>
<body>
@inject IWebHostEnvironment Env
@if (!Env.IsProduction())
{
<p>
This is the <strong>@Env.EnvironmentName</strong> version of the system.
</p>
}
@RenderBod... |
GeneticTreeTests/SignalFactoryTests.cs | jameschch/GeneticTreeAlgorithm | 4 | 7052426 | using NUnit.Framework;
using GeneticTree;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Moq;
using GeneticTree.Signal;
using QuantConnect;
using QuantConnect.Algorithm;
using System.Runtime.Serialization;
using QuantConnect.Data;
... |
app/TW.Vault.Lib/Model/JSON/Report.cs | gandalfleal/twvault | 1 | 7052427 | <reponame>gandalfleal/twvault<filename>app/TW.Vault.Lib/Model/JSON/Report.cs
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace TW.Vault.Lib.Model.JSON
{
public class Report
{
[R... |
Concordion.Spec/Support/StubTarget.cs | john-ross/concordion-net | 12 | 7052428 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Concordion.Api;
using Concordion.Internal.Util;
using System.Drawing;
namespace Concordion.Spec.Support
{
class StubTarget : ITarget
{
private readonly Dictionary<Resource, String> writtenStrings;
... |
src/Styles.Color.iOS/Gradients/GradientLayer.cs | ClintFrancis/Styles.Color | 0 | 7052429 | using System;
using CoreAnimation;
using UIKit;
namespace Styles.Color
{
public class GradientLayer : CALayer
{
public GradientType Type { get; private set; }
LinearGradient linearGradient;
RadialGradient radialGradient;
EllipticalGradient ellipticalGradient;
MultiGrad... |
src/AddIns/DisplayBindings/ResourceEditor/Project/Src/Views/ResourceEditorView.xaml.cs | TetradogOther/SharpDevelop | 2 | 7052430 | <reponame>TetradogOther/SharpDevelop<filename>src/AddIns/DisplayBindings/ResourceEditor/Project/Src/Views/ResourceEditorView.xaml.cs
// 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 doc... |
The Grave Keeper/Assets/Scripts/SmallScripts/LetHerFall.cs | CreatorOfFame/The-Grave-Keeper | 0 | 7052431 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LetHerFall : AnimationComponent
{
public GameObject fallPosition;
public GameObject woman;
public GameObject body;
public override void Animate(){
Debug.Log("AnimationRun");
body = I... |
Penguor/src/Parsing/Parser.cs | Penguor/PenguorCS | 15 | 7052432 | using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using Penguor.Compiler.Build;
using Penguor.Compiler.Debugging;
using Penguor.Compiler.Parsing.AST;
using static Penguor.Compiler.Parsing.TokenType;
namespace Penguor.Compiler.Parsing;
/// <summary>
/// The Penguor parser
/// </sum... |
Assets/Scripts/Inventory/Item.cs | joeldelabra/ulsa-topdown3d-2020 | 0 | 7052434 | <reponame>joeldelabra/ulsa-topdown3d-2020
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Item : ScriptableObject
{
[SerializeField] Sprite icon;
[SerializeField] protected string objectName = "Potion";
[SerializeField, TextArea(3, 10)] protected string descript... |
sapHowmuch.Api.Business/EventHandlers/JournalVoucherCreatedEventHandler.cs | shockzinfinity/sapHowmuch.WebAPI | 2 | 7052435 | using AutoMapper;
using Newtonsoft.Json;
using sapHowmuch.Api.Business.Events;
using sapHowmuch.Api.Common.Extensions;
using sapHowmuch.Api.Common.Helpers;
using sapHowmuch.Api.Common.Interfaces;
using sapHowmuch.Api.Infrastructure.EventHandlers;
using sapHowmuch.Api.Infrastructure.Events;
using sapHowmuch.Api.Infrast... |
Assets/Behavior Designer/Runtime/Variables/SharedGameObject.cs | sansan-33/bellum | 18 | 7052436 | using UnityEngine;
namespace BehaviorDesigner.Runtime
{
[System.Serializable]
public class SharedGameObject : SharedVariable<GameObject>
{
public static implicit operator SharedGameObject(GameObject value) { return new SharedGameObject { mValue = value }; }
}
} |
Assets/VCI/UniVCI/Scripts/VCILocationBounds.cs | koduki/vci-slideboard | 37 | 7052437 | using UnityEngine;
namespace VCI
{
[DisallowMultipleComponent]
[RequireComponent(typeof(VCIObject))]
public class VCILocationBounds : MonoBehaviour
{
public Bounds Bounds;
#if UNITY_EDITOR
void OnDrawGizmosSelected()
{
Gizmos.color = Color.yellow;
Gizmo... |
PublicTransport.Core/Models/Contacts/ContactsListingModel.cs | HNochev/PublicTransport | 0 | 7052438 | <filename>PublicTransport.Core/Models/Contacts/ContactsListingModel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PublicTransport.Core.Models.Contacts
{
public class ContactsListingModel
{
public Guid Id { get; set; }
... |
Core/Logging/ILoggingService.cs | akash-yadav-tech/dddwithlamardapperandautomapper | 0 | 7052439 | <reponame>akash-yadav-tech/dddwithlamardapperandautomapper
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace POC.Core.Logging
{
public interface ILoggingService
{
void Verbose(string errorMessage);
void Debug(string errorMessage);
... |
src/ServiceManagement/RemoteApp/Commands.RemoteApp/RemoteProgram/PublishAzureRemoteAppProgram.cs | Nilambari/azure-powershell | 0 | 7052440 | <reponame>Nilambari/azure-powershell
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft 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 ... |
Source/Ultraviolet.Core.Tests/Data/ObjectLoaderTest.ComplexRefObjectF.cs | Spool5520/ultraviolet | 558 | 7052441 | <reponame>Spool5520/ultraviolet
using System;
namespace Ultraviolet.Core.Tests.Data
{
/// <summary>
/// Represents a complex object used to test the object loader.
/// </summary>
public class ObjectLoader_ComplexRefObject
{
public readonly Int32 X;
public readonly Int32 Y;
... |
MessageBird/Objects/Voice/Recording.cs | White-Tents/csharp-rest-api | 40 | 7052442 | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace MessageBird.Objects.Voice
{
public class Recording : IIdentifiable<string>
{
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("format")]
public string Format { get; se... |
SpacepuppyBaseEditor/Base/Modifiers/PropertyModifier.cs | lordofduct/spacepuppy-unity-framework | 372 | 7052443 | <reponame>lordofduct/spacepuppy-unity-framework<filename>SpacepuppyBaseEditor/Base/Modifiers/PropertyModifier.cs
using UnityEngine;
using UnityEditor;
using System.Collections.Generic;
using System.Linq;
using com.spacepuppy;
using com.spacepuppy.Utils;
using com.spacepuppyeditor.Internal;
namespace com.s... |
AFramework/Assets/Scripts/CFramework/Runtime/2.AR/Vuforia/AFSDK_VuforiaDefine.cs | webloverand/AFramework | 1 | 7052445 | <reponame>webloverand/AFramework<gh_stars>1-10
namespace AFramework
{
#if UNITY_EDITOR
using UnityEditor;
public class AFSDK_VuforiaDefine
{
public const string ScriptingDefineSymbol = AFSDK_ScriptingDefineSymbolAttribute.SymbolPrefix + "Vuforia";
static SDKLoadState Loadstate = SDKLoadState... |
MPT/CSI/API/MPT.CSI.API/Core/Program/ModelBehavior/Definition/Property/eHysteresisType.cs | MarkPThomas/MPT.Net | 0 | 7052446 | <gh_stars>0
// ***********************************************************************
// Assembly : MPT.CSI.API
// Author : <NAME>
// Created : 07-15-2017
//
// Last Modified By : <NAME>
// Last Modified On : 07-15-2017
// ********************************************************************... |
2021-csharp/Day13/Program.cs | pseale/advent-of-advent-of-code | 0 | 7052447 | using System.Diagnostics;
using System.Text;
namespace Day13;
public static class Program
{
private static void Main()
{
var input = File.ReadAllText("input.txt");
var partA = SolvePartA(input);
Console.WriteLine($"Visible dots after first fold: {partA}");
SolvePartB(input);... |
src/Coldairarrow.Api/Controllers/Oper_Manage/gax_turntable_itemController.cs | Baiqu/Colder.Admin.AntdVue | 0 | 7052448 | using Coldairarrow.Business.Oper_Manage;
using Coldairarrow.Entity.Oper_Manage;
using Coldairarrow.Util;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Coldairarrow.Api.Controllers.Oper_Manage
{
[Route("/Oper_Manage/[controller]/[action]")]
public cla... |
DirectN/DirectN/Generated/__MIDL___MIDL_itf_audioenginebaseapo_0000_0008_0001.cs | riQQ/DirectN | 1 | 7052449 | <reponame>riQQ/DirectN
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\audioenginebaseapo.h(1088,24)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct __MIDL___MIDL_itf_audioenginebaseapo_0000_0008_0001
{
... |
VectorTileRenderer5/ICanvas.cs | drakewill-CRL/VectorTileRenderer | 0 | 7052451 | <filename>VectorTileRenderer5/ICanvas.cs
using System.Collections.Generic;
using System.IO;
using System.Windows;
using SkiaSharp;
namespace VectorTileRenderer
{
public interface ICanvas
{
bool ClipOverflow { get; set; }
void StartDrawing(double sizeX, double sizeY);
void DrawBackgro... |
Dorkbots/DorkbotsCommands/CommandsCommander.cs | dorkbot/Dorkbots-Commands-CSharp | 0 | 7052453 | <gh_stars>0
/*
* Author: <NAME>
* http://www.dayvid.com
* Copyright (c) Superhero Robot 2018
* http://www.superherorobot.com
* Managed by Dorkbots
* http://www.dorkbots.com/
* Version: 1
*
* Licence Agreement
*
* You may distribute and modify this class freely, provided that you leave this header intact,
* and add ap... |
Glav.CognitiveServices.FluentApi.Face/Domain/ApiResponses/BlurResponseItem.cs | glav/CognitiveServicesFluentApi | 4 | 7052454 | <gh_stars>1-10
namespace Glav.CognitiveServices.FluentApi.Face.Domain.ApiResponses
{
public class BlurResponseItem
{
public string blurLevel { get; set; }
public double value { get; set; }
}
}
|
FiveOhFirstDataCore.Core/Structures/NewTrooperData.cs | Broad501/FiveOhFirstDataCore | 0 | 7052455 | using FiveOhFirstDataCore.Core.Data;
namespace FiveOhFirstDataCore.Core.Structures
{
public class NewTrooperData
{
public int Id { get; set; }
public string NickName { get; set; } = "";
public TrooperRank StartingRank { get; set; } = TrooperRank.Recruit;
public bool Sixteen { g... |
NetcoreOnlineShop.Application/ViewModels/Common/TagViewModel.cs | tranphucuk/Shopmart-E-Commerce | 0 | 7052456 | <reponame>tranphucuk/Shopmart-E-Commerce<gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace NetcoreOnlineShop.Application.ViewModels
{
public class TagViewModel
{
public string Id { get; set; }
[MaxLength(50)]
... |
EarTrumpet/UI/Views/AppVolumeControl.xaml.cs | Remixninja/EarTrumpet | 0 | 7052457 | <filename>EarTrumpet/UI/Views/AppVolumeControl.xaml.cs
using EarTrumpet.UI.ViewModels;
using System;
using System.Windows;
using System.Windows.Controls;
namespace EarTrumpet.UI.Views
{
public partial class AppVolumeControl : UserControl
{
public event EventHandler<AppVolumeControlExpandedEve... |
src/IQFeed.CSharpApiClient.Tests/Lookup/Historical/Messages/IntervalMessageTests.cs | gribunin/IQFeed.CSharpApiClient | 0 | 7052458 | <filename>src/IQFeed.CSharpApiClient.Tests/Lookup/Historical/Messages/IntervalMessageTests.cs<gh_stars>0
using System;
using IQFeed.CSharpApiClient.Lookup.Historical.Messages;
using IQFeed.CSharpApiClient.Tests.Common;
using NUnit.Framework;
namespace IQFeed.CSharpApiClient.Tests.Lookup.Historical.Messages
{
publ... |
NCoreUtils.IO.Unit/FailWhileTransformTransformation.cs | artyomszasa/NCoreUtils.IO | 0 | 7052459 | <filename>NCoreUtils.IO.Unit/FailWhileTransformTransformation.cs
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using System;
namespace NCoreUtils.IO
{
public class FailWhileTransformTransformation : IStreamTransformation
{
#pragma warning disable CA1816
public ValueTask Dispose... |
Mobile/Clock/Clock/Clock/Controls/ImageAttributes.cs | Nowerazy/Tizen-CSharp-Samples | 2 | 7052460 | <reponame>Nowerazy/Tizen-CSharp-Samples
/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd
*
* Licensed under the Flora License, Version 1.1 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://floralicense.org/license/
*
... |
src/SoftinuxBase.Barebone/Views/Shared/_StyleSheets.cshtml | cedriclange/EduxSoft | 0 | 7052461 | <gh_stars>0
@*
Copyright © 2017 SOFTINUX. All rights reserved.
Licensed under the MIT License, Version 2.0. See License.txt in the project root for license information.
*@
@model SoftinuxBase.Barebone.ViewModels.Shared.StyleSheets.StyleSheetsViewModel
@foreach (var styleSheet in Model.StyleSheets)
{
@Html.Partial("_... |
CryptoRetriever/Data/GraphRenderer.cs | kirby561/CryptoRetriever | 2 | 7052462 | <gh_stars>1-10
using CryptoRetriever.Strats;
using CryptoRetriever.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Shapes;
namespace CryptoRetriever.Data {
/// <summary>
/// Render... |
src/LayoutExtensions.WPF/src/Controls/ItemsControlExtensions.cs | MihailsKuzmins/LayoutExtensions | 0 | 7052463 | <filename>src/LayoutExtensions.WPF/src/Controls/ItemsControlExtensions.cs
using System;
using System.Windows;
using System.Windows.Controls;
namespace LayoutExtensions.WPF.Controls
{
public static class ItemsControlExtensions
{
public static TItemsControl GroupStyle<TItemsControl>(this TItemsControl @this, DataTe... |
workers/unity/Assets/Gamelogic/Fire/FlammableDataVisualizer.cs | johnprobable/HelloWorld | 1 | 7052464 | <gh_stars>1-10
using Improbable.Fire;
using Improbable.Unity;
using Improbable.Unity.Visualizer;
using UnityEngine;
namespace Assets.Gamelogic.Fire
{
[EngineType(EnginePlatform.FSim)]
public class FlammableDataVisualizer : MonoBehaviour
{
[Require] public Flammable.Reader flammable;
}
}
|
src/System.Configuration.Core/Collections/ReadOnlyEnumerable.cs | MyErpSoft/System.Configuration | 6 | 7052465 | <reponame>MyErpSoft/System.Configuration
using System.Collections;
using System.Collections.Generic;
namespace System.Configuration.Core.Collections {
//如果需要公开Parts,简单的方法是直接返回内部字典,但是外部代码可以强转然后添加数据,感觉不好,所以建立了这个结构。
internal struct ReadOnlyEnumerable<T> : IEnumerable<T> {
private IEnumerable<T> _... |
Conta.cs | cantuariac/portfolio-pigbank | 0 | 7052466 | <filename>Conta.cs<gh_stars>0
using System;
namespace Portfolio.PigBank
{
public enum TipoConta
{
PessoaFisica = 1,
PessoaJuridica = 2
}
public class Conta
{
private string Nome { get; set; }
private TipoConta Tipo { get; set; }
private double Saldo { get; se... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.