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/Lemonade.Web.Core/CommandHandlers/GenerateResourcesCommandHandler.cs | thesheps/lemonade | 3 | 7061578 | using Lemonade.Data.Queries;
using Lemonade.Web.Core.Commands;
using Lemonade.Web.Core.Events;
using Lemonade.Web.Core.Exceptions;
using Lemonade.Web.Core.Services;
namespace Lemonade.Web.Core.CommandHandlers
{
public class GenerateResourcesCommandHandler : ICommandHandler<GenerateResourcesCommand>
{
... |
Jobber.Sdk/Models/Financials/InvoicesCollection.cs | gantonious/JobberSmartAssistant | 1 | 7061579 | using System.Collections.Generic;
using Newtonsoft.Json;
using System.Linq;
namespace Jobber.Sdk.Models.Financials
{
public class InvoicesCollection
{
[JsonProperty("invoices")]
public IEnumerable<Invoice> Invoices = new List<Invoice>();
public int Count() => Invoices.Count();
... |
server/Episememe.Application.Tests/Filtering/WhenFilteringMediaByTimeRange.cs | marax27/Episememe | 1 | 7061580 | <filename>server/Episememe.Application.Tests/Filtering/WhenFilteringMediaByTimeRange.cs
using Episememe.Application.Features.SearchMedia;
using Episememe.Application.Filtering.BaseFiltering;
using Episememe.Application.Tests.Helpers.Contexts.Filtering;
using Episememe.Domain.Entities;
using FluentAssertions;
using Mic... |
src/main/dot-net/Stumps.Server/ContractEntityBinding.cs | Pankaj-chhatani/stumps | 3 | 7061582 | <gh_stars>1-10
namespace Stumps.Server
{
using System.Collections.Generic;
using Stumps.Server.Data;
/// <summary>
/// A helper class that provides a translation between contracts and entities.
/// </summary>
internal static class ContractEntityBinding
{
/// <summary>
//... |
Assets/_Habrador Computational Geometry Library/4. Triangulation/Ear Clipping/_EarClipping.cs | studentutu/Computational-geometry | 599 | 7061583 | <reponame>studentutu/Computational-geometry<gh_stars>100-1000
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Habrador_Computational_Geometry
{
//Triangulate a concave hull (with holes) by using an algorithm called Ear Clipping
//Based on:
//- "Triangulation by Ea... |
LemaS/Assets/Schlange.cs | learn2proGrAME/proGrAME-Beispiele-und-Quellcodes | 0 | 7061584 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
using UnityEngine.UI;
public class Schlange : MonoBehaviour {
/* Private Variablen */
List<Transform> Koerpersegment = new List<Transform>();
/* Geschützte Variablen,
* auf die jedoch in der abgeleitet... |
Assets/LocalizedText/Editor/Importer/SpreadsheetImporter.cs | fullcorder/UnityLocalizedText | 1 | 7061585 | using System;
using LocalizedText.Internal;
using UnityEngine;
using UnityEngine.Networking;
namespace LocalizedText.Importer
{
public static class GoogleSpreadSheetImporter
{
private static readonly int TimeOutSec = 10;
public static void SyncGoogleSpreadSheetApi(Settings settings)
{... |
12. Regular Expressions (RegEx)/More Exercises Strings and RegEx/06. Email Statistics/06. Email Statistics.cs | AneliaDoychinova/Programming-Fundamentals | 0 | 7061586 | <reponame>AneliaDoychinova/Programming-Fundamentals
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace _06.Email_Statistics
{
class Program
{
static void Main(string[] args)
{
... |
PlanningPoker/Data/IRepository.cs | brandon-james105/BlazorPlanningPoker | 4 | 7061587 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PlanningPoker.Data
{
public interface IRepository<T> : IReadableRepository<T>, IWriteableRepository<T>
{
}
public interface IReadableRepository<T>
{
T Find(string id);
IEnum... |
CAPAS_LOGICAS/CLASE_CARGO.cs | BrayanTorres2/Base-de-Datos-Marandua | 0 | 7061588 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
// LIBRERIA AGREGAR
using System.Windows.Forms;
using System.Data;
using System.Drawing.Imaging;
using System.Data.SqlClient;
using System.IO;
using CAPAS_CONEXIONES;
namespace CAPAS_LOGICAS
{
//SE DEBEN CONVERTI... |
UCLouvain.EnvironmentSimulator/Transition.cs | ancailliau/FloodingSimulator | 0 | 7061589 | <reponame>ancailliau/FloodingSimulator<filename>UCLouvain.EnvironmentSimulator/Transition.cs
using System;
namespace UCLouvain.EnvironmentSimulator
{
public class Transition
{
public Func<double> probability;
public string[] actions;
public State target;
}
}
|
src/EncompassRest/Loans/LoanProductData.cs | gashach/EncompassRest | 1 | 7061591 | <gh_stars>1-10
#pragma warning disable 1591
using System;
using System.Collections.Generic;
using EncompassRest.Loans.Enums;
namespace EncompassRest.Loans
{
public sealed partial class LoanProductData : ExtensibleObject, IIdentifiable
{
private DirtyValue<decimal?> _annualFeeNeededAmount;
publi... |
Programing C#/Design Patterns/Dependency InjectionManning/GreetingHelloDI/Models/Salutation.cs | dushka-dragoeva/TelerikSeson2016 | 5 | 7061592 | <reponame>dushka-dragoeva/TelerikSeson2016<gh_stars>1-10
using System;
using GreetingHelloDI.Contracts;
namespace GreetingHelloDI.Models
{
public class Salutation
{
private IMessageWriter messageWriter;
public Salutation(IMessageWriter messageWriter)
{
this.MessageWriter ... |
Website/SourceCode/Profiles/Profiles/ORCID/Modules/Default/Default.ascx.designer.cs | UMassMedIT/ProfilesRNS | 13 | 7061593 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
testcases/main/SS/Util/TestCellAddress.cs | lucadecamillis/npoi | 1,012 | 7061594 | /* ====================================================================
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 Y... |
src/Nest.7xUpgradeAssistant/ElasticClient-GetAutoFollowPattern.cs | mouseflow/elasticsearch-net | 1 | 7061596 | <reponame>mouseflow/elasticsearch-net
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Nest
{
public static partial class ElasticClientExtensions
{
[Obsolete("Moved to client.CrossClusterReplication.GetAutoFollowPattern(), please update this usage.")]
public static GetAutoFollowPatt... |
count_down_up/Form1.cs | yosihisa/Ccount_Down_Up_Reader | 0 | 7061597 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Timers;
using System.Speech.Synthesis;
namespace count_down_up
{
public partial class ... |
mylibaxolotl/util/ByteUtil.cs | BayrakMustafa/Chat-API-NET | 6 | 7061598 | <gh_stars>1-10
/**
* Copyright (C) 2015 smndtrl
*
* This program 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.
*
* This pr... |
Cauldron.Core/MessagePackObjectExtensions/OutZonePrettyNameExtensions.cs | iuemon83/Cauldron | 0 | 7061599 | <reponame>iuemon83/Cauldron<gh_stars>0
namespace Cauldron.Shared.MessagePackObjects
{
public static class OutZonePrettyNameExtensions
{
public static (bool Success, Zone Zone) TryGetZone(this OutZonePrettyName _this, PlayerId effectOwnerId, PlayerId opponentId, PlayerId cardOwnerId)
{
... |
CSharp-Advanced/Homeworks-And-Labs/Streams, Files and Directories/Exercise/Exercise/3.WordCount/Program.cs | VinsantSavov/SoftUni-Software-Engineering | 0 | 7061600 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
namespace _3.WordCount
{
class Program
{
static void Main(string[] args)
{
string[] words = File.ReadAllLines("words.txt");
string[] lines = File.Re... |
Komodo/Assets/Packages/KomodoCore/Runtime/Scripts/RuntimeSession/EntityState.cs | gelic-idealab/komodo_unity | 0 | 7061601 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Komodo.Runtime
{
[System.Serializable]
public struct EntityState
{
public int id;
public Position latest;
public bool render;
public bool locked;
}
}
|
Demo/2018/PipelineSockets/PipelineSockets/MyServer.cs | ufcpp/UfcppSample | 126 | 7061602 | <gh_stars>100-1000
using System.Collections.Concurrent;
using System.IO.Pipelines;
using System.Threading;
using System.Threading.Tasks;
using Pipelines.Sockets.Unofficial;
namespace PipelineSockets
{
class MyServer : SocketServer
{
private CancellationTokenSource _cts = new CancellationTokenSource();... |
Managed/main/SocialGatheringPoint.cs | undancer/oni-data | 1 | 7061603 | <reponame>undancer/oni-data<filename>Managed/main/SocialGatheringPoint.cs
using System;
using KSerialization;
using UnityEngine;
[SerializationConfig(MemberSerialization.OptIn)]
public class SocialGatheringPoint : StateMachineComponent<SocialGatheringPoint.StatesInstance>
{
public class States : GameStateMachine<Stat... |
SimpleUtils/SimpleParse.cs | tuandoi1/simple-assembly-exploror | 184 | 7061604 | <reponame>tuandoi1/simple-assembly-exploror<filename>SimpleUtils/SimpleParse.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Globalization;
namespace SimpleUtils
{
public class SimpleParse
{
public static sbyte ParseSByte(string byteString)
{
... |
Model/GameObjectPropertySchema.cs | ricreade/gmgamemgr | 0 | 7061606 | <reponame>ricreade/gmgamemgr
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model
{
/// <summary>
/// Represents a relationship between game object schemas
/// and property schemas. This class is intended to support
... |
src/FubuMVC.IntegrationTesting/ViewEngines/Razor/MultipleLayouts/RazorEngineMultipleLayoutsIntegrationTester.cs | ketiko/fubumvc | 0 | 7061607 | <reponame>ketiko/fubumvc
using FubuMVC.Core;
using FubuMVC.IntegrationTesting.Conneg;
using FubuMVC.IntegrationTesting.ViewEngines.Razor.MultipleLayouts.Features.One.UsesClosest;
using FubuMVC.IntegrationTesting.ViewEngines.Razor.MultipleLayouts.Features.Two.UsesDefault;
using FubuMVC.Razor;
using NUnit.Framework;
usin... |
ScratchPad/ScratchPad/ScratchPadUserControl.cs | itlezy/ITLezyTools | 1 | 7061608 | <gh_stars>1-10
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using ScintillaNET;
using Itlezy.Common.Platform;
namespace Itlezy.App.ScratchPad.UI
{
/// <summary>
/// Description of ScratchPadUserControl.
/// </summary>
public partial class ScratchPadUserControl : Use... |
IOC.Demo.Lib/Interface/IUser.cs | QiuRyan/IOCDemo | 0 | 7061609 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IOC.Demo.Lib
{
public interface IUser
{
string GetUserName();
}
public interface ISchool
{
string GetUser();
}
}
|
Engine/ICullable.cs | Selinux24/SharpDX-Tests | 2 | 7061610 | <filename>Engine/ICullable.cs
namespace Engine
{
/// <summary>
/// Cullable interface
/// </summary>
public interface ICullable
{
/// <summary>
/// Performs culling test
/// </summary>
/// <param name="volume">Culling volume</param>
/// <param name="distance... |
Services/Census/BaseStaticCollection.cs | Varunda/honu | 1 | 7061611 | <reponame>Varunda/honu<filename>Services/Census/BaseStaticCollection.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reactive;
using System.Threading.Tasks;
using DaybreakGames.Census;
using DaybreakGames.Census.Exceptions;
using DaybreakGames.Census.Operators;
using ... |
Pyro.Common/PyroHealthFhirResource/Tasks/IPyroTask.cs | nwisbeta/Pyro | 24 | 7061612 | <filename>Pyro.Common/PyroHealthFhirResource/Tasks/IPyroTask.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pyro.Common.PyroHealthFhirResource.Tasks
{
public interface IPyroTask : IPyroResource
{
Hl7.Fhir.Model.T... |
src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media/IFreezeFreezables.cs | KodamaSakuno/wpf | 5,937 | 7061613 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//
//
using System.Windows;
namespace System.Windows.Media
{
internal interface IFreezeFreezables
{
... |
ExifTagCollection-master/Demo/DemoForm.cs | WiltshireBanes/FixMyStreetDataset | 2 | 7061614 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using LevDan.Exif;
using System.IO;
namespace Demo
{
public partial class DemoForm : Form
{
public DemoForm()
{
Initi... |
src/System.Xml.ReaderWriter/tests/XmlReaderLib/TCMoveToContent.cs | shana/corefx | 0 | 7061616 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Xml;
using OLEDB.Test.ModuleCore;
namespace XmlReaderTest.Common
{
public partial class TCMoveToContent : TCXMLReaderBaseGeneral
{
... |
src/FubuMVC.Razor/RazorActivator.cs | ketiko/fubumvc | 0 | 7061617 | using System.Collections.Generic;
using System.Web;
using Bottles;
using Bottles.Diagnostics;
using FubuCore;
using FubuMVC.Core.UI;
using FubuMVC.Core.UI.Extensibility;
using FubuMVC.Razor.Rendering;
using HtmlTags;
using RazorEngine.Configuration;
namespace FubuMVC.Razor
{
public class RazorActivator : IActivator
... |
src/LinqToTwitter5/LinqToTwitter.Shared/Common/TwitterAsyncResponse.cs | ZavierHenry/LinqToTwitter | 486 | 7061619 | <filename>src/LinqToTwitter5/LinqToTwitter.Shared/Common/TwitterAsyncResponse.cs
using System;
namespace LinqToTwitter
{
/// <summary>
/// Response info from an asynchronous Twitter request
/// </summary>
public class TwitterAsyncResponse<TState>
{
public TwitterAsyncResponse()
{
... |
AcTools.NeuralTyres.Tests/Tests.cs | brunoklm/actools-1 | 0 | 7061620 | <gh_stars>0
using System;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Windows.Forms.DataVisualization.Charting;
using AcTools.AcdEncryption;
using AcTools.AcdFile;
using AcTools.DataFile;
using AcTools.NeuralTyres.Data;
using AcTools.Utils;
using AcTools.Utils.Helpe... |
BabyBugZone/BabyBug.Common/ViewModels/TypeManagement/AllTypesModel.cs | ewgeni-dinew/C_Sharp-Web | 0 | 7061621 | <reponame>ewgeni-dinew/C_Sharp-Web
using System;
using System.Collections.Generic;
using System.Text;
namespace BabyBug.Common.ViewModels.TypeManagement
{
public class AllTypesModel
{
public ICollection<BaseTypeModel> ProductTypes { get; set; }
public ICollection<BaseTypeModel> Delive... |
src/Trading/Maui.Trading/Indicators/IIndicator.cs | bg0jr/Maui | 0 | 7061622 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Maui.Trading.Reporting;
using Maui.Trading.Model;
namespace Maui.Trading.Indicators
{
public interface IIndicator
{
string Name { get; }
IndicatorResult Calculate( IIndicatorContext context ... |
data/Mutation/CS0022-2_2_mutation_15/[E]CS0022.cs | thufv/DeepFix-C- | 0 | 7061623 | <reponame>thufv/DeepFix-C-
public class MyClass {
public static void Main() {
/* inserted */
int _1 = 10;
int[] a = new int[10];
a[0, 1] = 9;
}
}
|
tests/SpeakerMeet.Core.Tests/Services/CommunityServiceTests/GetBySlug.cs | sclurb/SpeakerMeet.Api | 2 | 7061624 | <reponame>sclurb/SpeakerMeet.Api<gh_stars>1-10
using System.Threading.Tasks;
using Moq;
using SpeakerMeet.Core.DTOs;
using SpeakerMeet.Core.Entities;
using SpeakerMeet.Core.Specifications;
using Xunit;
namespace SpeakerMeet.Core.Tests.Services.CommunityServiceTests
{
public class GetBySlug : CommunityServiceTestB... |
Utils.Graphs/Trees/DepthTraversalExtensions.cs | azoh19/Utils.Common | 0 | 7061625 | <gh_stars>0
#region Using
using System;
using System.Collections.Generic;
using JetBrains.Annotations;
#endregion
namespace Utils.Graphs.Trees
{
[PublicAPI]
public static class DepthTraversalExtensions
{
[ItemNotNull]
public static IEnumerable<TNode> DepthTraversal<TNode>(this TNode node... |
CookPopularControl/Communal/Data/Enum/ControlBorderAnimationType.cs | Muzsor/CookPopularControl | 18 | 7061626 | <gh_stars>10-100
/*
* Copyright (c) 2021 All Rights Reserved.
* Description:ControlBorderAni
* Author: Chance_写代码的厨子
* Create Time:2021-07-30 16:38:38
*/
namespace CookPopularControl.Communal.Data
{
/// <summary>
/// 表示<see cref="ControlBorderBehavior.AnimationType"/>枚举类型
/// </summary>
public enu... |
dotnet/src/EasyAbp.AbpHelper.Gui.Blazor/Services/ICurrentSolution.cs | aelhadi/AbpHelper.GUI | 0 | 7061627 | <filename>dotnet/src/EasyAbp.AbpHelper.Gui.Blazor/Services/ICurrentSolution.cs
using System;
using System.Threading.Tasks;
using EasyAbp.AbpHelper.Gui.Solutions.Dtos;
namespace EasyAbp.AbpHelper.Gui.Blazor.Services
{
public interface ICurrentSolution
{
SolutionDto Value { get; }
Task SetAsync... |
src/Dfc.CourseDirectory.Core/DataStore/Sql/TvpHelper.cs | uk-gov-mirror/SkillsFundingAgency.dfc-coursedirectory | 0 | 7061628 | <filename>src/Dfc.CourseDirectory.Core/DataStore/Sql/TvpHelper.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Data;
using Dapper;
namespace Dfc.CourseDirectory.Core.DataStore.Sql
{
internal static class TvpHelper
{
public static SqlMapper.ICustomQueryParameter CreateGuidIdT... |
samples/ComputeSharp.SwapChain.Core.Shared/Constants/Error.cs | UWPCommunity/ComputeSharp | 0 | 7061629 | <gh_stars>0
namespace ComputeSharp.SwapChain.Core.Constants;
/// <summary>
/// A <see langword="class"/> with the collection of tracked errors for analytics.
/// </summary>
public static class Error
{
public const string RenderingFailedOnMainPanel = "[SHELL] RenderingFailed (main panel)";
public const string ... |
src/go-src-converted/cmd/oldlink/internal/sym/symbols.cs | rgwood/go2cs | 249 | 7061630 | <reponame>rgwood/go2cs<gh_stars>100-1000
// Derived from Inferno utils/6l/l.h and related files.
// https://bitbucket.org/inferno-os/inferno-os/src/master/utils/6l/l.h
//
// Copyright © 1994-1999 Lucent Technologies Inc. All rights reserved.
// Portions Copyright © 1995-1997 <NAME> (<EMAIL>)
// Portions Copyr... |
Tools/1 - Common/MoCore/Aop/Config/XAopInitialize.cs | favedit/MoCross | 3 | 7061631 | using System;
using System.Collections.Generic;
using System.Text;
namespace MO.Core.Aop.Config {
public class XAopInitialize : XAopMethod {
public const string TAG = "Initialize";
}
}
|
RowsetImportEngine/ErrorDialog.cs | rickcook/Nexus | 0 | 7061633 | <reponame>rickcook/Nexus
#define TRACE
using System;
using System.IO;
using System.Windows.Forms;
using NexusInterfaces;
namespace RowsetImportEngine
{
/// <summary>
/// Summary description for ErrorDialog.
/// </summary>
public class ErrorDialog
{
private Exception exception;
private string error;
private... |
Sources/TreeDim.StackBuilder.Basics/Helpers/BoxPosition.cs | Alko89/StackBuilder | 0 | 7061634 | #region Using directives
using System;
using Sharp3D.Math.Core;
#endregion
namespace treeDiM.StackBuilder.Basics
{
/// <summary>
/// Box position
/// </summary>
public struct BoxPosition
{
#region Constructor
public BoxPosition(Vector3D vPosition, HalfAxis.HAxis dirLength = HalfAxi... |
CmsEngine.Ui/Program.cs | davidsonsousa/CmsEngine | 4 | 7061635 | <reponame>davidsonsousa/CmsEngine
using System;
using System.IO;
using System.Net;
using System.Security.Cryptography.X509Certificates;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Serilog;
namespace CmsEngine.Ui
{
public class Program
... |
WhaleFactory/DependencyOrder.cs | devjoes/WhaleFactory | 0 | 7061636 | <filename>WhaleFactory/DependencyOrder.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using Microsoft.CodeAnalysis;
using Serilog;
namespace WhaleFactory
{
public class DependencyOrder
{
... |
Valle.GesTpv/Valle.GesTpv/Formularios/VenCamareros.cs | vallemrv/valletpv | 4 | 7061638 | // VenCamareros.cs created with MonoDevelop
// User: valle at 21:29 26/09/2008
//
// To change standard headers go to Edit->Preferences->Coding->Standard Headers
//
using System;
using System.Data;
using Valle.SqlUtilidades;
namespace Valle.GesTpv
{
public partial class VenCamareros : Gtk.Window
{
enum Mo... |
08.HighQualityCode/07.HQClasses/Abstraction/Figure.cs | ykomitov/Homeworks-TA | 0 | 7061639 | <reponame>ykomitov/Homeworks-TA
namespace Abstraction
{
using System;
internal abstract class Figure
{
public Figure()
{
}
public abstract double CalcPerimeter();
public abstract double CalcSurface();
public void ValidateFigureInput(double input)
... |
AspenTech.SmartObjects.Client/ISmartObjectsClient.cs | mnubo/Mnubo.SmartObjects.Client | 1 | 7061640 | using System;
using AspenTech.SmartObjects.Client.Datalake;
namespace AspenTech.SmartObjects.Client
{
public interface ISmartObjectsClient : IDisposable
{
/// <summary>
/// Returns SmartObject Client, giving access to AspenTech SmartObjects
/// </summary>
IObjectClien... |
iddd_identityaccess/Domain.Model/Identity/EmailAddress.cs | GermanKuber/IDDD_Samples_NET | 0 | 7061641 | using System.Collections.Generic;
using SaaSOvation.Common.Domain.Model;
namespace SaaSOvation.IdentityAccess.Domain.Model.Identity
{
public class EmailAddress : ValueObject
{
public EmailAddress(string address)
{
Address = address;
}
public EmailAddress(EmailAddre... |
Difi.SikkerDigitalPost.Klient.Tester/Utilities/Comparator.cs | difi/difi-sikker-digital-post-klient-dotnet | 9 | 7061642 | <filename>Difi.SikkerDigitalPost.Klient.Tester/Utilities/Comparator.cs
using System.Collections.Generic;
using System.Linq;
using KellermanSoftware.CompareNetObjects;
namespace Difi.SikkerDigitalPost.Klient.Tester.Utilities
{
internal class Comparator : IComparator
{
public bool Equal(object expected,... |
blazor/BlazorAppUpgrader/CustomClassLibrary/Shared/RestartAppModel.cs | luoyunchong/dotnetcore-example | 97 | 7061643 | <reponame>luoyunchong/dotnetcore-example
using System;
using System.Collections.Generic;
using System.Text;
namespace SharedClassLibrary
{
public class RestartAppModel
{
public string Messsage { get; set; }
public bool IsSuccess { get; set; }
}
}
|
src/Frapid.Web/Areas/Frapid.Config/DataAccess/IGetCustomFieldFormNameRepository.cs | 2ia/frapid | 2 | 7061644 | // ReSharper disable All
using System;
using System.Collections.Generic;
using System.Dynamic;
using Frapid.NPoco;
using Frapid.Config.Entities;
namespace Frapid.Config.DataAccess
{
public interface IGetCustomFieldFormNameRepository
{
string TableName { get; set; }
/// <summary>
/// Pr... |
Common/Behaviors/EntryValidationBehavior.cs | marcusts/Com.MarcusTS.SharedForms | 0 | 7061645 | <gh_stars>0
// ********************************************************************************* <copyright
// file=ValidationBehavior.cs company="Marcus Technical Services, Inc."> Copyright @2019 Marcus Technical Services, Inc.
// </copyright>
//
// MIT License
//
// Permission is hereby granted, free of charge, to a... |
LABS Experiences/LABS Experiences/Forms/LeoCorpLibraryForm.Designer.cs | Leo-Corporation/LABS-Experiences | 1 | 7061646 | /*
MIT License
Copyright (c) L<NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute... |
Web/CpaWebApp/Models/AnimeDAO/Studio.cs | Advanced-Alliance/su4na-API-NET | 0 | 7061647 | <reponame>Advanced-Alliance/su4na-API-NET
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CpaWebApp.Models.AnimeDAO
{
public class Studio
{
public int id { get; set; }
public string name { get; set; }
public string icon { ge... |
Desk.Abp/src/Desk.Domain/Assets/Exceptions/AssetCategoryAlreadyExistException.cs | zhaobingwang/Desk | 0 | 7061648 | <reponame>zhaobingwang/Desk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp;
namespace Desk.Assets
{
public class AssetCategoryAlreadyExistException : BusinessException
{
public AssetCategoryAlreadyExistException(string... |
src/Stump.Server.WorldServer/game/spells/Casts/Dofus/Dofus.cs | Daymortel/Stump | 2 | 7061649 | using Stump.DofusProtocol.Enums;
using Stump.Server.WorldServer.Game.Actors.Fight;
using Stump.Server.WorldServer.Game.Effects;
using Stump.Server.WorldServer.Game.Effects.Handlers.Spells;
using Stump.Server.WorldServer.Game.Effects.Instances;
using Stump.Server.WorldServer.Game.Fights;
using System.Collections.Generi... |
AlipaySDKNet/Domain/ManjiangTesttttttt.cs | alipay/alipay-sdk-net | 0 | 7061650 | using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// ManjiangTesttttttt Data Structure.
/// </summary>
[Serializable]
public class ManjiangTesttttttt : AopObject
{
/// <summary>
/// 2
/// </summary>
[XmlElement("qqq")]
... |
src/Pacco.Services.Deliveries.Application/Commands/StartDelivery.cs | Potapy4/Pacco.Services.Deliveries | 7 | 7061651 | <gh_stars>1-10
using System;
using Convey.CQRS.Commands;
namespace Pacco.Services.Deliveries.Application.Commands
{
[Contract]
public class StartDelivery : ICommand
{
public Guid DeliveryId { get; }
public Guid OrderId { get; }
public string Description { get; }
public DateT... |
src/Modules/Laser.Orchard.ContactForm/Services/IContactFormService.cs | INVA-Spa/Laser.Orchard.Platform | 8 | 7061653 | using Orchard;
using Laser.Orchard.ContactForm.Models;
namespace Laser.Orchard.ContactForm.Services
{
public interface IContactFormService : IDependency
{
/// <summary>
/// Gets the contact form record.
/// </summary>
/// <param name="id">The record id.</param>
ContactF... |
WCF/Projects/Chat/Chat.Server/RegistryService.cs | iivchenko/Learning-WCF | 0 | 7061654 | <reponame>iivchenko/Learning-WCF<filename>WCF/Projects/Chat/Chat.Server/RegistryService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
namespace Chat.Server
{
[ServiceBehaviorAttribute(InstanceContextMode = InstanceContextMode.Single)]
internal class RegistryS... |
MixMedia.JointSpace/JsonHelper.cs | NikoMix/MixMedia.JointSpace | 1 | 7061655 | using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace MixMedia.JointSpace
{
public static class JsonHelper
{
public static async Task<TResponse> GetAsync<TResponse>(this HttpClient client, string requestedUri)
where TResponse : new()
... |
minigame-unity-webgl-csharp/Assets/CN-GAME-SDK/response/CnGameSdkPaySwitchResponse.cs | qqingdou/cngamesdk-frontend-minigame-unity-csharp | 0 | 7061656 | namespace CN_GAME_SDK.response
{
public class CnGameSdkPaySwitchResponseInfo
{
/// <summary>
/// 充值开关
/// </summary>
public bool pay_switch = true;
}
public class CnGameSdkPaySwitchResponseLists
{
}
} |
src/CodeArts.Db.Linq2Sql/IQueryVisitor.cs | juszhc/CodeArts | 47 | 7061657 | <filename>src/CodeArts.Db.Linq2Sql/IQueryVisitor.cs
namespace CodeArts.Db
{
/// <summary>
/// 查询访问器。
/// </summary>
public interface IQueryVisitor : IStartupVisitor
{
/// <summary>
/// SQL语句。
/// </summary>
/// <returns></returns>
CommandSql<T> ToSQL<T>();
... |
Kinect/ShadowWall/PointCloudWriter/PointCloudConverter.cs | ngalin/Illumimateys | 2 | 7061659 | <reponame>ngalin/Illumimateys
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
using System.Windows.Media.Imaging;
namespace ShadowWall
{
static class PointCloudConverter
{
public ... |
HinabitterYo/KuranogawaItem.cs | tumbling-dice/HinabitterYo | 0 | 7061660 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HinabitterYo
{
public class KuranogawaItem : IYoItem
{
public long ID { get; set; }
public string Link { get; set; }
public string From { get; set; }
pu... |
SSICPAS/Models/Exceptions/TextServiceException.cs | Sundhedsdatastyrelsen/Coronapas.Mobile | 3 | 7061661 | <gh_stars>1-10
using System;
namespace SSICPAS.Models.Exceptions
{
public class TextServiceException: Exception
{
public TextServiceException()
{
}
public TextServiceException(string message)
: base(message)
{
}
public TextServiceException(s... |
Assets/Scripts/Controller/MovementController.State.cs | cj-mills/Basic-In-Game-Style-Transfer | 5 | 7061662 | <reponame>cj-mills/Basic-In-Game-Style-Transfer
using Unity.Collections;
using UnityEngine;
using Unity.SnapshotDebugger;
using Unity.Mathematics;
using Buffer = Unity.SnapshotDebugger.Buffer;
public partial class MovementController : SnapshotProvider
{
class State : Serializable
{
public float3 desir... |
src/Razensoft.Functional/Runtime/Result/UniTask/FailureIf.cs | studentutu/Razensoft.Functional | 12 | 7061663 | <reponame>studentutu/Razensoft.Functional
#if RAZENSOFT_FUNCTIONAL_UNITASK_SUPPORT
using System;
using Cysharp.Threading.Tasks;
namespace Razensoft.Functional
{
public partial struct Result
{
/// <summary>
/// Creates a result whose success/failure depends on the supplied predicate. Opposi... |
DVP-SoftPhone/Controllers/SequenceNumberGenerator.cs | DuoSoftware/DVP-DesktopPhone | 0 | 7061664 | <reponame>DuoSoftware/DVP-DesktopPhone<filename>DVP-SoftPhone/Controllers/SequenceNumberGenerator.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using DuoSoftware.DuoTools.DuoLogger;
namespace DuoSoftware.DuoSoftPhone.Controllers
{
public sealed class SequenceNumberG... |
src/EasyJsonToSql/DataProxy/Builders/InsertUpdateDelete/DbBuilder.cs | 434773840/EasyJsonToSql | 33 | 7061665 | using EasyJsonToSql;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EasyJsonToSql
{
public class DbBuilder : IDbBuilder
{
public BuilderData Data { get; set; }
public DbBuilder(SqlConfig setting)
{
this.Data = ... |
Assets/Scripts/ToggleManager.cs | ChristopheClaustre/Trijam94 | 0 | 7061666 | <reponame>ChristopheClaustre/Trijam94
using System;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Events;
[RequireComponent(typeof(Image))]
[RequireComponent(typeof(Toggle))]
public class ToggleManager : MonoBehaviour
{
public Sprite on;
public Sprite off;
private Image image;
private Tog... |
src/Aks/Aks/Models/PSSubResource.cs | mbentancour/azure-powershell | 3,336 | 7061667 | <filename>src/Aks/Aks/Models/PSSubResource.cs
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may... |
Client/Penner.MenuManage.InternalServices/Catalog/ICatalogs.cs | penneryu/MenuManage | 0 | 7061668 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Penner.MenuManage.InternalServices.Catalog
{
public interface ICatalogs
{
string MenuCatalog(CatalogFilter filter);
}
}
|
Playground/KDTree/KDTree.cs | madelson/MedallionUtilities | 39 | 7061669 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Medallion.KDTree
{
// idea: self-balancing tree which annotates dimensions on nodes and preserves them during rotations
// doesn't quite work => naive rotation can break invariant
... |
src/Compilers/CSharp/Portable/Lowering/LocalRewriter/DelegateCacheContainer.cs | kzrnm/roslyn | 1 | 7061671 | <gh_stars>1-10
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Diagnostics;
using Roslyn.Utilities;
namespace Micro... |
SoftwareManager.DAL.EF6/Configurations/EntityConfiguration.cs | t0ms3n/SoftwareManager | 3 | 7061672 | <filename>SoftwareManager.DAL.EF6/Configurations/EntityConfiguration.cs
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using SoftwareManager.DAL.Contracts.Models;
namespace SoftwareManager.DAL.EF6.Configurations
{
public class EntityConfiguration<TEntity> : Entity... |
src/DocumentationTemplater/Program.cs | James231/Documentation-Templater | 11 | 7061674 | // -------------------------------------------------------------------------------------------------
// Documentation Templater - © Copyright 2020 - Jam-Es.com
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -------------------------------------------------------------... |
UnitTests/Math/Equations.cs | AtefeBahrani/EngineeringUnits | 0 | 7061675 | using EngineeringUnits;
using EngineeringUnits.Units;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using System.Diagnostics;
using System.Linq;
using UnitsNet;
namespace UnitTests
{
[TestClass]
public class Equations
{
[TestMethod]
public void Powerequation()... |
Assets/Example Plattformer/Scripts/IntroVideo.cs | aarmbruckner/AAU_GameJam_PersonalityDestroyer | 0 | 7061676 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Video;
public class IntroVideo : MonoBehaviour
{
public VideoPlayer myVideoPlayer;
// Use this for initialization
void Start()
{
//check if endpoint is reached
myVideoPlayer.loopPointRea... |
osu.Game.Rulesets.Tau/UI/TauSettingsSubsection.cs | taulazer/tau | 24 | 7061677 | <filename>osu.Game.Rulesets.Tau/UI/TauSettingsSubsection.cs
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Localisation;
using osu.Game.Overlays.Settings;
using osu.Game.Rulesets.Tau.Configuration;
namespace osu.Game.Rulesets.Tau.UI
{
public class TauSettingsSubsection :... |
sdk/dotnet-sdk/src/VeritySDK.Test/Protocols/AbstractProtocolTest.cs | tw-bc-group/verity-sdk | 40 | 7061678 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Json;
using VeritySDK.Protocols;
using VeritySDK.Transports;
using VeritySDK.Utils;
namespace VeritySDK.Test
{
[TestClass]
public class AbstractProtocolTest
{
[TestMethod]
public void testGetMessage()
{
Jso... |
kmd.Storage/Contracts/IStorageFolderFilter.cs | nakedpwr/kmd-uwp | 69 | 7061679 | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Windows.Storage;
namespace kmd.Storage.Contracts
{
public interface IStorageFolderFilter
{
Task<IEnumerable<IStorageItem2>> FilterAsync(IStorageFolder folder, FilterOptions options, CancellationToken cancella... |
Shelter/Mod/Managers/EventManager.cs | ITALIA195/Shelter | 3 | 7061680 | using System;
using System.Collections.Generic;
namespace Mod.Managers
{
public class EventManager
{
private Dictionary<string, EventHandler> _events = new Dictionary<string, EventHandler>();
public void Subscribe<T>(string eventName, EventHandler<T> handler) where T: EventArgs
... |
src/Core/Maui.Core/Entities/Stock.cs | bg0jr/Maui | 0 | 7061681 | <filename>src/Core/Maui.Core/Entities/Stock.cs
using System;
using System.Linq;
using System.Text;
using Blade;
namespace Maui.Entities
{
public partial class Stock
{
private StockType myType;
public Stock()
{
Type = StockType.None;
}
publi... |
Core/ModulesSystem/PerformerStuff/ProtocolWorks/Compairing/RelevanceAnalyzer.cs | Rrezakk/Katerina_Voice_Assistant | 0 | 7061682 | <reponame>Rrezakk/Katerina_Voice_Assistant
//#define Print_Percentage//used for enabling console output for debugging
using System;
using System.Collections.Generic;
using System.Linq;
using DeepMorphy.Model;
using K3NA_Remastered_2.Modules.PerformerStuff.ProtocolWorks.Protocols;
using K3NA_Remastered_2.ModulesSystem... |
src/stock-service/StockService.StockProcessor/Startup.cs | thara0402/smart-store | 0 | 7061683 | <filename>src/stock-service/StockService.StockProcessor/Startup.cs
using System;
using Microsoft.Azure.Functions.Extensions.DependencyInjection;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
[assembly: FunctionsStartup(typeof(StockService.StockProcessor.Startup))]
namespace Sto... |
Assets/Comm/Requester.cs | StanfordHCI/augmented-home-assistant-frontend | 0 | 7061684 | <reponame>StanfordHCI/augmented-home-assistant-frontend<gh_stars>0
using AsyncIO;
using NetMQ;
using NetMQ.Sockets;
using UnityEngine;
public class Requester : RunAbleThread
{
// private Sonify sonify = GameObject.FindObjectOfType<Sonify> ();
private SwitchPointCloudsNew controller = GameObject.FindObjectOfTyp... |
src/Budget.EventSourcing/Services/Serialization/Json/JsonEventSerializer.cs | jogendron/Budget | 0 | 7061685 | <gh_stars>0
using System.Text.Json;
using Budget.EventSourcing.Events;
namespace Budget.EventSourcing.Services.Serialization.Json
{
public class JsonEventSerializer : IEventSerializer
{
public JsonEventSerializer()
{
Options = new JsonSerializerOptions();
Options.Conver... |
test/Routine.Test/Interception/InterceptedObjectServiceTest_Do.cs | multinetinventiv/routine | 3 | 7061686 | <gh_stars>1-10
using Moq;
using NUnit.Framework;
using Routine.Core;
using Routine.Interception;
using Routine.Interception.Configuration;
using Routine.Interception.Context;
using Routine.Test.Core;
using Routine.Test.Engine.Stubs.DoInvokers;
using System;
namespace Routine.Test.Interception
{
[TestFixture(typeo... |
src/DotNetExtensions/Validation/BooleanExtensions.cs | msotiroff/dotnet-extensions | 0 | 7061687 | using System;
namespace DotNetExtensions.Validation
{
public static class BooleanExtensions
{
#region Throwing default exception
public static void ThrowIfTrue(this bool boolean, string errorMessage = default)
{
if (boolean == true)
{
errorMessag... |
source/Resonance/IResonanceConnectionComponent.cs | dorisoy/Resonance | 1 | 7061688 | <filename>source/Resonance/IResonanceConnectionComponent.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Resonance
{
/// <summary>
/// Represents a Resonance component capable of connecting and disconnecting.
/// </summary>
public interface... |
Source/PhiClient/UserSendAnimalWindow.cs | emipa606/PhiClient | 2 | 7061689 | <gh_stars>1-10
using System.Linq;
using PhiClient.UI;
using RimWorld;
using UnityEngine;
using Verse;
namespace PhiClient
{
// Token: 0x02000007 RID: 7
internal class UserSendAnimalWindow : Window
{
// Token: 0x04000022 RID: 34
private readonly User user;
// Token: 0x04000023 RID:... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.