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 |
|---|---|---|---|---|
Codility01/FeatureRequest/Challenge.cs | d-dantte/Algorithms | 0 | 7062956 | <reponame>d-dantte/Algorithms
using System.Collections.Generic;
using System.Linq;
namespace Codility01.FeatureRequest
{
public class Challenge
{
public List<string> popularNFeatures(
int numFeatures,
int topFeatures,
List<string> possibleFeatures,
int numFeatureRequests,
List<string> featureReques... |
Repository/EF/EFTeamRepository.cs | jcflow/Challenger | 0 | 7062957 | <reponame>jcflow/Challenger
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Models;
namespace Repository.EF
{
public class EFTeamRepository : EFRepository<Team>, ITeamRepository
{
public EFTeamRepository(ChallengerContext challengerContext) : bas... |
TripPlanner.Client/TripPlanner.Client/Models/TripPoint.cs | kirylvolkau/postgis-project | 0 | 7062958 | namespace TripPlanner.Client.Models
{
public class Point
{
public string Name { get; set; }
public double Lat { get; set; }
public double Lng { get; set; }
}
} |
Sender/TableItem.cs | Yuvv/MSSQLSync | 1 | 7062959 | using System;
using System.Collections.Generic;
using System.Text;
namespace Sender {
class TableItem {
public string name;
public string database;
public string identColumn;
public int lastID;
public string origin_table;
public bool tgrTable;
public int backoffTime;
public int backoffCy... |
src/Web/WeLearn.Web/Views/Lesson/All.cshtml | shllshckd/WeLearn | 11 | 7062960 | @model PaginatedList<LessonViewModel>
@{
ViewData["Title"] = "All lessons";
}
<div class="container">
<form asp-area="" asp-controller="Lesson" asp-action="All" method="get">
<label>Find by name or description:</label>
<div class="input-group input-group-sm mb-3">
<input type="text... |
Prometheus/Compile/Packaging/Imported.cs | thinkingmedia/Prometheus | 6 | 7062961 | using System.Diagnostics;
namespace Prometheus.Compile.Packaging
{
/// <summary>
/// Describes the source code file used to compile an imported file.
/// </summary>
[DebuggerDisplay("{Name}")]
public class Imported
{
/// <summary>
/// The full path to the file for this package.... |
labs/Lab5/Nile/ObjectValidator.cs | Jett-Smith/itse1430 | 0 | 7062962 | /*
* <NAME>
* ITSE 1430
*/
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nile
{
public static class ObjectValidator
{
public static IEnumerable<ValidationResult> TryValidate ... |
MiraDesign.Web/Views/Home/Index.cshtml | VelizarVeli/testing | 0 | 7062963 | <reponame>VelizarVeli/testing
@{
ViewData["Title"] = "Home Page";
}
<!--header-->
<div class="header agileits w3layouts" id="home">
<div class="container w3layouts">
<div class="head agileits">
<nav class="navbar aits navbar-default">
<!-- Brand and toggle get grouped for be... |
API/Configuration/Mappings/Mapping.cs | TomasLight/Bug-Tracker-React-JS | 0 | 7062964 | <reponame>TomasLight/Bug-Tracker-React-JS
using AutoMapper;
namespace API.Configuration.Mappings
{
internal static class Mapping
{
public static IMapper CreateMapper()
{
var config = new MapperConfiguration(configuration =>
{
Domain.Services.Configuration.MappingConfigurator.AddServiceProfiles(configur... |
Projects/Appleseed.Services.Base.EngineCfg/Configuration/WebCrawlIndexService.cs | Appleseed/base | 1 | 7062965 | namespace Appleseed.Services.Base.Engine.Configuration
{
using Cfg.Net;
using System.Collections.Generic;
using System.Configuration;
public class WebCrawlIndexServiceSection : CfgNode
{
[Cfg(required = true, ignoreCase = true)]
public string Name { get; set; }
[Cfg(requir... |
src/ProSuite.QA.TestFactories/QaAngleFactory.cs | ProSuite/ProSuite | 5 | 7062967 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using ESRI.ArcGIS.Geodatabase;
using ProSuite.DomainModel.AO.QA;
using ProSuite.QA.Container;
using ProSuite.QA.Container.Geometry;
using ProSuite.QA.Core;
namespace ProSuite.QA.TestFactories
{
public abstract class QaAngleFactory :... |
Source/SharpVectorRuntimeWpf/SvgErrorArgs.cs | BJN-A/SharpVectors | 450 | 7062968 | <gh_stars>100-1000
using System;
namespace SharpVectors.Runtime
{
public sealed class SvgErrorArgs : EventArgs
{
private bool _isHandled;
private string _message;
private Exception _exception;
public SvgErrorArgs(string message)
: this(message, null)
{
... |
LearningApp/LearningApp/Views/PlatformSpecific.xaml.cs | Dhaval8087/XamarinLearningApp | 0 | 7062969 | using LearningApp.ViewModels;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace LearningApp.Views
... |
Blacksmith.Sql.Queries.Tests/Fakes/FakeQuery.cs | hossmi/Blacksmith.Sql.Queries | 0 | 7062970 | <reponame>hossmi/Blacksmith.Sql.Queries<filename>Blacksmith.Sql.Queries.Tests/Fakes/FakeQuery.cs
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Text;
namespace Blacksmith.Sql.Queries.Tests
{
public class FakeQuery : IFilterableQuery, IOrderedQuery, IPa... |
Fabric.Databus.SqlGenerator/BaseSqlGenerator.cs | HealthCatalyst/Fabric.Databus | 6 | 7062971 | <filename>Fabric.Databus.SqlGenerator/BaseSqlGenerator.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="BaseSqlGenerator.cs" company="">
//
// </copyright>
// <summary>
// Defines the BaseSqlGenerator type.
// </summary>... |
Assets/Plugins/Ludiq/Ludiq.PeekCore/Editor/CodeDom/Nodes/Members/CompositeTypeMembers/CodeCompositeTypeMember.cs | DuLovell/Rhythm-Game | 3 | 7062972 | using System.Collections.Generic;
namespace Ludiq.PeekCore.CodeDom
{
public abstract class CodeCompositeTypeMember : CodeElement
{
public enum MemberCategory
{
Type,
StaticField,
StaticConstructor,
StaticIndexer,
StaticProperty,
StaticMethod,
Field,
Constructor,
Indexer,
Property... |
Models/Role.cs | lanfeust69/LanfeustBridge | 1 | 7062973 | <reponame>lanfeust69/LanfeustBridge<filename>Models/Role.cs<gh_stars>1-10
using System.Collections.Generic;
using Microsoft.AspNetCore.Identity;
namespace LanfeustBridge.Models
{
public class Role : IdentityRole
{
public Role()
{
}
public Role(string roleName)
: ba... |
Capstone/UnitTests/ComparatorTests.cs | alidragon/Capstone2015 | 0 | 7062975 | using Capstone.Tree.DataTree.Comparison;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TreeApi.Tree;
namespace UnitTests {
[TestClass]
public class ComparatorTests {
private... |
windows/practical-.net-for-financial-markets/CodeExample/Chpt3/StreamExample/StreamExample.cs | jdm7dv/financial | 1 | 7062976 | using System;
using System.IO;
using System.Text;
class StreamExample
{
[STAThread]
static void Main(string[] args)
{
//File to read
//string csvFile = @"C:\CodeExample\Chpt3\StreamExample\CSVISINMaster.csv";
string csvFile = @"..\..\CSVISINMaster.csv";
//Open a file stream in read access mode
FileStream ... |
05.SIS/SIS.WebServer/Results/UnauthorizedResult.cs | ShadyObeyd/CSharpWebDevelopmentBasics-September2018 | 1 | 7062977 | <filename>05.SIS/SIS.WebServer/Results/UnauthorizedResult.cs
namespace SIS.WebServer.Results
{
using HTTP.Responses;
using HTTP.Enums;
using HTTP.Headers;
using System.Text;
public class UnauthorizedResult : HttpResponse
{
private const string DefaultErrorHeading = "<h1>You have no pe... |
Assets/Scripts/SpawnManager.cs | lolPants/untitled-square-game | 1 | 7062978 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class SpawnManager : MonoBehaviour
{
public static SpawnManager instance;
[SerializeField]
private Rigidbody _player;
private Vector3 _spawnPoint;
public UnityEvent OnRe... |
Boogle/Position.cs | antoineraulin/boogle | 0 | 7062979 | using System;
using System.Collections.Generic;
namespace Boogle
{
public class Position : IEquatable<Position> // permet de determiner si deux instances de Position sont égales dans une liste avec List<Position>.Contains()
{
#region PRIVATE
// définition des variables privées
private ... |
SimpleVolumeMixer/Core/Services/CoreAudioService.cs | samunohito/SimpleVolumeMixer | 0 | 7062980 | using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using Reactive.Bindings;
using Reactive.Bindings.Extensions;
using SimpleVolumeMixer.Core.Contracts.Models.Repository;
using SimpleVolumeMixer.Core.Contracts.Services;
using SimpleVolumeMixer.Core.Helper.Component;
using SimpleVolumeMixer.Cor... |
src-project-dotnet-framework/Sample.Winform/Index.cs | zhaobingwang/sample | 3 | 7062981 | 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 Sample.Winform
{
public partial class Index : Form
{
public Index()
{
... |
DriftySquirrel/Assets/Plugins/StansAssets/NativePlugins/IOSNativePro/Editor/Scripts/SettingsWindow/Tabs/ISN_SettingsTab.cs | ElectriVellum/DriftySquirrel | 0 | 7062982 | using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using SA.Foundation.Editor;
namespace SA.iOS
{
public class ISN_SettingsTab : SA_GUILayoutElement
{
GUIContent Info = new GUIContent("Info[?]:", "Full comunication logs between Native plugin part");
... |
Resgrid.Model/IEntity.cs | Resgrid/GenericEFRepo | 5 | 7062983 | <reponame>Resgrid/GenericEFRepo<gh_stars>1-10
namespace Resgrid.Model
{
/// <summary>
/// Interface that allows the Generic EF Report to get PK/ID values
/// </summary>
public interface IEntity
{
object Id { get; set; }
}
}
|
BACcom/PDUReject.cs | RMichaelZerby/BACnet-packet-XML-translator-encoder-decoder | 1 | 7062984 | /*
* Copyright 2012-2018 the original author or authors.
*
* 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... |
AppDal/dal/impl/ImplDalCA.cs | Natolotra/App | 0 | 7062985 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using arch.dal.intf;
using MySql.Data.MySqlClient;
using System.Web.UI.WebControls;
using System.Data;
using arch.crl;
namespace arch.dal.impl
{
/// <summary>
/// Description résumée de ImplDalCA
/// </summary>
public... |
DurandalAuth.Domain/Models/Mapping/afm_currenciesMap.cs | benitazz/AlcmSolutions | 0 | 7062986 | using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
namespace DurandalAuth.Domain.Models.Mapping
{
public class afm_currenciesMap : EntityTypeConfiguration<afm_currencies>
{
public afm_currenciesMap()
{
// Primary Key
this.Has... |
Open.Caching.Web/WebCacheAdapter.cs | electricessence/Open.Caching | 8 | 7062987 | using System.Web.Caching;
namespace Open.Caching;
/// <summary>
/// <see cref="System.Web.Caching"/>.<see cref="Cache"/> adapter with functionality for simplifying cache item access.
/// </summary>s
public class WebCacheAdapter
: CacheAdapterBase<string, Cache>
{
public WebCacheAdapter(Cache cache) : base(cache) {... |
Host.WPF/Behaviors/Position.cs | cabauman/YouIandReactiveUI | 171 | 7062988 | <reponame>cabauman/YouIandReactiveUI
namespace Book.Behaviors
{
using System.Windows;
using System.Windows.Media;
// allows us to position a FrameworkElement by specifying a Center or TopLeft point
public static class Position
{
public static readonly DependencyProperty CenterProperty = Dep... |
Stardust.Tooling/Wadl/WadlExtensions.cs | JonasSyrstad/stardust | 6 | 7062989 | <filename>Stardust.Tooling/Wadl/WadlExtensions.cs
//using System;
//using System.Collections.Generic;
//using System.Globalization;
//using System.Linq;
//using System.Text;
//using System.Xml.Schema;
//using Microsoft.VisualStudio.Shell.Interop;
//using Stardust.Accretion;
//namespace Stardust.Stardust_Tooling.Wadl
/... |
SharpBucket/V1/RequestExecutorV1.cs | mnivet/SharpBucket | 1 | 7062990 | using RestSharp;
using SharpBucket.Authentication;
namespace SharpBucket.V1
{
internal class RequestExecutorV1 : RequestExecutor
{
protected override void AddBody(IRestRequest request, object body)
{
request.AddObject(body);
}
}
}
|
Xrm.Solution.MEF/XrmActivityContext.cs | asifulm/xrmdiff | 0 | 7062991 | // ***********************************************************************
// Assembly : Xrm.Solution.Utility
// Author : asifulm
// Created : 06-04-2015
//
// Last Modified By : asifulm
// Last Modified On : 06-05-2015
// **************************************************************... |
Trifolia.Test/Shared/HtmlToOpenXmlConverterTests.cs | lantanagroup/trifolia | 34 | 7062992 | <reponame>lantanagroup/trifolia<filename>Trifolia.Test/Shared/HtmlToOpenXmlConverterTests.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Validation;
using DocumentFormat.OpenXml.Wo... |
src/06.tool/03-Alabo.Tool.Sms/ISmsService.cs | tongxin3267/alabo | 0 | 7062993 | using Alabo.Dependency;
using System.Threading.Tasks;
namespace Alabo.Tool.Sms
{
/// <summary>
/// 短信服务
/// </summary>
public interface ISmsService : IScopeDependency
{
/// <summary>
/// 发送短信
/// </summary>
/// <param name="mobile">手机号</param>
/// <p... |
HoloXPLOR.Data/DataForge/AutoGen/StandAloneChapter.cs | dolkensp/HoloXPLOR | 21 | 7062994 | using System;
using System.Xml.Serialization;
namespace HoloXPLOR.Data.DataForge
{
[XmlRoot(ElementName = "StandAloneChapter")]
public partial class StandAloneChapter
{
[XmlAttribute(AttributeName = "name")]
public String Name { get; set; }
[XmlAttribute(AttributeName = "level")]
... |
IMCWeb/Models/UserViewState.cs | JaoHundred/IMCWeb | 0 | 7062995 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace IMCWeb.Models
{
public class UserViewState
{
private bool _showIMC = false;
public bool ShowIMC
{
get => _showIMC;
set
{
_showI... |
SimulationAgent/DeviceProperties/SetDeviceTag.cs | michal880/device-simulation-dotnet | 0 | 7062996 | <reponame>michal880/device-simulation-dotnet
// Copyright (c) Microsoft. All rights reserved.
using System;
using System.Threading.Tasks;
using Microsoft.Azure.IoTSolutions.DeviceSimulation.Services;
using Microsoft.Azure.IoTSolutions.DeviceSimulation.Services.Diagnostics;
namespace Microsoft.Azure.IoTSolutions.Devi... |
Pixie/Program.cs | rumkit/PixelPixie | 21 | 7062997 | <gh_stars>10-100
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading;
using CommandLine;
namespace Pixie
{
class Program
{
public static ... |
ABCat.Plugins.TorrentFileDownloaders/ExternalAppTorrentFileDownloaderBase.cs | alxcp/ABCat | 0 | 7062998 | using System.Diagnostics;
using System.IO;
using ABCat.Shared.Plugins.Downloaders;
using JetBrains.Annotations;
namespace ABCat.Plugins.TorrentFileDownloaders
{
public abstract class ExternalAppTorrentFileDownloaderBase : ITorrentFileDownloaderPlugin
{
public abstract string DisplayName { get; }
... |
src/Furiza.Audit.SqlServer.Dapper/AuditConfiguration.cs | ivanborges/furiza-audit | 2 | 7062999 | using System.ComponentModel.DataAnnotations;
namespace Furiza.Audit.SqlServer.Dapper
{
public class AuditConfiguration : Abstractions.AuditConfiguration
{
[Required]
public AuditConfigurationSqlServerDapper SqlServer { get; set; }
}
} |
02. Programming Fundamentals/04.01. Methods - Lab/11. Math operations/Program.cs | GeorgiGradev/SoftwareUniversity | 7 | 7063000 | using System;
namespace _11._Math_operations
{
class Program
{
static void Main(string[] args)
{
double num1 = int.Parse(Console.ReadLine());
char operat = char.Parse(Console.ReadLine());
double num2 = int.Parse(Console.ReadLine());
... |
src/02-After/NorthwindView/NorthwindView/Models/OrderInfo.cs | gdayori/igniteui-.net-core-workshop | 0 | 7063001 | using System;
using System.Collections.Generic;
namespace NorthwindView.Models
{
public partial class OrderInfo
{
public int OrderId { get; set; }
public string CompanyName { get; set; }
public string EmployeeName { get; set; }
public DateTime? OrderDate { get; set; }
p... |
src/Shimakaze.ToolKit.CSF.Kernel/CsfFileStruct.cs | frg2089/Shimakaze.CSF_Editor | 0 | 7063002 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.IO;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Shimakaze.ToolKit.CSF.Kernel
{
public abstract class CsfFileStruct : ILi... |
src/Modules/Users/src/Trill.Modules.Users.Core/Domain/Exceptions/InvalidPasswordException.cs | cfrv99/Trill-modular-monolith | 1 | 7063003 | using Trill.Shared.Kernel.Exceptions;
namespace Trill.Modules.Users.Core.Domain.Exceptions
{
internal class InvalidPasswordException : DomainException
{
public InvalidPasswordException() : base("Invalid password.")
{
}
}
} |
ReflectionAnalyzers.Tests/REFL032DependencyMustExistTests/Valid.cs | djack42/ReflectionAnalyzers | 66 | 7063004 | namespace ReflectionAnalyzers.Tests.REFL032DependencyMustExistTests
{
using Gu.Roslyn.Asserts;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using NUnit.Framework;
public static class Valid
{
private static readonly DiagnosticAnalyzer Analyzer = new DependencyA... |
Stoolball.UnitTests/HumanizerCollectionGrammarTests.cs | stoolball-england/stoolball-org-uk | 3 | 7063005 | using Xunit;
namespace Stoolball.UnitTests
{
public class HumanizerCollectionGrammarTests
{
[Fact]
public void Single_item_returns_item()
{
var grammar = new HumanizerCollectionGrammar();
var result = grammar.Humanize(new[] { "example" });
Assert.E... |
DeusClientCore/DeusClientCore/ArchitectureCode/Interfaces/ISerializable.cs | Suliac/ProjectDeusClient | 0 | 7063006 | using DeusClientCore.Packets;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DeusClientCore
{
public interface ISerializable
{
byte[] Serialize();
void Deserialize(byte[] packetsBuffer, ref int index);... |
Services/Models/Recipe.cs | MathieuDR/ResourceCalculator | 0 | 7063007 | <reponame>MathieuDR/ResourceCalculator
using System.Collections.Generic;
namespace Services.Models {
public record Recipe : Entity {
public string Name { get; init; }
public string Description { get; init; }
public List<Ingredient> Ingredients { get; init; }
public MachineStep Proc... |
source/TS.NET/Utility/Waveforms.cs | macaba/TS.NET | 170 | 7063008 | namespace TS.NET;
public static class Waveforms
{
public static void Sine(Span<byte> buffer, double samplingRate, double frequency, double scaleRelativeToFull = 1.0)
{
int samplesForOneCycle = (int)(samplingRate / frequency);
if (buffer.Length % samplesForOneCycle != 0)
throw new A... |
Xpand/Xpand.ExpressApp.Modules/PivotGrid.Win/XpandPivotGridWinModule.cs | comstyle/eXpand | 1 | 7063009 | using System.ComponentModel;
using System.Drawing;
using DevExpress.ExpressApp.PivotGrid;
using DevExpress.ExpressApp.PivotGrid.Win;
using DevExpress.ExpressApp.ViewVariantsModule;
using DevExpress.Utils;
using Xpand.ExpressApp.Dashboard;
using Xpand.Persistent.Base.General;
using Xpand.Persistent.Base.General.Controll... |
Xpand/Xpand.ExpressApp.Modules/Archived/Xpand.NH/Xpand.ExpressApp.NH/NHServerCollection.cs | comstyle/eXpand | 0 | 7063010 | #region Copyright (c) 2000-2015 Developer Express Inc.
/*
{*******************************************************************}
{ }
{ Developer Express .NET Component Library }
{ eXpressApp Framework ... |
AdaServerRelay/WebPubSubGroup.cs | microsoft/ada | 1 | 7063011 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using Azure.Messaging.WebPubSub;
using System;
using System.Diagnostics;
using System.Net.WebSockets;
using System.Text.Json;
using System.Threading.Tasks;
using Websocket.Client;
namespace AdaServerRelay
{
class WebPubSubGroup
{
... |
FI.WebAtividadeEntrevista/FI.AtividadeEntrevista/DML/Beneficiario.cs | nascimentoigor/FuncaoSistemas | 0 | 7063012 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FI.AtividadeEntrevista.DML
{
/// <summary>
/// Classe de cliente que representa o registo na tabela Cliente do Banco de Dados
/// </summary>
public class Beneficiario
{
... |
Src/iFramework/Infrastructure/IUniqueConstrainExceptionParser.cs | IvanZheng/IFramework | 57 | 7063013 | using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Text;
namespace IFramework.Infrastructure
{
public interface IUniqueConstrainExceptionParser
{
bool IsUniqueConstrainException(Exception exception, string[] uniqueConstrainNames);
void RegisterUniqueConstra... |
UniNativeLinq/Interfaces/DelegateLike/SelectIndex.cs | pCYSl5EDgo/UniNativeLinq-Core | 24 | 7063014 | namespace UniNativeLinq
{
public interface ISelectIndex<T, TResult>
{
void Execute(ref T source, long index, ref TResult result);
}
public interface IForEachIndex<T>
{
void Execute(ref T source, long index);
}
} |
SoftwareInventoryExplorer/ReportForms/FilterEditorAddPrompt.cs | abegosum/SoftwareInventoryExplorer | 0 | 7063015 | using SoftwareInventoryExplorer.data.Reporting;
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 SoftwareInventoryExplorer.ReportForms
{
pu... |
src/samples/web/WebDemo.Web/Areas/Admin/Views/Product/AttributeList.cshtml | liuxx001/BodeAbp | 70 | 7063016 | @{
ViewBag.Title = "属性列表";
Layout = "~/Areas/Admin/Views/Shared/_TreeGridLayout.cshtml";
}
@section customScript{
<script type="text/javascript">
var attributeTypes=@Html.Raw(Json.Encode(ViewBag.AttributeTypes));
treeOption.title = "产品分类";
treeOption.initialValue="null";
t... |
Views/Shared/_Layout.cshtml | diogodc/teste | 0 | 7063017 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Adote um Vereador</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
<style type="text/css">
button {
... |
Parser/Src/Parser.Data.ViewModels/Factories/IDamageViewModelFactory.cs | shakuu/parser | 0 | 7063018 | <filename>Parser/Src/Parser.Data.ViewModels/Factories/IDamageViewModelFactory.cs
using System.Collections.Generic;
using Parser.Data.ViewModels.Leaderboard;
namespace Parser.Data.ViewModels.Factories
{
public interface IDamageViewModelFactory
{
DamageViewModel CreateDamageViewModel(int pageNumber, IL... |
Shop-Store-System/Shop-Store-System/Interfaces/ICrudCategory.cs | georgianastasov/Shop-Storage-System | 0 | 7063019 | <filename>Shop-Store-System/Shop-Store-System/Interfaces/ICrudCategory.cs
using Shop_Store_System.BusinessLogic;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shop_Store_System.Interfaces
{
interface ICrudCategory
... |
Split/Assets/VoodooPackages/TinySauce/Analytics/Tenjin/3rdParty/Tenjin/Scripts/AndroidTenjin.cs | OgiJr/SunBed | 0 | 7063020 | <filename>Split/Assets/VoodooPackages/TinySauce/Analytics/Tenjin/3rdParty/Tenjin/Scripts/AndroidTenjin.cs
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
public class AndroidTenjin : BaseTenjin {
private const string AndroidJavaTenjinClass = "com.tenjin.android.TenjinSDK... |
Akov.EPiServer.Jobs.Extensions/Service/JobServiceArgs.cs | akovanev/EPiServer.Jobs.Extensions | 0 | 7063021 | using System;
using EPiServer.Logging;
namespace Akov.EPiServer.Jobs.Extensions.Service
{
public class JobServiceArgs : EventArgs
{
public JobServiceArgs(string message, Level level = Level.Information)
{
Message = message;
Level = level;
}
public strin... |
Libraries/Slf/Ast/Ast/Expressions/Linq/ILinqBodyVisitor`1.cs | AlexanderMorou/AbstractionProject | 0 | 7063022 | /* ----------------------------------------------------------------\
| This code was generated by Allen Copeland's Abstraction. |
| Version: 0.5.0.0 |
|------------------------------------------------------------------|
| To ensure the code works properl... |
BrainSharp/Arguments/ValueArgument.cs | LucaScorpion/BrainSharp | 0 | 7063023 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BrainSharp.Arguments
{
public class ValueArgument : FlagArgument
{
private readonly string valueName;
public ValueArgument(string name, string option, string longOption, string descript... |
ZoomClient/ZoomReportsClient.cs | lgtonkal/zoom-netcore-api | 0 | 7063024 | using AndcultureCode.ZoomClient.Interfaces;
using RestSharp;
using System;
using AndcultureCode.ZoomClient.Models;
using AndcultureCode.ZoomClient.Extensions;
using AndcultureCode.ZoomClient.Models.Reports;
namespace AndcultureCode.ZoomClient
{
public class ZoomReportsClient : IZoomReportsClient
{
#re... |
PhonebookAPI/Migrations/20200712112151_AddNumbers.cs | Barnacle/PhonebookApp | 0 | 7063025 | <gh_stars>0
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
// ReSharper disable once IdentifierTypo
namespace PhonebookAPI.Migrations
{
public partial class AddNumbers : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
... |
System.Maui.Controls.Issues/System.Maui.Controls.Issues.Shared/Issue1568.xaml.cs | Skyprx/maui | 3 | 7063026 | <reponame>Skyprx/maui<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Maui.CustomAttributes;
using System.Maui.Internals;
namespace System.Maui.Controls.Issues
{
#if APP
[Preserve (AllMembers = true)]
[Issue (IssueTracker... |
Scripts/Arma.cs | batatinha123/The-Galaxy-of-Tessera | 0 | 7063027 | using UnityEngine;
using System.Collections;
public class Arma : MonoBehaviour {
[SerializeField]
public Transform bala;
//public float charge;
// Use this for initialization
void Start () {
//charge = 0f;
}
// Update is called once per frame
void Update () {
Ve... |
src/WebApp/AspnetRunBasics/ViewComponents/CategoryComponent.cs | sedatgirgin/run-aspnetcore-microservices | 1 | 7063028 | <filename>src/WebApp/AspnetRunBasics/ViewComponents/CategoryComponent.cs<gh_stars>1-10
using AspnetRunBasics.ApiCollection.Interfaces;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AspnetRunBasics.ViewComponents
{
public ... |
dmweis.ASC.Connector/HardwareConnection/HardwareService.cs | dmweis/dmweis.ASC | 0 | 7063029 | using System.IO.Ports;
using System.Management;
using System.Threading;
using System.Threading.Tasks;
namespace dmweis.ASC.Connector.HardwareConnection
{
public class HardwareService
{
private const string c_ClassGuidSerialDevices = "{4d36e978-e325-11ce-bfc1-08002be10318}";
public static SerialPor... |
Data/YJC.Toolkit.AdoData/Data/_SourceConfig/IBaseDbConfig.cs | madiantech/tkcore | 4 | 7063030 | using YJC.Toolkit.Right;
using YJC.Toolkit.Sys;
namespace YJC.Toolkit.Data
{
public interface IBaseDbConfig
{
string Context { get; }
bool SupportData { get; }
IConfigCreator<IDataRight> DataRight { get; }
FunctionRightConfig FunctionRight { get; }
}
} |
Assets/_Scripts/Character/Vitality/Experience.cs | talhaucarr/mongodb-exmaple-unity | 0 | 7063031 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace _Scripts.Character.Vitality
{
public class Experience : MonoBehaviour
{
[SerializeField] private float expPoints = 0;
public void GainExperience(float experience)
{
expPoints += experie... |
WaveDotNet.Designer/ViewModels/Tree/NodeViewModel.cs | Mrxx99/WaveDotNet | 8 | 7063032 | using WaveDotNet.Designer.DataStructures;
using WaveDotNet.Designer.ViewModels.Common;
using WaveDotNet.Designer.ViewModels.Tree.Helpers;
using WaveDotNet.Designer.ViewModels.Waves;
using WaveDotNet.Wave;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;... |
src/Orc.Skia/Properties/AssemblyInfo.cs | WildGums/Orc.SkiaCanvas | 16 | 7063033 | <gh_stars>10-100
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="WildGums">
// Copyright (c) 2008 - 2017 WildGums. All rights reserved.
// </copyright>
// --------------------------------------------... |
GymFitnessOlympic/Controller/Constants.cs | hynguyen2610/OlympicGym | 0 | 7063035 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GymFitnessOlympic.Controller
{
public enum CODE_RESULT_RETURN
{
ThanhCong,
MaTrung,
TenTrung,
ThatBai,
KhongDuocPhep
}
public enum VAITRO
{
ChuyenVien,
... |
Loggo/Core/Streams/GenericOutputStream.cs | wietlol/LoggoDotnet | 0 | 7063036 | <filename>Loggo/Core/Streams/GenericOutputStream.cs
using System;
using System.Collections.Generic;
using Loggo.Api;
namespace Loggo.Core.Streams
{
public class GenericOutputStream<T> : ILogOutputStream<T>
{
public Action<IReadOnlyCollection<T>> WriteFunction { get; }
public Action CloseFunction { get; }
publi... |
Source/h0wXD/IO/Domain/WatchDirectory.cs | h0wXD/h0wXD | 1 | 7063038 | <reponame>h0wXD/h0wXD<gh_stars>1-10
namespace h0wXD.IO.Domain
{
public class WatchDirectory
{
public bool WatchSubDirectories { get; private set; }
public string Path { get; private set; }
public string FileMask { get; private set; }
public WatchDirectory(string path, string f... |
src/Test/Common/Code/Microsoft/Test/Stability/Extensions/CustomTypes/CustomContentControl.cs | kant2002/wpf-test | 25 | 7063039 | <filename>src/Test/Common/Code/Microsoft/Test/Stability/Extensions/CustomTypes/CustomContentControl.cs
// 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.
using System.... |
xaml/AboutWindow.xaml.cs | jarvisniu/niv | 3 | 7063040 | <reponame>jarvisniu/niv<filename>xaml/AboutWindow.xaml.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using S... |
JPMorganAuthoring/X9AuthoringInfo.cs | apptacularinnovations/X9100-develop | 2 | 7063041 | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace CompAnalytics.X9.JPMorganAuthoring
{
[DataContract]
[Serializable]
public class X9AuthoringInfo
{
/// <summary>
/// Is the file to be used for testing (not a real payment)?
/// </summa... |
kudos-slackbot/Data.Services/Validators/ListTopsUsersQueryValidator.cs | josephpedro/kudos-slackbot | 0 | 7063042 | namespace KudosSlackbot.Data.Services.Validators
{
using System;
using System.Collections.Generic;
using System.Linq;
using KudosSlackbot.Application.Queries;
using KudosSlackbot.Domain.Services;
public class ListTopUsersQueryValidator : KudoSlashCommandValidator<ListTopUsersQuery>
{
... |
src/Sample.WebClient/Services/TenantSelector.cs | MarvinZ/OpenIDConnectInDepth | 55 | 7063043 | using Microsoft.AspNetCore.Http;
using System.Collections.Generic;
using System.Linq;
namespace Sample.WebClient.Services
{
public class TenantSelector : ITenantSelector<Tenant>
{
public Tenant Current { get; private set; }
private ICollection<Tenant> _tenants = new List<Tenant>();
pr... |
src/web/modules/Elsa.Web.Components/ViewModels/ActivityCardViewModel.cs | nickaynes/Elsa | 1 | 7063044 | <filename>src/web/modules/Elsa.Web.Components/ViewModels/ActivityCardViewModel.cs
using Elsa.Models;
using OrchardCore.DisplayManagement.Views;
namespace Elsa.Web.Components.ViewModels
{
public class ActivityCardViewModel : ShapeViewModel<ActivityDescriptor>
{
public ActivityCardViewModel(ActivityDescr... |
project/src/WebRequestExtensions.cs | InnovatingTeams/making_names | 0 | 7063046 | <reponame>InnovatingTeams/making_names
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace project.src
{
public static class WebRequestExtensions
{
public static WebRequest SetData(this WebRequest request, string data)
{
using (var stream = request.GetReque... |
examples/FrameworkTester/Views/WinBioEnrollCaptureWithCallback.xaml.cs | poseidonjm/WinBiometricDotNet | 17 | 7063047 | using System.Windows.Controls;
namespace FrameworkTester.Views
{
/// <summary>
/// WinBioEnrollCaptureWithCallback.xaml の相互作用ロジック
/// </summary>
public partial class WinBioEnrollCaptureWithCallback : Page
{
public WinBioEnrollCaptureWithCallback()
{
Initializ... |
OEMS/Controllers/ModuleController.cs | bpdesilva/Examination-System | 1 | 7063048 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Data.SqlClient;
using OEMS.Models;
namespace OEMS.Content
{
public class ModuleController : Controller
{
private DBAccess DB = new DBAccess();
private static List<ModuleModel... |
TaskParallelLibrary/_1_Dataflow/_1_4_BroadcastBlock.cs | marek2222/net-core-vscode | 0 | 7063049 | <reponame>marek2222/net-core-vscode<filename>TaskParallelLibrary/_1_Dataflow/_1_4_BroadcastBlock.cs
using System;
using System.Threading.Tasks.Dataflow;
namespace TaskParallelLibrary._1_Dataflow
{
public class _1_4_BroadcastBlock
{
public void Run()
{
// Create a BroadcastBlock<double> object.
... |
Assets/Structural/Flyweight/FlyweightRefFactory.cs | Kuhpik/Design-patterns | 0 | 7063050 | <reponame>Kuhpik/Design-patterns
using System.Collections.Generic;
using UnityEngine;
namespace Kuhpik.DesignPatterns.Structural.Flyweight
{
public class FlyweightRefFactory
{
readonly Dictionary<FlyweightCarTuple, FlyweightData> _flyweights;
public FlyweightRefFactory()
{
... |
CSharp8/NullableSample/Book.cs | okyuanzhui/bb | 479 | 7063051 | <gh_stars>100-1000
namespace NullableSampleApp
{
public class Book
{
public string Isbn { get; }
public string Title { get; }
public string? Publisher { get; }
public Book(string isbn, string title, string? publisher = default) =>
(Isbn, Title, Publisher) = (isbn, ti... |
AkSoundEnginePINVOKE.cs | moto2002/mobahero_src | 4 | 7063052 | <filename>AkSoundEnginePINVOKE.cs
using System;
using System.Runtime.InteropServices;
internal class AkSoundEnginePINVOKE
{
static AkSoundEnginePINVOKE()
{
}
[DllImport("AkSoundEngine")]
public static extern uint CSharp_AK_INVALID_AUX_ID_get();
[DllImport("AkSoundEngine")]
public static extern ui... |
Examples/CSharp/Articles/UsingCellsFactory.cs | sergioruizdeveloper/Aspose.Cells-for-.NET | 157 | 7063053 | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
namespace Aspose.Cells.Examples.CSharp.Articles
{
public class UsingCellsFactory
{
public static void Run()
{
//Output directory
string outputD... |
src/iCBM.Application/Exceptions/ResourceNotFoundException.cs | rpanasewicz/iCBM | 0 | 7063055 | <gh_stars>0
using System;
namespace iCBM.Application.Exceptions
{
public class ResourceNotFoundException : Exception
{
public ResourceNotFoundException(string resourceName, string resourceId) : base($"Resource ({resourceName}) with Id ({resourceId}) not found.")
{
}
public Re... |
interfaces/OData.OpenAPI/Microsoft.OData.OpenAPI/OpenApi/OpenApiExtension.cs | GeorgeWalker/jag-spd-spice | 2 | 7063056 | <filename>interfaces/OData.OpenAPI/Microsoft.OData.OpenAPI/OpenApi/OpenApiExtension.cs
//---------------------------------------------------------------------
// <copyright file="OpenApiExtension.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project r... |
DoubilityUnity/Runtime/Doubility3D/Resource/Downloader/PacketDownloader.cs | lighter-cd/Doubility3D | 2 | 7063057 | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using Ionic.Zip;
/// <summary>
/// 解压多线程
/// zipFile的内存方式
/// 由Updater维护一个最新的文件列表
/// </summary>
namespace Doubility3D.Resource.Downloader
{
public class PacketInfo {
ZipFile zipFile;
int version;
pu... |
lib/TweetLib.Core/Features/Notifications/NotificationBrowser.Screenshot.cs | chylex/TweetDick | 6 | 7063058 | using System;
using System.Collections.Generic;
using TweetLib.Browser.Base;
using TweetLib.Browser.Interfaces;
using TweetLib.Utils.Data;
namespace TweetLib.Core.Features.Notifications {
public abstract partial class NotificationBrowser {
public sealed class Screenshot : NotificationBrowser {
private readonly I... |
src/SujaySarma.Sdk.Azure.MarketPlace/Catalogs/MarketplaceItemPlan.cs | sujayvsarma/SujaySarma.Sdk.Azure | 2 | 7063059 | <gh_stars>1-10
using Newtonsoft.Json;
using System.Collections.Generic;
namespace SujaySarma.Sdk.Azure.MarketPlace.Catalogs
{
/// <summary>
/// The plan in a <see cref="IndexItem"/>
/// </summary>
public class MarketplaceItemPlan
{
/// <summary>
/// Id of this plan
/// </s... |
Telerik.Examples.Mvc/Telerik.Examples.Mvc/Views/Grid/AsynchronousBindingWithCancellationToken.cshtml | pchenatwork/ui-for-aspnet-core-examples | 68 | 7063060 |
@{
ViewData["Title"] = "AsynchronousBindingWithCancellationToken";
}
@using Telerik.Examples.Mvc.Models
<h1>Asynchronous Binding With Cancellation Token</h1>
<div class="row">
<div class="col-12">
@(Html.Kendo().Grid<OrderViewModel>()
.Name("grid")
.Columns(columns =>
{
... |
DeepNestLib.Core/EmbeddedResourcesExtensions.cs | 9swampy/DeepNestSharp | 7 | 7063061 | <filename>DeepNestLib.Core/EmbeddedResourcesExtensions.cs<gh_stars>1-10
namespace DeepNestLib
{
using System;
using System.IO;
using System.Reflection;
using System.Text.RegularExpressions;
public static class EmbeddedResourcesExtensions
{
public static Stream GetEmbeddedResourceStream(this Assembly a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.