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/mbill_service.Service/Common/Mapper/Core/RoleMapper.cs | Twtcer/mbill_service | 8 | 7066844 | <reponame>Twtcer/mbill_service
using AutoMapper;
using mbill_service.Core.Domains.Entities.Core;
using mbill_service.Service.Core.Permission.Input;
using mbill_service.Service.Core.Permission.Output;
namespace mbill_service.Service.Common.Mapper.Core
{
public class RoleMapper : Profile
{
public RoleMa... |
Kahla.SDK/Services/AES.cs | JTOne123/Kahla | 78 | 7066845 | <filename>Kahla.SDK/Services/AES.cs<gh_stars>10-100
using Aiursoft.Scanner.Interfaces;
using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace Kahla.SDK.Services
{
public class AES : ITransientDependency
{
public string OpenSSLE... |
PluginShogi/Model/VariationCommentManager.cs | ebifrier/Okiami | 0 | 7066846 | <reponame>ebifrier/Okiami<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ragnarok;
using Ragnarok.Shogi;
namespace VoteSystem.PluginShogi.Model
{
/// <summary>
/// 投稿された変化の一部分を保持します。
/// </summary>
internal sealed class PartialVaria... |
MisaCommon/MisaCommon/Utility/ExtendMethod/Z1Extend.cs | misaki01/SimpleMicRemote | 0 | 7066847 | namespace MisaCommon.Utility.ExtendMethod
{
/// <summary>
/// 下記の警告の抑制用クラス
/// 必要な機能が追加されるたびに消してく
/// 【CA1020:別の名前空間を伴う 'MisaCommon' で定義された型をマージすることを考慮してください。】
/// </summary>
public class Z1Extend
{
}
}
|
Telerik.JustMock.Portable/Core/MockingUtil.Glue.cs | tailsu/JustMockLite | 112 | 7066848 | <reponame>tailsu/JustMockLite<filename>Telerik.JustMock.Portable/Core/MockingUtil.Glue.cs
/*
JustMock Lite
Copyright © 2010-2015 <NAME>
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
... |
src/Bet.AspNet.DependencyInjection.Legacy/LegacyServiceCollectionExtensions.cs | kdcllc/Bet.Extensions.DependencyInjection.WebForms | 3 | 7066849 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
namespace Microsoft.Extensions.DependencyInjection
{
public static class LegacyServiceCollectionExtensions
{
/// <summary>
/// Adds Mvc and WebApi Controllers to DI Container.
/// The controllers s... |
RuleBuilder/Util/IntegerRangeRule.cs | 4-FLOSS-Free-Libre-Open-Source-Software/KeePass-Rule-Builder | 15 | 7066850 | <gh_stars>10-100
using System;
using System.Globalization;
using System.Windows.Controls;
namespace RuleBuilder.Util {
public class IntegerRangeRule : ValidationRule {
public int? Min { get; set; }
public int? Max { get; set; }
public override ValidationResult Validate(object value, CultureInfo cultureInfo) {
... |
source/GoLava.ApplePie/GoLava.ApplePie/Transfer/Content/NullContent.cs | Fucktheworld666/golava-applepie | 15 | 7066851 | <reponame>Fucktheworld666/golava-applepie
using System.IO;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
namespace GoLava.ApplePie.Transfer.Content
{
/// <summary>
/// A <see cref="T:HttpContent"/> that has no data and a content length of 0
/// </summary>
public class NullCont... |
src/interface/IMQTTClient.rx/Model/QoSLevel.cs | BlueChilli/MQTTClient.rx | 48 | 7066852 | <filename>src/interface/IMQTTClient.rx/Model/QoSLevel.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace IMQTTClientRx.Model
{
public enum QoSLevel
{
AtMostOnce = 0x00,
AtLeastOnce = 0x01,
ExactlyOnce = 0x02
}
}
|
sources/AssemblyVisualizer/Controls/Graph/QuickGraph/Contracts/IEdgeContract.cs | saeidmh83/AssemblyVisualizer | 4 | 7066853 | // Adopted, originally created as part of QuickGraph library
// This code is distributed under Microsoft Public License
// (for details please see \docs\Ms-PL)
using System.Diagnostics.Contracts;
namespace AssemblyVisualizer.Controls.Graph.QuickGraph.Contracts
{
[ContractClassFor(typeof(IEdge<>))]
abstract ... |
languages/csharp/AppEncryption/AppEncryption.IntegrationTests/Regression/AppEncryptionParameterizedTestData.cs | ravinaik1312/asherah | 1 | 7066854 | using System;
using System.Collections.Generic;
using App.Metrics;
using GoDaddy.Asherah.AppEncryption.Envelope;
using GoDaddy.Asherah.AppEncryption.IntegrationTests.TestHelpers;
using GoDaddy.Asherah.AppEncryption.IntegrationTests.Utils;
using GoDaddy.Asherah.AppEncryption.KeyManagement;
using GoDaddy.Asherah.AppEncry... |
src/Web/REST/RFID.REST.Test/Common/Examples.cs | vasiloreshenski/RFID | 0 | 7066855 | namespace RFID.REST.Test.Common
{
using RFID.REST.Areas.Administration.Models;
using RFID.REST.Models;
using System;
using System.Collections.Generic;
using System.Text;
internal static class Examples
{
public static RegisterAdministrationUserRequestModel Administrator()
{... |
src/RPC/RPCBase.Server/Base/ServerRpcExtend.cs | fingerpasswang/Phial | 15 | 7066856 | using System;
using System.Threading.Tasks;
namespace Ox.RPCBase.Server
{
public static class ServiceDelegateEx
{
public static Task<TResult> InvokeT<TResult>(this ServiceDelegateStub serviceDelegateStub, uint methodId, string forwardKey, params object[] args)
{
var op = serviceDel... |
Benchmark/Program.cs | caidongyun/FileWall | 1 | 7066857 | using System;
using System.Collections.Generic;
using System.IO;
using System.Windows.Forms;
using VitaliiPianykh.FileWall.Shared;
namespace Benchmark
{
class Program
{
static void Main(string[] args)
{
try
{
var accessesWithout = 0;
var... |
Assets/MobileKeyboardSample.cs | nkjzm/UnityMobileKeyboardSample | 13 | 7066858 | using UniRx;
using UniRx.Triggers;
using UniSoftwareKeyboardArea;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class MobileKeyboardSample : MonoBehaviour
{
[SerializeField] private InputField chatInput = default!;
[SerializeField] private Button submitButton = default!;
[... |
Assets/Scripts/PauseMenu.cs | JanCraft/teddor | 0 | 7066859 | <filename>Assets/Scripts/PauseMenu.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PauseMenu : MonoBehaviour {
public static bool open = false;
private bool switching;
public GameObject menu;
public RectTransform selected;
private int selectedIdx = 0;
... |
unity-sample-environment/Assets/Scripts/MyFirstPersonController.cs | MatsuoSeigo/TankDqn | 0 | 7066860 | using System;
using UnityEngine;
using UnityStandardAssets.CrossPlatformInput;
using UnityStandardAssets.Utility;
using Random = UnityEngine.Random;
namespace UnityStandardAssets.Characters.FirstPerson
{
[RequireComponent(typeof (CharacterController))]
[RequireComponent(typeof (AudioSource))]
[RequireComponent(type... |
src/FileWarden.Core/Rename/RenameWardenOptions.cs | hadzhiyski/FileWarden | 1 | 7066861 | using FileWarden.Core.Rename.Suffix;
using System.IO;
namespace FileWarden.Core.Rename
{
public class RenameWardenOptions : IWardenBaseOptions, IAppendFileNameWardenOptions
{
public RenameWardenOptions(string source, SearchOption search, string suffix, string prefix, bool createBackup, bool noCleanup... |
framework/src/Bing/Locks/IDistributedLock.cs | stoplyy/Bing.NetCore | 2 | 7066862 | using System;
using System.Collections.Generic;
namespace Bing.Locks
{
/// <summary>
/// 分布式锁
/// </summary>
public interface IDistributedLock
{
/// <summary>
/// 尝试获取锁。成功锁定返回true,false代表之前已被锁定
/// </summary>
/// <param name="key">锁定标识</param>
/// <param nam... |
sources/Assets/Scripts/Tests/GameEvents/MetagameEvents.cs | nubick/unity-utils | 186 | 7066863 | <filename>sources/Assets/Scripts/Tests/GameEvents/MetagameEvents.cs
using Assets.Scripts.Utils.GameEvents;
namespace Assets.Scripts.Tests.GameEvents
{
public static class MetagameEvents
{
public static GameEvent NewGameStarted = new GameEvent("NewGameStarted");
public static GameEvent<int> CoinsGot ... |
CougNet/CougNet/Controllers/CougProgramsController.cs | TorNATO-PRO/CougNet | 1 | 7066864 | <reponame>TorNATO-PRO/CougNet
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using CougModels;
using CougNet.Data;
using CougModels.ViewModels;
namespace Cou... |
src/Tools/ExternalAccess/OmniSharp/Formatting/OmniSharpSyntaxFormattingOptionsWrapper.cs | kzrnm/roslyn | 1 | 7066866 | // 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.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Formatting;
namespace Microsoft... |
Source/Ultraviolet.OpenGL.Bindings/Shared/gl.Core_1_1.cs | Spool5520/ultraviolet | 558 | 7066867 | <filename>Source/Ultraviolet.OpenGL.Bindings/Shared/gl.Core_1_1.cs
using System;
using System.Runtime.InteropServices;
using Ultraviolet.Core;
namespace Ultraviolet.OpenGL.Bindings
{
public static unsafe partial class gl
{
[MonoNativeFunctionWrapper]
private delegate void glAccumDelegate(uint ... |
Ch7/Total Sales/Total Sales/Form1.cs | datsukai/owatc | 0 | 7066868 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
namespace Total_Sales
{
public partial class Form1 : Form
{
public Form... |
AdventOfCode2021/Puzzles/Day02.cs | xMarkSt/AdventOfCode2021 | 0 | 7066869 | using System;
using System.Collections.Generic;
using System.Linq;
namespace AdventOfCode2021.Puzzles
{
public class Day02 : AocPuzzle
{
public override int Year => 2021;
public override int Day => 2;
protected override void Solve(IEnumerable<string> input)
{
var i... |
sharpclient/ComparisonSessionSelector.cs | corefan/ProfileSharp | 5 | 7066870 | <gh_stars>1-10
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace SharpClient
{
/// <summary>
/// Summary description for ComparisonSessionSelector.
/// </summary>
public class ComparisonSessionSelector : System.Windows.Forms.... |
src/NovgorodBot.Services/SkillsService.cs | granstel/NovgorodBot | 0 | 7066871 | <reponame>granstel/NovgorodBot
using System;
using System.Collections.Generic;
using System.Linq;
using GranSteL.Helpers.Redis;
using NovgorodBot.Models;
namespace NovgorodBot.Services
{
public class SkillsService : ISkillsService
{
private const string CacheKey = "SKILLS";
private static rea... |
src/ImageSharp/Formats/Pbm/PbmFormat.cs | frankracis-work/ImageSharp | 1 | 7066872 | <reponame>frankracis-work/ImageSharp
// Copyright (c) <NAME>.
// Licensed under the Apache License, Version 2.0.
using System.Collections.Generic;
namespace SixLabors.ImageSharp.Formats.Pbm
{
/// <summary>
/// Registers the image encoders, decoders and mime type detectors for the PBM format.
/// </summary... |
Runtime/find-resource-by-component-type/ResourcePathsByPrefix.cs | beatthat/find-resource-by-component-type | 0 | 7066873 | <reponame>beatthat/find-resource-by-component-type<filename>Runtime/find-resource-by-component-type/ResourcePathsByPrefix.cs<gh_stars>0
#if UNITY_EDITOR
using BeatThat.Pools;
using BeatThat.CollectionsExt;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
namespace BeatThat.FindResources
{
publ... |
log4netfunction/EveryFiveSeconds.cs | Jandev/log4netfunction | 2 | 7066874 | using System;
using Autofac;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using MyBusinessLogic;
namespace log4netfunction
{
public static class EveryFiveSeconds
{
[FunctionName("EveryFiveSeconds")]
public static void Run(
[TimerTrigger("*/5 * * * * *", RunOnSt... |
GammaPade/Program.cs | tk-yoshimura/GammaPadeApproximation | 0 | 7066875 | <filename>GammaPade/Program.cs
using MultiPrecision;
using System;
using System.Collections.Generic;
using System.IO;
namespace GammaPade {
internal class Program {
static void Main(string[] args) {
using (StreamWriter sw = new("../../../../results/gamma_pade_table_e31.csv")) {
... |
src/Sautom.Client.Modules.Client/Commands/PrintOrderDetailsCommand.cs | nikaburu/sautom-wpf | 0 | 7066876 | using System;
using Sautom.Client.Comunication;
using Sautom.Client.Comunication.Commands;
using Sautom.Client.Comunication.FileService;
namespace Sautom.Client.Modules.Client.Commands
{
public class PrintOrderDetailsCommand : CommandBase<Guid>
{
#region Constructors
public PrintOrderDetailsCommand... |
src/Lykke.Bil2.Sdk.BlocksReader/Services/IBlockListener.cs | LykkeCorp/Lykke.Blockchains.Integrations.Sdk | 0 | 7066877 | using JetBrains.Annotations;
using Lykke.Bil2.Contract.BlocksReader.Events;
using Lykke.Bil2.SharedDomain;
namespace Lykke.Bil2.Sdk.BlocksReader.Services
{
/// <summary>
/// Listens for the block reading events.
/// </summary>
[PublicAPI]
public interface IBlockListener
{
/// <summary>... |
CSharp.DesignPatterns.AbstractFactory/Entities/Address.cs | evgomes/csharp-designpatterns | 35 | 7066879 | namespace CSharp.DesignPatterns.AbstractFactory.Entities
{
/// <summary>
/// Represents an address.
/// </summary>
public class Address
{
/// <summary>
/// Country code.
/// </summary>
public ECountryCode CountryCode { get; private set; }
public Address(ECountryCode countryCode)
{
CountryCode = co... |
src/JetBrains.Space.Client/Generated/UnfurlClient.generated.cs | PatrickRatzow/space-dotnet-sdk | 0 | 7066880 | <reponame>PatrickRatzow/space-dotnet-sdk<gh_stars>0
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-g... |
src/Lykke.Job.ForwardWithdrawalResolver/Sagas/Commands/RemoveEntryCommand.cs | LykkeCity/Lykke.Job.ForwardWithdrawalResolver | 0 | 7066881 | using MessagePack;
namespace Lykke.Job.ForwardWithdrawalResolver.Sagas.Commands
{
[MessagePackObject(true)]
public class RemoveEntryCommand
{
public string ClientId { set; get; }
public string Id { set; get; }
}
} |
ReleaseTags/0.9/Source/LateBindingApi.Excel/Enums/XlLineStyle.cs | NetOfficeFw/Excel-XlLateBinding | 0 | 7066882 | //Generated by LateBindingApi.CodeGenerator
using LateBindingApi.Core;
namespace LateBindingApi.Excel.Enums
{
[SupportByLibrary("XL10","XL11","XL12","XL14","XL9")]
public enum XlLineStyle
{
[SupportByLibrary("XL10","XL11","XL12","XL14","XL9")]
xlContinuous = 1,
[SupportByLibrary("XL10","XL11","XL12","XL14","X... |
src/Battleship.Game/Ships/IShip.cs | ofthesea-io/Battleship.Microservices | 0 | 7066883 | namespace Battleship.Game.Ships
{
public interface IShip
{
#region Properties
/// <summary>
/// Gets the Ship Length
/// </summary>
int ShipLength { get; }
/// <summary>
/// Gets the Ship code
/// </summary>
char ShipCode { get; }... |
AopExample/AopExample.Repository/Repositories/AccountRepository.cs | darjanbogdan/aop-cqs-example | 0 | 7066884 | <gh_stars>0
using AopExample.DAL.Identity.Models;
using AopExample.Model.Models;
using AopExample.Repository.Common.Repositories;
using AutoMapper;
using Microsoft.AspNet.Identity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Threading... |
src/DotNetty.Handlers/Tls/TlsHandler.Helper.cs | yyjdelete/SpanNetty | 4 | 7066885 | /*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you 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... |
commercetools.NET/Carts/UpdateActions/SetCustomShippingMethodAction.cs | DavidDeVries/commercetools-dotnet-sdk | 10 | 7066886 | <reponame>DavidDeVries/commercetools-dotnet-sdk<filename>commercetools.NET/Carts/UpdateActions/SetCustomShippingMethodAction.cs
using commercetools.Common;
using commercetools.ShippingMethods;
using Newtonsoft.Json;
namespace commercetools.Carts.UpdateActions
{
/// <summary>
/// Sets a custom shipping method... |
OMDUC_EMU/NetworkProtocols/RequestCreateGuild.cs | PermaNulled/OMDUC_EMU_CSharp | 2 | 7066887 | <reponame>PermaNulled/OMDUC_EMU_CSharp
using System;
namespace NetworkProtocols
{
// Token: <KEY> RID: 1835
public class RequestCreateGuild : BotNetMessage
{
// Token: 0x0600410C RID: 16652 RVA: 0x000251EF File Offset: 0x000233EF
public RequestCreateGuild()
{
this.InitRefTypes();
base.Packet... |
Jannesen.Web.Core/Impl/WebCoreResource.cs | jannesen/Jannesen.Web | 0 | 7066888 | using System;
using System.Collections.Generic;
using System.Web;
namespace Jannesen.Web.Core.Impl
{
public abstract class WebCoreResource: IDisposable
{
private readonly string _name;
private readonly bool _down;
public abstract strin... |
dependencies/m3pd-agency/sources/Dialogue Moves/Extensions.cs | rharel/m3pd-example-couples-therapy | 0 | 7066889 | <filename>dependencies/m3pd-agency/sources/Dialogue Moves/Extensions.cs<gh_stars>0
using rharel.Functional;
using System.Linq;
using static rharel.Functional.Option;
namespace rharel.M3PD.Agency.Dialogue_Moves
{
/// <summary>
/// Contains extension methods for dialogue moves.
/// </summary>
public sta... |
Senai.Peoples.WebApi/Senai.Peoples.WebApi/Repositories/PeopleRepository.cs | GabrielMelegaro/2s2019-t2-sprint-2-api | 0 | 7066890 | <reponame>GabrielMelegaro/2s2019-t2-sprint-2-api<filename>Senai.Peoples.WebApi/Senai.Peoples.WebApi/Repositories/PeopleRepository.cs
using Senai.Peoples.WebApi.Domains;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
namespace Senai.Peoples... |
Extensibility/Migration.cs | EdgarMC100/CSharpIntermediate | 0 | 7066891 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Extensibility
{
public class Migration
{
private readonly ILogger logger;
public Migration(ILogger logger)
{
this.logger = logger;
}
... |
WarehouseLib/BucklingLengths/BucklingLengths.cs | christiandimitri/ArqueStructuresTools | 3 | 7066892 | namespace WarehouseLib.BucklingLengths
{
public struct BucklingLengths
{
public double BucklingY { get; set; }
public double BucklingZ { get; set; }
public BucklingLengths (double bucklingY, double bucklingZ)
{
BucklingY = bucklingY;
BucklingZ =... |
src/examples/USZipCodeSingleLookupExample.cs | ryanjerskine/smartystreets-dotnet-sdk | 0 | 7066893 | <filename>src/examples/USZipCodeSingleLookupExample.cs
namespace Examples
{
using System;
using System.IO;
using System.Threading.Tasks;
using SmartyStreets;
using SmartyStreets.USZipCodeApi;
internal static class USZipCodeSingleLookupExample
{
public static async Task RunAsync()
{
// You don't ha... |
ExamenCak/ConsoleApp2/ConsoleApp2/Program.cs | kassandraAngelica/programacionIIIcak | 0 | 7066894 | <reponame>kassandraAngelica/programacionIIIcak
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp2
{
class Program
{
static void Main(string[] args)
{
Registro[] listaregistro = new Registro[4];
... |
ResidualNet.Containers/ResidualNet.Containers/Timeline/Interfaces/ITimeReference.cs | daerhiel/Residual.Net | 0 | 7066895 | <reponame>daerhiel/Residual.Net<gh_stars>0
using System;
namespace ResidualNet.Timeline
{
/// <summary>
/// Represents the interface to an object that has the date and time reference point.
/// </summary>
public interface ITimeReference
{
/// <summary>
/// The date and time referen... |
tests/WebUI.IntegrationTests/Controllers/Families/Create.cs | dkm8923/WeddingAppCore | 0 | 7066896 | <reponame>dkm8923/WeddingAppCore
using CleanArchitecture.Application.Families.Commands.CreateFamily;
using System.Threading.Tasks;
using Xunit;
namespace CleanArchitecture.WebUI.IntegrationTests.Controllers.Families
{
public class Create : IClassFixture<CustomWebApplicationFactory<Startup>>
{
private ... |
MainViewModel.cs | JAZWii/WPF-MVVM-Example | 0 | 7066897 | using OxyPlot;
using OxyPlot.Series;
using System.Collections.Generic;
using System.ComponentModel;
namespace WpfMvvmExample
{
public sealed class MainViewModel : INotifyPropertyChanged
{
private ChartData chartData;
public string Title
{
get { return chartData.Title; }
... |
Assets/Player.cs | fabienjuif/unity-test-tilemap | 2 | 7066898 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
public class Player : MonoBehaviour
{
public float speed;
public PlayerController playerController;
public Tilemap tilemap;
public TileBase constructTile;
private Vector2 move;
private in... |
C# Part I/Homeworks/03-Primitive-Data-Types-and-Variables/09-Exchange-Variable-Values/ExchangeVariableValues.cs | YaneYosifov/Telerik | 0 | 7066899 | <filename>C# Part I/Homeworks/03-Primitive-Data-Types-and-Variables/09-Exchange-Variable-Values/ExchangeVariableValues.cs
using System;
class ExchangeVariableValues
{
static void Main()
{
// * Declare two integer variables a and b and assign them with 5 and 10
// and after that exchange thei... |
Gpg.NET/src/EncryptFlags.cs | Baggykiin/Gpg.NET | 3 | 7066900 | <filename>Gpg.NET/src/EncryptFlags.cs
namespace Gpg.NET
{
/// <summary>
/// A set of flags representing encryption settings used by GPG.
/// </summary>
public enum EncryptFlags
{
/// <summary>
/// Do not set any encryption flags.
/// </summary>
None = 0,
/// <summary>
/// Trust all recipients, regardl... |
src/libs/H.NotifyIcon/Core/TrayInfo.cs | HavenDV/H.NotifyIcon | 13 | 7066901 | using System.Drawing;
using H.NotifyIcon.Interop;
namespace H.NotifyIcon.Core;
/// <summary>
/// Resolves the current tray position.
/// </summary>
#if NET5_0_OR_GREATER
[System.Runtime.Versioning.SupportedOSPlatform("windows5.1.2600")]
#elif NETSTANDARD2_0_OR_GREATER || NET451_OR_GREATER
#else
#error Target Framewo... |
src/System.Text.Json/src/System/Text/Json/Node/JsonObjectEnumerator.cs | dmcnaughton/corefx | 1 | 7066902 | using System.Collections;
using System.Collections.Generic;
namespace System.Text.Json
{
/// <summary>
/// Supports an iteration over a JSON object.
/// </summary>
public struct JsonObjectEnumerator : IEnumerator<KeyValuePair<string, JsonNode>>
{
private readonly IEnumerator<KeyValuePair... |
src/PentaWork.Xrm.PowerShell/XrmProxies/Templates/CSharp/ProxyClass.cs | pentawork-solutions/PentaWork.Xrm.PowerShell | 0 | 7066903 | // ------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion: 17.0.0.0
//
// Änderungen an dieser Datei können fehlerhaftes Verhalten verursachen und gehen verloren, wenn
// der Code neu g... |
Skiii-io/Assets/Scripts/CloudMovement.cs | Skiii-io/Skiii-io-Game | 0 | 7066904 | <reponame>Skiii-io/Skiii-io-Game<filename>Skiii-io/Assets/Scripts/CloudMovement.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CloudMovement : MonoBehaviour
{
public GameObject Cloud;
private Rigidbody2D rb2d;
public string CloudDirection;
public float CloudSpeed;
... |
MyDigitalCV/Pages/ProfessionalExperience.cshtml.cs | NeshoNeshev/ASP.NET-Core-WebApplication-3.1-Simple-Portfolio-Template | 1 | 7066905 | namespace MyDigitalCV.Pages
{
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
using System.Linq;
using Models.Web.ViewModels;
public class ProfessionalExperience : PageModel
{
private readonly ILogger<ProfessionalExper... |
SpaMetadata/SpaMetadata/MetadataMiddlewareOptions.cs | dsrodenas/Net-SpaMetadata | 1 | 7066906 | using System;
using System.Collections.Generic;
namespace SpaMetadata
{
public class MetadataToken
{
public string Key { get; set; }
public string Value { get; set; }
}
public class MetadataMiddlewareOptions
{
public string FilterPath { get; set; }
public Func<stri... |
vs/src/CodeStream.VisualStudio/Services/Providers/ShellSettingsProvider.cs | xujuntwt95329/codestream | 553 | 7066907 | <filename>vs/src/CodeStream.VisualStudio/Services/Providers/ShellSettingsProvider.cs
using System;
using Microsoft.VisualStudio.Shell.Settings;
namespace CodeStream.VisualStudio.Services.Providers {
public interface ISettingsProvider {
bool TryGetString(string collectionName, string propertyName, out string value)... |
sources/libScaledType/Data/Scales/Scale.cs | papaathome/CncCalculator | 1 | 7066908 | <filename>sources/libScaledType/Data/Scales/Scale.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace As.Tools.Data.Scales
{
/// <summary>
/// A scale is a list of scaled units.
//... |
Source/Api/EtAlii.Ubigia.Api.Functional/Traversal/Functions/Handlers/Default/FunctionHandlerBase.cs | vrenken/EtAlii.Ubigia | 2 | 7066909 | <filename>Source/Api/EtAlii.Ubigia.Api.Functional/Traversal/Functions/Handlers/Default/FunctionHandlerBase.cs
// Copyright (c) <NAME>. All rights reserved. See the license on https://github.com/vrenken/EtAlii.Ubigia
namespace EtAlii.Ubigia.Api.Functional.Traversal
{
using System.Collections.Generic;
using Syst... |
C# Basics OOP/3. Static Members Exercises/08. Shapes Volume/VolumeCalculator.cs | MikeHitrov/SoftUni | 0 | 7066910 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _08.Shapes_Volume
{
public class VolumeCalculator
{
public static double CubeVolume(Cube cube)
{
return Math.Pow(cube.sizeLegth, 3);
}
publ... |
Sulli.Game.Storage/{Core}/StorageOrderOption.cs | 240829120/Sulli.Game.Server | 0 | 7066911 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace Sulli.Game.Storage
{
/// <summary>
/// 仓储排序设置
/// </summary>
/// <typeparam name="TEntity">实体</typeparam>
/// <typeparam name="TKey">键</typep... |
Core/Theraot/Threading/Needles/Needle.cs | qwertie/Theraot | 1 | 7066913 | using System;
using System.Threading;
using Theraot.Core;
namespace Theraot.Threading.Needles
{
[Serializable]
[global::System.Diagnostics.DebuggerNonUserCode]
public class Needle<T> : INeedle<T>, IEquatable<Needle<T>>
{
private readonly int _hashCode;
private INeedle<T> _target;
... |
CsharpBasic/RoadBook.CsharpBasic.Chapter02/Examples/Ex004.cs | sungshikbaik/BOOKS | 15 | 7066914 | using System;
namespace RoadBook.CsharpBasic.Chapter02.Examples
{
public class Ex004
{
public void Run()
{
object objValue = 1;
var vValue = "var";
dynamic dValue = true;
Console.WriteLine("object 변수 값은 {0}", objValue);
Console.Writ... |
src/Libraries/Convert.cs | Umbrella-Operating-System/UmbrellaOS-cosmos | 1 | 7066915 | <reponame>Umbrella-Operating-System/UmbrellaOS-cosmos<filename>src/Libraries/Convert.cs
namespace Umbrella.Libraries
{
public static class Convert
{
public static string[] ToStringArr(this string tsa)
{
if (tsa.Contains("\n")) return tsa.Split('\n');
string[] els = {tsa}... |
src/NoWoL.TestUtils/TypeExtensions.cs | nowol/nwl.TestingUtilities | 0 | 7066916 | using System;
using System.Reflection;
namespace NoWoL.TestingUtilities
{
/// <summary>
/// Provides helper methods for <see cref="Type"/>
/// </summary>
public static class TypeExtensions
{
/// <summary>
/// Get the default value for the specified type
/// </summary>
... |
src/NQuery.Tests/ConversionTests.cs | dallmair/nquery-vnext | 63 | 7066917 | <filename>src/NQuery.Tests/ConversionTests.cs
using System;
using Xunit;
namespace NQuery.Tests
{
public class ConversionTests
{
private static Conversion ClassifyConversion(Type souceType, Type targetType)
{
var semanticModel = Compilation.Empty.GetSemanticModel();
va... |
oxide/plugins/rust/NightDoor.cs | john-clark/rust-oxide-umod | 13 | 7066918 | <filename>oxide/plugins/rust/NightDoor.cs
using Oxide.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace Oxide.Plugins
{
[Info("Night Door", "Slydelix", "1.7.2", ResourceId = 2684)]
class NightDoor : RustPlugin
{
private bool hideTime, BypassAdmin,... |
Dilly/src/Dilly.Integrations/Abstractions/JobBase.cs | akovanev/Dilly | 0 | 7066919 | using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
namespace Dilly.Integrations.Abstractions
{
public abstract class JobBase : BackgroundService
{
private readonly IConsumerProcessor consumerProcessor;
public JobBase(IConsumerProcessor cons... |
CodeShare/CodeDataModel.cs | ssd2192/CodeShareXamarinAndroid | 0 | 7066920 | <filename>CodeShare/CodeDataModel.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.Database;
using Android.Database.Sqlite;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
na... |
C Sharp Advanced/Adv 3 Matrices/1. Matrix of Palindromes/MatrixOfPalindromes.cs | radoikoff/SoftUni | 0 | 7066921 | <filename>C Sharp Advanced/Adv 3 Matrices/1. Matrix of Palindromes/MatrixOfPalindromes.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _1.Matrix_of_Palindromes
{
public class MatrixOfPalindromes
{
public static void Main(... |
tests/NetDevPack.Security.Jwt.Tests/Jwt/JwsTests.cs | NetDevPack/Security.Jwt | 68 | 7066922 | using System;
using System.Collections.Generic;
using System.Security.Claims;
using System.Text;
using Bogus;
using FluentAssertions;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.JsonWebTokens;
using Microsoft.IdentityModel.Logging;
using Microsoft.IdentityModel.Tokens;
using Moq;
using NetDevPack... |
problems/cs/870.cs | tarunbatta/leetcodeScraper | 1 | 7066923 | // Url:https://leetcode.com/problems/advantage-shuffle
/*
870. Advantage Shuffle
Medium
Given two arrays A and B of equal size, the advantage of A with respect to B is the number of indices i for which A[i] > B[i].
Return any permutation of A that maximizes its advantage with respect to B.
 
Example ... |
TGC.MonoGame.TP/GameRun.cs | Dragonflares/2021-2C-3551-Argonauts | 0 | 7066924 | using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using TGC.MonoGame.Samples.Cameras;
using TGC.MonoGame.TP.Objects;
using Microsoft.Xna.Framework.Media;
using BepuPhysics;
using BepuPhysics.Collidables;
using BepuUtilities.Memory;
using System;
u... |
src/GameBox.Console/Input/AbstractInput.cs | getgamebox/console | 0 | 7066925 | /*
* This file is part of the GameBox package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Document: https://github.com/getgamebox/console
*/
using GameBox.Console.Exception;
using GameBox.Console.... |
WordPressApi/Models/Post.cs | Ceratech/WordPressApi | 0 | 7066926 | <filename>WordPressApi/Models/Post.cs
using Newtonsoft.Json;
namespace WordPressApi.Models
{
/// <summary>
/// WordPress Post
/// </summary>
public class Post
{
[JsonProperty("id")]
public long Id { get; set; }
[JsonProperty("title")]
public Rendered Title { get; set; }
[JsonProperty("co... |
AONYA/Assets/Scripts/Levels/CameraPositionReset.cs | mustafalazzawe/AONYA | 0 | 7066927 | <reponame>mustafalazzawe/AONYA
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraPositionReset : MonoBehaviour
{
[Header("Camera Position params")]
[SerializeField] private VectorValue cameraPosition;
// Start is called before the first frame update... |
src/Project/Objects/Bullet.cs | vduseev/dudes-and-zombies-xna | 0 | 7066928 | <reponame>vduseev/dudes-and-zombies-xna
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Project.Objects
{
class Bullet
{
public Texture2D BulletSprite;
float BulletMoveSpeed = 30f;
public Vector2 Position;
//int Damage = 10;
public b... |
Assets/GingerVR-master/SicknessReductionTechniques/DynamicFOVFilter/DynamicFOVFilter.cs | YassineMankai/GorillaArms | 1 | 7066929 | <filename>Assets/GingerVR-master/SicknessReductionTechniques/DynamicFOVFilter/DynamicFOVFilter.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DynamicFOVFilter : MonoBehaviour
{
// Start is called before the first frame update
public GameObject filter;
/... |
VkNet/Model/Group/GroupInfo.cs | uid17/VK | 1 | 7066930 | using System.Collections.Generic;
namespace VkNet.Model
{
using System;
using Enums;
using Utils;
/// <summary>
/// Информация о сообществе (группе).
/// См. описание http://vk.com/dev/fields_groups
/// </summary>
public class GroupInfo
{
#region Стандартные поля
/// <summary>
/// Название сообщества... |
MGU/MGU.Core/Interfaces/Conditions/Nullable/INullableBoolCondition.cs | mrGarvin90/MGU | 0 | 7066931 | namespace MGU.Core.Interfaces.Conditions.Nullable
{
using Base;
using Not;
/// <inheritdoc cref="INullableBoolNotCondition"/>
/// <inheritdoc cref="IConditionBase{TSource,TNotCondition}"/>
/// <summary>
/// Defines conditions for nullable <see cref="bool"/>.
/// </summary>
public inter... |
CrabGame Cheat/Modules/Base/SingleElementModule.cs | Ju1-js/CrabGame-Cheat | 0 | 7066932 | using JNNJMods.UI;
using JNNJMods.UI.Elements;
using Newtonsoft.Json;
namespace JNNJMods.CrabGameCheat.Modules
{
public abstract class SingleElementModule<T> : SingleElementModuleBase where T : ElementInfo
{
[JsonIgnore]
public new T Element
{
get
{
... |
Unity/Provider/Impl/List/ShortcutProvider.cs | LukaszKr/UnityPlugins.Input | 0 | 7066933 | <gh_stars>0
using System;
namespace ProceduralLevel.UnityPlugins.Input.Unity
{
public class ShortcutProvider : AListProvider
{
public ShortcutProvider()
{
}
protected override RawInputState GetState()
{
float axis = 0f;
bool isRealAxis = false;
int count = m_Providers.Count;
... |
Editor/LayerUtility.cs | cushmily/wUI | 0 | 7066934 | using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
public class LayerUtility
{
[InitializeOnLoadMethod]
public static void CheckUIStackLayer()
{
CheckLayers(new[] {"UI", "UIHidden"});
}
public static void CheckLayers(IEnumerable<string> layerNames)
{
var m... |
GeneralAssemblyInfo.cs | giovanebribeiro/msbuildscmtasks | 0 | 7066935 | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values TagEnd modify the information
// associated with an assembly.
[assembly: A... |
Galador.Reflection/Serialization/Surrogate.cs | superlloyd/Galador.Reflection | 23 | 7066936 | <filename>Galador.Reflection/Serialization/Surrogate.cs
using Galador.Reflection.Utils;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace Galador.Reflection.Serialization
{
/// <summary>
/// Implement this interface to help the serializer read/write problem... |
src/DNTCommon.Web.Core.TestWebApp/Views/UploadFileExtensions/Index.cshtml | OmidRafiee/DNTCommon.Web.Core | 111 | 7066937 | @using DNTCommon.Web.Core.TestWebApp.Models
@model UserFileViewModel
@{
ViewData["Title"] = "Upload File Extensions";
}
<h1>@ViewData["Title"]</h1>
<form method="post"
asp-action="UploadPhoto"
asp-controller="UploadFileExtensions"
enctype="multipart/form-data">
<input asp-for="Photo" class... |
MangoAPI.Presentation/Profiles/PresentationProfile.cs | CatWithAutism/MangoMessengerAPI | 4 | 7066938 | using AutoMapper;
using MangoAPI.BusinessLogic.ApiCommands.Messages;
using MangoAPI.BusinessLogic.ApiCommands.PasswordRestoreRequests;
using MangoAPI.BusinessLogic.ApiCommands.Sessions;
using MangoAPI.BusinessLogic.ApiCommands.Users;
namespace MangoAPI.Presentation.Profiles;
public class PresentationProfile : Profil... |
GreatScaling.cs | realmjoin/MakeWinFormsGreatAgain | 0 | 7066939 | <filename>GreatScaling.cs
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
namespace Mwfga
{
public class GreatScaling
{
private readonly List<(Control control, float factor)> fontScaling = new List<(Control control, float factor)>();
private readonly Form fo... |
curtains/Program.cs | tkenvin/Curtains | 1 | 7066940 | <filename>curtains/Program.cs
using System;
using System.Linq;
namespace curtains
{
class Program
{
static void Main(string[] args)
{
var userInput = args[0];
var allOptions = XkcdColour.AllColours
.Select(xc => new
{
... |
Assets/Scripts/Shop/ShopChat.cs | calsf/aura | 0 | 7066941 | using System.Collections;
using System.Collections.Generic;
using System.Text;
using UnityEngine;
using UnityEngine.UI;
public class ShopChat : MonoBehaviour
{
[SerializeField]
Text chatDisplay;
[SerializeField]
[TextArea(3, 10)]
string[] defaultChat;
int currChar;
StringBuilder sb;
... |
BMSF.WPF.AutoCompleteControls/AutoCompleteTextBox.cs | nickguletskii/BMSF | 0 | 7066942 | namespace BMSF.WPF.AutoCompleteControls
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Reactive.Concurrency;
using System.Reactive.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using ... |
src/WeatherHub.Functions/TimerInfo.cs | RossMMason/WeatherHub | 0 | 7066943 | <gh_stars>0
// <copyright file="TimerInfo.cs" company="<NAME>">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace WeatherHub.Functions
{
public class TimerInfo
{
public ScheduleStatus ScheduleStatus { get; set; }
pu... |
src/StrawberryShake/CodeGeneration/src/Generators/ObjectModelGenerator.cs | cjstevenson/hotchocolate | 26 | 7066944 | <filename>src/StrawberryShake/CodeGeneration/src/Generators/ObjectModelGenerator.cs
using System.Collections.Generic;
using HotChocolate;
using HotChocolate.Language;
using HotChocolate.Types;
using StrawberryShake.Generators.Descriptors;
using StrawberryShake.Generators.Utilities;
using static StrawberryShake.Generato... |
SkstackIpDotNet/SkstackIpDotNet/Responses/Table/ENBR.cs | smdn/EchoDotNetLite | 5 | 7066945 | <filename>SkstackIpDotNet/SkstackIpDotNet/Responses/Table/ENBR.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace SkstackIpDotNet.Responses
{
/// <summary>
/// SKTABLEのレスポンス
/// ネイバーテーブル一覧
/// TODO SKSTACK-IP(Single-hop Edition)に記述が無いが、応答するのでそのままとする
/// </summary>
... |
MyE/MyE.Entities/Equipo.cs | Clenic-webmaster/Clenic-Backend | 3 | 7066946 | <filename>MyE/MyE.Entities/Equipo.cs
using System;
using System.Collections.Generic;
namespace MyE.Entities
{
public partial class Equipo
{
public Equipo()
{
Ejemplar = new HashSet<Ejemplar>();
}
public int EquipoId { get; set; }
public string CodBarra { ge... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.