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 |
|---|---|---|---|---|
src/Postal.AspNetCore/TemplateServices/TemplateService.cs | Ttxman/postal.aspnetcore | 0 | 7056811 | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Abstractions;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Microsoft.AspNetCore.Mvc.Razor;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.AspNetCore.Routing;
usin... |
Ola/Extensions/IObject.cs | Oladn/Ola | 0 | 7056812 | <filename>Ola/Extensions/IObject.cs
namespace Ola.Extensions
{
/// <summary>
/// 唯一Id对象接口。
/// </summary>
/// <typeparam name="TKey">Id类型。</typeparam>
public interface IObject<TKey>
{
/// <summary>
/// 获取或设置唯一Id。
/// </summary>
TKey Id { get; set; }
}
//... |
Rabbit.Web/WebModule.cs | doujia/RabbitHub | 65 | 7056813 | using Autofac;
using Rabbit.Web.Impl;
using Rabbit.Web.Routes;
using Rabbit.Web.Works;
namespace Rabbit.Web
{
internal sealed class WebModule : Module
{
#region Overrides of Module
/// <summary>
/// Override to add registrations to the container.
/// </summary>
/// <re... |
src/ProjectEditor/editor/Main/IMainView.cs | jnm2/testcentric-gui | 0 | 7056814 | <filename>src/ProjectEditor/editor/Main/IMainView.cs<gh_stars>0
// ***********************************************************************
// Copyright (c) <NAME> and TestCentric GUI contributors.
// Licensed under the MIT License. See LICENSE.txt in root directory.
// *************************************************... |
cdk/src/Todo/Program.cs | whoiskevinrich/aws-netcoreapi-aurora-cdk | 12 | 7056815 | using Amazon.CDK;
namespace Todo
{
class Program
{
static void Main(string[] args)
{
var app = new App(null);
new TodoInfraStack(app, "TodoInfraStack", new StackProps());
app.Synth();
}
}
}
|
Sources/MyBlog.Engine.Data/Data/Models/PostWithDetails.cs | rpardoahora/MyBlog.netcore | 1 | 7056816 | using System;
using System.Collections.Generic;
namespace MyBlog.Engine.Data.Models
{
public sealed class PostWithDetails: PostDisplayedBase
{
public String Summary { get; set; }
public String Content { get; set; }
public IEnumerable<CommentToDisplay> Comments { get; set; }
... |
src/Taskling/InfrastructureContracts/TaskExecution/TaskExecutionMetaResponse.cs | Vanlightly/Taskling.NET | 70 | 7056817 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Taskling.InfrastructureContracts.TaskExecution
{
public class TaskExecutionMetaResponse
{
public TaskExecutionMetaResponse()
{
Executions = new List<TaskExecutionMetaItem>();
}
... |
src/KeyLogger/MainForm.cs | md-k-sarker/ROWLPluginEvaluation | 0 | 7056818 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.IO;
using System.Net;
using System.Net.Sockets... |
Source/Ultraviolet.Core/Shared/Xml/XElementExtensions.cs | Spool5520/ultraviolet | 558 | 7056819 | using System;
using System.Reflection;
using System.Xml.Linq;
namespace Ultraviolet.Core.Xml
{
/// <summary>
/// Contains extension methods for the <see cref="XElement"/> type which simplify the process of querying
/// an XML element's attributes and values.
/// </summary>
public static class XEle... |
WGP.NET-AZURUI/Label.cs | WildGoat07/WGP.NET-AZURUI | 0 | 7056820 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SFML.Graphics;
using SFML.System;
namespace WGP.AzurUI
{
/// <summary>
/// A plain text widget.
/// </summary>
public class Label : Widget
{
... |
GrEmit/MethodBodyParsing/ILCodeBaker.cs | 564064202/gremit | 0 | 7056821 | //
// Author:
// <NAME> (<EMAIL>)
//
// Copyright (c) 2008 - 2015 <NAME>
// Copyright (c) 2008 - 2011 Novell, Inc.
// Copyright (c) 2016 <NAME>
//
// Licensed under the MIT/X11 license.
//
using System;
namespace GrEmit.MethodBodyParsing
{
internal sealed class ILCodeBaker : ByteBuffer
{
public ILC... |
csharp/src/Apache.Arrow/Memory/DefaultMemoryPool.cs | paulkernfeld/arrow | 1 | 7056822 | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to You under the Apache License, Version 2.0
// (the "License"); you may not... |
WinDesktop/FsDedunderator/ContentGroup/FileReferenceListWrapper.cs | lerwine/FsDedunderator | 0 | 7056823 | <reponame>lerwine/FsDedunderator<filename>WinDesktop/FsDedunderator/ContentGroup/FileReferenceListWrapper.cs<gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading;
namespace FsDedunderator
{
... |
RegPetServer.Data/IRegPetServerData.cs | TishoAngelov/RegPetServer | 0 | 7056824 | <reponame>TishoAngelov/RegPetServer<filename>RegPetServer.Data/IRegPetServerData.cs<gh_stars>0
namespace RegPetServer.Data
{
using System;
using RegPetServer.Data.Repositories;
using RegPetServer.Models;
public interface IRegPetServerData
{
IRepository<Article> Articles { get; }
I... |
PasPasPas.Parsing/src/SyntaxTree/Standard/RecordFieldSymbol.cs | prjm/paspaspas | 0 | 7056825 | <reponame>prjm/paspaspas
#nullable disable
using PasPasPas.Globals.Parsing;
namespace PasPasPas.Parsing.SyntaxTree.Standard {
/// <summary>
/// record field
/// </summary>
public class RecordFieldSymbol : StandardSyntaxTreeBase {
/// <summary>
/// create a new reco... |
WRK-V1.2/fx/src/configuration/system/configuration/factoryid.cs | intj-t/openvmsft | 0 | 7056826 | <filename>WRK-V1.2/fx/src/configuration/system/configuration/factoryid.cs<gh_stars>0
//------------------------------------------------------------------------------
// <copyright file="FactoryId.cs" company="Microsoft">
//
// Copyright (c) 2006 Microsoft Corporation. All rights reserved.
//
// The... |
src/AsimovDeploy.WinAgent/Framework/Models/AsimovVersion.cs | Korla/asimov-deploy-winagent | 4 | 7056827 | /*******************************************************************************
* Copyright (C) 2012 eBay Inc.
*
* 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/li... |
src/Blauhaus.SignalR.Server/Auth/IConnectedUserFactory.cs | BlauhausTechnology/Blauhaus.SignalR | 0 | 7056828 | <reponame>BlauhausTechnology/Blauhaus.SignalR<gh_stars>0
using Blauhaus.Auth.Abstractions.User;
using Blauhaus.Responses;
using Blauhaus.SignalR.Abstractions.Auth;
using Microsoft.AspNetCore.SignalR;
namespace Blauhaus.SignalR.Server.Auth
{
public interface IConnectedUserFactory
{
IConnectedUser Extra... |
FirstFloor.ModernUI/Windows/Media/VisualExtension.Mouse.cs | Ultrawipf/actools | 209 | 7056829 | using System;
using System.Drawing;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Forms;
using System.Windows.Media;
using FirstFloor.ModernUI.Win32;
using JetBrains.Annotations;
using Point = System.Windows.Point;
namespace FirstFloor.ModernUI.Wind... |
JSNLog.TestSite/Views/Home/RequestIdTest.cshtml | mperdeck/jsnlog.Tests | 0 | 7056830 | <gh_stars>0
@using JSNLog
@using System.Web;
@using JSNLog.Tests.Common;
@using System.Text;
@using JSNLog.TestSite.Logic;
<h2>RequestIdTest</h2>
@{
CommonTestHelpers.SetConfigCache(@"<jsnlog></jsnlog>");
}
@Html.Raw(JSNLog.JavascriptLogging.Configure(ViewBag.PassedInRequestId))
@{
... |
ReoGrid/Actions/BaseOutlineAction.cs | feeleen/ReoGrid | 728 | 7056831 | /*****************************************************************************
*
* ReoGrid - Opensource .NET Spreadsheet Control
*
* https://reogrid.net/
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
* KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* IMPLIED W... |
ThriveAPIMediaTool/Thrive API Media Tool/Options.cs | ThriveCommunityChurch/ThriveAPIMediaTool | 0 | 7056832 | using CommandLine;
namespace Thrive_API_Media_Tool
{
public class Options
{
[Option('n', "New", Required = false, HelpText = "Whether or not this is a new series. Cannot be used in conjunction with SeriesId (s).", Default = "false")]
public string IsNew { get; set; }
[Option('s', "Ser... |
ClawLibTests/Dummy/TestReport.cs | UserXXX/Claw | 0 | 7056833 | using Claw.Validation;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClawLibTests.Dummy
{
/// <summary>
/// Test report for storing report information.
/// </summary>
int... |
SharpRepository.Repository/Configuration/RepositoryConfiguration.cs | azraelrabbit/SharpRepository | 516 | 7056834 | <reponame>azraelrabbit/SharpRepository<gh_stars>100-1000
using System;
using System.Collections.Generic;
namespace SharpRepository.Repository.Configuration
{
public class RepositoryConfiguration : IRepositoryConfiguration
{
public RepositoryConfiguration()
{
Attributes = new Dictio... |
Assets/FileWriter.cs | drbombom/writingdatatocsv | 2 | 7056835 | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
public class FileWriter : MonoBehaviour {
public static FileWriter Instance;
public String fileName;
StreamWriter outStream;
public string[] Title;
void Awake ()
{
if(Instance == null){
Instance ... |
src/Adaptive.ReactiveTrader.Client.Domain/Models/Execution/ITrade.cs | gitter-badger/ReactiveTrader | 720 | 7056836 | <reponame>gitter-badger/ReactiveTrader
using System;
namespace Adaptive.ReactiveTrader.Client.Domain.Models.Execution
{
public interface ITrade
{
string CurrencyPair { get; }
Direction Direction { get; }
long Notional { get; }
decimal SpotRate { get; }
TradeStatus Trade... |
Ecliptic 2/Assets/GameAssets/Scripts/Core/Audio/MusicManager.cs | Quinn-Patrick/Ecliptic2 | 0 | 7056837 | <reponame>Quinn-Patrick/Ecliptic2
using System.Collections;
using System.Collections.Generic;
using System;
using UnityEngine;
using UnityEngine.SceneManagement;
using EclipticTwo.Core;
namespace EclipticTwo.Audio
{
public class MusicManager : SoundPlayer
{
[SerializeField] private MusicMapping _mapDat... |
TeduCoreApp/Controllers/UploadFileController.cs | https-github-com-duytan2309-AppCoreWeb/AppCoreWeb | 0 | 7056838 | <reponame>https-github-com-duytan2309-AppCoreWeb/AppCoreWeb
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using M... |
Source/Plugins/EditorModules/CamView/Modules/GridSizeDialog.cs | ilexp/duality | 1,338 | 7056839 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Duality.Editor.Plugins.CamView
{
public partial class GridSizeDialog : Form
{
public Vector3 GridSize
{
get
{
return new Vector... |
Aion.Tests/_TestHelpers/AssemblyInitialize.cs | he-dev/Masterbot | 1 | 7056840 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aion.Tests
{
[TestClass]
public class AssemblyInitialize
{
[AssemblyInitialize]
public static void Init(TestCont... |
src/CV.Model/Attachment.cs | chstorb/CurriculumVitae | 0 | 7056841 | <filename>src/CV.Model/Attachment.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace CV.Model
{
/// <summary>
/// Attachment class.
/// </summary>
... |
Pizzabox/Pizzabox.Storing/Repositories/DataAccess.cs | 03012021-dotnet-uta/BeauCrumley_p0 | 0 | 7056842 | <reponame>03012021-dotnet-uta/BeauCrumley_p0
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Pizzabox.Storing.dbModels;
namespace Pizzabox.Storing.Repositories
{
public static class DataAccessor
{
public static void PersistCustomer(string[] ... |
JiraDashboard/JiraDashboard/Models/Helpers/JiraJsonFetcher.cs | atakankaraca/custom-jira-dashboard | 0 | 7056843 | using RestSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web;
namespace JiraDashboard.Models.Helpers
{
public class JiraJsonFetcher
{
public string GetProjectsJson(IDictionary<string, string> cookies)
{
var client = new Rest... |
Script/UnrealEngine/GeneratedScriptFile/FMarkerSyncAnimPosition.cs | xiongfang/UnrealCS | 126 | 7056844 | <gh_stars>100-1000
using System;
namespace UnrealEngine
{
/// <summary>
/// Represent a current play position in an animation
/// based on sync markers
/// </summary>
public partial struct FMarkerSyncAnimPosition
{
/// <summary>The marker we have passed</summary>
public FName PreviousMarkerName;
/// <summar... |
PSP_EMU/memory/mmio/MMIOHandlerAudio.cs | xXxTheDarkprogramerxXx/PSPSHARP | 4 | 7056845 | using System.Text;
/*
This file is part of pspsharp.
pspsharp is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
pspsharp is distributed in ... |
System.Activities.Core.Presentation/System/Activities/Core/Presentation/GenericTypeArgumentConverter.cs | cnork/referencesource | 911 | 7056846 | <reponame>cnork/referencesource
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace System.Activities.Core.Presentation
{
using System.Windows.Data;
using System.Ru... |
Princeton/PrincetonAlgCSharp/MergeSort/MergeSort.cs | lexnewgate/alg | 0 | 7056847 | using System;
namespace Sort
{
public class MergeSort
{
public static int[] Sort(int[] source)
{
//base case
if (source.Length == 1)
{
return new[] {source[0]};
}
//recursive
int nFirstHalf = source.Lengt... |
Timetabler.PdfExport/LogMessageResources.Designer.cs | caitlinsalt/simple-timetable-editor | 0 | 7056848 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
AdomdWeb/Models/HomeIndexViewModel.cs | dataxbi/adomd-dotnet | 2 | 7056849 | namespace mvc.Models
{
public class HomeIndexViewModel {
public long UnidadesVendidas { get; set; }
public decimal Importe { get; set; }
public decimal Beneficio { get; set; }
}
}
|
src/eIDEAS/eIDEAS/Views/ApplicationUsers/Edit.cshtml | ShawnClake/IdeaManagementTool | 3 | 7056850 | <reponame>ShawnClake/IdeaManagementTool<filename>src/eIDEAS/eIDEAS/Views/ApplicationUsers/Edit.cshtml<gh_stars>1-10
@model eIDEAS.Models.ApplicationUserPresentationViewModel
@using eIDEAS.Models.Enums
@{
ViewData["Title"] = "Edit";
}
<h2>Edit User</h2>
<hr />
<div class="row">
<div class="col-md-4">
... |
client/framework/UnityCsReference-master/Modules/DSPGraph/Public/ScriptBindings/DSPCommandBlock.bindings.cs | HelloWindows/AccountBook- | 1 | 7056851 | // Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
using System;
using UnityEngine.Bindings;
namespace Unity.Audio
{
[NativeHeader("Modules/DSPGraph/Public/DSPSampleProvider.bindings.h")]
[NativeType(Heade... |
src/BEDA.CMB/Contracts/Requests/8/RQ8_2_3.cs | fdstar/BankEnterpriseDirectAttach | 38 | 7056852 | <filename>src/BEDA.CMB/Contracts/Requests/8/RQ8_2_3.cs
using BEDA.CMB.Contracts.Responses;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace BEDA.CMB.Contracts.Requests
{
/// <summary>
/// 8.2.3.智能现金池定额... |
Bill.Management.Windows.Manager/ViewModels/Data/IInvoiceViewModel.cs | Marina1824/levelup_160321 | 0 | 7056853 | <reponame>Marina1824/levelup_160321
using System.ComponentModel;
using BillManagement.Imlementations.Data;
namespace Bill.Management.Windows.Manager.ViewModels.Data
{
public interface IInvoiceViewModel : INotifyPropertyChanged
{
string ShopName { get; set; }
Invoice Model { get; }
}
} |
GameSoftware_ex1/Assets/Scripts/CapsuleScript.cs | JeongJunKwon/Unity | 0 | 7056854 | <reponame>JeongJunKwon/Unity
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CapsuleScript : MonoBehaviour {
// Use this for initialization
void Start () {
Debug.Log("Hello, Capsule");
}
// Update is called once per frame
void Update () {
if(Input.GetKeyDown(K... |
Source/Communication/Asynchronous/Core/Internal/StatusName.cs | krzysztofdudek/hex | 0 | 7056855 | <reponame>krzysztofdudek/hex
namespace GS.Hex.Communication.Asynchronous.Core.Internal
{
/// <summary>
/// The message status name.
/// </summary>
public enum StatusName
{
Failed = -1,
Scheduled,
Succeeded
}
}
|
AndroidXml/Res/ResXMLTree_namespaceExt.cs | MizardX/AndroidXmlDotNet | 0 | 7056856 | <filename>AndroidXml/Res/ResXMLTree_namespaceExt.cs
using System;
namespace AndroidXml.Res
{
[Serializable]
public class ResXMLTree_namespaceExt
{
public ResStringPool_ref Prefix { get; set; }
public ResStringPool_ref Uri { get; set; }
}
} |
BlazingPizza/BlazingPizza/Server/Data/DbInitializer.cs | mikemarango/blazor-workshop-3.0 | 0 | 7056857 | <filename>BlazingPizza/BlazingPizza/Server/Data/DbInitializer.cs
using BlazingPizza.Shared;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlazingPizza.Server.Data
{
public static class DbInitializer
{
public static void Initialize(PizzaConte... |
ActionNote.Common/Models/UnsyncedItem.cs | b3nk4n/action-note-app | 1 | 7056858 | using System.Runtime.Serialization;
using UWPCore.Framework.Data;
namespace ActionNote.Common.Models
{
public enum UnsyncedType
{
FileUpload,
//FileDownload --> done by iterating over all note items
}
[DataContract]
public class UnsyncedItem : IRepositoryItem<string>
{
... |
src/Orc.NuGetExplorer.Example/Services/Interfaces/IEchoService.cs | Orcomp/Orc.NuGetExplorer | 17 | 7056859 | <reponame>Orcomp/Orc.NuGetExplorer
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IEchoService.cs" company="WildGums">
// Copyright (c) 2008 - 2015 WildGums. All rights reserved.
// </copyright>
// --------------------------... |
src/MusicStore.Spa/SiteSettings.cs | lun3322/MusicStore | 556 | 7056860 | using System;
namespace MusicStore.Spa
{
public class SiteSettings
{
public string DefaultAdminUsername { get; set; }
public string DefaultAdminPassword { get; set; }
}
} |
ThirdDigitIs7/ThirdDigit.cs | dimanov/Operators-and-Expressions | 0 | 7056861 | <gh_stars>0
/*
* Problem 5. Third Digit is 7?
* Write an expression that checks for given integer if its third digit from right-to-left is 7 .
*/
using System;
class ThirdDigit
{
static void Main()
{
Console.Write("Please enter an integer number: ");
int number = int.Parse(Console.ReadLin... |
NWDEngine/NWDDataType/NWDDateTime/NWDTimeUtcType.cs | NetWorkedData/NetWorkedData | 0 | 7056862 | //=====================================================================================================================
//
// ideMobi 2020©
//
//=====================================================================================================================
// Define the use of Log and Benchmark only for this fil... |
src/Classes/Adoptium/AdoptiumInstallationsDiscoverer.cs | tushev/aojdk-updatewatcher | 95 | 7056863 | using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AJ_UpdateWatcher
{
public class DiscoveredInstallation
{
public string Path;
public string Version;
public string JVM_Implementation;
... |
src/Components/test/testassets/BasicTestApp/FormsTest/TypicalValidationComponent.cshtml | wegylexy/AspNetCore | 1 | 7056864 | <gh_stars>1-10
@using System.ComponentModel.DataAnnotations
@using Microsoft.AspNetCore.Components.Forms
<EditForm Model="@person" OnValidSubmit="@HandleValidSubmit">
<DataAnnotationsValidator />
<p class="name">
Name: <InputText bind-Value="@person.Name" />
</p>
<p class="email">
Emai... |
Tests/Tests.cs | NickStrupat/CacheLineSize.NET | 14 | 7056865 | using NickStrupat;
using Xunit;
namespace CacheLineSize.NET
{
public class Tests
{
[Fact]
public void Test() => Assert.NotEqual(0, CacheLine.Size);
}
}
|
src/MatrixDotNet/Exceptions/MatrixNotSymmetricException.cs | toor1245/MatrixDotNet | 6 | 7056866 | using System;
namespace MatrixDotNet.Exceptions
{
public class MatrixNotSymmetricException : MatrixDotNetException
{
/// <summary>
/// Throws when matrix is not symmetric.
/// </summary>
public MatrixNotSymmetricException()
: base("Matrix is not symmetric")
{... |
Practical_programming/Exercises/func/C)/main.cs | ViktorHaldborg/PPNM | 0 | 7056867 | using System;
using static System.Console;
using static System.Math;
class main{
static double inf = System.Double.PositiveInfinity;
static double minf = System.Double.NegativeInfinity;
static double normkvadrat(double a){
Func<double,double> normkvadrat = (x) => Exp(-(a*Pow(x,2)));
return quad.o8av(normkvadrat,m... |
src/SqlToGraphite/Conf/RoleConfig.cs | perryofpeek/SqlToGraphite-core | 3 | 7056868 | <reponame>perryofpeek/SqlToGraphite-core
using System.Collections.Generic;
using System.Linq;
using SqlToGraphite.Config;
namespace SqlToGraphite.Conf
{
public class RoleConfig : IRoleConfig
{
private List<Host> sqlToGraphiteConfigHosts;
private readonly string hostname;
... |
Assets/Scripts/ParticlesController.cs | anokta/ggj17 | 0 | 7056869 | <reponame>anokta/ggj17<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ParticlesController : MonoBehaviour {
public ParticleSystem particles;
void Update () {
if (!particles.IsAlive()) {
GameObject.Destroy(gameObject);
}
}
}
|
Dumps/PrimitierDumpV1.0.1/UniJSON/DateTimeOffsetExtensions.cs | TotalJTM/PrimitierModdingFramework | 2 | 7056870 | /*
* Generated code file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty
*/
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
// Image 37: UniGLTF.dll - Assembly: UniGLTF, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null - Types 5565-5923
namespace UniJSON
... |
Myrtille.Web/src/RemoteSession.cs | uQr/myrtille | 1 | 7056871 | /*
Myrtille: A native HTML4/5 Remote Desktop Protocol client.
Copyright(c) 2014-2016 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.... |
FluentDataflow/IDataflowFactory.cs | teddymacn/FluentDataflow | 13 | 7056872 | using System;
using System.Collections.Generic;
using System.Threading.Tasks.Dataflow;
namespace FluentDataflow
{
/// <summary>
/// Represents a dataflow factory.
/// </summary>
public interface IDataflowFactory
{
/// <summary>
/// Creates a dataflow builder from a source block.
... |
Source/AllModdingComponents/CompOversizedWeapon/HarmonyCompOversizedWeapon.cs | alycecil/JecsTools | 0 | 7056873 | using System;
using System.Data.Common;
using System.Linq;
using System.Security.Cryptography;
using Harmony;
using RimWorld;
using UnityEngine;
using Verse;
namespace CompOversizedWeapon
{
[StaticConstructorOnStartup]
internal static class HarmonyCompOversizedWeapon
{
static HarmonyCompOversizedW... |
FNA/src/Input/GamePadType.cs | elisee/NuclearWinter | 0 | 7056874 | #region License
/* FNA - XNA4 Reimplementation for Desktop Platforms
* Copyright 2009-2015 <NAME> and the MonoGame Team
*
* Released under the Microsoft Public License.
* See LICENSE for details.
*/
#endregion
namespace Microsoft.Xna.Framework.Input
{
public enum GamePadType
{
Unknown = 0,
Arc... |
EmergencyEgress/dependencies/ThickenedPolyline.g.cs | nadiia-volyk/BuildingBlocks | 0 | 7056875 | <filename>EmergencyEgress/dependencies/ThickenedPolyline.g.cs
//----------------------
// <auto-generated>
// Generated using the NJsonSchema v10.1.21.0 (Newtonsoft.Json v12.0.0.0) (http://NJsonSchema.org)
// </auto-generated>
//----------------------
using Elements;
using Elements.GeoJSON;
using Elements.Geometry;... |
VcmSuite3x_api.Core/Extension/General.cs | CristovaoTorres/WebApiNetCore_GenericRepositoryPattnerJwt | 0 | 7056876 | using System;
using System.Collections.Generic;
using System.Text;
namespace VcmSuite3x_api.Core.Extension
{
public static class GeneralExtension
{
/// <summary>
///Converte valor considerando-se os fatores de conversão de entrada e saída para valores compostos.
/// </summary>
... |
test/FlexLabs.EntityFrameworkCore.Upsert.IntegrationTests/DbTests_Postgres.cs | am-creations/FlexLabs.Upsert | 0 | 7056877 | <filename>test/FlexLabs.EntityFrameworkCore.Upsert.IntegrationTests/DbTests_Postgres.cs<gh_stars>0
using System.Linq;
using FlexLabs.EntityFrameworkCore.Upsert.IntegrationTests.Base;
using FlexLabs.EntityFrameworkCore.Upsert.Tests.EF;
using FluentAssertions;
using Microsoft.EntityFrameworkCore;
using Xunit;
using Xuni... |
FileSorter/FilePreview/FilePreview.cs | SebastianBecker2/FileSorter | 0 | 7056878 | <filename>FileSorter/FilePreview/FilePreview.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Threading;
using System.IO;
using System.Dia... |
Metadata/FpML.V5r3/FpML.V5r3.Helpers/XmlComparison.cs | mmrath/Highlander.Net | 0 | 7056879 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Xml;
using System.Globalization;
namespace FpML.V5r3.Helpers
{
public class XmlDefaultAttribute
{
public string Prefix = "";
public string LocalName;
public string Value;
}
public ... |
Day17/Task2.cs | max-ieremenko/AdventOfCode2019 | 0 | 7056880 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
namespace Day17
{
internal static class Task2
{
public static int Solve(IEnumerable<string> input)
{
var memory = input
.First()
.Split(... |
JAG.Learnster.APIClient/Converters/CustomizableJsonStringEnumConverter.cs | brukarkooperativet-jag/learnster-api-client | 0 | 7056881 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace JAG.Learnster.APIClient.Converters
{
// TODO: [REFACTORING] Use default JsonStringEnumConverter after ... |
Gem.Infrastructure/Logging/ActionAppender.cs | gmich/Gem | 27 | 7056882 | using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Text.RegularExpressions;
namespace Gem.Infrastructure.Logging
{
/// <summary>
/// Appends strings using an Action<string> delegate.
/// FormatTemplate options:
/// %Verbosity - The output verbosity
/... |
Umbraco.CodeGen/Generators/GenerateOnly/InterfaceGenerator.cs | lars-erik/Umbraco.CodeGen | 9 | 7056883 | using System;
using System.CodeDom;
using Umbraco.CodeGen.Configuration;
using Umbraco.CodeGen.Definitions;
namespace Umbraco.CodeGen.Generators.GenerateOnly
{
public class InterfaceGenerator : CompositeCodeGenerator
{
public InterfaceGenerator(ContentTypeConfiguration config, params CodeGeneratorBase... |
01.ProgrammingBasicsC#/03.ComplexConditions/06.PointOnRectangleBorder/PointOnRectangleBorder.cs | V-Uzunov/Soft-Uni-Education | 3 | 7056884 | using System;
class PointOnRectangleBorder
{
static void Main()
{
var x1 = double.Parse(Console.ReadLine());
var y1 = double.Parse(Console.ReadLine());
var x2 = double.Parse(Console.ReadLine());
var y2 = double.Parse(Console.ReadLine());
var x = double.Parse(Console.Rea... |
DiscUtils.Ntfs/LzWindowDictionary.cs | Ciastex/DiscUtils-vddcore | 0 | 7056886 | <filename>DiscUtils.Ntfs/LzWindowDictionary.cs<gh_stars>0
using System;
using System.Collections.Generic;
namespace DiscUtils.Ntfs
{
internal sealed class LzWindowDictionary
{
/// <summary>
/// Index of locations of each possible byte value within the compression window.
/// </summary>... |
Akavache/ConcurrentDictionary.cs | noamkfir/Akavache | 1 | 7056887 | <filename>Akavache/ConcurrentDictionary.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace System.Collections.Concurrent
{
public class LockedDictionary<TKey, TVal> : IDictionary<TKey, TVal>
{
Dictionary<TKey, TVal> _inner = new Dictionary<TKey, TVal>();
public Loc... |
ID3/Source/Frame Implementations/Writers/UniqueFileIdentifierFrameWriter.cs | sahands/a-id3 | 7 | 7056888 | <filename>ID3/Source/Frame Implementations/Writers/UniqueFileIdentifierFrameWriter.cs
using System;
using System.Collections.Generic;
using System.Text;
using Achamenes.ID3.Fields;
namespace Achamenes.ID3.Frames.Writers
{
class UniqueFileIdentifierFrameWriter
: Writers.FrameWriter
{
public UniqueFileIdentifierFr... |
osu.Game/Screens/OnlinePlay/Playlists/PlaylistsLoungeSubScreen.cs | ackhack/osu | 27 | 7056889 | // Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Online.Rooms;
using osu.Game.Screens.OnlinePlay.Lounge;
using osu.Game.Screens.OnlinePlay.Lounge.Components;
using osu.Game.Screens.OnlinePlay.Match;
namespa... |
src/Core/Models/RepositoryUpdateHistory.cs | LykkeBusinessPlatform/lykke.service.settings | 0 | 7056890 | <gh_stars>0
using System;
using Core.Entities;
namespace Core.Models
{
public class RepositoryUpdateHistory : IRepositoryUpdateHistory
{
public string RepositoryId { get; set; }
public string InitialCommit { get; set; }
public string User { get; set; }
public string Branch {... |
samples/Caliburn.Micro.HelloWinRT81/Caliburn.Micro.HelloWinRT81/Results/DelayResult.cs | ckjohn88/CaliburnMicroCopy | 3 | 7056891 | using System;
using System.Threading.Tasks;
namespace Caliburn.Micro.WinRT.Sample.Results
{
public class DelayResult : ResultBase
{
private readonly int _milliseconds;
public DelayResult(int milliseconds)
{
_milliseconds = milliseconds;
}
public override a... |
src/Services.Web.Api/Startup.Api.cs | gustavocgsoares/easycommerce | 0 | 7056892 | <filename>src/Services.Web.Api/Startup.Api.cs
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;
namespace Easy.Commerce.Services.Web.Api
{
/... |
06.WeekSix/Delegates/Aggregates/Program.cs | mdyakov/HackBulgaria | 0 | 7056893 | <reponame>mdyakov/HackBulgaria
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aggregates
{
public delegate T AggregationDelegate<T>(T aggregate, T number);
class Program
{
public static T AggregateCollection<T>(List<T... |
FavourAPI.Data/Migrations/20200316145429_period_upgrade.cs | indeavr/favour-api | 0 | 7056894 | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace FavourAPI.Data.Migrations
{
public partial class period_upgrade : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<TimeSpan>(
name: "Start... |
Unity/Assets/Scripts/controllers/UpdatePlayState.cs | raulaltosaar/a-very-real-looper | 6 | 7056895 | <reponame>raulaltosaar/a-very-real-looper
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UpdatePlayState : MonoBehaviour {
// access Vive controllers
SteamVR_TrackedObject trackedObject;
SteamVR_Controller.Device device;
// create delegate to track when c... |
source/ChromeDevTools/Protocol/iOS/LayerTree/LayersForNodeCommandResponse.cs | vadik007/ChromeDevTools | 0 | 7056896 | <gh_stars>0
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.iOS.LayerTree
{
/// <summary>
/// Returns the layer tree structure of the current page.
/// </summary>
[CommandResponse(ProtocolName.LayerTree.LayersForNode)]
[Support... |
PackageLicenses.Sample/Program.cs | denpadokei/package-licenses | 15 | 7056897 | <reponame>denpadokei/package-licenses<gh_stars>10-100
using ClosedXML.Excel;
using NuGet.Common;
using NuGet.Protocol;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PackageLicenses.Sample
{
class Logger : ILogger
... |
Test/Services/ICalculationService.cs | BlackEric001/Test | 0 | 7056898 | using Infrastucture.DTO.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Test.Services
{
public interface ICalculationService
{
Task<int> Calculate(InputModel inputModel);
}
}
|
src/BlazorStrap/Enums/Placement.cs | ScriptBox99/BlazorStrap | 1 | 7056899 | namespace BlazorStrap
{
public enum Placement
{
Top,
TopStart,
TopEnd,
Right,
RightStart,
RightEnd,
Bottom,
BottomStart,
BottomEnd,
Left,
LeftStart,
LeftEnd
}
}
|
create-first-app/v11/5-order-results/OrderResults/Models/HocrDocument/Root.cs | sagar2503/azure-search-dotnet-samples | 0 | 7056900 | using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace OrderResults.Models.HocrDocument
{
public class Root
{
[JsonPropertyName("@odata.context")]
public string OdataContext { get; set; }
[JsonPropertyName("@odata.count")]
public int OdataCount { get;... |
Assets/Plugins/Easy Save 3/Scripts/Readers/ES3BinaryReader.cs | Hir-o/Settlers-of-Albion-Project-Files | 0 | 7056901 | <reponame>Hir-o/Settlers-of-Albion-Project-Files
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
using System.Text;
using System;
using ES3Types;
using System.Globalization;
namespace ES3Internal
{
/*
* Specific ES3Reader for reading Binary data.
*
*/
public c... |
Src/Rosalia.Core/Logging/ILogRenderer.cs | guryanovev/Rosalia | 1 | 7056902 | namespace Rosalia.Core.Logging
{
using System;
public interface ILogRenderer : IDisposable
{
void Init();
void Render(Message message, Identities source);
}
} |
src/LambdaSharp/ApiGateway/Internal/ApiGatewayInvocationTargetDirectory.cs | spencerkittleson/LambdaSharpTool | 0 | 7056903 | <reponame>spencerkittleson/LambdaSharpTool<gh_stars>0
/*
* LambdaSharp (λ#)
* Copyright (C) 2018-2019
* lambdasharp.net
*
* 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:... |
FFRK-LabMem/Services/ConsoleTasks.cs | HughJeffner/FFRK-LabMem | 14 | 7056904 | using System;
using System.Runtime.InteropServices;
namespace FFRK_LabMem.Services
{
class ConsoleTasks
{
const uint ENABLE_QUICK_EDIT = 0x0040;
const uint ENABLE_MOUSE_INPUT = 0x0010;
const uint ENABLE_PROCESSED_INPUT = 0x0001;
// STD_INPUT_HANDLE (DWORD): -10 is the standard... |
Xero.Api.Example.Mocks/ContactManagerAndTests/ContactManager.cs | prajapatichintan/Xero-Net-With-oAuth2.0-Support | 2 | 7056905 | using System.Collections.Generic;
using System.Linq;
using Xero.Api.Core.Model;
namespace Xero.Api.Example.Mocks.ContactManagerAndTests
{
public class ContactManager
{
// This is an example of an Address manager. It processes contacts returning contacts on differenet filters.
private readonly... |
Web/Services/ISoapService.cs | Inflectra/library-information-system | 0 | 7056906 | <filename>Web/Services/ISoapService.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Inflectra.SampleApplications.LibraryInformationSystem.Web.Services.Wsdl.Documentation;
using Inflectra.SampleAppli... |
src/Dnn.vNext/Data/Module.cs | CBPSC/Dnn.vNext | 1 | 7056907 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Dnn.vNext.Data
{
public class Module
{
public int Id { get; set; }
public int PageId { get; set; }
public string ElementId { get; set; }
public string Path { get; set; }
... |
2017-09-28-recochoku-renamer/VainZero.Sandbox.Cli/Program.cs | vain0/playground | 0 | 7056908 | <filename>2017-09-28-recochoku-renamer/VainZero.Sandbox.Cli/Program.cs<gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Mail;
using Sy... |
src/Authentication/ISignInFactory.cs | galamai/Authentication | 1 | 7056909 | using System;
using System.Collections.Generic;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
namespace Authentication
{
public interface ISignInFactory
{
Task<ISignIn> CreateAsync(ClaimsPrincipal claimsPrincipal);
}
}
|
MyAss.Compiler.AST/IASTVisitableNode.cs | FcrNah/gpss-myass | 1 | 7056910 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyAss.Compiler.AST
{
public interface IASTVisitableNode
{
T Accept<T>(IASTVisitor<T> visitor);
}
}
|
Tests/ReflectionTestCases/GetInheritedAttributesFromMethods.cs | SMazu/JSIL | 980 | 7056911 | <reponame>SMazu/JSIL<filename>Tests/ReflectionTestCases/GetInheritedAttributesFromMethods.cs
using System;
using System.Reflection;
public static class Program
{
public static void Main(string[] args)
{
WriteInfo(typeof(Derived2).GetMethod("Method1"));
WriteInfo(typeof(Derived2).GetMethod("Meth... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.