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/server/Api/HospitalBookingSystemApi.Api.Models/Doctors/AppointmentPatient.cs | pirocorp/ReactJS-Project | 0 | 7043191 | namespace HospitalBookingSystemApi.Api.Models.Doctors
{
using HospitalBookingSystemApi.Data.Models;
using HospitalBookingSystemApi.Services.Mapping;
public class AppointmentPatient : IMapFrom<Patient>
{
public string Id { get; set; }
public string FirstName { get; set; }
publ... |
src/Rubik.Toolkit/Extensions/DoubleExtensions.cs | huangjia2107/Rubik | 2 | 7043192 | using Rubik.Toolkit.Utils;
namespace Rubik.Toolkit.Extensions
{
public static class DoubleExtensions
{
public static bool IsValid(this double doubleValue, bool allowNegative, bool allowNaN, bool allowPositiveInfinity, bool allowNegativeInfinity)
{
if (!allowNegative)
{
... |
ShoesStore/ShoesStore/Controllers/ShoesController.cs | KrasiMarkov/ShoesStore | 2 | 7043193 | using AutoMapper;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using ShoesStore.Areas.Admin.Controllers;
using ShoesStore.Data;
using ShoesStore.Data.Infrastructure.Extensions;
using ShoesStore.Data.Models;
using ShoesStore.Models.Shoes;
using ShoesStore.Services.Sellers;
using ShoesStore.... |
YuGiOhBot/Commands/StatsCommand.cs | Skulcat/Yugioh-Bot | 0 | 7043194 | using Discord;
using Discord.Commands;
using Discord.WebSocket;
using MoreLinq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YuGiOhBot.Attributes;
namespace YuGiOhBot.Commands
{
public class StatsCommand : ModuleBase<SocketCommandContext... |
src/Autocrat.Transform.Managed/CodeGeneration/SwitchOnStringEmitter.Block.cs | samcragg/Autocrat | 0 | 7043195 | // Copyright (c) <NAME>.
//
// Licensed under the MIT license. See LICENSE file in the project root for
// full license information.
namespace Autocrat.Transform.Managed.CodeGeneration
{
using System;
using Mono.Cecil.Cil;
/// <content>
/// Contains the nested <see cref="Block"/> class.
/// </con... |
ETANotifications.Tests/Services/NotificationServiceTest.cs | TwilioDevEd/gps-tracking-csharp | 3 | 7043196 | using ETANotifications.Services;
using Moq;
using NUnit.Framework;
using System.Threading.Tasks;
using Twilio.Clients;
using Twilio.Http;
namespace ETANotifications.Tests.Services
{
[TestFixture]
public class NotificationServiceTest
{
[Test]
public async Task WhenSendANotification_AMessage... |
src/PacketTracer/Interfaces/IPacket.cs | FominVlad/Packet-tracer | 0 | 7043198 | <reponame>FominVlad/Packet-tracer
namespace PacketTracer.Interfaces
{
/// <summary>
/// Packet interface.
/// </summary>
interface IPacket
{
/// <summary>
/// Command character.
/// </summary>
public string commandCharacter { get; set; }
/// <summary>
... |
SimpleProcessFramework/Serialization/DataContracts/ComplexReflectedDataContractSerializer.cs | fbrosseau/SimpleProcessFramework | 0 | 7043199 | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Spfx.Serialization.DataContracts
{
internal sealed class ComplexReflectedDataContractSerializer : BaseReflectedDataContractSerializer
{
private readonly Func<object> m_constructor;
public C... |
src/CoreValidation/Specifications/Commands/MemberScope.cs | Grosbo/CoreValidation | 0 | 7043200 | <gh_stars>0
using System;
using System.Reflection;
using CoreValidation.Errors;
using CoreValidation.Validators;
namespace CoreValidation.Specifications.Commands
{
internal sealed class MemberScope<TModel, TMember> : IScope<TModel> where TModel : class
{
private readonly Func<MemberScope<TModel, TMemb... |
PixelRPG.Base/Assets/UnitAnimations/MonkSprite.cs | ApmeM/PixelRPG | 0 | 7043201 | namespace PixelRPG.Base.Assets.UnitAnimations
{
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using SpineEngine.ECS.EntitySystems.Animation;
using SpineEngine.Graphics.Drawable;
public class MonkSprite : UnitAnimation
{
public MonkSprite(ContentManager ... |
ChangeDetector/ElementChange.cs | jehugaleahsa/ChangeDetector | 7 | 7043202 | <filename>ChangeDetector/ElementChange.cs
using System;
namespace ChangeDetector
{
public interface IElementChange<TElement>
{
TElement Item { get; }
ElementState State { get; }
}
internal class ElementChange<TElement> : IElementChange<TElement>
{
public ElementChange(TEl... |
Documentation.Analyser.Test/Constructor/ConstructorParameterDocumentationFixTests.cs | jimmymain/Documentation.Analyzers | 1 | 7043203 | // <copyright file="ConstructorParameterDocumentationFixTests.cs" company="Palantir (Pty) Ltd">
// Copyright (c) Palantir (Pty) Ltd. All rights reserved.
// </copyright>
namespace Documentation.Analyser.Test.Constructor
{
using Helpers;
using Microsoft.CodeAnalysis;
using Verifiers;
using Xunit;
... |
AspStreamingCore/Controllers/ValuesController.cs | bnayae/Asp-Streaming-Samples | 0 | 7043204 | <filename>AspStreamingCore/Controllers/ValuesController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json.Linq;
namespace AspStreamingCore.Co... |
03.Data Types Exercises/14. ASCII String/Program.cs | PavelIvanov96/Programming-Fundamentals-Extended-CSharp | 0 | 7043205 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _14.ASCII_String
{
class Program
{
static void Main(string[] args)
{
int duration = int.Parse(Console.ReadLine());
for (int i = 0; i < duration... |
RunTime/TaskMaster/Base/TaskGameObject.cs | LZhenHong/HTFramework | 352 | 7043206 | <filename>RunTime/TaskMaster/Base/TaskGameObject.cs
using System;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
using UnityEditor.Experimental.SceneManagement;
#endif
namespace HT.Framework
{
/// <summary>
/// 任务游戏物体(场景中的)
/// </summary>
[Serializable]
public sealed class TaskGameObject
... |
Assets/Huawei/ScriptsHMS/HomeHMS.cs | emanriquez/unity-hms-example | 3 | 7043207 | using HuaweiMobileServices.Id;
using HuaweiMobileServices.Utils;
using UnityEngine;
using UnityEngine.UI;
using HmsPlugin;
using UnityEngine.SceneManagement;
using UnityEngine.Events;
public class HomeHMS : MonoBehaviour
{
public Text usuario;
public Text monedas;
private AccountManager accountManager;
... |
Src/Presentation/Web.Api/Controllers/ProjectsControllery.cs | SajadJalilian/TaskoMask | 0 | 7043208 | using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using TaskoMask.Application.Team.Projects.Services;
using TaskoMask.Application.Core.Dtos.Team.Projects;
using Microsoft.AspNetCore.Authorization;
using AutoMapper;
using TaskoMask.Web.Common.Controllers;
using TaskoMask.Application.Core.Commands;
using Tas... |
src/M.EventBroker/EventBroker.cs | petar-m/EventBroker | 5 | 7043209 | <reponame>petar-m/EventBroker
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
namespace M.EventBroker
{
/// <summary>
/// Manages event subscriptions and invoking of event handlers.
/// </summary>
public class EventBroker : IEventBroker
{
... |
ConsoleExtensions.Templating/TokenizerExtensions.cs | oswaldsql/ConsoleExtensions.Templating | 0 | 7043210 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="TokenizerExtensions.cs" company="Lasse Sjørup">
// Copyright (c) 2019 <NAME>
// Licensed under the MIT license. See LICENSE file in the solution root for full license informat... |
8086VCPU/Alu/Banderas.cs | Jouna77/8086VCPU | 0 | 7043211 | using Kit;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _8086VCPU.Alu
{
public class Banderas : ViewModelBase<Banderas>
{
private bool _Carry;
public bool Carry { get => _Carry; set { _Carry = value; OnPropertyCha... |
src/SharpGLTF.Core/Schema2/gltf.BufferView.cs | bertt/SharpGLTF | 2 | 7043212 | using System;
using System.Collections.Generic;
using System.Linq;
using BYTES = System.ArraySegment<byte>;
namespace SharpGLTF.Schema2
{
[System.Diagnostics.DebuggerTypeProxy(typeof(Debug._BufferViewDebugProxy))]
[System.Diagnostics.DebuggerDisplay("{_GetDebuggerDisplay(),nq}")]
public sealed ... |
1.2/Source/DDLib/FW/Abilities/AbilityGain/ModExtension/HediffGiver_GrantAbility.cs | Aether-Guild/Dragons-Descent | 1 | 7043213 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Verse;
namespace DD
{
public class HediffGiver_GrantAbility : HediffGiver
{
private IEnumerable<AbilityDefinitionEntry> GetEntries(Pawn pawn)
{
return pawn.def.... |
Source/Disboard.Mastodon/Clients/Push/SubscriptionClient.cs | Xeltica/Disboard | 15 | 7043214 | <reponame>Xeltica/Disboard<gh_stars>10-100
using System.Collections.Generic;
using System.Threading.Tasks;
using Disboard.Clients;
using Disboard.Extensions;
using Disboard.Mastodon.Models;
namespace Disboard.Mastodon.Clients.Push
{
public class SubscriptionClient : ApiClient<MastodonClient>
{
protec... |
MonoGame.Framework/Utilities/System.Numerics.Vectors/Plane.cs | notexplosive/MonoGame | 5,869 | 7043215 | <reponame>notexplosive/MonoGame
namespace System.Numerics
{
/// <summary>
/// This is a dummy Plane type for platforms where System.Numerics.Vectors is not supported or available
/// </summary>
public struct Plane
{
public Vector3 Normal;
public float D;
public Plane(float ... |
API/CMGScripturesAPI/CMGScripturesAPI.Repos/System/CollectionConstants.cs | marqueslu/CMGScriptures | 4 | 7043216 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace CMGScripturesAPI.Repos
{
public class CollectionConstants
{
public const string ScriptureCache = "ScriptureCache";
}
}
|
src/Mzinga.Viewer/MessageHandlers.cs | jonthysell/Mzinga | 47 | 7043217 | <reponame>jonthysell/Mzinga
// Copyright (c) <NAME> <http://jon<EMAIL>>
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Threading.Tasks;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.ApplicationLifetimes;
u... |
archive/azure-functions-v1/AutofacOnFunctions.Sample/Bootstrap/Bootstrapper.cs | patrickCode/AutofacOnFunctions | 13 | 7043218 | <reponame>patrickCode/AutofacOnFunctions
using Autofac;
using AutofacOnFunctions.Sample.Services.Modules;
using AutofacOnFunctions.Core.Services.Ioc;
namespace AutofacOnFunctions.Sample.Bootstrap
{
public class Bootstrapper : IBootstrapper
{
public Module[] CreateModules()
{
return... |
SimpleServices/CommuncationsBase.cs | Bert1974/SimpleServices | 0 | 7043219 | <filename>SimpleServices/CommuncationsBase.cs<gh_stars>0
using Newtonsoft.Json.Linq;
using SimpleServices.Internals;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
using Sy... |
jucardi.inject/Definitions/AbstractDependencyInfo.cs | jucardi/Inject | 2 | 7043220 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Jucardi.Inject.Attributes;
namespace Jucardi.Inject.Definitions
{
internal abstract class AbstractDependencyInfo : IDependencyInfo
{
#region Constructor
/// <summary>
///... |
Lab04/PotroshuvachkaKoshnichka/PotroshuvachkaKoshnichka/ProductItem.cs | Konstantin-Bogdanoski/VP | 4 | 7043221 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PotroshuvachkaKoshnichka
{
class ProductItem
{
public Product product { get; set; }
public int quantity { get; set; }
public override string ToString()
... |
aspnet-core/src/EI.Portal.Core/Address/Address.cs | escritoriointeligente/Portal | 0 | 7043222 | <gh_stars>0
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace EI.Portal.Addresses
{
[Table("Address")]
public class Address : AuditedEntity<Guid>
... |
src/Blaster.Host/QueueWriter.cs | mantasaudickas/blaster | 0 | 7043223 | <gh_stars>0
using System;
using System.Collections.Concurrent;
using System.Diagnostics;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace Vefaqu.Host
{
public class QueueWriter
{
const int MaxSize = 10 * 1024 * 1024;
private readonly ConcurrentQueu... |
ClojureExtension.Editor/Intellisense/IntellisenseCommandFilterFactory.cs | skelter/vsClojure | 40 | 7043224 | <filename>ClojureExtension.Editor/Intellisense/IntellisenseCommandFilterFactory.cs
// MIT License Copyright 2010-2013 jmis
// See LICENSE.txt or http://opensource.org/licenses/MIT
// See AUTHORS.txt for a complete list of all contributors
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Editor;
u... |
Fangkuai/Models/CustomAttributeFilter.cs | okenshields/test-dotnet | 1 | 7043225 | using System;
using System.IO;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Square;
using Square.Utilities;
namespace Square.Models
{
public class Custo... |
FFXIVOverlay/src/Overlay/DrawingContext.cs | Ilyatk/FFXIVOverlayMod | 1 | 7043226 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using ff14bot;
using System.Threading.Tasks;
using ff14bot.Managers;
using ff14bot.Overlay3D;
using SlimDX;
using SlimDX.Direct2D;
using SlimDX.Direct3D9;
using Font = SlimDX.Direc... |
org.hopecorby.SampleProject/SystemGuid/DefinedType.cs | arranf/MyHope | 0 | 7043227 | using System;
namespace org.hopecorby.SampleProject.SystemGuid
{
/// <summary>
/// System Defined Types
/// </summary>
public static class DefinedType
{
/// <summary>
/// Type's of Referral Agencies
/// </summary>
public const string REFERRAL_AGENCY_TYPE = "150478D4-... |
xLiAd.SqlEx.Core/SqlMapper.cs | zl33842901/SqlEx | 0 | 7043228 | <gh_stars>0
using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
using System.Collections;
using System.Data.Common;
using System.Threading;
namespace xLiAd.SqlEx.Core.暂时还是不要使用这个类了Dapper做的准备参数的功能我这个... |
Editor/Scripts/MainEditorWindow/BasicLocalizationCSVConverter.cs | m039/BasicLocalization | 0 | 7043229 | <gh_stars>0
using System.Collections.Generic;
using Mono.Csv;
namespace m039.BasicLocalization
{
public static class BasicLocalizationCSVConverter
{
static internal void Export(BasicLocalizationProfile localizationProfile, string path)
{
if (!string.IsNullOrEmpty(path))
... |
Retrospector.Tests/Tests/AchievementTab/WordyAchievementsTests.cs | NonlinearFruit/Retrospector | 13 | 7043230 | using System;
using System.Linq;
using FontAwesome.Sharp;
using Retrospector.AchievementTab;
using Retrospector.AchievementTab.Interfaces;
using Retrospector.DataStorage.Models;
using Retrospector.Tests.Utilities;
using Xunit;
namespace Retrospector.Tests.Tests.AchievementTab
{
public class WordyAchievementsTests ... |
Src/WitsmlExplorer.Api/Jobs/DeleteCurveValuesJob.cs | aszalos-roland/witsml-explorer | 2 | 7043231 | using System.Collections.Generic;
using WitsmlExplorer.Api.Jobs.Common;
namespace WitsmlExplorer.Api.Jobs
{
public class DeleteCurveValuesJob
{
public LogReference LogReference { get; set; }
public List<string> Mnemonics { get; set; }
public IEnumerable<IndexRange> IndexRanges { get; se... |
cppseminar/presentation/Pages/Index.cshtml | cppseminar/testscripts | 4 | 7043232 | @page
@model presentation.Pages.IndexModel
@{
ViewBag.Title = "Home";
}
<h4>Welcome</h4>
<p>Here are some links that may be useful to you:</p>
<ul>
<li><a href="https://cppseminar.atlassian.net/wiki/spaces/APC20211/overview">Our docs page</a></li>
<li><a href="https://eel.is/c++draft/">C++ ISO Standard</a>... |
ClipboardZanager/Tests/ClipboardZanager.Core.Desktop.Tests/Mocks/LogMock.cs | veler/clipboardzanager | 90 | 7043233 | <reponame>veler/clipboardzanager
using System.Text;
using ClipboardZanager.Shared.Logs;
namespace ClipboardZanager.Core.Desktop.Tests.Mocks
{
internal class LogMock : ILogSession
{
private StringBuilder _logs;
public void Persist(StringBuilder logs)
{
_logs.Append(logs);
... |
IndrivoPM/Gear.ProjectManagement.Application/Background/SendOverdueAttachments/SendOverdueAttachmentsScopedService.cs | indrivo/bizon360_pm | 0 | 7043234 | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Gear.Manager.Core.BackgroundProcesses.Infrastructure;
using Gear.Notifications.Abstractions.Infrastructure.Interfaces;
using MediatR;
using Microsoft.AspNetCore.Hosting;
using Gear.Common.Extensions.DateTimeExte... |
src/Elvanto.Net/Core/ElvantoNotFoundException.cs | scleaver/Elvanto.Net | 0 | 7043235 | <filename>src/Elvanto.Net/Core/ElvantoNotFoundException.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Elvanto.Net.Core
{
public class ElvantoNotFoundException : Exception
{
public ElvantoNotFoundException(string message) : base(message)
{
}
}
}
|
ATCSimulator.Core/Models/ATCDataPacket.cs | Peefy/ATCFlightSimulatorApp | 2 | 7043236 | using System.Runtime.InteropServices;
namespace ATCSimulator.Models
{
/// <summary>
/// 空管模拟器数据包
/// </summary>
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct ATCDataPacket
{
/// <summary>
/// A 帧头 1
/// </summary>
public ushort Header;
//... |
tests/NET/Patriot/Patriot/Turret.cs | eladraz/morph | 4 | 7043237 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Patriot
{
class Turret : GraphicObject
{
int m_angle;
int m_oldX2;
int m_oldY2;
public Turret(IGraphicsAdapter graphic, int initial_angle)
: base(graphic)
{
... |
Artifact-Builder/CardCrawler/Services/IHttpClientService.cs | Spawnbroker/Artifact-Builder | 0 | 7043238 | using CardCrawler.Entities;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace CardCrawler.Services
{
public interface IHttpClientService
{
Task<string> GetCardSetJson(CardSetFile file);
Task<string> GetRawJsonFileLocation(string setId);
... |
Assets/D3DKeyboard/Scripts/KeyboardMain.cs | JBLanier/Darknet-Yolo-Client-for-HoloLens | 7 | 7043239 | //Author and copyright owner: Matrix Inception Inc.
//Date: 2016-10-31
//This script controls higher level functions of the keyboard, namely Shift, Show / Hide, and Move / Pin.
using UnityEngine;
using System.Collections.Generic;
using System.Linq;
using UnityEngine.Windows.Speech;
public class KeyboardMain : MonoBe... |
src/Mellis.Lang.Python3.Tests/SyntaxConstructor/TestTree/VisitArithExprTests.cs | jontebackis4/TestCompiler | 4 | 7043240 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Moq.Language.Flow;
using Mellis.Lang.Python3.Grammar;
using Mellis.Lang.Python3.Syntax;
using Mellis.Lang.Python3.Syntax.Operators.Arithmetics;
namespace Mellis.Lang.Python3.Tests.SyntaxConstructor.TestTree
{
[TestClass]
public class VisitAr... |
src/Property.Core/Property.cs | blakebyron/dotnetcore-propertyapi | 1 | 7043241 | <filename>src/Property.Core/Property.cs<gh_stars>1-10
using System;
namespace Property.Core
{
public class Property
{
public Int32 ID { get; set; }
public PropertyReference Reference { get; private set; }
public string Description { get; private set; }
protected Prop... |
sdk/src/Services/Batch/Generated/Model/Host.cs | a-leontiev/aws-sdk-net | 1 | 7043242 | /*
* Copyright 2010-2014 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 "l... |
src/LightningBug/Data/DataRowExtensions.cs | jasondentler/lightning-bug | 2 | 7043243 | <reponame>jasondentler/lightning-bug<gh_stars>1-10
using System;
using System.Data;
using LightningBug.Reflection;
namespace LightningBug.Data
{
public static class DataRowExtensions
{
/// <summary>
/// Creates a new object instance from a data row
/// </summary>
/// <typeparam... |
OTAPI.Modifications/OTAPI.Modifications.Sockets/AsyncServerSocket.cs | kevzhao2/Open-Terraria-API | 53 | 7043244 | using System;
using System.Linq;
using System.Net;
using Terraria;
using Terraria.Net.Sockets;
namespace OTAPI.Sockets
{
public class AsyncServerSocket
{
private SocketServer _server;
public AsyncArgsPool<ReceiveArgs> ReceiveSocketPool = new AsyncArgsPool<ReceiveArgs>(nameof(ReceiveArgs));
public AsyncArgsPo... |
Hjemat/Product.cs | MechaGK/HomeAutomationMaster | 0 | 7043245 | <reponame>MechaGK/HomeAutomationMaster
using System.Collections.Generic;
namespace Hjemat
{
public class ProductValue
{
public byte id;
public string name;
public string description;
public string type;
public ProductValue()
{
}
}
public class... |
Moip/Client.cs | RodrigoQuintas/moip-sdk-dotnet | 6 | 7043246 | <reponame>RodrigoQuintas/moip-sdk-dotnet
using System;
using Moip.Controllers;
using Moip.Http.Client;
using Moip.Utilities;
using static Moip.Configuration;
namespace Moip
{
public partial class Client
{
public NotificationsController Notifications
{
get
{
... |
src/Playwright/Transport/Channels/SelectorsChannel.cs | hlaueriksson/playwright-dotnet | 0 | 7043247 | using System;
using System.Threading.Tasks;
namespace Microsoft.Playwright.Transport.Channels
{
internal class SelectorsChannel : Channel<Selectors>
{
public SelectorsChannel(string guid, Connection connection, Selectors owner) : base(guid, connection, owner)
{
}
internal Task ... |
Orbitality/Assets/Scripts/Generated/Gameplay/Components/GameplayVelocityComponent.cs | thenitro/orbitality | 0 | 7043248 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Entitas.CodeGeneration.Plugins.ComponentEntityApiGenerator.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-gen... |
nbp-api/Helper.cs | jstrzyzykowski/nbp-api | 0 | 7043249 | <reponame>jstrzyzykowski/nbp-api
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using Newtonsoft;
namespace nbp_api
{
class Helper
{
public static string GetDataFromUrl(string url)
{
string jsonD... |
Source/Wrappers/mscorlib/System.Threading.Tasks.ParallelLoopResult.cs | RixianOpenTech/RxWrappers | 0 | 7043251 | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using MS.Core;
namespace System.Threading.Tasks
{
public static class __ParallelLoopResult
{
public static IObservable<System.Boolean> get_IsCompleted(
this IObservable<System.... |
Library/Locust.Shetab/Saman/SamanBankConfig.cs | mansoor-omrani/Locust.NET | 1 | 7043252 | <reponame>mansoor-omrani/Locust.NET<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Locust.Conversion;
namespace Locust.Shetab.Saman
{
public class SamanBankConfig : ShetabBankConfig
{
p... |
src/PlaywrightSharp.Webkit/Protocol/IWebkitResponse.cs | slang25/playwright-sharp | 0 | 7043253 | <reponame>slang25/playwright-sharp<filename>src/PlaywrightSharp.Webkit/Protocol/IWebkitResponse.cs
using PlaywrightSharp.Protocol;
namespace PlaywrightSharp.Webkit.Protocol
{
/// <summary>
/// Base type for webkit protocol response objects.
/// </summary>
internal interface IWebkitResponse : IPr... |
code-challenges/insertion-sort/Project1/InsertionSort.cs | JungDefiant/data-structures-and-algorithms | 0 | 7043254 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InsertionSort
{
public static class InsertionSort
{
/// <summary>
/// Takes an array and performs insertion sort in place
/// </summary>
/// <param name... |
src/Grillbot/Models/Unverify/UnverifyRemoveOperation.cs | qwerelt/GrillBot | 7 | 7043256 | <gh_stars>1-10
using Discord.WebSocket;
using System.Collections.Generic;
namespace Grillbot.Models.Unverify
{
public class UnverifyRemoveOperation
{
public List<SocketRole> ReturnedRoles { get; set; }
public List<SocketGuildChannel> ReturnedChannels { get; set; }
}
}
|
Shom.S57/File/BaseFile.cs | teriterance/Shom.S57 | 0 | 7043257 | using System;
using System.IO;
using System.IO.Compression;
using System.Collections.Generic;
using Shom.ISO8211;
using System.Diagnostics;
namespace S57.File
{
public enum S57LexicalLevel : uint
{
ASCIIText = 0, // ASCII
ISO8859 = 1, // ISO 8859 part 1, Latin alphabet 1 repertoire (i.e. We... |
PdfSharpCore/Pdf.IO/PdfReader.cs | phonosys/PdfSharpCore | 548 | 7043258 | #region PDFsharp - A .NET library for processing PDF
//
// Authors:
// <NAME>
//
// Copyright (c) 2005-2016 empira Software GmbH, Cologne Area (Germany)
//
// http://www.PdfSharpCore.com
// http://sourceforge.net/projects/pdfsharp
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy o... |
src/SDK/SmartDetectorsShared/Clients/ExtendedAzureResourceManagerClient.cs | daweim0/SmartDetectorsMonitoringAppliance | 0 | 7043259 | //-----------------------------------------------------------------------
// <copyright file="ExtendedAzureResourceManagerClient.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
n... |
src/ExpensiClaimsBased/Avalentini.Expensi.Web/Data/ExpensesRepository.cs | antoniovalentini/greenfield | 0 | 7043260 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using AutoMapper;
using Avalentini.Expensi.Api.Contracts.Models;
using Avalentini.Expensi.Web.Model;
using Newtonsoft.Json;
namespace Avalentini.Expensi.Web.Data
{
public clas... |
ExxonMobil.Shared.Win32/Win32Helpers.cs | wpbrown/iobench | 4 | 7043261 | // Copyright 2014 ExxonMobil Technical Computing Company
//
// 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
//
// Unless requir... |
ComparePG/Trigger.cs | jmguazzo/ComparePG | 1 | 7043262 | <gh_stars>1-10
namespace ComparePG
{
class Trigger : ItemComparable
{
static string SELECT_QUERY = $@"
SELECT tbl.relname as {Constants.TABLE_NAME}
,'TRIGGER' as {Constants.ELEMENT_TYPE}
, t.tgname AS {Constants.ELEMENT_NAME}
, pg_catalog.pg_get_triggerdef(t.oid, true) AS {Constants.DEFINITION}
... |
Simple1C/Impl/TypeInfo.cs | black-goldfinch/simple-1c | 42 | 7043263 | using Simple1C.Impl.Generation;
namespace Simple1C.Impl
{
internal struct TypeInfo
{
public SimpleTypeInfo? simpleType;
public ConfigurationItem configurationItem;
public static TypeInfo Simple(string typeName, int? maxLength = null)
{
return new TypeInfo
... |
src/Verlite.MsBuild/MsBuildCommandRunner.cs | AshleighAdams/Verlite | 13 | 7043264 | <filename>src/Verlite.MsBuild/MsBuildCommandRunner.cs
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Build.Utilities;
namespace Verlite.MsBuild
{
internal sealed class MsBuildCommandRunner : ICommandRunner
{
private ICommandRunner Runner { get; }
private TaskLoggingHelper Logge... |
GraphBuilder/GraphBuilder.cs | simcoster/DoppleTry2 | 0 | 7043265 | <reponame>simcoster/DoppleTry2
using System;
using System.Collections.Generic;
using System.Linq;
using Dopple.BackTracers;
using Dopple.InstructionModifiers;
using Dopple.ProgramFlowHanlder;
using Mono.Cecil;
using Mono.Cecil.Cil;
using Dopple.VerifierNs;
using Dopple.InstructionNodes;
using System.Diagnostics;
using... |
otros/ParcialPractica/Menu/frmAgregar.Designer.cs | mauriciogpro/e-dot-net | 0 | 7043266 | namespace Menu
{
partial class frmAgregar
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param na... |
BeatDetector/BeatDetectorC#Version/TimeStamp.cs | Mikxus/SBT | 89 | 7043267 | <reponame>Mikxus/SBT
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BeatDetectorCSharp
{
public class TimeStamp
{
private int minutes;
private int seconds;
private int milliseconds;
private string me... |
Scripts/Runtime/DelayedExecution/UpdateSources/AbstractUnityUpdateSourceMonoBehaviour.cs | decline-cookies/anvil-unity-core | 0 | 7043269 | using System;
using Anvil.Unity.Core;
namespace Anvil.Unity.DelayedExecution
{
/// <summary>
/// A base <see cref="AbstractAnvilMonoBehaviour"/> that provides functionality for deriving classes to
/// issue OnUpdate events to a <see cref="AbstractUnityUpdateSource{T}"/>
/// </summary>
public class... |
EDDiscovery/ExportImport/ExportBase.cs | CommandoUKSF/EDDiscovery | 1 | 7043270 | <filename>EDDiscovery/ExportImport/ExportBase.cs
/*
* Copyright © 2016 EDDiscovery development team
*
* 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/licens... |
Assets/CameraController.cs | serioussam909/CavemanSpaceProgram | 0 | 7043271 | <filename>Assets/CameraController.cs
using UnityEngine;
using System.Collections;
using UnityStandardAssets.Utility;
using UnityStandardAssets.Cameras;
using UnityStandardAssets.ImageEffects;
public class CameraController : MonoBehaviour {
FollowTarget ft;
LookatTarget lt;
public RocketController rocket;
ScreenO... |
sources/PSStuntman/Models/DepartmentModel.cs | JeroenBL/Stuntman | 0 | 7043272 | <reponame>JeroenBL/Stuntman
namespace PSStuntman.Models
{
public class DepartmentModel
{
public int Id { get; }
public int ExternalId { get; set; }
public string DisplayName { get; set; }
public string ManagerExternalId { get; set; }
}
}
|
TankLib/STU/Types/STU_0CEB7C4F.cs | Mike111177/OWLib | 1 | 7043273 | // Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0x0CEB7C4F)]
public class STU_0CEB7C4F : STU_81C5DE19 {
[STUFieldAttribute(0xF891229F, ReaderType = typeof(InlineInstanceFieldReader))]
public STU_6EBA453A m_F891229F;
... |
docs/trace/getting-started/Program.cs | easel/opentelemetry-dotnet | 0 | 7043274 | using System.Diagnostics;
using OpenTelemetry;
using OpenTelemetry.Trace;
class Program
{
static readonly ActivitySource activitySource = new ActivitySource(
"MyCompany.MyProduct.MyLibrary");
static void Main()
{
using var otel = Sdk.CreateTracerProvider(b => b
.Ad... |
Desktop/Worklist SCU/Program.cs | WillenChow2013/for_dicom | 0 | 7043275 | <filename>Desktop/Worklist SCU/Program.cs<gh_stars>0
// Copyright (c) 2012-2020 fo-dicom contributors.
// Licensed under the Microsoft Public License (MS-PL).
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Dicom;
using Dicom.Log;
using Dicom.Network;
using Dicom... |
PQSMod_VertexHeightNoiseVertHeightCurve.cs | Kopernicus/pqsmods-standalone | 3 | 7043276 | /**
* libpqsmods - A standalone implementation of KSP's PQSMods
* Copyright (c) <NAME>. 2016
* Licensed under the terms of the MIT license
*/
using LibNoise;
using LibNoise.Generator;
using System;
using Microsoft.Xna.Framework;
using ProceduralQuadSphere.KSP;
namespace ProceduralQuadSphere
{
/// <summary>
... |
Assets/Scripts/Movements/MovementBehaviour.cs | DapperDino/GGJ-2020 | 4 | 7043277 | <gh_stars>1-10
using UnityEngine;
namespace DapperDino.GGJ2020.Movements
{
public class MovementBehaviour : MonoBehaviour
{
[SerializeField] private CharacterController controller = null;
private Movement movement;
public Movement Movement
{
get
{
... |
src/WriteableBitmapEx/Source/WriteableBitmapExCurveSample/Plant/Vector.cs | PaintLab/PixelFarm.External | 0 | 7043280 | //
// Project: Silverlight procedural Plant
//
// Changed by: $Author: unknown $
// Changed on: $Date: 2015-02-24 20:36:41 +0100 (Di, 24 Feb 2015) $
// Changed in: $Revision: 112951 $
// Project: $URL: https://writeablebitmapex.svn.codeplex.com/svn/trunk/Source/Writea... |
test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/internal/Transition/TSTransitionItem.cs | yunmiha/TizenFX | 0 | 7043281 | <reponame>yunmiha/TizenFX
using global::System;
using NUnit.Framework;
using NUnit.Framework.TUnit;
using Tizen.NUI.Components;
using Tizen.NUI.BaseComponents;
namespace Tizen.NUI.Devel.Tests
{
using tlog = Tizen.Log;
[TestFixture]
[Description("Internal/Transition/TransitionItem")]
class TSTransitio... |
src/ActivityMonitor.WinApp/ViewModels/ICommand.cs | suzu-devworks/activity-monitor-dotnet | 0 | 7043282 | <reponame>suzu-devworks/activity-monitor-dotnet
using System;
namespace ActivityMonitor.WinApp.ViewModels
{
public interface ICommand
{
public event EventHandler CanExecuteChanged;
public bool CanExecute(object parameter);
public void Execute(object parameter);
}
}
|
src/DotNetOpenAuth.OAuth/OAuth/Messages/UnauthorizedTokenResponse.cs | Unroll-Me/DotNetOpenAuth | 1 | 7043283 | //-----------------------------------------------------------------------
// <copyright file="UnauthorizedTokenResponse.cs" company="Outercurve Foundation">
// Copyright (c) Outercurve Foundation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namesp... |
Src/Model/Dtos/ResponseCode.cs | dhineshkumarmayilsamy/Repository-Pattern | 0 | 7043284 | namespace Model.Dtos
{
public static class ResponseCode
{
public const string Success = "SUCCESS";
public const string Failed = "FAILED";
public const string Error = "ERROR";
}
}
|
OCISDK/OCISDK/ObjectStorage/Model/CommitMultipartUploadDetails.cs | KoutaFurusawa/OracleCloudObjectStorageExplorer | 2 | 7043285 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace OCISDK.ObjectStorage.Model
{
/// <summary>
/// To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to
/// an administrator. If you are an administrator who ne... |
Assets/ProjectRootFolder/Scripts/Helpers/Components/Move.cs | yagizayer/ScriptableObjects_Architecture_Research | 0 | 7043286 | using System;
using Helpers;
using Helpers.MetaClasses;
using MyBox;
using UnityEngine;
namespace PirateDefence.Scripts.Helpers.Components
{
public enum MovementType
{
Null = 0,
Normal = 10,
PingPong = 20,
Restart = 30,
PingPongWithIdle = 40
}
public enum Evalu... |
VS 2019 Source Code/OC-Gen-Windows/MainWidget.Designer.cs | Gytch/oc-gen-windows | 28 | 7043287 |
namespace OC_Gen_Windows
{
partial class MainWidget
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
//... |
AdapterPattern/AdapterPattern.Basic/Model/Superhero.cs | patrickCode/Design-Patterns | 3 | 7043288 | using System;
using System.Collections.Generic;
using System.Text;
namespace AdapterPattern.Basic.Model
{
public class Superhero
{
public int Id { get; set; }
public string Name { get; set; }
public string Alias { get; set; }
}
}
|
Twelve21.PasswordStorage/Utilities/ExponentialSearch.cs | AlexGustafsson/Twelve21.PasswordStorage | 9 | 7043289 | using System;
namespace Twelve21.PasswordStorage.Utilities
{
public class ExponentialSearch
{
#region Fields
private int _lowerBounds;
private int _upperBounds;
private Func<int, ExponentialSearchComparison> _compareTo;
#endregion
#region Construction
p... |
Backend/Hale.Core.Data/Entities/Users/AccountDetail.cs | arcticbit/Hale.Monitoring | 2 | 7043290 | namespace Hale.Core.Data.Entities.Users
{
using Newtonsoft.Json;
/// <summary>
/// Corresponds to the database table Security.AccountDetails
/// </summary>
public class AccountDetail
{
/// <summary>
/// Corresponds to the table column AccountDetails.Id
/// </summary>
... |
src/prod/test/system.fabric.reliablemessaging/session/InboundSessionCallback.cs | gridgentoo/ServiceFabricAzure | 2,542 | 7043291 | <reponame>gridgentoo/ServiceFabricAzure<filename>src/prod/test/system.fabric.reliablemessaging/session/InboundSessionCallback.cs
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the r... |
COLID.IndexingCrawlerService.Repositories/Implementation/ResourceRepository.cs | Bayer-Group/COLID-Indexing-Crawler-Service | 6 | 7043292 | using System;
using System.Collections.Generic;
using System.Linq;
using COLID.IndexingCrawlerService.Repositories.Interface;
using VDS.RDF.Query;
using COLID.Graph.TripleStore.Extensions;
using COLID.Graph.TripleStore.Repositories;
using Microsoft.Extensions.Logging;
using COLID.Graph.Metadata.Repositories;
using... |
delegates_lambdas_events/materials/005_usage_samples/usage_samples_001_net_delegates/Program.cs | vladhrapov/trainings | 0 | 7043294 | <gh_stars>0
using System;
namespace usage_samples_001_net_delegates
{
class Program
{
public static void Greet(Action action) {
action();
}
public static string Greet(Func<string, string> formatter, string message) {
return formatter(message);
... |
LibMMD/Exceptions/LibMMDTextDecodingException.cs | Xalcon/LibMMD | 2 | 7043295 | using System;
using System.Collections.Generic;
using System.Text;
namespace LibMMD.Exceptions
{
public class LibMMDTextDecodingException : LibMMDException
{
public LibMMDTextDecodingException(string message) : base(message)
{
}
}
}
|
Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Editor_64bits/UInterpTrackSound_FixSize.cs | RobertAcksel/UnrealCS | 1 | 7043296 | <filename>Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Editor_64bits/UInterpTrackSound_FixSize.cs<gh_stars>1-10
#if WITH_EDITOR
#if PLATFORM_64BITS
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace UnrealEngine
{
public partial class UInterp... |
Scripts/AStarNode.cs | woshihuo12/AStarForCSharp | 7 | 7043297 | using UnityEngine;
using System.Collections.Generic;
public class AStarNode
{
/// <summary>
/// 坐标 x
/// </summary>
public int nodeX;
/// <summary>
/// 坐标 y
/// </summary>
public int nodeY;
/// <summary>
/// 父节点
/// </summary>
public AStarNode parentNode;
/// <summary>
/// 二叉堆节点
/// </summary>
p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.