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 |
|---|---|---|---|---|
BASE DE DATOS/practicahadagrupal/WebApplication1/ranking.aspx.cs | alihyderr/practicahada | 0 | 7031844 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ClassLibrary.EN;
using ClassLibrary.CAD;
using System.Windows.Forms;
namespace WebApplication1
{
public partial class ranking : System.Web.UI.Page
{
protect... |
client.financial.accountsPayable.input.voucherAndAdjustmentEntry/apDocsPopup.cs | CatalinaTechnology/ctAPIClientEXamples | 0 | 7031845 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace client.financial.accountsPayable.input.voucherAndAdjustmentEntry
{
public partial class apDocsPopup : Form
{
... |
GothosDC/LowLevel/DataCenterElementRaw.cs | gothos-folly/TeraDataTools | 15 | 7031846 | using System.Collections.Generic;
using System.Diagnostics.Contracts;
namespace GothosDC.LowLevel
{
public struct DataCenterElementRaw
{
public ushort NameKey { get; private set; }
public ushort Unknown { get; private set; }
public ushort ArgsCount { get; private set; }
... |
src/LionFire.Trading/Data/LoadHistoricalDataJob.cs | lionfire/Trading | 9 | 7031847 | <filename>src/LionFire.Trading/Data/LoadHistoricalDataJob.cs
using LionFire.Execution;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LionFire.Trading.Data
{
public abstract class LoadHistoricalDataJob : ProgressiveJob, IJob
{
#region Misc
... |
src/Stump.DofusProtocol/Messages/Messages/Game/Context/GameCautiousMapMovementRequestMessage.cs | Daymortel/Stump | 2 | 7031848 | namespace Stump.DofusProtocol.Messages
{
using System;
using System.Linq;
using System.Text;
using Stump.DofusProtocol.Types;
using System.Collections.Generic;
using Stump.Core.IO;
[Serializable]
public class GameCautiousMapMovementRequestMessage : GameMapMovementRequestMessage
{
... |
gridgroupingcontrol/Exporting/PDF Export Demo/CS/Form1.Designer.cs | aTiKhan/winforms-demos | 0 | 7031849 | <reponame>aTiKhan/winforms-demos<gh_stars>0
namespace PdfConverter
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being use... |
NSG.NetIncident4.Core_Tests/UI/Api/Authenticate_UnitTests.cs | PHuhn/Net.Incident4 | 0 | 7031850 | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using Microsoft.Extensions.Options;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Configuration;
using Microsoft.AspNetCore.Mvc;
using Microsoft.... |
CitaviSumatraWrapper/Program.cs | ironjan/CitaviSumatraWrapper | 1 | 7031851 | <gh_stars>1-10
using System;
namespace CitaviSumatraWrapper
{
internal class Program
{
public static void Main(string[] args)
{
Logger.Log("Original arguments:");
Logger.LogArguments(args);
var convertedArgs = ArgumentsConverter.Convert(args);
Logger.Lo... |
Object Oriented Programming/Principles Of OOP Part Two Homework/InvalidRangeException/StartUp.cs | MilStancheva/Telerik-Academy-Projects | 1 | 7031852 | namespace InvalidRangeException
{
using System;
public class StartUp
{
IFormatProvider culture = new System.Globalization.CultureInfo("bg-BG", true);
public static void Main()
{
Console.WriteLine("Please, enter a number: ");
try
{
... |
src/GroupDocs.Conversion.Cloud.Sdk.Test/Api/BaseApiTest.cs | groupdocs-conversion-cloud/groupdocs-conversion-cloud-dotnet | 0 | 7031853 | // --------------------------------------------------------------------------------------------------------------------
// <copyright company="Aspose Pty Ltd">
// Copyright (c) 2003-2021 Aspose Pty Ltd
// </copyright>
// <summary>
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of ... |
TDAmeritrade.Client/Models/UserAuthorizations.cs | dentlarry22/TDAmeritrade | 66 | 7031854 | <filename>TDAmeritrade.Client/Models/UserAuthorizations.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="UserAuthorizations.cs" company="KriaSoft LLC">
// Copyright © 2013 <NAME>, KriaSoft LLC. See LICENSE.txt
// </copyrigh... |
Manatee.Trello/Contracts/IOrganization.cs | Muhammad1Nouman/Manatee.Trello | 116 | 7031855 | <reponame>Muhammad1Nouman/Manatee.Trello
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Manatee.Trello
{
/// <summary>
/// Represents an organization.
/// </summary>
public interface IOrganization : ICanWebhook, IQueryable, IRefreshable
{
/// <su... |
System.Data.Entity/System/Data/Metadata/Edm/SimpleType.cs | ludovic-henry/referencesource | 39 | 7031856 | //---------------------------------------------------------------------
// <copyright file="SimpleType.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//
// @owner [....]
// @backupOwner [....]
//----------------------------------------------------------... |
src/Mvc/test/WebSites/SecurityWebSite/StartupWithGlobalAuthFilter.cs | johnri/aspnetcore | 8,570 | 7031857 | <filename>src/Mvc/test/WebSites/SecurityWebSite/StartupWithGlobalAuthFilter.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Mvc.Authorization;
name... |
test/WebSocketManager.Tests/WebSocketConnectionManagerTests.cs | mikaelbr/websocket-manager | 5 | 7031858 | using System.Threading.Tasks;
using WebSocketManager.Tests.Helpers;
using Xunit;
namespace WebSocketManager.Tests
{
public class WebSocketConnectionManagerTests
{
private readonly WebSocketConnectionManager _manager;
public WebSocketConnectionManagerTests()
{
_manager = new... |
NoRainForum/APITest/Program.cs | MapleWithoutWords/NoRainForum-MicroService | 0 | 7031859 | <filename>NoRainForum/APITest/Program.cs
using System;
using System.Net.Http;
using System.Collections;
using System.Collections.Generic;
using Services.Common;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.IO;
using NoRainSDK.src;
using System.Text.RegularExpressions;
namespace APITest
{
class ... |
QuickFrame.Common/Provide/IFieldFilterProvider.cs | qiqigou/QuickFrame | 0 | 7031860 | <gh_stars>0
using System.Collections.Generic;
namespace QuickFrame.Common
{
/// <summary>
/// 实体过滤提供者
/// </summary>
public interface IFieldFilterProvider
{
/// <summary>
/// 实体过滤
/// </summary>
/// <typeparam name="TModel"></typeparam>
/// <param name="data... |
rdContentArea/SaCustomization/Views/Index.cshtml | Episerver-trainning/SiteAttention | 0 | 7031861 | @{
Layout = null;
}
@using Newtonsoft.Json
@model rdContentArea.SaCustomization.SaContentAreaViewModel
@{
var json = new Dictionary<string, string>() { { "oldContent", Html.DisplayFor(p => p.OldContentArea).ToHtmlString() }, { "newContent", Html.DisplayFor(p => p.NewContentArea).ToHtmlString() } };
}
@Html.... |
OSRMLib/OSRMClasses/RouteStep.cs | FantaStudio/OSRMLib | 9 | 7031862 | <filename>OSRMLib/OSRMClasses/RouteStep.cs
using Newtonsoft.Json;
using OSRMLib.Helpers;
using System.Linq;
public class RouteStep
{
[JsonProperty("distance")]
public double Distance { get; set; }
[JsonProperty("duration")]
public double Duration { get; set; }
[JsonProperty("geometry")]
pub... |
Src/Notion.Client/Models/Database/Properties/FileProperty.cs | aleksei-oecd/notion-sdk-net | 0 | 7031863 | using System.Collections.Generic;
namespace Notion.Client
{
public class FileProperty : Property
{
public override PropertyType Type => PropertyType.File;
public Dictionary<string, object> File { get; set; }
}
}
|
src/Deskly.DNT/Extensions/ObjectExtensions.cs | fossabot/Deskly.DNT | 0 | 7031865 | <filename>src/Deskly.DNT/Extensions/ObjectExtensions.cs
using System;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Reflection;
namespace Deskly.DNT.Extensions
{
public static class ObjectExtensions
{
public static string GetGenericTypeName(this object insta... |
mcs/class/System.Xaml/System.Windows.Markup/DateTimeValueSerializer.cs | upsilon/mono | 4 | 7031866 | //
// Copyright (C) 2010 Novell Inc. http://novell.com
//
// 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/Perpetuum/EnumHelper.cs | pkucherov/PerpetuumServer | 46 | 7031867 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Perpetuum
{
public static class EnumHelper
{
/// <summary>
/// Converts an enum to a dictionary
/// </summary>
public static Dictionary<string, object> ToDictionary<T>()
... |
CefNet/Generated/Native/Types/cef_time_t.cs | RhubarbVR/CefNet | 92 | 7031868 | <reponame>RhubarbVR/CefNet<gh_stars>10-100
// --------------------------------------------------------------------------------------------
// Copyright (c) 2019 The CefNet Authors. All rights reserved.
// Licensed under the MIT license.
// See the licence file in the project root for full license information.
// -----... |
test/Microsoft.AspNetCore.Blazor.Build.Test/DeclarationRazorIntegrationTest.cs | mtemel123/Blazor | 0 | 7031869 | <reponame>mtemel123/Blazor
// 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.Reflection;
using System.Text;
using Microsoft.AspNetCore.Blazor.Components;
using Microsoft.AspNetCore.Blazor.... |
XamlAnimatedGif/Decoding/GifDataStream.cs | Glepooek/XamlAnimatedGif | 272 | 7031871 | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace XamlAnimatedGif.Decoding
{
internal class GifDataStream
{
public GifHeader Header { get; private set; }
public GifColor[] GlobalColorTable { get; set; }
public IList<GifFrame> F... |
App/App.Models/Testimonials/TestimonialInputModel.cs | nzhul/garderob | 0 | 7031872 | using System.ComponentModel.DataAnnotations;
namespace App.Models.Testimonials
{
public class TestimonialInputModel
{
[Required(ErrorMessage = " * Задължително!")]
public int OrderId { get; set; }
[Display(Name = "Оценка:")]
[Range(0, 5)]
public double Rating { get; set; }
[Required(ErrorMessage = " *... |
OX.Copyable/ObjectExtensions.cs | johnxjcheng/copyable | 1 | 7031873 | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.Serialization;
namespace OX.Copyable
{
/// <summary>
/// This class defines all the extension methods provided by the Copyable framework
/// on the <see cref="System.Object"/> type.
/// </summary>
public... |
Phonebook/Phonebook.cs | danielstaikov/Arrays-Lists-and-Dictionaries | 0 | 7031874 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Phonebook
{
class Program
{
static void Main(string[] args)
{
string[] phoneNum= Console.ReadLine().Split(' ');
string[] names= Console.ReadLine... |
src/RoyalEstate.Application/Estates/IEstateAppService.cs | kamal24h/Royal | 1 | 7031875 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Abp.Application.Services;
using RoyalEstate.Estates.Dto;
namespace RoyalEstate.Estates
{
public interface IEstateAppService : IAsyncCrudAppService<EstateDto, long, GetAllEstatesInputDto, Creat... |
ExchangeActiveSync/Source/MS-ASEMAIL/TestSuite/S01_Email.cs | blu-base/Interop-TestSuites | 0 | 7031876 | namespace Microsoft.Protocols.TestSuites.MS_ASEMAIL
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Threading;
using System.Xml;
using Microsoft.Protocols.TestSuites.Common;
using Microsoft.Protocols.TestSuites.Common.DataStructure... |
Source/Humanoid_Project/HumanAbilities/Projectile_HumanLightningStorm.cs | Tarojun/HumanoidProject | 0 | 7031877 | using System;
using AbilityUser;
using HarmonyLib;
using RimWorld;
using UnityEngine;
using Verse;
using Verse.Sound;
namespace HumanAbilities
{
// Token: 0x02000007 RID: 7
public class Projectile_HumanLightningStorm : Projectile_Ability
{
// Token: 0x06000012 RID: 18 RVA: 0x000027B0 File Offset: 0x000009B0
pu... |
Assets/Scripts/Editors/TerrainSurfaceEditor.cs | Poj75014/OtherTestVoiture | 2 | 7031878 | #if UNITY_EDITOR
using UnityEngine;
using System.Collections;
using UnityEditor;
namespace RVP
{
[CustomEditor(typeof(TerrainSurface))]
public class TerrainSurfaceEditor : Editor
{
TerrainData terDat;
TerrainSurface targetScript;
string[] surfaceNames;
public override voi... |
AUR.NETCore.Mvc.PluginsManager/obj/Debug/netcoreapp2.1/AUR.NETCore.Mvc.PluginsManager.AssemblyInfo.cs | GianfriAur/NETCore.Mvc.PluginsManager | 17 | 7031879 | <gh_stars>10-100
//------------------------------------------------------------------------------
// <auto-generated>
// Il codice è stato generato da uno strumento.
// Versione runtime:4.0.30319.42000
//
// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno pers... |
src/ProcessesTheater.Core/ExceptionSuppressingWrapperBehavior.cs | vasmanas/ProcessesTheater | 1 | 7031880 | namespace ProcessesTheater.Core
{
using System;
using System.Threading;
using Logging;
/// <summary>
/// Exception suppressing wrapper behavior.
/// </summary>
public class ExceptionSuppressingWrapperBehavior : AbstractWrapperBehavior
{
/// <summary> Logging element. </summary>... |
src/GetProductsQuery.cs | the-dext/blog_dotNet_aws_lambda_with_onion_architecture_pt2 | 0 | 7031881 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mediatr;
namespace Queries
{
public class GetProductsQuery : IRequest<IEnumerable<Product>>
{
public GetProductsQuery(Guid tenantId)
{
}
}
}
|
Assets/Scripts/ScreepsAPI/RequestBody.cs | Jacudibu/Screeps3D | 49 | 7031882 | <reponame>Jacudibu/Screeps3D<filename>Assets/Scripts/ScreepsAPI/RequestBody.cs
using System;
namespace Screeps3D {
public class RequestBody : JSONObject {
public string ToQueryString() {
var count = 0;
var str = "?";
foreach (var key in keys) {
... |
Nusku/Assets/Resources/UI Menus/UI/Scripts/MotionIntro.cs | rafalink1996/Nusku | 0 | 7031883 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.Video;
public class MotionIntro : MonoBehaviour
{
Animator anim;
VideoPlayer videoPlayer;
// Use this for initialization
void Start()
{
videoPlayer = ... |
Source/TeaCommerce.Umbraco.Application/Trees/Tasks/VATGroupTask.cs | dsm-tea/Tea-Commerce-for-Umbraco | 17 | 7031884 | using TeaCommerce.Api.Services;
using TeaCommerce.Api.Models;
namespace TeaCommerce.Umbraco.Application.Trees.Tasks {
public class VATGroupTask : ADeleteTask {
public override bool Delete( long storeId, long entityId ) {
VatGroup vatGroup = VatGroupService.Instance.Get( storeId, entityId );
return ... |
src/RuleChecking/CollectionContainsRuleChecker.cs | oliversturm/BizRulez | 1 | 7031885 | <filename>src/RuleChecking/CollectionContainsRuleChecker.cs
// Copyright (C) 2009-2012 <NAME> <<EMAIL>> All rights reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using pct.BizRulez.RuleChecking;
using pct.BizRulez.Rules.Parameters;
using pct.BizRulez.Results;
using Sys... |
src/Yeast.Multitenancy/ITenantResolver.cs | YeastFx/Yeast | 0 | 7031886 | using Microsoft.AspNetCore.Http;
using System.Threading.Tasks;
namespace Yeast.Multitenancy
{
/// <summary>
/// Provides abstraction for tenant resolution logic
/// </summary>
/// <typeparam name="TTenant">Type of resolved tenant</typeparam>
/// <remarks>Used by TenantResolverMiddleware</remarks>
... |
ThScoreFileConverterTests/Models/Th105/ClearDataTests.cs | fossabot/ThScoreFileConverter | 0 | 7031887 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
using System.Linq;
using ThScoreFileConverter.Extensions;
using ThScoreFileConverter.Models;
using ThScoreFileConverter.Models.Th105;
using ThScoreFileConverterTests.Models.Th105.Stubs;
using Level = ThScoreFileConverter.Models.Th105.Le... |
editor source/SPNATI Character Editor/Charts/Builders/CustomPoseBuilder.cs | laytonc32/spnati | 0 | 7031888 | using System;
using System.Collections.Generic;
namespace SPNATI_Character_Editor.Charts.Builders
{
/// <summary>
/// Charts custom Pose Maker poses
/// </summary>
[Chart(ChartType.Bar, 13)]
public class CustomPoseBuilder : IChartDataBuilder
{
private List<Tuple<Character, int>> _data;
public string GetLab... |
C_Sharp/CSharp Advanced/FunctionalProgramming/FindEvensOrOdds/Program.cs | Mithras11/SoftUni-Software-Engineering | 4 | 7031889 | using System;
using System.Collections.Generic;
using System.Linq;
namespace FindEvensOrOdds
{
class Program
{
static void Main(string[] args)
{
int[] bounds = Console.ReadLine()
.Split()
.Select(int.Parse)
.ToArray();
st... |
thor/Parsers/MapParserFactory.cs | LogicAndTrick/thor | 2 | 7031890 | <gh_stars>1-10
/*
* Created by SharpDevelop.
* User: Dan
* Date: 18/10/2008
* Time: 5:14 PM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
namespace thor
{
/// <summary>
/// Description of MapParserFactory.
/// </summary>
public static class MapParserFact... |
Loop2.cs | behreajj/CSharpWork | 0 | 7031891 | using System;
using System.Text;
public class Loop2
{
protected Index2[ ] indices;
public Index2[ ] Indices
{
get
{
return this.indices;
}
set
{
this.indices = value;
}
}
public int Length { get { return this.indices.Length;... |
bam.net.schema.org/Schema.Org/Things/Permit.cs | BryanApellanes/bamsdo | 0 | 7031892 | <gh_stars>0
using Bam.Net.Schema.Org.DataTypes;
namespace Bam.Net.Schema.Org.Things
{
///<summary>A permit issued by an organization, e.g. a parking pass.</summary>
public class Permit: Intangible
{
///<summary>The organization issuing the ticket or permit.</summary>
public Organization IssuedBy {get; set;}
/... |
test/CacheManager.MSConfiguration.TypeLoad.Tests/MicrosoftConfigurationTests.cs | pergardebrink/CacheManager | 2,249 | 7031893 | using System;
using System.Collections.Generic;
using FluentAssertions;
using Microsoft.Extensions.Configuration;
using Xunit;
namespace CacheManager.MSConfiguration.TypeLoad.Tests
{
public class MicrosoftConfigurationTests
{
[Fact]
public void Configuration_RedisConfig_NotReferenced()
... |
RocketMQ.Client/Hook/EndTransactionContext.cs | leeveel/RocketMQ.Client | 3 | 7031894 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RocketMQ.Client
{
public class EndTransactionContext
{
private string producerGroup;
private Message message;
private string brokerAddr;
private string ... |
mcs/tests/test-null-operator-23.cs | campolake/mono_research | 0 | 7031895 | using System;
public class X
{
string field;
public static int Main ()
{
X x = null;
try {
var res = (x?.field).ToString()?.Length;
return 1;
} catch (NullReferenceException) {
}
return 0;
}
} |
Zeldomizer/Engine/Underworld/Underworld.cs | SaxxonPike/Zeldomizer | 17 | 7031896 | using Zeldomizer.Engine.Underworld.Interfaces;
namespace Zeldomizer.Engine.Underworld
{
public class Underworld : IUnderworld
{
public UnderworldColumnLibraryList ColumnLibraries { get; set; }
public UnderworldGridList Grids { get; set; }
public UnderworldLevelList Levels { get; set; }... |
Assets/Sources/Main/MainMenuManager.cs | MiruSona/MarsSurvival | 0 | 7031897 | <reponame>MiruSona/MarsSurvival<gh_stars>0
using UnityEngine;
using UnityEngine.SceneManagement;
using System.Collections;
using UnityEngine.Advertisements;
using System;
public class MainMenuManager : MonoBehaviour {
//참조
private SystemDAO.FileManager file_manager;
private Credit credit;
private Ga... |
src/FastQuant/FileDataServer.cs | fastquant/fastquant.dll | 21 | 7031898 | <filename>src/FastQuant/FileDataServer.cs
using System.Collections.Generic;
using System.IO;
using System;
using System.Linq;
namespace FastQuant
{
public class FileDataServer : DataServer
{
private string host;
private DataFile dataFile;
private bool opened;
priv... |
net.adamec.lib.common.dmn.engine.test.shared/unit/SfeelParserTests.cs | samuelsen/Common.DMN.Engine | 0 | 7031899 | using System;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using net.adamec.lib.common.dmn.engine.parser;
namespace net.adamec.lib.common.dmn.engine.test.unit
{
[TestClass]
[TestCategory("Code tests - parser")]
public class SfeelParserTests
{
[TestMethod]
... |
source/DemoAndTest/Generate/Step/ThresholdStep.cs | runerback/FindDuplicatedImages | 0 | 7031900 | <reponame>runerback/FindDuplicatedImages
using ImageMagick;
namespace DemoAndTest
{
sealed class ThresholdStep : IGenerateStep
{
public string Name => "Threshold";
public void Apply(MagickImage image)
{
image.Threshold(new Percentage(60));
}
}
}
|
Mammothcode.BeiQin/Mammothcode.MicroService/Components/ActiveScoreCommon.cs | 1152250070/juzen | 0 | 7031901 | using System;
using System.Collections.Generic;
using System.Text;
namespace Mammothcode.MicroService.Components
{
/// <summary>
///
/// </summary>
public class ActiveScoreCommon
{
}
}
|
core/neural-network/NeuralNetwork.cs | manuelperuzzi/evolutionary-cars | 0 | 7031902 | <reponame>manuelperuzzi/evolutionary-cars<filename>core/neural-network/NeuralNetwork.cs
using System;
namespace NeuralNetworks
{
/// <summary>
/// Class representing a feedforward neural network. It's implemented as a set of NeuralLayers.
/// </summary>
class NeuralNetwork
{
/// <value>Th... |
src/ExpressionEvaluator/CSharp/Test/ExpressionCompiler/CompileExpressionsTests.cs | jkotas/roslyn | 67 | 7031903 | <gh_stars>10-100
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.ExpressionEvaluator.Uni... |
src/The Art of Testing/After/Blog.Services/ImageService.cs | gnusmas12/MyTested.AspNet.TV | 439 | 7031904 | <filename>src/The Art of Testing/After/Blog.Services/ImageService.cs
namespace Blog.Services
{
using System.IO;
using System.Net;
using System.Threading.Tasks;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Processing;
public class ImageService : IImageService
{
public asyn... |
Sushi.Net.Library/Events/Subtitles/SubRip/SubRipSubtitles.cs | maxpiva/Sushi.Net | 21 | 7031905 | <reponame>maxpiva/Sushi.Net
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Sushi.Net.Library.Common;
namespace Sushi.Net.Library.Events.Subtitles.SubRip
{
public class SubRipSubtitles : IEvents
... |
SystemInterface/Microsoft.Win32/IRegistryKey.cs | rhyous/SystemWrapper | 0 | 7031906 | using Microsoft.Win32;
using System.Security.AccessControl;
using System;
using SystemInterface.Microsoft.Win32.SafeHandles;
using SystemInterface.Security.AccessControl;
namespace SystemInterface.Microsoft.Win32
{
/// <summary>
/// Wrapper for <see cref="T:Microsoft.Win32.RegistryKey"/> class.
/// </summa... |
tasks/task4/task4/Clients.cs | Mandrae/oom | 0 | 7031907 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace task4
{
class Clients : IPerson
{
private string basestatus;
private char _title; // storage for gender char if ever needed
... |
test/Microsoft.TestPlatform.Client.UnitTests/Discovery/DiscoveryRequestTests.cs | wjk/dotnet-vstest | 0 | 7031908 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.VisualStudio.TestPlatform.Client.UnitTests.Discovery
{
using System;
using System.Collections.Generic;
using System.Linq;
... |
dev/libraries/eboards/CommonGUI/UpgradeAppControl_MS.cs | business-sims-toolkit/business-sims-toolkit | 0 | 7031909 | <reponame>business-sims-toolkit/business-sims-toolkit
using System;
using System.Drawing;
using System.Windows.Forms;
using LibCore;
using Network;
using CoreUtils;
using IncidentManagement;
namespace CommonGUI
{
/// <summary>
/// This is only need to correctly set the new width for this popup control
/// The MS... |
Assets/uWindowCapture/Samples/GetPixels/UwcGetPixelExample.cs | MoeGrid/MaiDXR | 46 | 7031910 | using UnityEngine;
namespace uWindowCapture
{
public class UwcGetPixelExample : MonoBehaviour
{
[SerializeField] UwcWindowTexture uwcTexture;
Material material_;
void Start()
{
material_ = GetComponent<Renderer>().material;
}
void Update()
{
var window = uwcTexture.wind... |
technologies/RenderStack.LightWave/lwdef.cs | tksuoran/renderstack_net | 2 | 7031911 | <reponame>tksuoran/renderstack_net<gh_stars>1-10
using RenderStack.Math;
using I1 = System.SByte;
using I2 = System.Int16;
using I4 = System.Int32;
using U1 = System.Byte;
using U2 = System.UInt16;
using U4 = System.UInt32;
using F4 = System.Single;
using S0 = System.String;
using VX = System.UInt32;
using COL4 = Rend... |
Assets/TableGenerator/Scripts/Cells/TableCell.cs | shreyanshanchlia/OS-Process-Scheduler | 1 | 7031912 | <filename>Assets/TableGenerator/Scripts/Cells/TableCell.cs
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
using System.Reflection;
using UnityEngine.UI;
namespace UnityUITable
{
[ExecuteInEditMode]
public abstract class TableCell : MonoBehaviour
{
... |
Source/BrainzThought.cs | X-EcutiOnner/Zombieland | 31 | 7031913 | <filename>Source/BrainzThought.cs
using RimWorld;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ZombieLand
{
public class BrainzThought : Thought
{
public override int CurStageIndex => throw new NotImplementedException();
public override void ExposeData()
{
... |
Examples/CSharp/AsposePDF/Security-Signatures/SetPrivileges.cs | Swisscard/Aspose.PDF-for-.NET | 117 | 7031914 | using System;
using System.IO;
using Aspose.Pdf.Facades;
using Aspose.Pdf;
namespace Aspose.Pdf.Examples.CSharp.AsposePDF.SecuritySignatures
{
public class SetPrivileges
{
public static void Run()
{
// ExStart:SetPrivileges
// The path to the documents directory.
... |
src/Xendor.CommandModel/IDomainEventHandler.cs | amolines/cqrs | 31 | 7031916 | <reponame>amolines/cqrs
using System.Threading.Tasks;
using Xendor.EventBus;
using Xendor.ServiceLocator;
namespace Xendor.CommandModel
{
public interface IDomainEventHandler<in T> : ITransientLifestyle
where T : Event
{
Task HandleAsync(T @event);
}
}
|
camunda-xml-model-net/src/test/java/org/camunda/bpm/model/xml/validation/ModelValidationTest.cs | luizfbicalho/Camunda.NET | 6 | 7031917 | <filename>camunda-xml-model-net/src/test/java/org/camunda/bpm/model/xml/validation/ModelValidationTest.cs
using System.Collections.Generic;
using System.IO;
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distri... |
mesoBoard.Web.Helpers/UrlHelpers/UrlHelpers.cs | craigmoliver/mesoBoard | 1 | 7031918 | <gh_stars>1-10
using System;
using System.Web.Mvc;
namespace mesoBoard.Web.Helpers
{
public static class UrlHelpers
{
public static string PluginContent(this UrlHelper url, string contentPath)
{
string pluginFolder = (string)url.RequestContext.HttpContext.Items[HttpContextItemKeys.... |
src/DD.CloudControl.Client/Models/Network/Vlan.cs | tintoy/cloudcontrol-client-core | 0 | 7031919 | using Newtonsoft.Json;
using System.Collections.Generic;
namespace DD.CloudControl.Client.Models.Network
{
/// <summary>
/// Represents an MCP 2.0 network domain.
/// </summary>
public class Vlan
: Resource
{
/// <summary>
/// The VLAN name.
/// </summary>
[JsonProperty("name")]
public string Name {... |
Assets/Scripts/MovingPlatform.cs | AngelRDev/Endless-Faller | 0 | 7031920 | using UnityEngine;
public class MovingPlatform : MonoBehaviour
{
[SerializeField] private InitialSpeed speed;
private float lowestPositionY = -11.85f; // handpicked value from scene.
private float startPosY;
private float timeCounter = 0f;
private float increment = 0.005f;
void Start()
{... |
src/Machete/Values/EmptyValue.cs | amccool/Machete | 47 | 7031921 | <gh_stars>10-100
namespace Machete.Values
{
using System;
public class EmptyValue<TValue> :
Value<TValue>
{
Type IValue.ValueType => typeof(TValue);
bool IValue.IsPresent => true;
bool IValue.HasValue => false;
TValue Value<TValue>.Value => throw new ValueEmptyExc... |
src/TaposcopeWindows/Server/Controllers/AccountController.cs | ikhramts/maesure-oss | 2 | 7031922 | <gh_stars>1-10
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Server.Db;
using Server.Services.Auth0;
using Server.Services.Paddle;
using Server.Services.UserEvents;
namespace Server.Controllers
{
[Route("api/account")]
[ApiController]
... |
source/GoLava.ApplePie/GoLava.ApplePie/Clients/AppleDeveloper/AppleDeveloperUrlProvider.cs | Fucktheworld666/golava-applepie | 15 | 7031923 | <filename>source/GoLava.ApplePie/GoLava.ApplePie/Clients/AppleDeveloper/AppleDeveloperUrlProvider.cs
namespace GoLava.ApplePie.Clients.AppleDeveloper
{
public class AppleDeveloperUrlProvider : UrlProviderBase, IAppleDeveloperUrlProvider
{
public const string ProtocolVersion = "QH65B2";
public ... |
src/FubarDev.WebDavServer/Model/Headers/DepthHeaderComparer.cs | ajay-soni-giacom/WebDavServer | 80 | 7031924 | <filename>src/FubarDev.WebDavServer/Model/Headers/DepthHeaderComparer.cs
// <copyright file="DepthHeaderComparer.cs" company="Fubar Development Junker">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
using System.Collections.Generic;
using JetBrains.Annotations;
namespace FubarDev.WebDavServer.Model.... |
src/SharpVk/Interop/BufferCreateInfo.gen.cs | sebastianulm/SharpVk | 0 | 7031925 | // The MIT License (MIT)
//
// Copyright (c) <NAME>/FacticiusVir 2018
//
// 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
// t... |
src/Profiler/ITimeMeasure.cs | r-alekseev/Profiler.Net | 2 | 7031926 | using System;
namespace Profiler
{
public interface ITimeMeasure
{
void Start();
TimeSpan Pause();
TimeSpan Total { get; }
}
}
|
src/Core/Indexes/Metric/SplitPolicy/SplitPolicies.cs | robertogiachetta/aegis | 4 | 7031927 | <filename>src/Core/Indexes/Metric/SplitPolicy/SplitPolicies.cs
// <copyright file="SplitPolicies.cs" company="Eötvös Loránd University (ELTE)">
// Copyright 2016-2019 <NAME>. Licensed under the
// Educational Community License, Version 2.0 (the "License"); you may
// not use this file except in compliance ... |
Aufgabenblatt_05/Aufgabenblatt_05.Aufgabe_14/ViewModels/MainViewModel.cs | maSchoeller/dhbw-vorlesung-csharp | 3 | 7031928 | <reponame>maSchoeller/dhbw-vorlesung-csharp
using Aufgabenblatt_05.Aufgabe_14.Abstracts;
using Aufgabenblatt_05.Aufgabe_14.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using System.Windows.Input;
namespace... |
src/WebCompilerTest/Compile/ScssOptionsTest.cs | leemcmullen/WebCompiler | 475 | 7031929 | <reponame>leemcmullen/WebCompiler<filename>src/WebCompilerTest/Compile/ScssOptionsTest.cs
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WebCompiler;
namespace WebCompilerTest
{
[TestClass]
public class ScssOptionsTest
{
[TestMethod, TestCategory("SCSSOptions")]
... |
Pdc.System.Data.Test/Migrations/201712161800547_step2.cs | tweakch/Pdc.System | 0 | 7031930 | using System.Data.Entity.Migrations;
namespace Pdc.System.Data.Test.Migrations
{
public partial class step2 : DbMigration
{
public override void Up()
{
AddColumn("dbo.Leads", "Processing", c => c.Int(nullable: false));
DropColumn("dbo.Leads", "PDC_VERARB_FLAG");
... |
TravelManager.Api/Startup.cs | himadri-repo/linoce-travel-api | 1 | 7031931 | using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.Authorization;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using System.Reflection;
u... |
Source/Millistream.Streaming/DataCallback.cs | mgnsm/Millistream.NET | 4 | 7031933 | <gh_stars>1-10
namespace Millistream.Streaming
{
/// <summary>
/// Encapsulates a data callback method that will be called when there are any messages to decode.
/// </summary>
/// <typeparam name="TCallbackUserData">The type of the custom user data that will be available to the data callback method.</... |
Vsxmd_Test/Program_Tests.cs | MddMBorg/mdG | 0 | 7031934 | <filename>Vsxmd_Test/Program_Tests.cs
using System;
using System.IO;
using System.Xml.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Vsxmd;
namespace Vsxmd_Test
{
[TestClass]
public class Program_Tests
{
[TestMethod]
public void Main_Test()
{
//string r... |
OpenWeatherMapAPI/Models/Forecast/City.cs | Rudyzio/OpenWeatherMapApi-NET-Core | 0 | 7031935 | using Newtonsoft.Json;
using OpenWeatherMapAPI.Models.Common;
namespace OpenWeatherMapAPI.Models.Forecast
{
public class City
{
/// <summary>
/// City ID
/// </summary>
[JsonProperty("id")]
public long Id { get; set; }
/// <summary>
/// City name
... |
src/core/EmptyRelObj.cs | cell-lang/csharp | 2 | 7031936 | <reponame>cell-lang/csharp
namespace Cell.Runtime {
public sealed class EmptyRelObj : Obj {
public static readonly EmptyRelObj singleton = new EmptyRelObj();
private EmptyRelObj() {
extraData = EmptyRelObjExtraData();
}
//////////////////////////////////////////////////////////////////////////... |
src/AccountGoWeb/Views/Purchasing/Vendors.cshtml | Monaqo/accountgo | 310 | 7031937 | <reponame>Monaqo/accountgo<gh_stars>100-1000
@model string
<div>
<a href="~/purchasing/vendor" class="btn">
<i class="fa fa-plus"></i>
New Vendor
</a>
<a href="~/purchasing/vendor" id="linkViewVendor" class="btn inactiveLink">
<i class="fa fa-edit"></i>
View
</a>
</div>... |
Src/Workspaces/Core/Log/Telemetry.Parameters.cs | jdm7dv/rosyln | 4 | 7031938 | <gh_stars>1-10
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Threading;
using Microsoft.CodeAna... |
Assets/Scripts/Show/LoadTypeXML.cs | Lenovezhou/Screenshow | 0 | 7031939 | <gh_stars>0
using UnityEngine;
using System.Collections;
using System.Xml;
using System.Collections.Generic;
using System;
using System.IO;
public class LoadTypeXML
{
private static LoadTypeXML _instance;
List<typeID> typeList = new List<typeID>();
public static int nowIndex = 0;
public static string L... |
src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPool.Portable.cs | Ali-YousefiTelori/runtime | 0 | 7031940 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace System.Threading
{
//
// Portable implementation of ThreadPool
//
internal sealed partial... |
src/web/Utilities/PlayerInfoController.cs | mickelsonmichael/OsrsTools | 0 | 7031941 | <filename>src/web/Utilities/PlayerInfoController.cs
using Microsoft.AspNetCore.Mvc;
using System;
namespace Web.Utilities
{
public class PlayerInfoController : Controller
{
public void SetOrClearPlayer(string playerName)
{
if (string.IsNullOrWhiteSpace(playerName))
{
... |
src/mParticle.Sdk/Model/GeoLocation.cs | mParticle/mparticle-dotnet-sdk | 3 | 7031942 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using System.Text;
using Newtonsoft.Json;
namespace mParticle.Model
{
/// <summary>
/// GeoLocation
/// </summary>
[DataContract]
public partial class GeoLocation : IEqua... |
src/Cake.MicrosoftTeams/MicrosoftTeamsAliases.cs | devlead/Cake.MicrosoftTeams | 6 | 7031943 | <reponame>devlead/Cake.MicrosoftTeams<gh_stars>1-10
using System;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Cake.Core;
using Cake.Core.Annotations;
// ReSharper disable UnusedMember.Global
// ReSharper disable... |
WaapiCS.Communication/Subscriber.cs | adamtcroft/WaapiCS | 18 | 7031944 | using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using WampSharp.Core.Serialization;
using WampSharp.V2;
using WampSharp.V2.Client;
using WampSharp.V2.Core.Contracts;
using WampSharp.V2.Rpc;
using System.Threading;
using SystemEx;
names... |
GoodGameDeals/Gateways/Stores/IsThereAnyDealStore.cs | drdgvhbh/GameDealsApp | 0 | 7031945 | <gh_stars>0
namespace GoodGameDeals.Gateways.Stores {
using System;
using System.Reactive.Subjects;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using Windows.ApplicationModel.Resources;
using Windows.Storage;
using GoodGameDeals.Data.ApiResp... |
src/Api/Telemetry/Model/Entities/TelemetryTiming.cs | bryceklinker/budget-buddy | 0 | 7031946 | using System;
using System.ComponentModel.DataAnnotations;
using BudgetBuddy.Api.General.Storage;
namespace BudgetBuddy.Api.Telemetry.Model.Entities
{
public class TelemetryTiming : IDocument
{
public Guid Id { get; set; }
public DateTime Timestamp { get; set; }
public string Url { get... |
src/Cloud.Core.Messaging.AzureServiceBus/Models/ServiceBusEntityConfig.cs | rmccabe24/Cloud.Core.Messaging.AzureServiceBus | 0 | 7031947 | <reponame>rmccabe24/Cloud.Core.Messaging.AzureServiceBus
using System.Collections.Generic;
namespace Cloud.Core.Messaging.AzureServiceBus.Models
{
/// <summary>
/// Config for creating an entity such as Queue, Topic or Subscription
/// </summary>
/// <seealso cref="IMessageEntityConfig" />
public ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.