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 |
|---|---|---|---|---|
Packager/Utilities/Configuration/ConfigurationLogger.cs | BrianMcGough/IUMediaHelperApps | 5 | 7038655 | <filename>Packager/Utilities/Configuration/ConfigurationLogger.cs<gh_stars>1-10
using System.Threading.Tasks;
using Packager.Extensions;
using Packager.Models.SettingsModels;
using Packager.Observers;
using Packager.Utilities.FileSystem;
using Packager.Utilities.ProcessRunners;
namespace Packager.Utilities.Configurat... |
Models/RegistrationModel.cs | deleriumbg/DynamicsScheduledTask | 0 | 7038656 | <reponame>deleriumbg/DynamicsScheduledTask
using System.Reflection;
using log4net;
using RegistrationScheduledTasks.Models.Interfaces;
namespace RegistrationScheduledTasks.Models
{
// Table of registration updated successfully with the following data: Account name, Registration name, Case name
public class Re... |
Kurento.NET/ComplexTypes/IceCandidatePair.cs | oBears/Kurento.NET | 7 | 7038657 | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Kurento.NET
{
public class IceCandidatePair
{
public string streamID;
public int componentID;
public string localCa... |
Splago/Assets/_Scripts/Game/CanvasScreenChange.cs | usernameHed/Splago | 0 | 7038658 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CanvasScreenChange : MonoBehaviour
{
private ScreenOrientation screenOrientation;
private Vector2 resolution; // Current Resolution
private void OnRectTransformDimensionsChange()
{
// Check for an Orie... |
unity3d physics n IK n Voxels v3 - the non-tomato/sccsvr/Assets/assets2d/scripts/polygon2d.cs | ninekorn/sccsvrunity | 1 | 7038659 | <filename>unity3d physics n IK n Voxels v3 - the non-tomato/sccsvr/Assets/assets2d/scripts/polygon2d.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[ExecuteInEditMode]
[RequireComponent(typeof(MeshFilter), typeof(MeshRenderer))]
public class polygon2d : MonoBehaviour
{
public f... |
src/SerilogWrapper/SerilogLogger.cs | AddinX/AddinX.Logging | 0 | 7038660 | using System;
using System.IO;
using System.Runtime.CompilerServices;
using Serilog;
using Serilog.Events;
namespace AddinX.Logging
{
/// <summary>
/// This Serilog wrapper implements the <see cref = "ILogger" /> interface
/// </summary>
public class SerilogLogger : ILogger
{
private reado... |
Assets/Eco1/Scripts/Simulation/EntityPrefab.cs | ryuuguu/ECS-Ecosystem | 3 | 7038661 | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using Unity.Entities;
using UnityEngine;
[GenerateAuthoringComponent]
public struct EntityPrefab : IComponentData {
public Entity prefab;
}
|
TSQL_Parser/TSQL_Parser/Clauses/Parsers/TSQLOrderByClauseParser.cs | lemish/tsql-parser | 0 | 7038662 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TSQL.Statements;
using TSQL.Tokens;
namespace TSQL.Clauses.Parsers
{
internal class TSQLOrderByClauseParser
{
public TSQLOrderByClause Parse(ITSQLTokenizer tokenizer)
{
TSQLOrderByClause orderBy = new TS... |
src/Framework/TestSamples/WrappingTests.cs | KinectBerlinMeetup/KinectTestFramework | 2 | 7038663 | <reponame>KinectBerlinMeetup/KinectTestFramework
using System;
using System.IO;
using Framework;
using NUnit.Framework;
namespace TestSamples
{
public class WrappingTests
{
private readonly string _filepath = @"D:\Repositories\KinectTestFramework\Files\TestFile_allStreams.xef";
/// <summary>... |
src/Microsoft.Performance.SDK.Runtime/Extensibility/DataExtensions/DataCookers/ICompositeDataCookerReference.cs | DanPear/microsoft-performance-toolkit-sdk | 44 | 7038665 | <reponame>DanPear/microsoft-performance-toolkit-sdk
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Microsoft.Performance.SDK.Runtime.Extensibility.DataExtensions.DataCookers
{
/// <summary>
/// A wrapper around a type that is a composite data cooker.
/// </summary>... |
TestImgOrg.cs | Burkhardt/ImgOrg.Test | 0 | 7038666 | using System;
using OperatingSystemCore;
using Xunit;
using System.IO;
using Image.Base;
using Persist;
using System.Linq;
using System.Collections.Generic;
namespace ImgOrg.Tests
{
#region TODO: get all the OsLib tests and insert them here
#endregion
public class RaiFileTest
{
... |
Programming Fundamentals/2.1 Data Types and Methods Lab/04. Elevator/Elevator.cs | Kalo7o/Softuni | 2 | 7038667 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _04.Elevator
{
class Elevator
{
static void Main(string[] args)
{
int countOfPeople = int.Parse(Console.ReadLine());
int capacity = int.Parse(Co... |
DirectN/DirectN/Generated/D3D12DDI_RENDER_PASS_ENDING_ACCESS_RESOLVE_SUBRESOURCE_PARAMETERS.cs | Steph55/DirectN | 124 | 7038668 | <reponame>Steph55/DirectN<filename>DirectN/DirectN/Generated/D3D12DDI_RENDER_PASS_ENDING_ACCESS_RESOLVE_SUBRESOURCE_PARAMETERS.cs
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\d3d12umddi.h(13975,9)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(Layo... |
src/Scriptable/Streams/ProcessStreamReader.cs | jessenich/Scriptable | 1 | 7038669 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Scriptable.Utilities;
namespace Scriptable.Streams {
/// <summary>
/// An implementation of <see cref="TextReader"/> with additional methods to cont... |
src/LambdaSharp.Tool/AnsiTerminal.cs | spencerkittleson/LambdaSharpTool | 0 | 7038670 | <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://www.apache.org/licenses/LICENSE-2.0
*
*... |
Readinizer.Backend.Domain/ModelsJson/RegistrySettingJson.cs | CompassSecurity/Readinizer | 11 | 7038671 | <filename>Readinizer.Backend.Domain/ModelsJson/RegistrySettingJson.cs
using Newtonsoft.Json;
using Readinizer.Backend.Domain.Models;
using Readinizer.Backend.Domain.ModelsJson.HelperClasses;
namespace Readinizer.Backend.Domain.ModelsJson
{
public class RegistrySettingJson
{
public RegistrySettingJson(... |
tests/Dfc.CourseDirectory.WebV2.Tests/FeatureTests/NewApprenticeshipProvider/HidePassedNotificationTests.cs | SkillsFundingAgency/dfc-coursedirectory | 4 | 7038672 | <reponame>SkillsFundingAgency/dfc-coursedirectory
using System;
using System.Net;
using System.Threading.Tasks;
using Dfc.CourseDirectory.Core.DataStore.Sql.Queries;
using Dfc.CourseDirectory.Core.Models;
using Xunit;
namespace Dfc.CourseDirectory.WebV2.Tests.FeatureTests.NewApprenticeshipProvider
{
public class ... |
enesatac_site/Areas/Ens/Views/Category/NewCategory.cshtml | enesatacdev/Blog | 1 | 7038673 | @model enesatac_site.Models.Categorys
@{
ViewBag.Title = "Yeni Kategori";
Layout = "~/Areas/Ens/Views/Shared/_Layout.cshtml";
}
<div class="page-wrapper">
<div class="page-content-wrapper">
<div class="page-content">
<div class="page-breadcrumb d-none d-md-flex align-items-center m... |
XamarinSDK/SDKBrowser/SDKBrowser/Examples/MapControl/SelectionCategory/ProgrammaticSelectionExample/ProgrammaticSelection.xaml.cs | telerik/xamarin-forms-sdk | 34 | 7038674 | using System;
using Telerik.XamarinForms.Map;
using Telerik.XamarinForms.ShapefileReader;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.MapControl.SelectionCategory.ProgrammaticSelectionExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class Programmatic... |
Source/LightNode2/Server/IgnoreOperationAttribute.cs | neuecc/LightNode | 160 | 7038675 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LightNode.Server
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false)]
public sealed class IgnoreOperationAttribute : Attribute
{
}
}
|
src/Templates.cs | AndyFitzpatrick/Sitecore.FakeDb.RainbowSerialization | 0 | 7038676 | <reponame>AndyFitzpatrick/Sitecore.FakeDb.RainbowSerialization
using Sitecore.Data;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Sitecore.FakeDb.RainbowDeserializer
{
public static class Templates
{
public static List<DbTemplate> Get(List<DbItem> items)
{
... |
LeptonicaSharp/Functions/dnahash.cs | VLunev/LeptonicaSharp | 0 | 7038677 | using System;
using System.IO;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace LeptonicaSharp
{
public partial class _All
{
// dnahash.c (122, 1)
// l_dnaHashCreate(nbuckets, initsize) as L_DnaHash
// l_dnaHashCreate(l_int32, l_int32) as L_DNAHASH *
/// <summary>
/// (1... |
Kata/CustomTypes/InProgress/RecyclingFactory/GlassBase.cs | contino/dotnet-training-course | 0 | 7038678 | using System;
using System.Collections.Generic;
using System.Text;
namespace Kata.CustomTypes.RecyclingFactory
{
public class GlassBase : MaterialBase
{
public GlassBase()
{
}
public GlassBase(string name) : base(name)
{
}
}
}
|
com.unity.rendering.hybrid@0.11.0-preview.42/Unity.Rendering.Hybrid/Occlusion/OcclusionTransformJob.cs | czy123/CFrameWork | 0 | 7038679 | #if ENABLE_UNITY_OCCLUSION && ENABLE_HYBRID_RENDERER_V2 && UNITY_2020_2_OR_NEWER && (HDRP_9_0_0_OR_NEWER || URP_9_0_0_OR_NEWER)
using Unity.Burst;
using Unity.Mathematics;
using Unity.Collections;
using Unity.Collections.LowLevel.Unsafe;
using Unity.Entities;
using UnityEngine.Rendering;
using Unity.Transforms;
using ... |
ExtSource/ExtSource PI Commands/CPI_ExtSourceMemory.cs | shashanktiwary/lab-bot | 1 | 7038680 | //==========================================================================
// CPI_ExtSourceMemory.cs
//==========================================================================
namespace AwgTestFramework
{
public partial class CPiExtSourceCmds
{
#region MMEMory:IMPort
/// <summary>
... |
alura/curso_entity_framework_core/CursoEntityFrameworkCore.ConsoleApp/IProdutoRepository.cs | flaviogf/Cursos | 2 | 7038681 | <filename>alura/curso_entity_framework_core/CursoEntityFrameworkCore.ConsoleApp/IProdutoRepository.cs<gh_stars>1-10
using System.Collections.Generic;
namespace CursoEntityFrameworkCore.ConsoleApp
{
public interface IProdutoRepository
{
void Adiciona(Produto produto);
IEnumerable<Produto> Lista(... |
src/IconEntry.FormsPlugin.Abstractions/IconEntry.cs | Li-Yanzhi/IconEntry | 30 | 7038682 | <reponame>Li-Yanzhi/IconEntry
using Xamarin.Forms;
namespace IconEntry.FormsPlugin.Abstractions
{
/// <summary>
/// IconEntry Interface
/// </summary>
public class IconEntry : Entry
{
/// <summary>
/// The font property
/// </summary>
public static readonly Binda... |
AndroidID/Helpers/FileHelper.cs | TomasBouda/Idnator | 0 | 7038683 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Idnator.Helpers
{
public static class FileHelper
{
public const string EXTENSIONS = "*.axml|*.xml";
public static void BeautifyFile(string path)
... |
Scripts part2/performance/DeactiveAfter.cs | benanil/Bukra_Game | 0 | 7038684 |
using UnityEngine;
using AnilTools;
public class DeactiveAfter : MonoBehaviour
{
private void Start()
{
this.Delay(1.2f, () => gameObject.SetActive(false));
}
}
|
Busca/Grafo/GrafoNaoDirigido.cs | ThiagoBottacin/BandTec_semestre5 | 0 | 7038685 | using System;
using System.Collections.Generic;
using System.Text;
namespace Busca.Grafo {
public class GrafoNaoDirigido : Grafo {
public override void CriarAresta(int i, int j) {
Vertice vi = Vertices[i];
Vertice vj = Vertices[j];
new ArestaNaoDirigida(vi, vj);
}
public override void CriarAresta(int... |
src/libraries/Sparcpoint.Media/src/Drives/IDiscDriveAccess.cs | Jcouls29/Sparcpoint.Media | 0 | 7038686 | <reponame>Jcouls29/Sparcpoint.Media
using System.Threading;
using System.Threading.Tasks;
namespace Sparcpoint.Media
{
public interface IDiscDriveAccess
{
Task WaitForDiscDriveAsync(string driveName, CancellationToken cancelToken = default);
void EjectDisc(string driveName);
}
}
|
test/EFCore.PG.FunctionalTests/MigrationsNpgsqlTest.cs | plamen-i/efcore.pg | 0 | 7038687 | using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Internal;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkC... |
Assets/Scripts/Buildings/BuildingFloor.cs | astrellon/cbt | 0 | 7038688 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class BuildingFloor
{
public GameMap Map;
public List<Vector2Int> Positions = new List<Vector2Int>();
public List<WallEdge> WallEdges = new List<WallEdge>();
public float FloorHeight;
public float Height = 10.0f;... |
ExamInvigilatorProject/ExamInvigilatorProject/ILearnerService.cs | WelpNathan/Highfield | 1 | 7038689 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ExamInvigilatorProject
{
public interface ILearnerService
{
List<Learner> GetAll();
}
public class LearnerService : ILearnerService
{
List<Guid> ids = new List<Guid>();
... |
T7Suite/frmTransferDataWizard.Designer.cs | roffe/TuningSuites | 29 | 7038690 | namespace T7
{
partial class frmTransferDataWizard
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <... |
Oxide.Ext.Discord/Entities/Channels/Threads/ThreadArchivedLookup.cs | Kirollos/Oxide.Ext.Discord | 3 | 7038692 | using System;
using System.Text;
using Newtonsoft.Json;
using Oxide.Ext.Discord.Builders;
namespace Oxide.Ext.Discord.Entities.Channels.Threads
{
/// <summary>
/// Represents a <a href="https://discord.com/developers/docs/resources/channel#list-public-archived-threads-query-string-params">Thread Archive Lookup... |
Source/DinkPDN.Plotting/X3D/Vertice.cs | DataDink/DinkPDN | 9 | 7038694 | using System;
using System.Linq;
namespace DinkPDN.Plotting.X3D
{
public struct Vertice
{
public readonly double X;
public readonly double Y;
public readonly double Z;
public readonly double Length;
public readonly double XAxis;
public readonly double YAxis;
... |
src/wj.AgnosticSql/Sql/Constant.cs | webJose/wj.AgnosticSql | 0 | 7038696 | using System;
namespace wj.AgnosticSql.Sql
{
/// <summary>
/// Represents a constant value.
/// </summary>
/// <typeparam name="TConst">Type of value.</typeparam>
public class Constant<TConst> : Expression
{
#region Static Section
/// <summary>
/// Constant value that r... |
src/TygaSoft/Model/Category.cs | qq283335746/51QiWang | 0 | 7038698 | <filename>src/TygaSoft/Model/Category.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LotterySln.Model
{
[Serializable]
public class Category
{
public object NumberID { get; set; }
public string CategoryName { get; set; }
public ob... |
Split/Assets/Scripts/Health.cs | DrBlury/Split_Unity2D | 0 | 7038699 | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class Health : MonoBehaviour {
[Header("General Settings")]
public bool isABot;
public bool canRegenerate;
GameObject enemySpawner;
[Header("Health Settings")]
public GameObject HealthBarCanvasPrefab;
public Vector3... |
ResilientApp/Services/RetryMessageHandler.cs | andrecarlucci/resilientapp | 1 | 7038700 | using Polly;
using Polly.CircuitBreaker;
using Polly.Fallback;
using Polly.Retry;
using ResilientApp.Helpers;
using System;
using System.Diagnostics;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace ResilientApp.Services {
public class RetryMessageHandler : ServiceDiscoveryMe... |
Enigma.Testing/Fakes/Graphs/DictionaryWithCollectionKeyGraph.cs | jaygumji/EnigmaDb | 1 | 7038701 | <reponame>jaygumji/EnigmaDb
using System.Collections.Generic;
namespace Enigma.Testing.Fakes.Graphs
{
public class DictionaryWithCollectionKeyGraph
{
public Dictionary<List<int>, string> Value { get; set; }
}
} |
samples/AmazonStore/DomainLogic/ProductNameComparer.cs | nikhilk/silverlightfx | 8 | 7038702 | // ProductNameComparer.cs
//
using System;
using System.Collections.Generic;
namespace Store {
public sealed class ProductNameComparer : IComparer<object> {
public int Compare(object x, object y) {
Product p1 = (Product)x;
Product p2 = (Product)y;
return String.Comp... |
C#Advanced/3.SetsAndDictionariesAdvanced/SetsAndDictionariesAdvanced-Exercise/Ranking/Program.cs | IvanIvTodorov/SoftUniEducation | 0 | 7038703 | using System;
using System.Collections.Generic;
using System.Linq;
namespace Ranking
{
class Program
{
static void Main(string[] args)
{
Dictionary<string, string> courses = new Dictionary<string, string>();
List<Student> students = new List<Student>();
str... |
Libraries/VrSharp/GvrTexture/GvrPixelCodec.cs | nnn1590/puyotools | 1 | 7038704 | using System;
namespace VrSharp.GvrTexture
{
public abstract class GvrPixelCodec : VrPixelCodec
{
#region Intensity 8-bit with Alpha
// Intensity 8-bit with Alpha
public class IntensityA8 : GvrPixelCodec
{
public override bool CanEncode
{
... |
src/ExactOnline.Client.Models/Financial/FinancialPeriod.cs | leonardder/exactonline-api-dotnet-client | 0 | 7038705 | <filename>src/ExactOnline.Client.Models/Financial/FinancialPeriod.cs
using System;
namespace ExactOnline.Client.Models.Financial
{
[SupportedActionsSDK(false, true, false, false)]
[DataServiceKey("ID")]
public class FinancialPeriod
{
/// <summary>Creation date</summary>
[SDKFieldType(Fi... |
BrowserSolution/CloseTargetSite/Program.cs | NileshMagan/StreamWatcher | 0 | 7038706 | using System;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using System.Configuration;
using TargetSiteInteractor.Utilities;
using TargetSiteInteractor.Models;
using System.Reflection;
namespace CloseTargetSite
{
class CloseTargetSite
{
static void Main(stri... |
ComplexLoops/GroupName/GroupName.cs | pirocorp/ProgrammingBasics | 0 | 7038707 | <filename>ComplexLoops/GroupName/GroupName.cs
using System;
namespace GroupName
{
class GroupName
{
static void Main(string[] args)
{
char s1 = char.Parse(Console.ReadLine());
char s2 = char.Parse(Console.ReadLine());
char s3 = char.Parse(Console.ReadLine())... |
SharpChat.Common/Events/SessionCreatedEvent.cs | hnjm/sharp-chat | 1 | 7038708 | using SharpChat.Sessions;
using System;
using System.Net;
namespace SharpChat.Events {
[Event(TYPE)]
public class SessionCreatedEvent : SessionEvent {
public const string TYPE = PREFIX + @"create";
public DateTimeOffset LastPing { get; }
public bool IsConnected { get; }
public... |
DS4Windows/DS4Forms/ViewModels/RecordBoxViewModel.cs | martinsstuff/DS4Windows | 176 | 7038709 | <filename>DS4Windows/DS4Forms/ViewModels/RecordBoxViewModel.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Data;
using System.Windows.Input;
using System.Windows.Media;
usi... |
src/Starscream.Domain/Application/CommandHandlers/UserEmailCreator.cs | ZSnake/backend-class | 0 | 7038710 | <reponame>ZSnake/backend-class
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using AcklenAvenue.Commands;
using Starscream.Domain.Application.Commands;
using Starscream.Domain.DomainEvents;
using Starscream.Domain.Entities;
using Starscream.Domain.Services;
namespace Starscream.Domain.Applic... |
src/WebOptimizer.Core/AssetMiddleware.cs | valeriob/WebOptimizer | 490 | 7038711 | <reponame>valeriob/WebOptimizer<gh_stars>100-1000
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Microsoft.Net.Http.Headers;
namespace WebOptimizer
{
internal class AssetMiddlewa... |
src/Blogifier/Pages/Personal/Contact.cshtml | Sidmarek/Blogifier | 0 | 7038712 | <reponame>Sidmarek/Blogifier
@page "/personal/contact"
@{
ViewData["Title"] = "Contact";
Layout = "~/Pages/Account/_Layout.cshtml";
}
<header class="masthead mb-auto">
<div class="inner">
<h3 class="masthead-brand"><NAME></h3>
<nav class="nav nav-masthead justify-content-cen... |
src/Messaging/test/MessagingBase.Test/Converter/DefaultTypeMapperTest.cs | SteeltoeOSS/steeltoe-testbed | 495 | 7038713 | <gh_stars>100-1000
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using Steeltoe.Messaging.Converter;
using Steeltoe.Messaging.Support;
using System;
using... |
SystemPicker.WebApi/Models/ClassifyOutput.cs | HumaneWolf/SystemPicker | 0 | 7038715 | <gh_stars>0
namespace SystemPicker.WebApi.Models
{
public class ClassifyOutput
{
public string Classification { get; set; }
public ClassifyOutput(string classification)
{
Classification = classification;
}
}
} |
src/PrtgAPI/Tree/Model/Node/Internal/TreeOrphan`1.cs | ericsp59/PrtgAPI | 218 | 7038716 | <reponame>ericsp59/PrtgAPI<filename>src/PrtgAPI/Tree/Model/Node/Internal/TreeOrphan`1.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace PrtgAPI.Tree.Internal
{
interface IOrphanGroupingProvider
{
TreeOrphan CreateIndexerGrouping(IEnumerable<TreeOrphan> orphans);
}
... |
MoreNet.Cryptography/Algorithm/SymmetricName.cs | ronsun/MoreNet.Cryptography | 0 | 7038717 | <filename>MoreNet.Cryptography/Algorithm/SymmetricName.cs<gh_stars>0
using System;
namespace MoreNet.Cryptography.Algorithm
{
/// <summary>
/// Name of symmertric algorithm.
/// </summary>
public struct SymmetricName : IEquatable<SymmetricName>
{
private SymmetricName(string name)
... |
Main/OldEngine/Scripts/Default/Environment/DefaultRealm.cs | zydronium/muddesigner | 3 | 7038718 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MudDesigner.Engine.Environment;
namespace MudDesigner.Scripts.Default.Environment
{
public class DefaultRealm : BaseRealm
{
}
}
|
src/backend/database/Enums/Status.cs | zenodhaene/HyperspectralClassification | 1 | 7038719 | <reponame>zenodhaene/HyperspectralClassification
using System;
using System.Collections.Generic;
using System.Text;
namespace database.Enums {
public enum Status {
QUEUED = 1,
RUNNING = 2,
FINISHED = 3,
CANCELED = 4
}
}
|
test/iabi.BCF.Tests/BCFTestCases/v2/Import/PerspectiveView.cs | iabiev/iabi.BCF | 0 | 7038720 | <reponame>iabiev/iabi.BCF<filename>test/iabi.BCF.Tests/BCFTestCases/v2/Import/PerspectiveView.cs
using System;
using System.IO;
using System.Linq;
using iabi.BCF.BCFv2;
using Xunit;
namespace iabi.BCF.Tests.BCFTestCases.v2.Import
{
public class PerspectiveView
{
public BCFv2Container ReadContainer;
... |
SignalBus.Core/Sources/Interfaces/IIoC.cs | c0ffeeartc/SubHubT | 3 | 7038721 | using System;
namespace SignalHubT
{
public interface IIoC
{
ISignalBus<T> CreateSignalBus<T> ( ) where T : ISignalData;
IPool<T> CreatePool<T> ( Func<T> factory ) where T : IPoolable, new();
T Rent<T> ( ) where T : IPoolable, new();
void Repool<T> ( T poolable ) where T : IPoolable, new(... |
src/DungeonCountDownUI.cs | moto2002/tianqi_src | 5 | 7038722 | <gh_stars>1-10
using Foundation.Core.Databinding;
using System;
using UnityEngine.UI;
public class DungeonCountDownUI : UIBase
{
public static DungeonCountDownUI Instance;
private Text HintText;
private string content;
private void Awake()
{
base.AwakeBase(BindingContext.BindingContextMode.MonoBinding, false... |
Silence.Macro/MacroEvent.cs | stmon/silence | 39 | 7038723 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Silence.Macro
{
/// <summary>
/// Represents an event that occurs during macro recording.
/// </summary>
public abstract class MacroEvent
{
/// <summary>
/// Returns a representation o... |
Core/Kachuwa.Web/Service/Audit/AuditAttribute.cs | amritdumre10/Kachuwa | 0 | 7038724 | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using IdentityServer4.Extensions;
using Kachuwa.Configuration;
using Kachuwa.Identity.Extensions;
using Kachuwa.Log;
using Kachuwa.Web.Model;
using Kachuwa.Web.Services;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.DependencyIn... |
Models/Product.cs | MuseOfMetal/friends_ps4 | 0 | 7038725 | using System;
using System.Collections.Generic;
using System.Text;
namespace Shop.Models
{
class Product
{
public static int FreeId { get; set; }
public static int FindFreeId(List<Product> products)
{
int max = 0;
for (int i = 0; i < products.Count; ... |
LIB/AudioSynthesis/Sources/Synthesis/Synthesizer.Constants.cs | sinshu/CSharpSynthProject | 3 | 7038726 | <reponame>sinshu/CSharpSynthProject<gh_stars>1-10
using System;
using AudioSynthesis.Bank.Components;
namespace AudioSynthesis.Synthesis
{
public partial class Synthesizer
{
public static InterpolationEnum InterpolationMode = InterpolationEnum.Linear;
public const double TwoPi = 2.0 * Math.PI... |
src/RestApiOne/Controllers/EventController.cs | TeknikhogskolanGothenburg/ticketSystem-mjsfebruaryproject | 0 | 7038727 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using TicketEngineClassLibrary;
using TicketSystem.DatabaseRepository;
namespace RestApiOne.Controllers
{
[Produces("application/json")]
... |
Nodejs/Product/Nodejs/Repl/ClearReplCommand.cs | ezaruba/nodejstools | 1 | 7038728 | //*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 License
//
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
sdk/src/Services/FSx/Generated/Model/UpdateVolumeRequest.cs | dariolingotti/aws-sdk-net | 1,705 | 7038729 | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
PEGenerator/PEGenerator/Resource1.Designer.cs | plasma-effect/PEGenerator | 0 | 7038730 | //------------------------------------------------------------------------------
// <auto-generated>
// このコードはツールによって生成されました。
// ランタイム バージョン:4.0.30319.42000
//
// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
// コードが再生成されるときに損失したりします。
// </auto-generated>
//---------------------------------------------------------... |
src/Http/Http.Results/test/RedirectResultTest.cs | ravicoderev/aspnetcore | 1 | 7038731 | // 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.Threading.Tasks;
using Microsoft.AspNetCore.Internal;
using Xunit;
namespace Microsoft.AspNetCore.Http.Result
{
public class RedirectR... |
src/Marten/Events/Projections/Aggregator.cs | pmccloghrylaing/marten | 0 | 7038732 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Baseline;
using Marten.Util;
namespace Marten.Events.Projections
{
public class Aggregator<T>: IAggregator<T> where T : class
{
public static readonly string ApplyMethod = "Apply";
pri... |
IcgSoftware.Threema.CoreMsgApi/Helpers/E2EHelper.cs | pt-icg/Threema-MsgApi-Net-Core | 0 | 7038733 | <filename>IcgSoftware.Threema.CoreMsgApi/Helpers/E2EHelper.cs
#if CoreWinOnly
using Microsoft.Win32;
#endif
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IcgSoftware.Threema.CoreMsgApi.Exceptions;
using IcgSoftware.Threema.Cor... |
src/DevChatter.DevStreams.Infra.GraphQL/Types/IsoDayOfWeekGraphType.cs | RyannosaurusRex/DevStreams | 36 | 7038734 | <filename>src/DevChatter.DevStreams.Infra.GraphQL/Types/IsoDayOfWeekGraphType.cs
using GraphQL.Language.AST;
using GraphQL.Types;
using NodaTime;
// With thanks to: https://github.com/shoooe/graphql-nodatime/tree/master/GraphQL.NodaTime/Types
namespace DevChatter.DevStreams.Infra.GraphQL.Types
{
public class Iso... |
RakNetServer/RakNetServer/SwigFiles/NatPunchthroughServer.cs | ifshuaishuai/Raknet_Unity | 0 | 7038735 | //------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//----... |
Assets/TEMPLATES/Unsafe/ByteConverter.cs | xumera-hz/Multiplayer-prototip-shooter-Csharp-Unity | 0 | 7038736 | using System;
using System.Collections.Generic;
//unsafe
public static class ByteConverter
{
const int INT_SIZE = 4;
const int CHAR_SIZE = 2;
const int ERROR = -1;
const int SUCCESS = 0;
const int MAX_LENGTH_ARRAY_FOR_CONVERT_BYTE_ARRAY = int.MaxValue;
public enum RefArrayOptions : int
{
... |
src/Compilers/CSharp/Portable/Emitter/Model/PropertySymbolAdapter.cs | belav/roslyn | 0 | 7038737 | // 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.
#nullable disable
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
... |
src/GeneratedSerializers.Generator/ValueGenerators/GeneratorContext.cs | nventive/GeneratedSerializers | 0 | 7038738 | using Microsoft.CodeAnalysis;
namespace GeneratedSerializers
{
public class GeneratorContext : IValueSerializationGeneratorContext
{
public GeneratorContext(
RoslynMetadataHelper roselyn,
ReadContext read,
WriteContext write,
params IValueSerializationGenerator[] generators)
: this(roselyn, read, w... |
Assets/LineStructures/Scripts/Components/ILine.cs | a3geek/LineStructures | 3 | 7038739 | <filename>Assets/LineStructures/Scripts/Components/ILine.cs
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System;
using UnityEngine;
namespace LineStructures.Components
{
[Serializable]
public enum LineType
{
Segment = 1, Straight, HalfStraight
}
pub... |
Plugin.NetStandardStorage.UWP/Implementations/File.cs | BeaumerF/netstandard-storage | 15 | 7038740 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Plugin.NetStandardStorage.Abstractions.Interfaces;
using Plugin.NetStandardStorage.Abstractions.Types;
namespace Plugin.NetStandardStorage.Implementations
{
/// <summary>
/// TODO Will need to... |
Examples/GroupDocs.Metadata.Examples.CSharp/AdvancedUsage/ManagingMetadataForSpecificFormats/Image/Psd/PsdReadNativeMetadataProperties.cs | groupdocs-metadata/GroupDocs.Metadata-for-.NET | 5 | 7038741 | // <copyright company="Aspose Pty Ltd">
// Copyright (C) 2011-2021 GroupDocs. All Rights Reserved.
// </copyright>
namespace GroupDocs.Metadata.Examples.CSharp.AdvancedUsage.ManagingMetadataForSpecificFormats.Image.Psd
{
using System;
using Formats.Image;
/// <summary>
/// This code sample demonstr... |
tools/rsid-viewer/AuthSettingsInput.xaml.cs | NoahRosa/RealSenseID | 0 | 7038742 | // License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2020-2021 Intel Corporation. All Rights Reserved.
using Microsoft.Win32;
using rsid;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;... |
Windows Emulation by MainDen/DeviceContext.cs | MainDen/Windows-SDK-by-MainDen | 0 | 7038743 | using MainDen.Windows.API;
using System;
namespace MainDen.Windows.Emulation
{
public class DeviceContext : BaseContext
{
public IntPtr CaptureClient()
{
return CaptureClient(0, 0, 0, 0);
}
public IntPtr CaptureClient(int cropLeft, int cropTop, int cropRight, int c... |
Iguagile/Api/Room.cs | fossabot/iguagile-dotnet | 2 | 7038744 | <gh_stars>1-10
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Iguagile.Api
{
[DataContract]
public class Room
{
[DataMember(Name = "room_id")]
public int RoomId { get; set; }
[DataMember(Name = "require_password")]
public bool RequirePasswo... |
src/McLaren.Core/Entites/Driver.cs | halldorstefans/McLarenAPI | 6 | 7038745 | using McLaren.Core.Models;
namespace McLaren.Core.Entities
{
public class Driver : BaseEntity
{
public int id { get; set; }
public string firstName { get; set; }
public string lastName { get; set; }
public int gpEntries { get; set; }
public int gpWins { get; set; }
... |
ProtoSDK/MS-SMB2/Server/Smb2ServerConfig.cs | ZecOps/WindowsProtocolTestSuites | 332 | 7038746 | <reponame>ZecOps/WindowsProtocolTestSuites
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Smb2
{
/// <summary>
/// The configuration of smb2... |
Torch/Managers/PatchManager/PatchManager.cs | SinZ163/Torch | 0 | 7038747 | <reponame>SinZ163/Torch
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Threading;
using NLog;
using Torch.API;
using Torch.Managers.PatchManager.Transpile;
namespace Torch.Managers.PatchManager
{
/// <summary>
///... |
libs/Data/Maps/ModelProfile.cs | FosolSolutions/coevent.api | 1 | 7038748 | using AutoMapper;
using CoEvent.Core.Extensions;
using CoEvent.Data.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
namespace CoEvent.Data.Maps
{
/// <summary>
/// ModelProfile class, provides a way to map entities and models.
/// </summary>
public class ModelProfile : P... |
src/WM.SisControleMvc.Domain/Interfaces/IUsuarioRepository.cs | wmachado2016/SisControleMvc | 0 | 7038749 | using System.Collections.Generic;
using WM.SisControleMvc.Domain.Models;
namespace WM.SisControleMvc.Domain.Interfaces
{
public interface IUsuarioRepository : IRepositoryRead<Usuario>, IRepositoryWrite<Usuario>
{
Usuario ObterPorCpf(string cpf);
Usuario ObterPorEmail(string email);
IEn... |
src/PiTop.MakerArchitecture.Foundation.Tests/FoundationPlateTests.cs | colombod/pi-top-4-.NET-Core-API | 36 | 7038750 | <filename>src/PiTop.MakerArchitecture.Foundation.Tests/FoundationPlateTests.cs
using System;
using FluentAssertions;
using PiTop.Tests;
using Xunit;
namespace PiTop.MakerArchitecture.Foundation.Tests
{
public class FoundationPlateTests : IDisposable
{
private readonly PiTop4Board _module;
pu... |
InformationService/InformationService/Models/Event.cs | lvanlowe/SMADTools | 1 | 7038751 | using System;
using System.Collections.Generic;
namespace InformationService.Models
{
public partial class Event
{
public Event()
{
AthleteEvent = new HashSet<AthleteEvent>();
}
public int EventId { get; set; }
public string EventCode { get; set; }
... |
Hudl.FFmpeg.Core/Formatters/SizeHeightFormatter.cs | alex6dj/HudlFfmpeg | 112 | 7038752 | <reponame>alex6dj/HudlFfmpeg
using Hudl.FFmpeg.Interfaces;
namespace Hudl.FFmpeg.Formatters
{
public class SizeHeightFormatter : IFormatter
{
public string Format(object value)
{
return value.ToString();
}
}
}
|
src/ObjectManager/Object.Ultima.Game/UI/Controls/GumpPicBackpack.cs | BclEx/object-assets | 2 | 7038753 | using OA.Core.UI;
using OA.Ultima.World.Entities.Items;
namespace OA.Ultima.UI.Controls
{
class GumpPicBackpack : GumpPic
{
public Item BackpackItem { get; protected set; }
public GumpPicBackpack(AControl parent, int x, int y, Item backpack)
: base(parent, x, y, 0xC4F6, ... |
src/Mix.Cms.Lib.SignalR/Enums/ApiResponseKey.cs | Wingsky6/mix.coreTest | 572 | 7038754 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mix.Cms.Lib.SignalR.Enums
{
public enum ApiResponseKey
{
Succeed,
Failed
}
}
|
src/ServiceGovernance.Repository/Services/ServiceRepository.cs | ServiceGovernance/ServiceGovernance.Repository | 2 | 7038755 | using ServiceGovernance.Repository.Models;
using ServiceGovernance.Repository.Stores;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace ServiceGovernance.Repository.Services
{
/// <summary>
/// Implements the basic service repository logic
/// </summary>
public cl... |
SugarFreeDiet/Extensions/HtmlExtensions.cs | LynxMagnus/sugar-free-diet | 0 | 7038756 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace SugarFreeDiet.Extensions
{
public static class HtmlExtensions
{
public static IHtmlString EmbedCss(this HtmlHelper htmlHelper, string path)
{
var cs... |
src/MarginTrading.AccountsManagement/Workflow/Deposit/Commands/FailDepositInternalCommand.cs | lykkecloud/MT.AccountManagement | 0 | 7038757 | <filename>src/MarginTrading.AccountsManagement/Workflow/Deposit/Commands/FailDepositInternalCommand.cs<gh_stars>0
using System;
using JetBrains.Annotations;
using MessagePack;
namespace MarginTrading.AccountsManagement.Workflow.Deposit.Commands
{
[MessagePackObject]
internal class FailDepositInternalCommand
... |
src/api/User.cs | gsmJYW/osu-tracker | 3 | 7038758 | using Newtonsoft.Json;
using osu_tracker.region;
using System;
using System.Collections.Generic;
using System.Net;
using System.Text.RegularExpressions;
namespace osu_tracker.api
{
public class User
{
public int user_id { get; set; }
public string username { get; set; }
public int play... |
Source/Assembly-CSharp/VoxelImporter/VoxelSkinnedAnimationObject.cs | Shadowrabbit/BigBiaDecompilation | 1 | 7038759 | <reponame>Shadowrabbit/BigBiaDecompilation
using System;
using UnityEngine;
namespace VoxelImporter
{
[AddComponentMenu("Voxel Importer/Voxel Skinned Animation Object"), RequireComponent(typeof(MeshFilter)), RequireComponent(typeof(SkinnedMeshRenderer))]
public class VoxelSkinnedAnimationObject : VoxelBase
{
pri... |
Shannan.Core/Framework/DownloadTask.cs | shannan1989/awesome-WPF | 0 | 7038760 | <filename>Shannan.Core/Framework/DownloadTask.cs
using Shannan.Core.Debugging;
using System;
using System.Collections.Specialized;
using System.IO;
using System.IO.Compression;
using System.Net;
using System.Text;
using System.Web;
using System.Windows;
namespace Shannan.Core.Framework
{
public enum DownloadStatu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.