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 |
|---|---|---|---|---|
CognitiveServices.Translator.Client.WebSample/Controllers/TranslateController.cs | sbohmig/CognitiveServices.Translator.Client | 7 | 7044758 | using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using CognitiveServices.Translator;
using CognitiveServices.Translator.Translate;
using CognitiveServices.Translator.Client.WebSample.Models;
using Microsoft.AspNetCo... |
Source/MSProject/Enums/PjIndicator.cs | NetOfficeFw/NetOffice-LegacyRepository | 99 | 7044759 | <reponame>NetOfficeFw/NetOffice-LegacyRepository<gh_stars>10-100
using System;
using NetOffice;
namespace NetOffice.MSProjectApi.Enums
{
/// <summary>
/// SupportByVersion MSProject 11, 12, 14
/// </summary>
///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/office/ff86... |
01_HelloXamarin/MvvmLightBindings.Droid/MainActivity.cs | mallibone/EvolutionDay2015 | 0 | 7044760 | <filename>01_HelloXamarin/MvvmLightBindings.Droid/MainActivity.cs
using Android.App;
using Android.OS;
using Android.Widget;
using GalaSoft.MvvmLight.Helpers;
using HelloXamarin.Core.ViewModel;
namespace HelloXamarin.Droid
{
[Activity(Label = "MvvmLightBindings.Droid", MainLauncher = true, Icon = "@drawable/icon"... |
JourneyCore.Server/Net/SignalR/Contexts/IGameClientContext.cs | avirule/JourneyCore | 0 | 7044761 | <reponame>avirule/JourneyCore
using System.Threading.Tasks;
using JourneyCore.Server.Net.SignalR.Hubs;
using Microsoft.AspNetCore.SignalR;
using SFML.System;
namespace JourneyCore.Server.Net.SignalR.Contexts
{
public interface IGameClientContext
{
IHubContext<GameClientHub> HubContext { get; }
... |
src/Sprinkles/Types/AutoObjectExtensionType.cs | jarlef/Sprinkles | 0 | 7044762 | <gh_stars>0
using System;
using HotChocolate.Types;
namespace Sprinkles.Types;
internal class AutoObjectExtensionType<T, TExtends> : ObjectTypeExtension<T>
{
protected override void Configure(IObjectTypeDescriptor<T> descriptor)
{
descriptor.ExtendsType<TExtends>();
descriptor.BindFieldsImplic... |
src/Logunov.Facts/Logunov.Facts.Web/Data/ApplicationDbContext.cs | KostiantynLogunov/Facts | 0 | 7044763 | using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace Logunov.Facts.Web.Data
{
public class ApplicationDbContext : IdentityDbContext
{
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
: base(options)
{
... |
Assets/Days/Day 06/Scripts/Day6.cs | Deynai/AoC-2018 | 0 | 7044765 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
using System.Text.RegularExpressions;
using System;
public class Day6 : MonoBehaviour
{
List<Point> points;
class Point
{
public int id;
public int x;
public int y;
public bool... |
Marsher/Services.cs | cqjjjzr/Marsher | 36 | 7044766 | <filename>Marsher/Services.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Reflection;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Text.RegularExpressions;
using System.Xml.XPath;
using HtmlAgilityPack;
usin... |
src/Assets/Script/choose_weapon.cs | nonock/SpaceShooterFinal | 0 | 7044767 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class choose_weapon : MonoBehaviour {
public Move player;
public int weapon_index;
public GameObject flame_thrower;
public GameObject grenade_launcher;
public GameObject grenade;
public GameObject laser;
public int nombreAr... |
cs/ss07/Poglavlje03/Primjer03/Program.cs | jasarsoft/examples | 0 | 7044768 | using System;
namespace Primjer03
{
class Program
{
static void Main()
{
double result, kut = Math.PI / 6;
result = kut < Math.PI ? Math.Sin(kut) : Math.Cos(kut);
Console.WriteLine(result);
}
}
}
|
Sources/Engine/NeoAxis.Core/Renderer/GpuVertexBuffer.cs | intensifier/NeoAxisEngine | 0 | 7044769 | // Copyright (C) NeoAxis Group Ltd. 8 Copthall, Roseau Valley, 00152 Commonwealth of Dominica.
using System;
using System.Runtime.InteropServices;
using System.Threading;
namespace NeoAxis
{
/// <summary>
/// Represents a vertex buffer.
/// </summary>
public class GpuVertexBuffer : ThreadSafeDisposable
{
byte[... |
src/web/Next.Web.Hypermedia/LinkedResource.cs | sweepator/next | 0 | 7044770 | using System;
using System.Collections;
using System.Collections.Generic;
namespace Next.Web.Hypermedia
{
public abstract class LinkedResource : ILinkedResource
{
private IDictionary<string, Link> _links;
public IEnumerable<Link> Links => _links?.Values;
public void AddLink(Link link)... |
MultidimensionalArrays_Exercise/3.MaximalSum/Program.cs | anidz/Software-University---C-Advanced---January-2022-Solutions | 0 | 7044771 | using System;
using System.Linq;
using System.Text;
namespace _3.MaximalSum
{
class Program
{
static void Main(string[] args)
{
int[] size = Console.ReadLine().Split().Select(int.Parse).ToArray();
int[,] matrix = RegisterMatrix(size[0], size[1]);
int[] maxS... |
Framework/Physics/ICollisionResolver.cs | Macabresoft/Macabre2D | 6 | 7044772 | <gh_stars>1-10
namespace Macabresoft.Macabre2D.Framework {
/// <summary>
/// Interface for resolving collisions.
/// </summary>
public interface ICollisionResolver {
/// <summary>
/// Initializes the collision resolver, providing it the physics service.
/// </summary>
///... |
Game/AI/Decks/PhantasmExecutor.cs | IMJoyJ/windbot | 0 | 7044773 | <filename>Game/AI/Decks/PhantasmExecutor.cs
using YGOSharp.OCGWrapper.Enums;
using System.Collections.Generic;
using WindBot;
using WindBot.Game;
using WindBot.Game.AI;
namespace WindBot.Game.AI.Decks
{
[Deck("Phantasm", "AI_Phantasm")]
public class PhantasmExecutor : DefaultExecutor
{
public clas... |
test/Nvelope.Tests/Reflection/ReflectionOnDictionaryTests.cs | jeremiahredekop/Nvelope | 0 | 7044775 | <filename>test/Nvelope.Tests/Reflection/ReflectionOnDictionaryTests.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Nvelope.Reflection;
namespace Nvelope.Tests.Reflection
{
[TestFixture]
public class ReflectionOnDictionaryTests
... |
libzeta/Graphics/2D/Modifiers/BuiltinModifierEnums.cs | SplittyDev/Zeta | 0 | 7044776 | using System;
namespace libzeta {
/// <summary>
/// Lifetime modifier mode.
/// </summary>
public enum LifetimeModifierMode {
/// <summary>
/// Randomly multiply the lifetime by a value between [min] and [max].
/// </summary>
RandomMultiply,
/// <summary>
... |
UnityWorkspace/TestModule/Assets/TestLoadPBData.cs | android-crack/joework | 0 | 7044777 | <reponame>android-crack/joework<gh_stars>0
using UnityEngine;
using System.Collections;
using ProtoBuf;
using System;
using System.IO;
using HuanJueData;
public class TestLoadPBData : MonoBehaviour
{
void Start()
{
//StartCoroutine(loaderPBDataTest((data) =>
//{
// Debug.Log(data.L... |
EqualsVerifier.Tests/TestHelpers/Types/TypeHelper.cs | magicmonty/equalsverifier-net | 2 | 7044778 | <filename>EqualsVerifier.Tests/TestHelpers/Types/TypeHelper.cs<gh_stars>1-10
using System;
using System.Linq;
using EqualsVerifier.Util;
using System.Reflection;
using Mono.Math;
using System.Globalization;
using System.Runtime.Serialization;
using System.Collections.Generic;
using System.Collections;
namespace Equal... |
SDKChallengeProject/ARAssistance/Assets/com.unity.mgobe/Runtime/src/Util/Def/ErrCode.cs | AgoraIO-Community/RTC-Innovation-Challenge-2020 | 33 | 7044779 | namespace com.unity.mgobe
{
public class SdkErrMsgEnum
{
public const string EcSdkSendFail = "发送失败";
public const string EcSdkUninit = "未初始化";
public const string EcSdkResTimeout = "发送超时";
public const string EcSdkNoLogin = "未登录";
public const string EcSdkNoCheckLogin = ... |
ICSSoft.STORMNET.Business.MSSQLDataService/DRDataService.cs | in-9/NewPlatform.Flexberry.ORM | 2 | 7044780 | namespace ICSSoft.STORMNET.Business
{
/// <summary>
/// Сервис данных для грязного чтения (MSSQLServer).
/// </summary>
public class DRDataService : ICSSoft.STORMNET.Business.MSSQLDataService
{
public override string GetJoinTableModifierExpression()
{
return " WITH (NOLO... |
src/Npgsql/Replication/PgOutput/ReadonlyArrayBuffer.cs | davidhunt135/npgsql | 0 | 7044781 | using System;
using System.Collections;
using System.Collections.Generic;
using Npgsql.Replication.PgOutput.Messages;
namespace Npgsql.Replication.PgOutput;
class ReadOnlyArrayBuffer<T> : IReadOnlyList<T>
{
public static readonly ReadOnlyArrayBuffer<T> Empty = new(Array.Empty<T>());
T[] _items;
int _size... |
Bai2Parser/Model/Bai2Content.cs | abinashsahoo/BAI2Parser | 2 | 7044782 | <filename>Bai2Parser/Model/Bai2Content.cs
using System;
using System.Collections.Generic;
namespace BaiParser
{
public class Bai2Content
{
public Bai2Content()
{
Groups = new List<Group>();
}
public FileHeader FileHeader { get; set; }
public List<Group> Grou... |
Runtime/Tiya Basic Library/Utility/TimedObjRecycler.cs | KurokiYukari/UniTiya | 1 | 7044783 | <filename>Runtime/Tiya Basic Library/Utility/TimedObjRecycler.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UniRx;
namespace Sarachan.UniTiya.Utility
{
/// <summary>
/// 定时对象回收器,会通过 IGameObjectPool 回收。
/// </summary>
[AddComponentMenu(TiyaTools.UniTiyaName + ... |
Metis/Metis/OVM/Chain/OVM_CanonicalTransactionChain/ContractDefinition/QueueElement.cs | ChaosHq/MetisTemplate | 0 | 7044784 | <gh_stars>0
using Nethereum.ABI.FunctionEncoding.Attributes;
namespace Metis.OVM.Chain.OVM_CanonicalTransactionChain.ContractDefinition;
public class QueueElement : QueueElementBase
{
}
public class QueueElementBase
{
[Parameter("bytes32", "transactionHash")]
public virtual byte[] TransactionHash { get; set;... |
samples/Liuliu.Blogs/src/Liuliu.Blogs.Web/Controllers/Test2Controller.cs | lejiebianlidian/osharp-docs-samples | 9 | 7044785 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
using Liuliu.Blogs.Identity.Entities;
using Microsoft.AspNetCore.Mvc;
using OSharp.AspNetCore.Mvc;
using OSharp.Core.Modules;
using OSharp.Entity;
namespace Liuliu.Blogs.Web... |
ZKWeb/ZKWeb.Hosting.AspNet/AspNetHttpContextWrapper.cs | 1306479602/ZKWeb | 1 | 7044786 | using System.Collections.Generic;
using ZKWebStandard.Web;
using System.Web;
namespace ZKWeb.Hosting.AspNet {
/// <summary>
/// Http context wrapper for Asp.Net<br/>
/// Asp.Net Http上下文的包装类<br/>
/// </summary>
internal class AspNetHttpContextWrapper : IHttpContext {
/// <summary>
/// Original http... |
NetFlowLibrary/Logs.cs | DaveMaks/NetFlowCollector | 0 | 7044787 | <filename>NetFlowLibrary/Logs.cs<gh_stars>0
using System;
using System.IO;
namespace NetFlowLibrary
{
/// <summary>
/// Класс логирования
/// </summary>
/// <example>
/// ...
/// Logs.Write("Все очень плохо!");
/// ...
/// </example>
public class Logs
{
public static ... |
Source/Clients/DotNET/Hosting/MongoDBReadModels.cs | Cratis/cratis | 0 | 7044788 | <filename>Source/Clients/DotNET/Hosting/MongoDBReadModels.cs
// Copyright (c) Cratis. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Reflection;
using Cratis.Configuration;
using Cratis.Configuration.Grains;
using Cratis.Execution... |
CrashReporter/CrashData/EnvironmentDump.cs | jcurl/RJCP.DLL.CrashReporter | 3 | 7044789 | namespace RJCP.Diagnostics.CrashData
{
using System;
using System.Collections;
using System.Collections.Generic;
using CrashExport;
/// <summary>
/// Dump all environment variables for the current process.
/// </summary>
public class EnvironmentDump : CrashDataExport<KeyValuePair<strin... |
roxy-tool/Classes/HueToColor.cs | veroxzik/roxy-tool | 5 | 7044790 | using Avalonia.Media;
using System;
using System.Collections.Generic;
using System.Text;
namespace roxy_tool.Classes
{
public static class HueToColor
{
private static Color[] colorList = new Color[256];
static HueToColor()
{
float slope1 = (255.0f - 160.0f) / 31.0f;
... |
System/Eamon/Game/Extensions/StringExtensions.cs | TheRealEamonCS/Eamon-CS | 15 | 7044791 |
// StringExtensions.cs
// Copyright (c) 2014+ by <NAME>. All rights reserved.
using System;
using System.Diagnostics;
using System.Globalization;
namespace Eamon.Game.Extensions
{
public static class StringExtensions
{
public static string FirstCharToLower(this string str)
{
if (!string.Is... |
Views/Home/Index.cshtml | chibitrader/CvGen | 0 | 7044792 | <reponame>chibitrader/CvGen
@model CvGenerator.Models.CvInformation
@inject Dictionary<string, Template> templates
@inject Microsoft.Extensions.Configuration.IConfiguration config
@{
ViewData["Title"] = "Build your own CV in few steps!";
int index = 1;
}
<div>
<form asp-action="Index" id="form">
... |
IronSmarkets.Tests/CurrencyTests.cs | smarkets/IronSmarkets | 0 | 7044793 | <reponame>smarkets/IronSmarkets<gh_stars>0
// Copyright (c) 2011 Smarkets Limited
//
// 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 th... |
06.HQC/OlympicGamesMartiStamatov_OK_Stage1/OlympicGames/OlympicGames/IOWrapper.cs | simeonovanton/TelerikALPHA_nov2017 | 0 | 7044794 | <filename>06.HQC/OlympicGamesMartiStamatov_OK_Stage1/OlympicGames/OlympicGames/IOWrapper.cs<gh_stars>0
using OlympicGames.Core.Providers;
namespace OlympicGames
{
public class IOWrapper : IIOWrapper
{
private readonly IConsoleWriter writer;
private readonly IConsoleReader reader;
publ... |
GherkinEditor/GherkinEditor/ViewModel/AboutControlViewModel.cs | bzquan/GherkinEditor | 2 | 7044795 | <reponame>bzquan/GherkinEditor<filename>GherkinEditor/GherkinEditor/ViewModel/AboutControlViewModel.cs
// -----------------------------------------------------------------------
// <copyright file="AboutControlViewModel.cs" company="">
//
// The MIT License (MIT)
//
// Copyright (c) 2014 <NAME>
//
// Permission is h... |
src/ApplicationCore/Specifications/Tattoo/TattooByOrderSpecification.cs | StoyanSl/Inkett | 0 | 7044796 | <reponame>StoyanSl/Inkett
using Inkett.ApplicationCore.Entitites;
namespace Inkett.ApplicationCore.Specifications
{
public sealed class TattooByOrderSpecification : BaseSpecification<Tattoo>
{
public TattooByOrderSpecification(int skip, int take) : base(null)
{
ApplyPaging(skip, ta... |
sdk/communication/Azure.Communication.Common/src/CommunicationCloudEnvironment.cs | gjy5885/azure-sdk-for-net | 3,268 | 7044797 | <reponame>gjy5885/azure-sdk-for-net<filename>sdk/communication/Azure.Communication.Common/src/CommunicationCloudEnvironment.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.ComponentModel;
namespace Azure.Communication
{
/// <summary> Th... |
Assets/Scripts/Platform.cs | Felix23333/Felix-Li-CMPM121-Project | 0 | 7044798 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Platform : MonoBehaviour
{
public Material normalMat;
public Material lightMat;
public int targetPhase;
// Start is called before the first frame update
void Start()
{
GetComponent<MeshRenderer>... |
bo-utils-addin/CustArray.cs | reddaiahece/bo-utils | 0 | 7044799 | using System;
namespace BOUtilsAddin
{
static class ExcelArray<T>
{
public static T[,] Create(int nbRow, int nbColumn) {
return (T[,])Array.CreateInstance(typeof(T), new [] { nbRow, nbColumn }, new [] { 1, 1 });
}
public static T[] Create(int nbRow) {
... |
apis/Google.Cloud.Diagnostics.AspNetCore/Google.Cloud.Diagnostics.AspNetCore.IntegrationTests/Logging/LoggingTest.cs | mikelehen/google-cloud-dotnet | 1 | 7044800 | <reponame>mikelehen/google-cloud-dotnet
// Copyright 2016 Google Inc. 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.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENS... |
sdk/storsimple8000series/Microsoft.Azure.Management.StorSimple8000Series/src/Generated/Models/CloneRequest.cs | gjy5885/azure-sdk-for-net | 3,268 | 7044801 |
namespace Microsoft.Azure.Management.StorSimple8000Series.Models
{
using Azure;
using Management;
using StorSimple8000Series;
using Rest;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// The clone job reques... |
Overture.T4.Helper/WebApiControllers/ApiControllerProvider.cs | shestakov/T34 | 0 | 7044802 | <filename>Overture.T4.Helper/WebApiControllers/ApiControllerProvider.cs
using System.Linq;
using Overture.T4.Helper.DesignTimeCodeModel;
namespace Overture.T4.Helper.WebApiControllers
{
public class ApiControllerProvider
{
private readonly DesignTimeSolutionCodeModelProvider helper;
public ApiControllerProvider... |
src/Jasper.Testing/Conneg/MimeTypeListTester.cs | SVemulapalli/jasper | 0 | 7044803 | <reponame>SVemulapalli/jasper<filename>src/Jasper.Testing/Conneg/MimeTypeListTester.cs
using System.Linq;
using Jasper.Conneg;
using Shouldly;
using Xunit;
namespace Jasper.Testing.Conneg
{
public class MimeTypeListTester
{
[Fact]
public void accepts_any()
{
// If empty, go... |
Project/VVMConnection/Connection.cs | Codeer-Software/VVMConnection | 0 | 7044804 | using System.Windows;
using System.Linq;
namespace VVMConnection
{
public class Connection
{
public static MethodCollection GetMethods(DependencyObject obj)=> (MethodCollection)obj.GetValue(MethodsProperty);
public static void SetMethods(DependencyObject obj, MethodCollection value)=> obj.Set... |
src/IdentityServerAspNetIdentity/Models/SessionNumber.cs | Schlagadiguenflu/confluences-teletravail | 0 | 7044806 | <reponame>Schlagadiguenflu/confluences-teletravail
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace IdentityServerAspNetIdentity.Models
{
public class SessionNumber
{
... |
unity/Assets/TerminalConsole/TerminalGUI.cs | ngonen/Storage | 47 | 7044807 | <reponame>ngonen/Storage<gh_stars>10-100
// -------------------------------------
// Domain : Realtime.co
// Author : <NAME>
// Product : Messaging and Storage
// Copyright (c) 2014 IBT All rights reserved.
// -------------------------------------
using System;
using System.Linq;
using UnityEngine;
namespace Re... |
PicoService/Bus/ServiceBusConfiguration.cs | PicoService/PicoService | 0 | 7044808 | <filename>PicoService/Bus/ServiceBusConfiguration.cs
using System.Collections.Generic;
namespace PicoService.Bus
{
public class ServiceBusConfiguration
{
public string QueueName { get; set; }
public string Username { get; set; }
public string Password { get; set; }
public int... |
Managed/UnrealEngine.Runtime/UnrealEngine.Runtime/CoreUObject/FCoreNet.cs | MiheevN/USharp | 353 | 7044809 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnrealEngine.Runtime.Native;
namespace UnrealEngine.Runtime
{
// This isn't a native class (rename this? merge with FCoreGlobals?). This wraps functions in CoreNet.h
public static class FCoreNet
{
public s... |
Standard/essentialMix.Data/Patterns/Table/TableColumns.cs | asm2025/asm | 0 | 7044810 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Data;
using System.Diagnostics;
using System.Linq;
using essentialMix.Extensions;
using JetBrains.Annotations;
using essentialMix.Patterns.Layout;
using essentialMix.Patterns.Text;
namespace essentialMix.Dat... |
HiLaarIsch.WebApp/Views/Shared/Layouts/Mobile.cshtml | QuantumHive/HiLaarIsch | 2 | 7044812 | <gh_stars>1-10
<!DOCTYPE html>
<html lang="nl">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no" />
<title>HiLaarisch</title>
@Styles.Render(Bundles.Styles.Bootstrap)
@Styles.Render(Bundles.Styles.Global)
... |
DataBrowser/DataBrowser.WebRole/Views/Shared/AgencyTabs.cshtml | openlab/OGDI-DataLab | 18 | 7044813 | @inherits Ogdi.InteractiveSdk.Mvc.OgdiViewUserControl<Ogdi.InteractiveSdk.Mvc.Models.ViewData.AgencyTabsViewModel>
<div class="tabs">
<div class="tab tc2 t2" title="@SharedResources.AgencyTabs.Comments"><div @this.Model.Active == AgencyTab.Comments ? " class=\"active\"" : "" onclick='q.Tabs.switchTabs(this, null, "... |
src/VsConsole/PowerShellHost/ProjectExtensions.cs | Zaretto/NuGet | 96 | 7044814 | <filename>src/VsConsole/PowerShellHost/ProjectExtensions.cs<gh_stars>10-100
using System.Management.Automation;
using EnvDTE;
namespace NuGetConsole.Host.PowerShell.Implementation
{
public static class ProjectExtensions
{
/// <summary>
/// This method is used for the ProjectName CodePr... |
DPBlazorMapLibrary/Factorys/Interfaces/IRectangleFactory.cs | NanosoftDK/DPBlazorMap | 4 | 7044816 | <reponame>NanosoftDK/DPBlazorMap<gh_stars>1-10
namespace DPBlazorMapLibrary
{
public interface IRectangleFactory
{
Task<Rectangle> CreateRectangle(LatLngBounds latLngBounds, RectangleOptions? options);
Task<Rectangle> CreateRectangleAndAddToMap(LatLngBounds latLngBounds, Map map, RectangleOptio... |
RocketMQ.Client/Protocal/Route/QueueData.cs | leeveel/RocketMQ.Client | 3 | 7044817 | <reponame>leeveel/RocketMQ.Client<filename>RocketMQ.Client/Protocal/Route/QueueData.cs<gh_stars>1-10
using System;
namespace RocketMQ.Client
{
public class QueueData : IComparable<QueueData>
{
public string brokerName{ get; set; }
public int readQueueNums{ get; set; }
public int writeQ... |
Assets/Scripts_Vive/EyeTracking/ViveEyeDevice.cs | Pretendprof/EyeTrackingDataCollectionExample | 1 | 7044818 | using System.Collections.Generic;
using UnityEngine;
using System.Threading;
using System.Threading.Tasks;
using System.Diagnostics;
using System;
using ViveSR.anipal.Eye;
using System.Runtime.InteropServices;
/*
This code was built to provide an example of how to impliment eyetracking using the HTC Vive Pro Eye and
t... |
src/Couchbase.Lite.Tests.Shared/StorageEngineTest.cs | LongoMatch/couchbase-lite-net | 0 | 7044819 | <filename>src/Couchbase.Lite.Tests.Shared/StorageEngineTest.cs
using System;
using System.Threading.Tasks;
using System.Threading;
using NUnit.Framework;
namespace Couchbase.Lite
{
public class StorageEngineTest : LiteTestCase
{
[Test]
[Description("If the delegate returns true, the transactio... |
src/Services/NationalBank/OpenData.Services.NationalBank.Infrastructure/Repositories/GoldPriceRepository.cs | pbujanowski/open-data | 0 | 7044821 | using OpenData.Services.NationalBank.Application.Common.Repositories;
using OpenData.Services.NationalBank.Domain.Entities;
using OpenData.Services.NationalBank.Infrastructure.Data;
namespace OpenData.Services.NationalBank.Infrastructure.Repositories;
public class GoldPriceRepository : Repository<GoldPrice>, IGoldPri... |
Manta/Core/Factory/Materials/ApplyMaterial.cs | brett-taylor/SubnauticaSubmarineManta | 4 | 7044823 | using System;
using System.Collections.Generic;
using System.Linq;
using Manta.Utilities;
using UnityEngine;
namespace Manta.Core.Factory.Materials
{
public abstract class ApplyMaterial
{
private static readonly Shader MARMOSET_SHADER = Shader.Find("MarmosetUBER");
private static readonly strin... |
Orders.com.BLL/Domain/Product.cs | elray/Peasy.NET-Samples | 21 | 7044824 | <reponame>elray/Peasy.NET-Samples
using Peasy;
using Peasy.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Orders.com.BLL.Domain
{
public class Product : DomainBase
{
public long ProductID { get; set; }
[Required]
[StringLength(30)]
public string Name { get;... |
tests/Library.Tests/BaseEventSetup.cs | anthonydotnet/DangEasy.Eventbrite | 0 | 7044825 | <gh_stars>0
using System;
using DangEasy.Eventbrite.Services;
using DangEasy.Eventbrite.Models.Response;
using Xunit;
using DangEasy.Configuration;
using Microsoft.Extensions.Configuration;
using DangEasy.Eventbrite.Builders;
using DangEasy.Eventbrite.Models.Shared;
namespace Library.Tests
{
public abstract class... |
E3Series.Proxy/E3WespeProxy.cs | alex-buraykin/E3Series.Proxy | 1 | 7044826 | using E3Series.Proxy.Abstract;
namespace E3Series.Proxy
{
/// <summary>
/// Proxy class (generated for E3.series 2015.1613)
/// </summary>
public sealed class E3WespeProxy : E3ProxyBase
{
public E3WespeProxy(object comObject) : base(comObject)
{
}
public int Change... |
Plugins/Rooms/Player.cs | blubwage/DarkRift2_Login-Plugin | 20 | 7044827 | using DarkRift;
namespace RoomSystemPlugin
{
public class Player : IDarkRiftSerializable
{
public uint Id { get; }
public string Name { get; }
public bool IsHost { get; private set; }
public Player(uint id, string name, bool isHost)
{
Id = id;
N... |
AMETAP/AMETAP/Controller/ParticipantController.cs | HabibAroua/Ametap | 3 | 7044828 | using System.Collections.Generic;
using AMETAP.Model.DataAcces;
using System.Windows.Forms;
namespace AMETAP.Controller
{
public class ParticipantController
{
ParticipantDA pDA;
public ParticipantController()
{
pDA = new ParticipantDA();
}
public void Suupr... |
Assets/Code/Scripts/SOFlow/Managed Components/Managers/ManagerBase.cs | BLUDRAG/SOFlow | 50 | 7044829 | <gh_stars>10-100
// Created by <NAME> : https://www.blumalice.wordpress.com | https://www.linkedin.com/in/kearan-petersen/
using System.Collections.Generic;
using SOFlow.ManagedComponents.Components;
using UnityEngine;
namespace SOFlow.ManagedComponents.Managers
{
public abstract class ManagerBase : ScriptableOb... |
Source/OxyPlot/Series/BarSeries/BarSeriesBase.cs | bluesadman/oxyplot | 1 | 7044830 | <reponame>bluesadman/oxyplot<gh_stars>1-10
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="BarSeriesBase.cs" company="OxyPlot">
// Copyright (c) 2020 OxyPlot contributors
// </copyright>
// -----------------------------------... |
Simple.MailServer/Smtp/SmtpServer.cs | jnettleton/simple.mailserver | 0 | 7044831 | <filename>Simple.MailServer/Smtp/SmtpServer.cs
#region Header
// Copyright (c) 2013-2015 <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 ... |
src/BinarySerializer.Klonoa.DTP/FILE/Cutscene/Cutscene.cs | BinarySerializer/BinarySerializer.Klonoa | 1 | 7044833 | <reponame>BinarySerializer/BinarySerializer.Klonoa
namespace BinarySerializer.Klonoa.DTP
{
public class Cutscene : BinarySerializable
{
public ArchiveFile Pre_Archive { get; set; }
public int Pre_ArchiveFileIndex { get; set; }
public Cutscene_File Cutscene_Normal { get; set; }
... |
Roleplay-ToolSet/Roleplay-ToolSet/Settings.cs | squareJAO/Roleplay-ToolSet | 0 | 7044834 | <reponame>squareJAO/Roleplay-ToolSet<filename>Roleplay-ToolSet/Roleplay-ToolSet/Settings.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Windows.Forms;
using Newtonsoft.Json;
using NodaTime;
using System.Globalization;... |
src/ReconNess.Web/Auth/Tokens.cs | jack51706/reconness | 1 | 7044835 | using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
namespace ReconNess.Web.Auth
{
public class Tokens
{
/// <summary>
///
/// </summary>
/// <param name="userName"></param>
/// <param name="claims"></param>
/// <param ... |
Assets/VegaLearningUnits/LU3/Scripts/InGameUIController.cs | Macawls/vega_project_2A | 0 | 7044836 | using TMPro;
using UnityEngine;
public class InGameUIController : MonoBehaviour
{
#region VARIABLES
public static InGameUIController Instance;
public TMP_Text ScoreText;
#endregion
#region UNITY METHODS
private void Awake()
{
// Ensure we only Have 1 Singleton Instance of InGame... |
FlappyCube/Assets/Scripts/UnityComponents/Factories/PrefabFactory.cs | Red-Cat-Fat/DemoLeoEcs | 7 | 7044837 | <filename>FlappyCube/Assets/Scripts/UnityComponents/Factories/PrefabFactory.cs<gh_stars>1-10
using Components.Common;
using Leopotam.Ecs;
using UnityComponents.MonoLinks;
using UnityComponents.MonoLinks.Base;
using UnityEngine;
namespace UnityComponents.Factories
{
public class PrefabFactory : MonoBehaviour
{
priv... |
src/ResourceManagement/Compute/Domain/IGalleries.cs | avantida/azure-libraries-for-net | 365 | 7044838 | <filename>src/ResourceManagement/Compute/Domain/IGalleries.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Management.Compute.Fluent
{
using Microsoft.Azure.Management.Compute.F... |
CobraStandardControls/Widget/GShop_POS/SubControl/SubControlPOSKeyPad.cs | kokyiphyocho/Cobra-Web-based-POS-System | 0 | 7044839 | <reponame>kokyiphyocho/Cobra-Web-based-POS-System
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using CobraFrame;
using CobraFoundation;
using CobraWebFrame;
using CobraResources;
using Sy... |
tmp/MinimalJson/JsonParser.cs | supertask/ChainVoxel-SimulatorX | 1 | 7044840 | <gh_stars>1-10
/*******************************************************************************
* Copyright (c) 2013 EclipseSource.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and i... |
src/SDKs/Search/DataPlane/Microsoft.Azure.Search.Service/Customizations/Indexers/Models/BlobExtractionMode.cs | juniwang/azure-sdk-for-net | 1 | 7044841 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
using Microsoft.Azure.Search.Serialization;
using Newtonsoft.Json;
namespace Microsoft.Azure.Search.Models
{
/// <summary>
/// Defines which parts of... |
ADTeam5/Views/AdjustmentRecords/_TempAdjustmentRecords.cshtml | SophiaF630/ADTeam5 | 1 | 7044842 | @model List<ADTeam5.ViewModels.AdjustmentRecordViewModel>
@{
ViewData["Title"] = "_TempAdjustmentRecords";
}
@using ADTeam5.Areas.Identity.Data
@using Microsoft.AspNetCore.Identity
@inject SignInManager<ADTeam5User> SignInManager
@inject UserManager<ADTeam5User> UserManager
@inject SSISTeam5Context context
@{ ... |
Slack.NetStandard/WebApi/Files/UpdateFileRemoteRequest.cs | cssho/Slack.NetStandard | 26 | 7044843 | <reponame>cssho/Slack.NetStandard
using Newtonsoft.Json;
namespace Slack.NetStandard.WebApi.Files
{
public class UpdateFileRemoteRequest:AddFileRemoteRequest
{
[JsonProperty("file",NullValueHandling = NullValueHandling.Ignore)]
public string File { get; set; }
}
} |
nzy3d-api/Events/DrawableChangedEventArgs.cs | rtrusso/nzy3d-api | 15 | 7044844 | <filename>nzy3d-api/Events/DrawableChangedEventArgs.cs<gh_stars>10-100
using Microsoft.VisualBasic;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
namespace nzy3D.Events
{
public class DrawableChangedEventArgs : ObjectEventArgs
{
private Fi... |
source/Kanpuchi.WindowsPhone.v2/Interactivity/ViewModelLocator.cs | karamem0/Kanpuchi | 0 | 7044845 | <filename>source/Kanpuchi.WindowsPhone.v2/Interactivity/ViewModelLocator.cs
using Karamem0.Kanpuchi.Infrastructure;
using Karamem0.Kanpuchi.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml;
namespace Karamem0.Kanpuchi... |
Assets/Scripts/Hall/View/Agency/AgencyDetailWindow.cs | da1fanshu/1234ewsd | 2 | 7044847 | /**
*文件名称: AgencyDetail.cs
*作者: AndeLee
*版本: 1.0
*Unity版本: 5.4.0f3
*创建时间: 2018-05-01
*描述:
*历史记录:
*/
using System.Collections.Generic;
using Assets.Scripts.Common.components;
using Assets.Scripts.Common.Utils;
using Assets.Scripts.Common.Windows;
using UnityEngine;
namespace... |
Icarus.API/Controllers/ProductController.cs | 141-Gelecek-Varlik-FullStack-Bootcamp/odev-3-gokalpcakar | 0 | 7044848 | using Icarus.Model;
using Icarus.Model.Product;
using Icarus.Service.Product;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace Icarus.API.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class ProductController : ControllerBase
{
// Burada servisi çağı... |
tests/AutoFilterer.Dynamics.Tests/Environment/Models/Preferences.cs | furkandeveloper/AutoFilterer | 175 | 7044849 | using System;
namespace AutoFilterer.Dynamics.Tests.Environment.Models
{
public class Preferences
{
public Guid UserId { get; set; }
public bool IsTwoFactorEnabled { get; set; }
public string GivenName { get; set; }
public int SecurityLevel { get; set; }
}
}
|
CoreServices/Migrations/20220210095740_CreateInitial.Designer.cs | AbdurRahimRatulAliKhan/ASP.NET-Core-Web-API-CRUD-Operation-using-Entity-Framework-Core-0.6-2022 | 1 | 7044850 | // <auto-generated />
using CoreServices.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespac... |
Neusie.Tests/Configuration/OutputConfigurationTests.cs | TheSylence/Neusie | 1 | 7044851 | using Microsoft.Extensions.Configuration;
using Neusie.Configuration;
using NSubstitute;
using Xunit;
namespace Neusie.Tests.Configuration
{
public class OutputConfigurationTests
{
[Fact]
public void ShouldCorrectSeed()
{
// Arrange
var section = Substitute.For<IConfigurationSection>();
section[Confi... |
SWEN5232/UIConsole/Assets/Mapbox/Unity/SourceLayers/SubLayerFantasyStyle.cs | uhcl-capstone-spring-2019/Capstone-Architecture | 648 | 7044852 | <reponame>uhcl-capstone-spring-2019/Capstone-Architecture
namespace Mapbox.Unity.Map
{
public class SubLayerFantasyStyle : ISubLayerFantasyStyle
{
private GeometryMaterialOptions _materialOptions;
public SubLayerFantasyStyle(GeometryMaterialOptions materialOptions)
{
_materialOptions = materialOptions;
}
... |
MySportsFeeds.NetCore/MySportsFeeds.NetCore/Models/Mlb/ScoreboardResponse.cs | MySportsFeeds/mysportsfeeds-dotnet | 8 | 7044853 | <reponame>MySportsFeeds/mysportsfeeds-dotnet
using System.Collections.Generic;
using Newtonsoft.Json;
namespace MySportsFeeds.NetCore.Models.Mlb
{
public class ScoreboardResponse
{
[JsonProperty("scoreboard")]
public Scoreboard Scoreboard { get; set; }
}
public class ScoreboardGam... |
src/AddIns/Misc/PackageManagement/Project/Src/ListBoxBehaviour.cs | dongdapeng110/SharpDevelopTest | 11 | 7044854 | // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Windows;
using System.Windows.Controls;
namespace ICSharpCode.PackageManagement
{
public static c... |
DTO/JsonData.cs | LaneSh4d0w/iptv_checker | 9 | 7044856 | <reponame>LaneSh4d0w/iptv_checker
using System.Collections.Generic;
namespace IPTV_Checker_2.DTO
{
public class JsonData
{
public string Country
{
get;
set;
}
public string UserAgent
{
get;
set;
}
public L... |
src/Extensions/SharperCryptoApiAnalysis.BaseAnalyzers/CryptoTasks/SymmetricEncryption/SymmetricEncryptionCryptoTaskHandler.cs | AnakinSklavenwalker/SharperCryptoApiAnalysis | 1 | 7044857 | using System.ComponentModel.Composition;
using System.IO;
using System.Reflection;
using EnvDTE;
using SharperCryptoApiAnalysis.Interop.TemplateEngine;
using SharperCryptoApiAnalysis.Shell.Interop.CryptoTaskGenerator;
using SharperCryptoApiAnalysis.VisualStudio.Integration;
namespace SharperCryptoApiAnalysis.BaseAnal... |
parent-app/Data/ApplicationDbContext.cs | hom3r/nested-web-application | 0 | 7044858 | using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using parent.Models;
namespace parent.Data
{
public class ApplicationDbContext : IdentityDbContext
{
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
: base(optio... |
Code/GameLibrary/Tests/TestLoginRegister/TestRegister.cs | codacy-badger/GameLibrary | 3 | 7044859 | <filename>Code/GameLibrary/Tests/TestLoginRegister/TestRegister.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DataManager;
namespace TestLoginRegister
{
#region Test register
/// <summary>
/// This class fully tests the register functionnality.
/// </summary>
[TestClass]
public... |
src/working/templates/Web/src/SFA.DAS.WebTemplateSourceName.Web/StartupExtensions/AddServiceRegistrationExtensions.cs | SkillsFundingAgency/das-dotnet-templates | 0 | 7044860 | <gh_stars>0
using Microsoft.Extensions.DependencyInjection;
using SFA.DAS.Authorization.Context;
using SFA.DAS.WebTemplateSourceName.Infrastructure.Services.AccountUsersReadStore;
using SFA.DAS.WebTemplateSourceName.Infrastructure.Services.CosmosDb;
using SFA.DAS.WebTemplateSourceName.Web.Authentication;
using SFA.DAS... |
Exercise1-StacksAndQueues/PoisonousPlants/Program.cs | AscenKeeprov/CSharp-Advanced | 0 | 7044861 | <filename>Exercise1-StacksAndQueues/PoisonousPlants/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace PoisonousPlants
{
class Program
{
static void Main()
{
int n = int.Parse(Console.ReadLine());
List<int> plants = Console.ReadLine()
.Split().Select(int.Pars... |
TeamTyranastrasz/GameFiles/Forms/StartScreen.cs | Tyranastrasz/RPG-Teamwork | 7 | 7044862 | <reponame>Tyranastrasz/RPG-Teamwork
namespace RpgGame.Forms
{
using System;
using System.IO;
using System.Drawing;
using System.Windows.Forms;
public partial class StartScreen : Form
{
public StartScreen()
{
InitializeComponent();
}
private void Sta... |
src/ServicePointDto.cs | Epinova/Epinova.PostnordShipping | 0 | 7044863 | using System.Linq;
namespace Epinova.PostnordShipping
{
internal class ServicePointDto
{
public ServicePointDto()
{
Coordinates = new CoordinateDto[0];
OpeningHours = new OpeningHourDto[0];
}
/// <remarks>Use <see cref="GetCoordinate"/> instead</remarks... |
DiscordGateway/DiscordObjects/ConnectionProperties.cs | BrytonKinney/DiscordBot | 0 | 7044864 | <reponame>BrytonKinney/DiscordBot
using System.Text.Json.Serialization;
namespace DiscordGateway.DiscordObjects
{
public class ConnectionProperties
{
[JsonPropertyName("$os")]
public string OperatingSystem { get; set; }
[JsonPropertyName("$browser")]
public string Browser { get... |
SRDebugger/Settings.cs | SinsofSloth/RF5-global-metadata | 1 | 7044865 | <reponame>SinsofSloth/RF5-global-metadata
public class Settings : ScriptableObject // TypeDefIndex: 5539
{
// Fields
private const string ResourcesPath = "/usr/Resources/SRDebugger";
private const string ResourcesName = "Settings";
private static Settings _instance; // 0x0
[CompilerGeneratedAttribute] // RVA: 0x13... |
LoginSystem/Views/Home/Index.cshtml | annices/c-sharp-identity-login-system-1.0 | 0 | 7044866 | <div id="container">
<h2>Welcome</h2>
You are now on the public start page of this application. You can now also login as a SuperAdmin with your created user email and password
to start editing and creating user accounts. When you create a new user account, it has by default no roles assigned to it.
H... |
src/Microsoft.NetCore.Analyzers/Core/Security/DoNotDisableSchUseStrongCrypto.cs | LingxiaChen/roslyn-analyzers | 1 | 7044867 | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Linq;
using Analyzer.Utilities;
using Analyzer.Utilities.Extensions;
using Microsoft.CodeAnalysis;
using Mic... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.