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 |
|---|---|---|---|---|
SimulationProjektarbeit/Core/SimParameter.cs | saciervo/SimulationProjekt | 0 | 7051085 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OfficeOpenXml;
namespace SimulationProjektarbeit.Core
{
class SimParameter
{
protected readonly Random Rand = new Random();
public double Erwartungswert { get; set; }
... |
Spikes/WindowsPhonePOC/MqttClient/Domain/ICommandReader.cs | 4058665/MQTT | 4 | 7051086 | <reponame>4058665/MQTT
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MQTT.Commands;
using System.Net.Sockets;
using System.Threading.Tasks;
using MQTT.Types;
namespace MQTT.Domain
{
public interface ICommandReader
{
MqttCommand Read(NetworkConnection conne... |
CrudSample/Controllers/CourseController.cs | shifatullah/aspnetcore-mvc-cosmosdb-crud-sample | 0 | 7051087 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CrudSample.Entities;
using CrudSample.Models;
using CrudSample.Services;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.Documents.Client;
using Microsoft.Extensions.Configuration;
namespace CrudSample.Control... |
ApplicationCore/Exchange/BinanceCurrency.cs | soemsri/HeroMining | 0 | 7051088 | using System;
using System.Collections.Generic;
using System.Text;
namespace CryptoMining.ApplicationCore.Exchange
{
public class BinanceCurrency : ExchangeCurrency
{
public new string symbol
{
get { return base.symbol; }
set
{
if (!String.Is... |
CQL.WPF/Composer/ComposerBox.xaml.cs | igitur/CQL | 1 | 7051089 | using CQL.Contexts;
using CQL.SyntaxTree;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
namespace CQL.WPF.Composer
{
public partial class ComposerBox : UserControl
{
private bool isUpdating ... |
Assets/HelloAR/Scripts/sceneControllerAR.cs | Karthikeyu/AR-VoicechatBot-Unity | 3 | 7051090 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using GoogleARCore.Examples.HelloAR;
using UnityEngine.SceneManagement;
public class sceneControllerAR : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Upd... |
src/SIL.Machine.Morphology.HermitCrab/MorphologicalRules/AnalysisMorphologicalTransformRuleSpec.cs | russellmorley/machine | 12 | 7051091 | <gh_stars>10-100
using System.Collections.Generic;
using SIL.Machine.Annotations;
using SIL.Machine.Matching;
using SIL.Machine.Rules;
namespace SIL.Machine.Morphology.HermitCrab.MorphologicalRules
{
public abstract class AnalysisMorphologicalTransformRuleSpec : AnalysisMorphologicalTransform, IPatternRuleSpec<Word,... |
StatsdNet/MetricTypeContants.cs | evolutional/StatsdNet | 1 | 7051092 | namespace StatsdNet
{
public static class MetricTypeContants
{
public const string Counter = "c";
public const string Timer = "ms";
public const string Gauge = "g";
public const string Set = "s";
}
} |
src/Api/EducationProcess.DataAccess/Repositories/DisciplineRepository.cs | NotKohtpojiep/EducationProcess | 2 | 7051093 | <reponame>NotKohtpojiep/EducationProcess
using System.Threading.Tasks;
using EducationProcess.DataAccess.Entities;
using EducationProcess.DataAccess.Repositories.Interfaces;
using Microsoft.EntityFrameworkCore;
namespace EducationProcess.DataAccess.Repositories
{
public class DisciplineRepository : RepositoryBase... |
src/Doggy.Extensions/Swagger/SwaggerExtensions.cs | blackhorseya/learn-dotnet-api | 0 | 7051094 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using Doggy.Extensions.Configuration.AppInfo;
using Doggy.Extensions.Configuration.Authentication;
using Doggy.Extensions.Configuration.Swagger;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configurat... |
HappySet/Commit.cs | CORDEA/HappySet | 0 | 7051095 | using System.Collections.Generic;
namespace HappySet
{
public class Commit<T> where T : IMHappy
{
public string Message { get; }
public HashSet<T> HashSet { get; }
public Commit(string message, HashSet<T> hashSet)
{
Message = message;
HashSet = hashSet... |
ProgrammingFundamentals/Labs/05.ArraysLab/04.TripleSumm/Program.cs | SonicTheCat/ProgramingFundamentals-SoftUni | 0 | 7051096 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _04.TripleSumm
{
class Program
{
static void Main(string[] args)
{
string numbers = Console.ReadLine();
var array = numbers.Split(' ').Select(lo... |
wcg/WebFiles/XsdFile.cs | gwicksted/wcg | 1 | 7051097 | <reponame>gwicksted/wcg
using System.IO;
using System.Linq;
using System.Xml.Schema;
namespace wcg.WebFiles
{
internal class XsdFile : WebFile
{
public XsdFile(string inputPath, string outputPath) : base(inputPath, outputPath)
{
Schema = ReadSchema(InputPath);
Imports =... |
src/FluffySpoon.AspNet.Authentication.Jwt/ClaimsResult.cs | ffMathy/FluffySpoon.AspNet.Authentication | 2 | 7051098 | using System;
using System.Collections.Generic;
using System.Text;
namespace FluffySpoon.AspNet.Authentication.Jwt
{
public class ClaimsResult
{
public string[] Roles { get; set; }
public IDictionary<string, string> Claims { get; set; }
public ClaimsResult()
{
Roles = new string[0];
C... |
MonitorService/Worker.cs | estiller/dotnetconf2019-il | 0 | 7051099 | <filename>MonitorService/Worker.cs
using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace MonitorService
{
public class Worker : BackgroundService
{
... |
Whois.Tests/Servers/IanaServerLookupTest.cs | thedaveCA/whois | 0 | 7051101 | using System;
using NUnit.Framework;
using Whois.Net;
namespace Whois.Servers
{
[TestFixture]
public class IanaServerLookupTest
{
private IanaServerLookup lookup;
private SampleReader reader;
[SetUp]
public void SetUp()
{
SerilogConfig.Init();
... |
src/Sarif.Viewer.VisualStudio.UnitTests/ErrorList/SarifErrorListItemTests.cs | microsoft/sarif-visualstudio-extension | 18 | 7051102 | // 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.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Microsoft.CodeAnalysis.Sarif;
using Xunit;
using XamlDoc = System.... |
src/TacitusLogger/Builders/LogGroupBuilder.cs | khanlarmammadov/TacitusLogger | 0 | 7051103 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using TacitusLogger.Destinations;
using TacitusLogger.Caching;
using TacitusLogger.Strategies.DestinationFeeding;
namespace TacitusLogger.Builders
{
/// <summary>
/// Builds a log group for the given logger builder.
/... |
bamcis.Lambda.Common/CustomResources/CustomResourceFactory.cs | bamcis-io/AWSLambda.Common | 2 | 7051104 | using Amazon.Lambda.Core;
using System;
using System.Threading.Tasks;
namespace BAMCIS.Lambda.Common.CustomResources
{
/// <summary>
/// A basic implementation of the CustomResourceHandler. Simply provide the
/// create, update, and delete methods upon creation, and then call ExecuteAsync
/// passing... |
VegaLite.NET/Schema/GridDashOffset.cs | trmcnealy/VegaLite.NET | 4 | 7051105 | <gh_stars>1-10
namespace VegaLite.Schema
{
public struct GridDashOffset
{
public ConditionalAxisPropertyNumberNullClass ConditionalAxisPropertyNumberNullClass;
public double? Double;
public static implicit operator GridDashOffset(ConditionalAxisPropertyNu... |
CmdletHelpGenerator/CmdletInfo.cs | phrueegsegger/PnP-PowerShell | 0 | 7051106 | <reponame>phrueegsegger/PnP-PowerShell<filename>CmdletHelpGenerator/CmdletInfo.cs
using System;
using System.Collections.Generic;
using System.Management.Automation;
namespace SharePointPnP.PowerShell.CmdletHelpGenerator
{
public class CmdletInfo
{
public string Verb { get; set; }
public strin... |
Aras.VS.MethodPlugin/Code/CSharpCodeProvider.cs | VitaliiPasichnykAmcbridge/ArasVSMethodPlugin | 0 | 7051107 | //------------------------------------------------------------------------------
// <copyright file="CSharpCodeProvider.cs" company="Aras Corporation">
// © 2017-2018 Aras Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
using Syste... |
src/OrchardCore/OrchardCore.Feeds.Abstractions/Models/ContextualizeContext.cs | SvanBoxel/OrchardCore | 5,234 | 7051108 | using System;
using Microsoft.AspNetCore.Mvc;
namespace OrchardCore.Feeds.Models
{
public class ContextualizeContext
{
public IServiceProvider ServiceProvider { get; set; }
public IUrlHelper Url { get; set; }
}
}
|
Source/Modules/Rewards/Rewards.BusinessEntity/CouponRuleModel.cs | rentianhua/surfboard | 0 | 7051109 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CCN.Modules.Rewards.BusinessEntity
{
/// <summary>
///
/// </summary>
public class CouponRuleModel
{
/// <summary>
/// Innerid
/// </summary>
... |
NBear.Common/JSON/JSONArray.cs | shnug/NBear | 0 | 7051110 | <reponame>shnug/NBear
using System;
using System.Collections;
using System.Text;
namespace NBear.Common.JSON
{
/// <summary>
/// <para>
/// A JSONArray is an ordered sequence of values. Its external form is a string
/// wrapped in square brackets with commas between the values. The internal form
/// is an ob... |
Commons.Test/Extensions/IntegerExtensionsTests.cs | chrisg32/Commons | 0 | 7051111 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CG.Commons.Extensions;
using Xunit;
namespace CG.Commons.Test.Extensions
{
public class IntegerExtensionsTests
{
[Theory]
[InlineData(0, true)]
[InlineData(1, false... |
Assets/_Project/Scripts/Utilities/SpriteFlipper.cs | rjga94/gdhq-jam-unity | 1 | 7051112 | <gh_stars>1-10
using UnityEngine;
namespace Utilities
{
[RequireComponent(typeof(SpriteRenderer))]
public class SpriteFlipper : MonoBehaviour
{
private const float threshold = 0.1f;
[SerializeField] private Rigidbody2D _rigidbody2D;
private SpriteRenderer _spriteRenderer;
... |
src/WInterop.Desktop/Support/Buffers/BufferFuncWrapper.cs | willibrandon/WInterop | 49 | 7051113 | <reponame>willibrandon/WInterop
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace WInterop.Support.Buffers
{
public struct BufferFuncWrapper<TBufferFunc, TBuffer, T>
: IBufferAction<TBuffer> where T... |
Tiles/Views/Post/Create.cshtml | CTAPbIuKODEP/Tiles | 4 | 7051114 | @model Tiles.Models.Data.Post
@{
ViewBag.Title = "Create post";
Layout = "_LayoutHome";
}
<div class="container bg-fill">
<h1>Create post</h1>
@Html.Partial("_PostForm", Model, Html.vd(new { action = "Create" }));
</div> |
Assets/src/ui/StatsPanel.cs | leodenault/Beautiful-Dream-Forever | 1 | 7051115 | <gh_stars>1-10
using UnityEngine;
using UnityEngine.UI;
public class StatsPanel : MonoBehaviour {
public Text styleText;
public Text slotText;
public Text essenceText;
public void UpdateStats(ClothingData data) {
if (data != null) {
styleText.text = Util.ReadableEnumName<ClothingData.ClothingStyle>(data.St... |
Source/Assignment_Das_Shila.Target.cs | shilaranidas/Game2013Assignment | 0 | 7051116 | <reponame>shilaranidas/Game2013Assignment<gh_stars>0
// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public class Assignment_Das_ShilaTarget : TargetRules
{
public Assignment_Das_ShilaTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Game;
D... |
src/cloudscribe.Core.Web/Views/Sys/Shared/EmailTemplates/ConfirmAccountHtmlEmail.cshtml | alexsandrocruz/cloudscribe | 0 | 7051118 | <reponame>alexsandrocruz/cloudscribe<gh_stars>0
@model string
@{
Layout = "_LayoutEmailNotification";
ViewData["Title"] = "Email Confirmation Required";
}
Please confirm your account by clicking this link: <a href="@Model">link</a>
|
C#/WindowsPhone/LGame-XNA-lib/Loon.Net/WebHelper.cs | cping/LGame | 428 | 7051119 | using System.IO;
using System;
using System.Net;
using System.Text;
using Loon.Core;
namespace Loon.Net
{
public class WebHelper
{
public static Stream OpenStream(Uri uri)
{
WebHelper web = new WebHelper();
web.SendRequest(uri);
return web.Stream;
... |
src/AuthJanitor.Providers.CosmosDb/CosmosDbRekeyableObjectProvider.cs | skolbin-ssi/AuthJanitor | 39 | 7051120 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using AuthJanitor.CryptographicImplementations;
using AuthJanitor.Providers.Azure;
using AuthJanitor.Providers.Azure.Workflows;
using AuthJanitor.Providers.Capabilities;
using Microsoft.Azure.Management.CosmosDB.Fluent;
using Microsoft.Azure.Ma... |
Src/Gravyframe.Constants/ContentConfiguration.cs | gravypower/Gravyframe | 2 | 7051121 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ContentConfiguration.cs" company="Gravypowered">
// Copyright 2013 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this fi... |
VK.Android/sample/VK.Android.Sample/VK.Android.Sample/ViewModels/MainPageViewModel.cs | KevinHu-au/VKontakte-Binding | 0 | 7051122 | using Prism.Commands;
using Prism.Mvvm;
using Prism.Navigation;
using Prism.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VK.Android.Sample.Models;
using VK.Android.Sample.Services.Contracts;
namespace VK.Android.Sample.ViewModels
{
public class Mai... |
RegexTester.cs | peterhorsley/searchsharp | 0 | 7051123 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace SearchSharp
{
class RegexTester
{
public static bool IsValid(string pattern)
{
try
{
var regex = new Regex... |
Testing/Domain/SelectionTests.cs | opidopiopi/kaboom | 0 | 7051124 | using Kaboom.Application;
using Kaboom.Domain;
using Kaboom.Domain.Services;
using Kaboom.Domain.WindowTree;
using Kaboom.Domain.WindowTree.ValueObjects;
using Kaboom.Testing.Mocks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System.Linq;
namespace Kaboom.Testing.Domain
{
[Tes... |
AutoForms/Enums/AutoFormsOrientation.cs | patrickabadi/AutoForms | 23 | 7051125 | <reponame>patrickabadi/AutoForms<filename>AutoForms/Enums/AutoFormsOrientation.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace AutoForms
{
public enum AutoFormsOrientation
{
Horizontal,
HorizontalReversed,
Vertical,
Default,
}
}
|
WeiboSharp/Classes/ResponseWrappers/Insta/User/InstaUserListResponse.cs | TimothyMakkison/WeiboSharp | 0 | 7051126 | <gh_stars>0
using System.Collections.Generic;
using WeiboSharp.Classes.ResponseWrappers.InstaBaseResponse;
using Newtonsoft.Json;
namespace WeiboSharp.Classes.ResponseWrappers
{
public class InstaUserListResponse : BaseStatusResponse
{
[JsonProperty("users")] public List<InstaUserResponse> Items { get... |
Src/Microsoft.Scripting/Runtime/InvariantContext.cs | TwoUnderscorez/dlr | 307 | 7051127 | // 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 System;
namespace Microsoft.Scripting.Runtime {
/// <summary>
/// Singleton LanguageContext wh... |
Rideshare.Data/RideshareDbContext.cs | ivanrk/Rideshare | 0 | 7051128 | <reponame>ivanrk/Rideshare
namespace Rideshare.Data
{
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Rideshare.Data.Models;
using Rideshare.Data.Models.Forum;
public class RideshareDbContext : IdentityDbContext<User>
{
public Ridesha... |
Example/Service/IPersonService.cs | sososu/SummerBoot | 96 | 7051129 | using System;
using System.Threading.Tasks;
using Example.Models;
namespace Example.Service
{
public interface IPersonService
{
Person InsertPerson(Person person);
Person FindPerson(string name);
Person UpdatePerson(Person person);
bool DeletePerson(Person person);
T... |
TestSupport/EfHelpers/ApplyScriptExtension.cs | Selmirrrrr/EfCore.TestSupport | 0 | 7051130 | <gh_stars>0
// Copyright (c) 2017 <NAME>, GitHub: JonPSmith, web: http://www.thereformedprogrammer.net/
// Licensed under MIT licence. See License.txt in the project root for license information.
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
... |
UI/Blazor/CloudConsult.UI.Redux/States/Consultation/TimeSlotState.cs | devntofficial/CloudConsultRC | 1 | 7051131 | <gh_stars>1-10
using CloudConsult.UI.Data.Consultation;
using CloudConsult.UI.Redux.States.Shared;
using Fluxor;
namespace CloudConsult.UI.Redux.States.Consultation
{
[FeatureState]
public record TimeSlotState : UIState
{
public List<TimeSlotResponseData> TimeSlots { get; init; } = new();
}
}
|
REST-SDK/src/Cumulocity.SDK.Client/Rest/Model/C8Y/Hardware.cs | SoftwareAG/cumulocity-sdk-cs | 0 | 7051132 | /*
* Copyright (C) 2019 Cumulocity GmbH
*
* 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, pu... |
WPFWindowFactory/WPFWindowFactory/MainWindowVM.cs | xiong-ang/MVVM-Factory | 0 | 7051133 | using MVVMBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using System.Windows.Input;
using WPFWindowFactory.Utils;
using WPFWindowFactory.ViewModels;
using WPFWindowFactory.Views;
namespace WPFWindowFactory
{
... |
source/LanguageVersion.cs | markgibbons25/EasyLingo | 3 | 7051134 | <reponame>markgibbons25/EasyLingo
namespace TheReference.DotNet.Sitecore.EasyLingo
{
public enum VersionStatus
{
Exists,
IsFallback,
None,
Extra
}
public class LanguageVersion
{
public VersionStatus Status { get; set; }
public string Name { get; set... |
TemplateMethod/IAssetImporter.cs | kakureusagi/DesignPattern | 0 | 7051135 | <reponame>kakureusagi/DesignPattern
namespace TemplateMethod {
/// <summary>
/// アセット用のインポーター
/// </summary>
public interface IAssetImporter {
/// <summary>
/// インポートする
/// </summary>
void Import();
}
} |
GenderPayGap.WebUI/Models/Report/ReportBonusPayViewModel.cs | uk-gov-mirror/cabinetoffice.gender-pay-gap | 2 | 7051136 | <filename>GenderPayGap.WebUI/Models/Report/ReportBonusPayViewModel.cs
using GovUkDesignSystem;
using GovUkDesignSystem.Attributes;
using GovUkDesignSystem.Attributes.ValidationAttributes;
using Microsoft.AspNetCore.Mvc.ModelBinding;
namespace GenderPayGap.WebUI.Models.Report
{
public class ReportBonusPayVi... |
Assets/NebusokuDev/Smith/Samples/StarterKit/Runtime/Movement/Sensor/RayCastSensor.cs | SummitRidgeEdu/ShooterWeaponSystemForUnity | 10 | 7051137 | <gh_stars>1-10
using System;
using UnityEngine;
namespace NebusokuDev.Smith.Samples.StarterKit.Runtime.Movement.Sensor
{
[Serializable]
public class RayCastSensor : IGroundSensor
{
[SerializeField] private LayerMask groundLayer = -1;
[SerializeField] private float groundDistance = .2f;
... |
Connectors/SpecFlow.VisualStudio.SpecFlowConnector.V1/Discovery/SpecFlowV21Discoverer.cs | tlecomte/SpecFlow.VS | 0 | 7051138 | <gh_stars>0
using System;
using TechTalk.SpecFlow.Configuration;
namespace SpecFlow.VisualStudio.SpecFlowConnector.Discovery
{
public class SpecFlowV21Discoverer : SpecFlowV22Discoverer
{
protected override IRuntimeConfigurationProvider CreateConfigurationProvider(string configFilePath)
{
... |
src/AzerothWarsCSharp.ObjectFactory/Abilities/ImmolationFactory.cs | YakaryBovine/AzerothWarsCSharp | 0 | 7051139 | using AzerothWarsCSharp.ObjectFactory.AbilityProperties;
using War3Api.Object;
using War3Api.Object.Abilities;
namespace AzerothWarsCSharp.ObjectFactory.Abilities
{
public sealed class ImmolationFactory : ActiveAbilityFactory<ImmolationCreep>
{
public LeveledAbilityPropertyFloat BufferManaRequired { get; set;... |
ApiTestEngine.Shared/Models/ApiRequestPlaylist.cs | jazeem-azeez/ApiTestEngine | 0 | 7051140 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ApiTestEngine.Shared.Models
{
public class ApiRequestPlaylist
{
public string PlayListId { get; set; }
public string Description { get; set; }
public List<strin... |
client/Assets/CSharpScripts/ServerTasks/Task_G2C_SyncPackageHandler.cs | DavidSheh/version | 3 | 7051141 | <gh_stars>1-10
using UnityEngine;
using System.Collections;
using Proto;
[ServerTask(typeof(Task_G2C_SyncPackage))]
public class Task_G2C_SyncPackageHandler : TaskHandler<Task_G2C_SyncPackage>
{
#region implemented abstract members of TaskHandler
public override void DoTask(Task_G2C_SyncPackage task)
{
... |
Chapter07/src/Regulatory/Services/WebServiceProxy/DocumentSubmitterProxy.cs | wagnerhsu/packt-Enterprise-Application-Architecture-with-NET-Core | 0 | 7051142 | namespace Services.WebServiceProxy
{
/// <summary>
/// Document Proxy class that deals/calls the appropriate web service.
/// The calling web service endpoint and request depends on the type of document to submit to relevant authorities.
/// Possible third parties to call and pass-on the data: Gov Auth... |
src/Battleships/Battleships/Square.cs | vic-alexiev/Miscellanea | 0 | 7051143 | <filename>src/Battleships/Battleships/Square.cs
// ********************************
// <copyright file="Square.cs" company="Anonymous Solutions Inc.">
// Copyright (c) 2013 Anonymous Solutions Inc. All rights reserved.
// </copyright>
//
// ********************************
namespace Battleships
{
using Battleships... |
PureSoft.Controls.VisualStudio/Colors/Vs2010TabControlColorTable.cs | Gartenschlaeger/LuaEditor | 0 | 7051144 | <filename>PureSoft.Controls.VisualStudio/Colors/Vs2010TabControlColorTable.cs<gh_stars>0
using System.Drawing;
namespace PureSoft.Controls.VisualStudio.Colors
{
public abstract class Vs2010TabControlColorTable
{
public abstract Vs2010CommonColorTable CommonColorTable { get; }
public abstract ... |
BookingSeatPlan/Converter.cs | BogdanPasterak/BookingSeatPlan | 0 | 7051145 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace BookingSeatPlan
{
class Converter
{
internal static string[] CoursesToStrings(Course course)
{
string[] lines = new ... |
Riff.Core/Data/IPlaylistItemAccessor.cs | viswanathr88/Riff-Music-Xamarin | 1 | 7051146 | using System.Collections.Generic;
namespace Riff.Data.Sqlite
{
public sealed class PlaylistItemAccessOptions
{
public long? PlaylistItemFilter { get; set; }
public long? PlaylistFilter { get; set; }
public bool IncludeDriveItem { get; set; }
public bool GetLastItemOnly { get; s... |
apis/Google.Cloud.Dialogflow.Cx.V3/Google.Cloud.Dialogflow.Cx.V3/AdvancedSettings.g.cs | boxstack/google-cloud-dotnet | 474 | 7051147 | <gh_stars>100-1000
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dialogflow/cx/v3/advanced_settings.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = globa... |
ExtractorSharp/View/Dialog/NewImgDialog.designer.cs | imfox/ExtractorSharp | 43 | 7051148 | using ExtractorSharp.Component;
namespace ExtractorSharp.View.Dialog {
partial class NewImgDialog {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources bei... |
JeuVideoJoliette/Assets/City Builder Template/Scripts/ui/windows/train_troops_window/TrainTroopsWindowScript.cs | MartinDesrosiers/JeuVideoJoliette | 0 | 7051149 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TrainTroopsWindowScript : WindowScript {
public static TrainTroopsWindowScript instance;
/* prefabs */
public GameObject TrainingQueueTroopItem;
/* object references */
public ProgressPanelScript GoldInfo... |
DynamicData/Cache/ChangeSet.cs | ghuntley/DynamicData | 1 | 7051150 | <filename>DynamicData/Cache/ChangeSet.cs
using System;
using System.Collections;
using System.Collections.Generic;
using DynamicData.Annotations;
using DynamicData.Kernel;
// ReSharper disable once CheckNamespace
namespace DynamicData
{
/// <summary>
/// A set of changes applied to the
/// </summary>
... |
Live HTML Editor/Program.cs | abuhenasobuj/Live-HTML-Editor | 4 | 7051151 | <filename>Live HTML Editor/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Reflection;
namespace Live_HTML_Editor
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
... |
Source/ConfigurableContainers/SwitchableTankManagerGUI.cs | net-lisias-kspu/ConfigurableContainers | 0 | 7051152 | // SwitchableTankManagerGUI.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2016 <NAME>
using System;
using UnityEngine;
using AT_Utils;
namespace ConfigurableContainers
{
public partial class SwitchableTankManager
{
public delegate float AddTankDelegate(string tank_type, float vo... |
Greetings/Managers/MenuButtonManager.cs | Sirspam/Greetings | 3 | 7051154 | <gh_stars>1-10
using System;
using BeatSaberMarkupLanguage;
using BeatSaberMarkupLanguage.MenuButtons;
using Greetings.UI.FlowCoordinator;
using Zenject;
namespace Greetings.Managers
{
internal class MenuButtonManager : IInitializable, IDisposable
{
private readonly MenuButton _menuButton;
private readonly Main... |
Backend/LanguageLearningPlatform.Services/ServiceModels/CardUserStatisticsServiceModel.cs | MrSpecialR/FlashcardAngularApp | 0 | 7051155 | <reponame>MrSpecialR/FlashcardAngularApp
using AutoMapper;
namespace LanguageLearningPlatform.Services.ServiceModels
{
using System;
using Models;
using Infrastructure;
public class CardUserStatisticsServiceModel : ICustomMapConfiguration
{
public CardServiceModel Card { get; set; }
... |
Script C#/Aulas/Aula06/Program.cs | eduardobaltazarmarfim/CSharp | 0 | 7051156 | <reponame>eduardobaltazarmarfim/CSharp
using System;
namespace Aula06
{
class Program
{
static void Main()
{
double valorcompra=5.50;
double valorvenda;
double lucro=0.1;
string produto="Pastel";
valorvenda=valorcompra/(1-lucro);
... |
Devices/Onvif/OnvifClientFactory.cs | jeremyVignelles/OnvifEventsReceiver | 14 | 7051157 | using System;
using System.Collections.Generic;
using System.Net;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.Text;
using Common.EventReceiver;
using Common.Util;
using Devices.Onvif.Behaviour;
using Devices.Onvif.Security;
namespace Devices.Onvif
{
class OnvifClientFactory : IOnvi... |
KFC_Mobile/KFC_Mobile/Assets/Scripts/PlayerMovement.cs | dmf463/SphereFriend_Mobile | 0 | 7051158 | <filename>KFC_Mobile/KFC_Mobile/Assets/Scripts/PlayerMovement.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using BehaviorTree;
public class PlayerMovement : MonoBehaviour
{
public float speed;
private TaskManager tm;
private Vector3 currentPos;
public Vector3 prima... |
src/Okta.Idx.Sdk/IdxResponse.cs | surbhisahdev2/okta-idx-dotnet-sample | 6 | 7051159 | <reponame>surbhisahdev2/okta-idx-dotnet-sample<gh_stars>1-10
// <copyright file="IdxResponse.cs" company="Okta, Inc">
// Copyright (c) 2020 - present Okta, Inc. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
// </copyright>
using S... |
Pages/Goods/OneOfList/Create.cshtml.cs | olegbruev/Mtd.Cpq.Manager | 1 | 7051161 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Mvc.Rendering;
using Mtd.Cpq.Manager.Data;
using Mtd.Cpq.Manager.Pages.Goods;
namespace Mtd.Cpq.Manager
{
public class ... |
Microsoft.Health.Fhir.Transformation.BatchExecutor/StorageDefinitionLoader.cs | TerriblyVexed/FHIR-Analytics-Pipelines | 36 | 7051162 | <reponame>TerriblyVexed/FHIR-Analytics-Pipelines<filename>Microsoft.Health.Fhir.Transformation.BatchExecutor/StorageDefinitionLoader.cs
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the... |
DaemonEngine.Physics.Abstractions/Shapes/ColliderShapeBase.cs | daemon-engine/DaemonEngine | 0 | 7051163 | using DaemonEngine.Graphics.Renderer;
namespace DaemonEngine.Physics.Shapes;
public interface IColliderShape
{
IMesh Mesh { get; }
}
public class ColliderShapeBase : IColliderShape
{
public ColliderShapeBase(IMesh mesh)
{
Mesh = mesh;
}
public IMesh Mesh { get; }
}
|
Assets/External/TimeWalk/Scripts/TimeWalkUI.cs | TimeWalkOrg/TimeWalk | 1 | 7051164 | using System;
using System.Collections.Generic;
using UnityEngine;
namespace TimeWalk.Platform
{
using UnityEngine.UI;
public class TimeWalkUI : MonoBehaviour
{
public GameObject levelTextPrefab;
public GameObject commandMenuItemTextPrefab;
private Text locationText;
priv... |
c# poo/Calc_Static/Global.cs | P3nto5/curso-cSharp | 1 | 7051165 | <filename>c# poo/Calc_Static/Global.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Globalization;
namespace Calc_Static
{
class Global
{
public Double Pi = 3.14;
public double Circunferencia(double r)
{
return 2.0 * Pi * r;
}
... |
src/CosmosOData.DataGenerator/Program.cs | rjygraham/CosmosOData | 2 | 7051166 | <filename>src/CosmosOData.DataGenerator/Program.cs<gh_stars>1-10
using Bogus;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System;
using System.IO;
namespace CosmosOData.DataGenerator
{
class Program
{
static void Main(string[] args)
{
JsonConvert.DefaultSettings = () =... |
csbcgftutorial/Program.cs | finkmoritz/csccgl | 1 | 7051167 | using System;
using System.Collections.Generic;
using csbcgf;
namespace csbcgftutorial
{
class MainClass
{
public static void Main(string[] args)
{
IGame myGame = new Game();
IPlayer myPlayer1 = new Player();
IPlayer myPlayer2 = new Player();
m... |
src/OData.QueryBuilder/Conventions/AddressingEntities/Query/ODataQuery.cs | h3rmanj/OData.QueryBuilder | 32 | 7051168 | <filename>src/OData.QueryBuilder/Conventions/AddressingEntities/Query/ODataQuery.cs
using OData.QueryBuilder.Conventions.Constants;
using OData.QueryBuilder.Extensions;
using OData.QueryBuilder.Options;
using System;
using System.Collections.Generic;
using System.Text;
namespace OData.QueryBuilder.Conventions.Address... |
Source/Pyxis/ViewModels/Partials/CommentsAreaViewModel.cs | mika-f/Pyxis | 3 | 7051169 | using System;
using System.Reactive.Linq;
using Pyxis.Models.Parameters;
using Pyxis.Models.Pixiv;
using Pyxis.Mvvm;
using Pyxis.ViewModels.Base;
using Pyxis.ViewModels.Contents;
using Reactive.Bindings;
using Reactive.Bindings.Extensions;
using Sagitta.Models;
namespace Pyxis.ViewModels.Partials
{
public clas... |
NetworksUnityGame/Assets/Scripts/TankSpawner.cs | JoanBarduena/TankBang | 0 | 7051170 | <reponame>JoanBarduena/TankBang
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Photon.Pun;
public class TankSpawner : MonoBehaviour
{
private void Awake()
{
GetComponent<MeshRenderer>().enabled = false;
}
public void SpawnTank(int playerNumber)
{
... |
src/PSDocs/Configuration/PSDocumentOption.cs | vicperdana/PSDocs | 0 | 7051171 | <gh_stars>0
using PSDocs.Resources;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Management.Automation;
using System.Threading;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;
namespace PSDocs.Con... |
Assets/InfinityEngine/Frameworks/VP/Scripts/PrefTypes.cs | mciissee/IntoTheHole | 5 | 7051172 | /************************************************************************************************************************************
* Developed by <NAME> *
* Mail => <EMAIL> ... |
PATRIMONIO/Controllers/PatrimoniosController.cs | wagnerlouzada/DESAFIO | 0 | 7051173 | <reponame>wagnerlouzada/DESAFIO
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Description;
using... |
src/MusicCatalog/Common/Models/Playlist.cs | blakepell/MusicCatalog | 0 | 7051174 | /*
* Music Catalog
*
* @project lead : <NAME>
* @website : http://www.blakepell.com
* @copyright : Copyright (c), 2018-2021 All rights reserved.
* @license : MIT
*/
using Dapper.Contrib.Extensions;
using System;
namespace MusicCatalog.Common.Models
{
[Table("Playlist")]
... |
src/Szlem.AspNetCore/Controllers/v1/IdentityController.cs | Yaevh/fcc-net50-bug-repro | 1 | 7051175 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CSharpFunctionalExtensions;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Szlem.AspNetCore.Contr... |
src/mono/netcore/System.Private.CoreLib/src/System/Environment.Unix.Mono.cs | abock/runtime | 2 | 7051176 | // 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;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerS... |
libsup/Extensions.cs | maki-chan/libsup | 1 | 7051177 | using System;
namespace libsup
{
/// <summary>
/// Provides various extension methods used in this library.
/// </summary>
internal static class Extensions
{
/// <summary>
/// Creates a slice of the array.
/// </summary>
/// <param name="arr">The array from which a ... |
Construct3/Construct3/Firewall/Manager.cs | dgerding/Construct | 0 | 7051178 | <filename>Construct3/Construct3/Firewall/Manager.cs<gh_stars>0
using NetFwTypeLib;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Firewall
{
public class Manager
{
// Code reference
/* http://stack... |
Sharpex2D/Math/Rectangle.cs | ThuCommix/Sharpex2D | 37 | 7051179 | <reponame>ThuCommix/Sharpex2D
// Copyright (c) 2012-2014 Sharpex2D - <NAME> (ThuCommix)
//
// 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 limitatio... |
src/Songbird.Web/Contracts/IFikaScheduleService.cs | karl-sjogren/songbird | 0 | 7051180 | <reponame>karl-sjogren/songbird
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Songbird.Web.Models;
namespace Songbird.Web.Contracts {
public interface IFikaScheduleService {
Task<FikaSchedule> GetCurrentFikaScheduleAsync(CancellationToken cancel... |
DynamicWrappers/IDynamicModel.cs | Heartnett/Dynamic | 1 | 7051181 | <gh_stars>1-10
using System;
using System.ComponentModel;
namespace DynamicWrappers
{
/// <summary>
/// Describes the functions a dynamic model object should implement.
/// </summary>
public interface IDynamicModel: IDisposable, INotifyPropertyChanged
{
/// <summary>
/// Returns th... |
src/StripeTests/Entities/StripeTokenTest.cs | pradeepannepu/stripe-dotnet | 0 | 7051182 | <filename>src/StripeTests/Entities/StripeTokenTest.cs<gh_stars>0
namespace StripeTests
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Stripe;
using Xunit;
public class StripeTokenTest : BaseStripeTest
{
[Fact]
... |
src/toofz.NecroDancer/Replays/Player.cs | leonard-thieu/toofz-necrodancer-core | 1 | 7051184 | <filename>src/toofz.NecroDancer/Replays/Player.cs
using System.Collections.Generic;
namespace toofz.NecroDancer.Replays
{
/// <summary>
///
/// </summary>
public sealed class Player
{
// 0 - Cadence
// 1 - Melody
// 2 - Aria
// 3 - Dorian
// 4 - Eli
... |
Core/Models/Base.cs | clairekuang/Core | 0 | 7051185 | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Speckle.Core.Api;
using Speckle.Core.Transports;
namespace Speckle.Core.Models
{
/// <summary>
/// Base class for all Speckle object definitions. Provides unified hashing, type extraction and serialisation.
... |
Ultrapowa Clash Server/Packets/Messages/Client/ChangeAllianceMemberRoleMessage.cs | starfury1927/UltraPowaCOC | 1 | 7051186 | namespace UCS.PacketProcessing.Messages.Client
{
// Packet 14306
internal class ChangeAllianceMemberRoleMessage : Message
{
public static int PacketID = 14306;
}
} |
Solutions/Argotic.Core/Syndication/Specialized/Apml/ApmlSource.cs | HowardvanRooijen/Argotic-1 | 5 | 7051187 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Xml;
using System.Xml.XPath;
using Argotic.Common;
using Argotic.Extensions;
namespace Argotic.Syndication.Specialized
{
/// <summary>
/// Represents a specific source of information that an en... |
sdk/Finbourne.Workflows.Sdk.Extensions.IntegrationTests/ApiExceptionExtensionsTest.cs | finbourne/workflows-sdk-extensions-csharp | 0 | 7051188 | using Finbourne.Workflows.Sdk.Api;
using Finbourne.Workflows.Sdk.Client;
using Finbourne.Workflows.Sdk.Model;
using Newtonsoft.Json;
using NUnit.Framework;
using System;
using System.Linq;
using System.Net;
namespace Finbourne.Workflows.Sdk.Extensions.IntegrationTests
{
[TestFixture]
public class ApiExceptionE... |
PizzaWorld.Storing/Migrations/20210110221819_FirstUpdate_Migration.cs | khaling/project.p0 | 0 | 7051189 | <reponame>khaling/project.p0<filename>PizzaWorld.Storing/Migrations/20210110221819_FirstUpdate_Migration.cs
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace PizzaWorld.Storing.Migrations
{
public partial class FirstUpdate_Migration : Migration
{
protected override void Up(Migrat... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.