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 |
|---|---|---|---|---|
Control/UI/EditControlDerives/HtmlEditControl.Paste.cs | wuilovelizhen/AuthorKey | 0 | 7059144 | namespace ZetaHtmlEditControl.UI.EditControlDerives
{
using System;
using System.Globalization;
using System.IO;
using System.Windows.Forms;
using Code.Helper;
using Code.Html;
using mshtml;
public partial class HtmlEditControl
{
private void handlePaste(
PasteM... |
DPE.Core.Repository/UserComplainRepository.cs | a465717049/mk | 2 | 7059145 | <gh_stars>1-10
using DPE.Core.IRepository;
using DPE.Core.IRepository.UnitOfWork;
using DPE.Core.Model.Models;
using DPE.Core.Repository.Base;
namespace DPE.Core.Repository
{
public class UserComplainRepository : BaseRepository<UserComplaint>, IUserComplaintRepository
{
public UserComplainRepository(I... |
server/NexusGitTests/Functional/Rojo04/GitCommit.cs | TheNexusAvenger/Nexus-Git | 4 | 7059146 | /*
* TheNexusAvenger
*
* Tests the GitCommit request with Rojo 0.4.
*/
using NUnit.Framework;
namespace NexusGitTests.Functional.Rojo04
{
/*
* Tests committing as a standalone request.
*/
public class TestGitCommit : BaseFunctionalTest
{
/*
* Sets up the test.
*/
... |
TwoTrackExtensions/GenericValidateExtensions.cs | AndersAndreen/TwoTrack | 1 | 7059147 | using System;
using System.Diagnostics;
using TwoTrackCore;
namespace TwoTrackExtensions
{
public static class GenericValidateExtensions
{
public static ITwoTrack<T> ValidateAlways<T>(this ITwoTrack<T> source, Func<T, bool> predicate)
{
var callStack = new StackFrame(1, true);
... |
Assets/Scripts/UI/Game UI/Score UI/ScoreUI0.cs | Revenaant/OPisOP | 0 | 7059148 | <filename>Assets/Scripts/UI/Game UI/Score UI/ScoreUI0.cs
using System;
using System.Collections;
using System.Collections.Generic;
using DG.Tweening;
using UnityEngine;
using UnityEngine.UI;
public class ScoreUI0 : MonoBehaviour
{
private bool _waiting = false;
private int _value = 1;
private int _target... |
src/Modules/Conferences/Confab.Modules.Conferences.Core/Extensions.cs | ArturWincenciak/confab | 0 | 7059149 | <reponame>ArturWincenciak/confab<filename>src/Modules/Conferences/Confab.Modules.Conferences.Core/Extensions.cs<gh_stars>0
using System.Runtime.CompilerServices;
using Confab.Modules.Conferences.Core.DAL;
using Confab.Modules.Conferences.Core.DAL.Repositories;
using Confab.Modules.Conferences.Core.Policies;
using Conf... |
src/Readers/FileSystemWatcherReader/FileSystemWatcherReader.Standard.20/FileSystemWatcherReader.cs | dalenewman/Cfg-NET | 24 | 7059150 | using Cfg.Net.Contracts;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Cfg.Net.Readers.FileSystemWatcherReader {
public class FileSystemWatcherReader : IActiveReader, IDisposable {
public event EventHandler<CfgEventArgs> Changed;
private FileSystemWatch... |
Assets/Scripts/FormatoDeDatoIngresadoNoEsValido.cs | luisplata/juego-aprender-matematicas | 0 | 7059151 | using System;
using System.Runtime.Serialization;
[Serializable]
internal class FormatoDeDatoIngresadoNoEsValido : Exception
{
public FormatoDeDatoIngresadoNoEsValido()
{
}
public FormatoDeDatoIngresadoNoEsValido(string message) : base(message)
{
}
public FormatoDeDatoIngresadoNoEsValido... |
src/Piper/DefaultPlugins/Input/FromFileStrategy.cs | riccardone/piper | 0 | 7059152 | <gh_stars>0
using System;
using Piper.PluginModel;
namespace Piper.DefaultPlugins.Input
{
public class FromFileStrategy : IServiceStrategy
{
public bool Start()
{
Console.WriteLine("Do FromFileStrategy something on a separate thread...");
return true;
}
}
}
|
Integrations/Integrations.Protheus/Responses/FittingsValuesResponse.cs | phillrog/test-integracao | 0 | 7059153 | <filename>Integrations/Integrations.Protheus/Responses/FittingsValuesResponse.cs<gh_stars>0
using Newtonsoft.Json;
namespace Integrations.Protheus.Responses
{
public class FittingsValuesResponse
{
[JsonProperty("CODVAL")]
public long Code { get; set; }
[JsonProperty("DESC")]
public string Description { get... |
StackCompare/Program.cs | lucabol/SpanStack | 0 | 7059154 | using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
using System;
using System.Collections.Generic;
using System.Diagnostics;
public ref struct SpanStack<T>
{
private Span<T> memory;
private int index;
private int size;
public SpanStack(Span<T> mem) { memory = mem; index = 0; size = mem.... |
src/Millarow.Rest/Attributes/RestMethodAttributes.cs | mcculic/millarowframework | 0 | 7059155 | using Millarow.Rest.Metadata.Providers;
using System;
namespace Millarow.Rest.Attributes
{
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public abstract class RestMethodAttribute : Attribute, IRequestMethodProvider, IRequestRouteProvider
{
protected Res... |
samples/Kalarba/Kalarba.Server/Startup.cs | mlhDevelopment/openiddict-samples | 0 | 7059156 | using System;
using System.Reflection;
using System.Security.Claims;
using System.Web.Http;
using Autofac;
using Autofac.Extensions.DependencyInjection;
using Autofac.Integration.WebApi;
using Microsoft.Extensions.DependencyInjection;
using OpenIddict.Abstractions;
using OpenIddict.Server.Owin;
using OpenIddict.Valida... |
Assets/UnityTechnologies/HMITemplate/Scripts/Util/RectTransformExtensions.cs | sunrui19941128/CarHMI | 0 | 7059157 | <reponame>sunrui19941128/CarHMI
using UnityEngine;
namespace Util
{
/// <summary>
/// Extensions for the UI RectTransform
/// </summary>
public static class RectTransformExtensions
{
/// <summary>
/// Adjust the size of the rect transform
/// </summary>
public stati... |
Xmf2.Common.Extensions.Tests/Extensions/GuidExtensionsUnitTest.cs | Ideine/Xmf2.Common.Extensions | 0 | 7059158 | using Xunit;
using Xmf2.Common.Extensions;
using System;
namespace Xmf2.Common.Tests.Extensions
{
public static class GuidExtensionsUnitTest
{
[Fact]
public static void XorTest()
{
Guid a = Guid.NewGuid();
Guid b = Guid.NewGuid();
Assert.Equal(a.Xor(b), b.Xor(a));
Assert.NotEqual(a, a.Xor(b));
... |
16. SOLID and Other Principles/Demo/SOLID and Other Principles/2. Open - Closed/3. Before - Shopping Cart/OnlineOrder.cs | ElenaStaykova/High-Quality-Code | 3 | 7059159 | <filename>16. SOLID and Other Principles/Demo/SOLID and Other Principles/2. Open - Closed/3. Before - Shopping Cart/OnlineOrder.cs
namespace OpenClosedShoppingCartBefore
{
public class OnlineOrder : Order
{
private readonly INotificationService notificationService;
private readonly PaymentDetai... |
ved/user-program/WPF-GUI/GUI/MountDisk.xaml.cs | dumitory/VED-v2 | 27 | 7059160 | using MahApps.Metro.SimpleChildWindow;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Med... |
Services/GarageManager.Services.Models/Service/CompletedCarServiceDetails.cs | TodorChapkanov/Garage-Manager | 0 | 7059161 | <reponame>TodorChapkanov/Garage-Manager
using GarageManager.Services.Mapping;
using GarageManager.Services.Models.Part;
using GarageManager.Services.Models.Repair;
using System.Collections.Generic;
namespace GarageManager.Services.Models.Service
{
public class CompletedCarServiceDetails : IMapFrom<Domain.Car>
... |
Chapter 3/Pages/MapPage.xaml.cs | PacktPublishing/Xamarin-Blueprints | 11 | 7059164 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="MapPage.cs" company="Flush Arcade Pty Ltd.">
// Copyright (c) 2015 Flush Arcade Pty Ltd. All rights reserved.
// </copyright>
// ------------------------------------------------... |
UI/Animations/SingletonOf.cs | dotlogix/DotlogixCore | 0 | 7059165 | // ==================================================
// Copyright 2018(C) , DotLogix
// File: SingletonOf.cs
// Author: <NAME> <<EMAIL>>.
// Created: 17.02.2018
// LastEdited: 01.08.2018
// ==================================================
#region
using System.Diagnostics;
#endregion
namespace DotLogix.UI.Anima... |
src/Paradigm.CodeGen.Tests/Mocks/MockEnumSByte.cs | MiracleDevs/Paradigm.CodeGen | 4 | 7059166 | <gh_stars>1-10
namespace Paradigm.CodeGen.Tests.Mocks
{
public enum MockEnumSByte : sbyte
{
Mock1 = sbyte.MinValue,
Mock2 = 0,
Mock3 = sbyte.MaxValue
};
} |
Source/BobOnRails.Controller.Communication/Request.cs | FrankMueller/BobOnRails.Controller | 0 | 7059167 | using System;
namespace BobOnRails.Controller.Communication
{
/// <summary>
/// Represents a request which can be send to the remote device.
/// </summary>
public class Request : IMessage
{
/// <inheritdoc cref="IMessage.TypeCode"/>
public byte TypeCode
{
get { ... |
ObservableData/ObservableData.Querying/Select/SelectConstant.Collection.cs | kalinau/ObservableDataQuerying | 0 | 7059168 | <filename>ObservableData/ObservableData.Querying/Select/SelectConstant.Collection.cs<gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using ObservableData.Querying.Utils.Adapters;
using ObservableData.Structures;
namespace ObservableDa... |
src/Isle/Isle.Extensions.Logging/Segment.cs | fedarovich/isle | 0 | 7059169 | using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Isle.Extensions.Logging;
/// <summary>
/// Segment represents a part of template string.
/// </summary>
/// <remarks>
/// This struct is very low level and does not provide good encapsulation for performa... |
src/Exceptions/ThrowHelper.cs | ProphetLamb/HierarchicalProgress | 0 | 7059170 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using GenericRange;
namespace HierarchicalProgress.Exceptions
{
internal static class ThrowHelper
{
private static readonly Dictionary<ExceptionArgument, string> _argumentNameMap = new();
public... |
UIMFLibrary/IntensityConverterCLZF.cs | PNNL-Comp-Mass-Spec/UIMF-Library | 1 | 7059171 | /*
* This file is automatically generated from IntensityConverterCLZF.tt. Edit IntensityConverterCLZF.tt to automatically update all type-specific variants of these functions.
*/
using System;
using System.Collections.Generic;
using System.Linq;
// ReSharper disable UnusedMember.Global
namespace UIMFLibrary... |
03. OOP/04. Object-Oriented-Programming-Principles-Part-1/03.AnimalHierarchy/Classes/Cat.cs | DimitarGaydardzhiev/TelerikAcademy | 0 | 7059172 |
namespace AnimalHierarchy
{
using System;
public class Cat : Animal, ISound
{
public override string Sound()
{
return String.Format("Miau!");
}
public Cat(string name, int age, Sex sex) : base(name,age,sex)
{
}
}
}
|
Flucene.Tests/_TestData/Mappings/ModelWithDateMap.cs | alex-titarenko/flucene | 8 | 7059173 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lucene.Net.Odm.Mapping;
using Lucene.Net.Odm.Test.TestData.Models;
namespace Lucene.Net.Odm.Test.TestData.Mappings
{
public class ModelWithDateMap: DocumentMap<ModelWithDate>
{
public ModelWithD... |
function/Service/Auth/AccessTokenAttribute.cs | surfriderfoundationeurope/po-mobile-backend | 1 | 7059174 | <filename>function/Service/Auth/AccessTokenAttribute.cs
using System;
using Microsoft.Azure.WebJobs.Description;
namespace Surfrider.PlasticOrigins.Backend.Mobile.Service.Auth
{
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
[Binding]
public sealed class AccessTokenAttribute :... |
Assets/Scrips/AgentControllerF.cs | Capoq1/Simulacion | 0 | 7059175 | <filename>Assets/Scrips/AgentControllerF.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
[System.Serializable]
public class AgentData{
public string state;
public int r0 = 3;
public float time = 20f;
public int age = 20;
public bo... |
g4/Class10/SEDC.PizzaApp.Refactored/SEDC.PizzaApp.Mappers/User/UserMapper.cs | sedc-codecademy/skwd8-08-aspnetmvc | 0 | 7059177 | using System;
using System.Collections.Generic;
using System.Text;
using SEDC.PizzaApp.ViewModels.User;
namespace SEDC.PizzaApp.Mappers.User
{
public static class UserMapper
{
public static UserDDViewModel ToUserDdViewModel(this Domain.Models.User user)
{
return new UserDDViewModel... |
src/FlaUI.Core/AutomationElements/Infrastructure/AutomationElement.cs | work-flower/FlaUI | 0 | 7059178 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using FlaUI.Core.AutomationElements.Scrolling;
using FlaUI.Core.Conditions;
using FlaUI.Core.Definitions;
using FlaUI.Core.EventHandlers;
using FlaUI.Core.Exceptions;... |
ApiRestaurants/Services/Interfaces/IFileService.cs | BootcampTeamNet/ApiRestaurants | 0 | 7059179 | <gh_stars>0
using Microsoft.AspNetCore.Http;
using System.Threading.Tasks;
namespace Services.Interfaces
{
public interface IFileService
{
Task SaveFile(IFormFile file, string subDirectory);
void DeleteFile(string path);
}
}
|
Src/H.Necessaire/H.Necessaire.Runtime.RavenDB/Security/Resources/RavenDbUserCredentialsStorageResource.cs | hinteadan/H.Necessaire | 1 | 7059180 | <gh_stars>1-10
using H.Necessaire.RavenDB;
using H.Necessaire.Runtime.RavenDB.Security.Resources.Filters;
using H.Necessaire.Runtime.RavenDB.Security.Resources.Indexes;
using H.Necessaire.Runtime.RavenDB.Security.Resources.Model;
using H.Necessaire.Runtime.Security.Resources;
using Raven.Client.Documents;
using Raven.... |
BenMAP/APV/Incidence Pooling and Aggregation.cs | pjwilcoxen/BenMAP-CE | 13 | 7059181 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BrightIdeasSoftware;
using System.Drawing.Drawing2D;
using System.Diagnostics;
using System.Collections;
namespace B... |
project/HidemaruLspClient_BackEnd/LSP/TempFile.cs | ohtorii/hidemaru_lsp_client | 6 | 7059182 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HidemaruLspClient
{
class TempFile
{
static public void Initialize()
{
Directory.CreateDirectory(Config.tempDirectoryName);
... |
src/Service.Liquidity.DwhDataJob.Postgres/Models/ExternalBalanceEntity.cs | MyJetWallet/Service.Liquidity.DwhDataJob | 0 | 7059183 | <reponame>MyJetWallet/Service.Liquidity.DwhDataJob
using System;
namespace Service.Liquidity.DwhDataJob.Postgres.Models
{
public class ExternalBalanceEntity
{
public long Id { get; set; }
public DateTime BalanceDate { get; set; }
public DateTime LastUpdateDate { get; set; }
publ... |
G2/Class06 - Anonymous methods and Advanced LINQ/Code/FuncAndAction/FuncAndAction/Program.cs | sedc-codecademy/skwd9-net-06-csharpadv | 1 | 7059184 | <reponame>sedc-codecademy/skwd9-net-06-csharpadv
using System;
using System.Collections.Generic;
using System.Linq;
namespace FuncAndAction
{
class Program
{
static void Main(string[] args)
{
List<string> names = new List<string>() { "Paul", "Ana", "Marko", "Mila", "John" };
... |
ForestBrushTests/ProbabilityCalculatorTests.cs | thale5/ForestBrush | 8 | 7059186 | using FluentAssertions;
using ForestBrush;
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace ForestBrushTests
{
public class ProbabilityCalculatorTests
{
[Fact]
public void Calculate_NoTree_SouldReturnEmptyList()
{
var trees = new Lis... |
Konsarpoo/Data.Array.cs | CostaBru/Konsarpoo | 0 | 7059187 | using System;
using System.Collections.Generic;
namespace Konsarpoo.Collections
{
public partial class Data<T>
{
/// <summary>
/// Cpp vector API.
/// Resizes the container to contain count elements.
/// If the current size is greater than count, the container is reduced to its... |
Library/PackageCache/com.unity.learn.iet-framework@1.2.3/Editor/Models/TutorialWelcomePage.cs | danielkhuu/VR_OBJ_Viewer | 1 | 7059188 | using System;
using UnityEditor;
using UnityEditor.Events;
using UnityEngine;
using UnityEngine.Events;
namespace Unity.InteractiveTutorials
{
/// <summary>
/// Welcome page/dialog for a project shown using TutorialModalWindow.
/// In addition of window title, header image, title, and description,
/// ... |
src/Qiniu/CDN/Model/RefreshRequest.cs | pengweiqhca/Qiniu | 1 | 7059189 | using System.Collections.Generic;
using System.Text;
namespace Qiniu.CDN.Model
{
/// <summary>
/// 缓存刷新-请求
/// </summary>
public class RefreshRequest
{
/// <summary>
/// 要预取的单个url列表,总数不超过100条
/// 单个url,即一个具体的url,例如:http://bar.foo.com/test.zip
/// 注意:
/// 请输入... |
Presentation/WebApplicationMVC/Views/Expenses/Index.cshtml | codacy-badger/MyExpenses | 0 | 7059190 | <reponame>codacy-badger/MyExpenses
@model MyExpenses.Application.Dtos.IndexExpenseDto
@{
ViewData["Title"] = "Index";
}
<h2>Index</h2>
<p>
<a asp-action="Create">Create New</a>
</p>
<br />
<h4>
Filter
</h4>
<form asp-action="Index" method="get">
<div asp-validation-summary="ModelOnly" class="text-... |
Quizo/Infrastructure/EndpointRouteBuilderExtensions.cs | DamyanDimitrov101/Quizo | 0 | 7059191 | <reponame>DamyanDimitrov101/Quizo
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;
namespace Quizo.Infrastructure
{
public static class EndpointRouteBuilderExtensions
{
public static void MapDefaultAreaRoute(this IEndpointRouteBuilder endpoints)
=>endpoints.MapControllerRoute(
name:... |
src/Tizen.Multimedia.Camera/Camera/CameraStateChangedEventArgs.cs | trimbaken/TizenFX | 149 | 7059192 | <reponame>trimbaken/TizenFX
/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd 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/LI... |
YIF.Core.Data/Interfaces/IDepartmentRepository.cs | ita-social-projects/YIF_Backend | 11 | 7059193 | using System.Threading.Tasks;
namespace YIF.Core.Data.Interfaces
{
public interface IDepartmentRepository<T, K> : IRepository<T, K>
where T : class
where K : class
{
Task Add(T department);
}
}
|
Migrations.cs | codesanook/Codesanook.LanguageSwitcher | 2 | 7059194 | using Codesanook.CultureSwitcher.Models;
using Orchard.ContentManagement.MetaData;
using Orchard.Core.Contents.Extensions;
using Orchard.Data.Migration;
namespace Codesanook.CultureSwitcher {
public class Migrations : DataMigrationImpl {
public int Create() {
// Naming convention for... |
src/Coherence.Core/Net/Cache/ICacheTrigger.cs | vasac/coherence-dotnet-extend-client | 9 | 7059195 | <reponame>vasac/coherence-dotnet-extend-client
/*
* Copyright (c) 2000, 2020, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*/
using System;
using Tangosol.Util;
using Tangosol.Util.Filter;
namespace Tangosol.Net.Cache
{
... |
CMP/Setup/SetupCMP/Helpers/PropertyBag.cs | grazies/Phoenix | 38 | 7059196 | <filename>CMP/Setup/SetupCMP/Helpers/PropertyBag.cs
//-----------------------------------------------------------------------
// <copyright file="PropertyBag.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <summary> Class used store global application variab... |
UJCSystem/ITJakub.Web.Hub/Areas/Dictionaries/Models/HeadwordFeedbackViewModel.cs | RIDICS/ITJakub | 3 | 7059197 | using System.ComponentModel.DataAnnotations;
using ITJakub.Web.Hub.Models;
namespace ITJakub.Web.Hub.Areas.Dictionaries.Models
{
public class HeadwordFeedbackViewModel : FeedbackViewModel
{
[DataType(DataType.Text)]
public long? BookId { get; set; }
[DataType(DataType.Text)]
pu... |
src/friendsofdt/Models/Accounts/WebAccountEmailReference.cs | jdaigle/FriendsOfDT | 2 | 7059198 | namespace FriendsOfDT.Models.Accounts {
[EntityMetadata(Version = 1)]
public class WebAccountEmailReference {
protected WebAccountEmailReference() { }
public WebAccountEmailReference(string id, string webAccountId) {
this.Id = id;
this.WebAccountId = webAccountId... |
Encryption/AsciiCipher/AsciiCipher.cs | PSmith0000/2019 | 0 | 7059199 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Forms;
namespace AFFViewer.Asc
{
class AsciiCipher
{
private const double Coefficient = 31.6;
private static string CharecterSet = "ab... |
MixinRefactoring/SemanticReader/EventSymbolReader.cs | pgenfer/mixinSharp | 18 | 7059200 | <reponame>pgenfer/mixinSharp
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
namespace MixinRefactoring
{
public class EventSymbolReader : SemanticTypeReaderBase
{
private readonly IEventList _events;
... |
Realm/Realm.Sync/ObjectLevelPermissions/PermissionRole.cs | sidgo28/realm-dotnet | 1 | 7059201 | <gh_stars>1-10
////////////////////////////////////////////////////////////////////////////
//
// Copyright 2018 Realm Inc.
//
// 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://w... |
Cascade.CodeAnalysis.Common/Extract/Visitors/Linq.cs | binarybird/Cascade | 3 | 7059202 | using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Cascade.CodeAnalysis.Common.Extract.Visitors
{
partial class InfoExtractor
{
public override void VisitConstantPattern(ConstantPatternSyntax node)
{
node.Expression?.Accept(this);
base.VisitConstantPattern(node);
... |
IPA.Loader/Loader/PluginComponent.cs | nike4613/IPA-Reloaded | 0 | 7059203 | <gh_stars>0
using IPA.Loader.Composite;
using System;
using System.Diagnostics.CodeAnalysis;
using UnityEngine;
using UnityEngine.SceneManagement;
// ReSharper disable UnusedMember.Local
namespace IPA.Loader
{
[SuppressMessage("ReSharper", "ClassNeverInstantiated.Global")]
internal class PluginComponent : Mon... |
Assets/Tiled2Unity/Scripts/Editor/ICustomTiledImporter.cs | dhurst22/_80sActionHero | 7 | 7059205 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace Tiled2Unity
{
interface ICustomTiledImporter
{
// A game object within the prefab has some custom properites assigned through Tiled that are not consumed by Tiled2Unity
// This c... |
src/Formats/AssetIds/AssetKey.cs | BenjaminRi/ualbion | 1 | 7059206 | using System;
namespace UAlbion.Formats.AssetIds
{
public struct AssetKey : IEquatable<AssetKey>
{
public AssetKey(AssetType type, ushort id = 0, GameLanguage language = GameLanguage.English)
{
AssetId = new AssetId(type, id);
Language = language;
}
pub... |
SimulOP/SimulOP/EquipamentosOPII/Secador.cs | rafaelterras/SimulOp | 1 | 7059207 | <reponame>rafaelterras/SimulOp
namespace SimulOP
{
/// <summary>
/// Classe para representar evaporadores [Não implementedo].
/// </summary>
class Secador : EquipamentoOPII
{
}
} |
LoadScheduling/Master/MasterUI.Designer.cs | ngrj93/Project-Morpheus | 0 | 7059208 | <reponame>ngrj93/Project-Morpheus<filename>LoadScheduling/Master/MasterUI.Designer.cs
namespace Client
{
partial class MasterNode
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <sum... |
src/BriefShop.Application/LoginFailLogs/Dto/LoginFailLogDto.cs | leobyone/BriefShop | 1 | 7059209 | using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using BriefShop.Core;
using System;
namespace BriefShop.LoginFailLogs.Dto
{
[AutoMapFrom(typeof(LoginFailLog))]
public class LoginFailLogDto: EntityDto<int>
{
/// <summary>
/// 登录ip
/// </summary>
public long LoginIP { get; set; }
/// <summary>
... |
src/DotNetty.Codecs.MqttFx/Packets/PacketWithIdentifier.cs | linfx/MqttFx | 61 | 7059210 | <reponame>linfx/MqttFx<filename>src/DotNetty.Codecs.MqttFx/Packets/PacketWithIdentifier.cs<gh_stars>10-100
using DotNetty.Buffers;
namespace DotNetty.Codecs.MqttFx.Packets
{
/// <summary>
/// 报文抽象类(含报文标识符)
/// </summary>
public abstract class PacketWithIdentifier : Packet
{
/// <summary>
... |
json-csharp/JsonToXmlBackAndForth/JsonToXmlBackAndForth/Native/JsonXmlUtils.cs | Omarookolosio94/CodeMazeGuides | 33 | 7059211 | <reponame>Omarookolosio94/CodeMazeGuides<gh_stars>10-100
using System.Text;
using System.Text.Json;
using System.Xml;
using System.Xml.Serialization;
namespace JsonToXmlBackAndForth.Native;
public static class JsonXmlUtils
{
public static string JsonToXml(string json)
{
var obj = JsonSeria... |
CurioExchange/CurioExchangeService/Services/UserSetService.svc.cs | NinaArens/curio-exchange | 0 | 7059213 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CurioExchangeService.Entities;
using System.Data.Entity;
namespace CurioExchangeService
{
public class UserSetService : IUserSetService
{
private CurioExchangeContext _context;
public UserSe... |
Assets/AdvancedInspector/Examples/CSharp/AIExample5_Descriptor.cs | chuckeles/cannon-ships | 1 | 7059214 | using UnityEngine;
namespace AdvancedInspector
{
public class AIExample5_Descriptor : MonoBehaviour
{
// The Descriptor attribute is used to give more information about an item.
// It can also change the displayed name of the item;
[Descriptor("Variable New Name", "")]
... |
shadowsocks-csharp/Controller/GfwListUpdater.cs | lhp7895/shadowsocksr-csharp-20161229 | 1 | 7059215 | <reponame>lhp7895/shadowsocksr-csharp-20161229
using System;
using System.Collections.Generic;
using System.Text;
using System.Net;
using System.IO;
using Shadowsocks.Properties;
using SimpleJson;
using Shadowsocks.Util;
using Shadowsocks.Model;
namespace Shadowsocks.Controller
{
public class GFWListU... |
src/CompetitiveProgramming/Utils/LongestIncreasingSubsequence.cs | st1011/CompetitiveProgramming-CSharp | 2 | 7059216 | <filename>src/CompetitiveProgramming/Utils/LongestIncreasingSubsequence.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// LIS(Strong): http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DPL_1_D
/// LDS(Weak): https://atcoder.jp/contests/abc134/tasks/abc134_e
/... |
src/Indriya.Core/Data/GestureArgs.cs | praveenv4k/Indriya | 1 | 7059217 | using System;
namespace Indriya.Core.Data
{
/// <summary>
/// Gesture event arguments class
/// </summary>
public class GestureArgs : EventArgs
{
private readonly Gesture _gesture;
/// <summary>
/// Constructor
/// </summary>
/// <param name="gesture">Gestur... |
VSIX/Properties/Settings.Designer.cs | toozenbobel/Test-IT-VS-Extension-sample | 0 | 7059218 | <gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
... |
sources/Units/Temperature.cs | bromnl/Units | 1 | 7059219 | <reponame>bromnl/Units
using System;
using System.Collections.Generic;
using System.Globalization;
namespace Units
{
/// <summary>
/// Class Temperature.
/// Implements the <see cref="Unit{TemperatureUnit}" />
/// </summary>
/// <seealso cref="Unit{TemperatureUnit}" />
public class Temperature... |
sdk/dotnet/MediaLive/Inputs/ChannelMpeg2SettingsArgs.cs | AaronFriel/pulumi-aws-native | 29 | 7059220 | // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.AwsN... |
DtpServer/Services/WorkflowHostedService.cs | DigitalTrustProtocol/DtpSolution | 1 | 7059221 | using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
using System.Threading;
using System.Threading.Tasks;
using DtpCore.Extensions;
using DtpCore.Services;
namespace DtpServer.Services
{
///... |
application/FSS.Omnius.Modules/Tapestry/Running/ActionRule.cs | simplifate/omnius | 2 | 7059222 | using FSS.Omnius.Modules.Tapestry;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FSS.Omnius.Modules.Entitron.Entity.Tapestry
{
public partial class ActionRule : IActionRule
{
/// <summary>
/// Run function to prepa... |
src/wmd-core/Commands/LaunchNukesInput.cs | Xyaneon/Weapons-of-Mass-Domination | 0 | 7059223 | <gh_stars>0
using System;
namespace WMD.Game.Commands
{
/// <summary>
/// Additional input data for the launch nukes action.
/// </summary>
public record LaunchNukesInput : CommandInput
{
private const string ArgumentOutOfRangeException_NumberOfNukes = "The number of nukes to launch cannot... |
src/Coderr.Client.AspNet/ContextProviders/FormProvider.cs | onetrueerror/OneTrueError.Client.AspNet | 0 | 7059224 | <gh_stars>0
using System.Collections.Generic;
using System.Web;
using Coderr.Client.ContextCollections;
using Coderr.Client.Contracts;
using Coderr.Client.Reporters;
namespace Coderr.Client.AspNet.ContextProviders
{
/// <summary>
/// Adds a HTTP request form collection.
/// </summary>
/... |
traffic-map/Form1.Designer.cs | Xufysz/traffic-lights | 0 | 7059225 | <gh_stars>0
namespace traffic_map
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
ViennaNET.Specifications/Implementations/AndSpecification.cs | tralivali1234/ViennaNET | 203 | 7059226 | using System;
using System.Linq.Expressions;
namespace ViennaNET.Specifications.Implementations
{
/// <summary>
/// Спецификация, соединяющая две спецификации с оператором И
/// </summary>
/// <typeparam name="T">Тип объекта спецификации</typeparam>
public sealed class AndSpecification<T> : Specification<T>... |
src/Core/PracticeFusion.MmeCalculator.Core/Services/IQualityAnalyzer.cs | practicefusion/mmecalculator | 4 | 7059227 | using PracticeFusion.MmeCalculator.Core.Entities;
using PracticeFusion.MmeCalculator.Core.Messages;
namespace PracticeFusion.MmeCalculator.Core.Services
{
/// <summary>
/// Analyze the quality of the various results of calculations and parses, and
/// update the confidence.
/// </summary>
public i... |
FrasesCelebres/Servidor/Program.cs | Cactus-ar/C-Sharp-Juegos | 0 | 7059228 | <filename>FrasesCelebres/Servidor/Program.cs
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.Text;
namespace Servidor
{
class Program
{
private static List<Socket> socketDeClientes = new List<Socket>();
private static Socket serverSocke... |
Hudl.FFmpeg.Core/Filters/Attributes/FilterAttribute.cs | alex6dj/HudlFfmpeg | 112 | 7059230 | <filename>Hudl.FFmpeg.Core/Filters/Attributes/FilterAttribute.cs<gh_stars>100-1000
using System;
namespace Hudl.FFmpeg.Filters.Attributes
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class FilterAttribute : Attribute
{
public FilterAttribute()
... |
DarkWeather/DarkWeather/Pages/AppSettingsPage.xaml.cs | alandixon/DarkWeather | 0 | 7059231 | <reponame>alandixon/DarkWeather
using DarkWeather.Logging;
using System;
using Xamarin.Forms;
namespace DarkWeather
{
public partial class AppSettingsPage : ContentPage
{
private ILog Log = DependencyService.Get<ILog>();
private string logTag = typeof(AppSettingsPage).FullName;
public... |
HabboHotel/Rooms/Games/Banzai/BattleBanzai.cs | dotsudo/plus-clean | 0 | 7059232 | namespace Plus.HabboHotel.Rooms.Games.Banzai
{
using System;
using System.Collections.Concurrent;
using System.Drawing;
using System.Linq;
using Communication.Packets.Outgoing.Rooms.Avatar;
using Communication.Packets.Outgoing.Rooms.Engine;
using GameClients;
using Items;
using Item... |
Cqrs.Azure/AzureStorageConfig.cs | wubuku/lokad-cqrs | 1 | 7059233 | <filename>Cqrs.Azure/AzureStorageConfig.cs
using System;
using System.Net;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.StorageClient;
namespace Lokad.Cqrs.Build
{
sealed class AzureStorageConfig : IAzureStorageConfig
{
readonly Action<CloudQueueClient> _queueClientConfiguration;
... |
Projekt Web API/Papu/Papu/Exceptions/NotFoundException.cs | dawidkurant/applications | 0 | 7059234 | using System;
namespace Papu.Exceptions
{
//Obsługa zasady, że użytkownik nie ma dostępu do jakiegoś zasobu
//lub jakiś zasób nie istnieje
public class NotFoundException : Exception
{
public NotFoundException(string message) : base(message)
{
}
}
}
|
Src/iFramework.Plugins/ThirdParties/KafkaNET.Library/Cfg/ZooKeeperServerConfigurationElementCollection.cs | JTOne123/IFramework | 57 | 7059235 | using System.Configuration;
namespace Kafka.Client.Cfg
{
public class ZooKeeperServerConfigurationElementCollection : ConfigurationElementCollection
{
public ZooKeeperServerConfigurationElement this[int index]
{
get => BaseGet(index) as ZooKeeperServerConfigurationElement;
... |
LocalParks.Core/Chart/ScatterData.cs | OwenSteele/LocalParks | 2 | 7059236 | namespace LocalParks.Core.Chart
{
public class ScatterData
{
public decimal X { get; set; }
public decimal Y { get; set; }
}
} |
AWSSDK/Amazon.SimpleNotificationService/Model/CreatePlatformEndpointResult.cs | mahanthbeeraka/dataservices-sdk-dotnet | 0 | 7059237 | /*******************************************************************************
* Copyright 2008-2013 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 i... |
mainForm.cs | GarthJL1965/netcommander | 0 | 7059238 | using System;
using System.ComponentModel;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using netCommander.winControls;
using netCommander.WNet;
using System.Security.Permissions;
namespace netCommander
{
public partial class mainForm : Form
{
public mainForm()
... |
Dispatcher/Dispatcher/Class/Hashing.cs | Leonid-Chromium/Dispatcher-V3 | 2 | 7059239 | <reponame>Leonid-Chromium/Dispatcher-V3
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace Dispatcher.Class
{
class Hashing
{
public static string GetMD5Hash(string text)
{
... |
Assets/ARTag/Scripts/Place/PlaceCard.cs | ARX-SKE12/final-project | 1 | 7059240 | <filename>Assets/ARTag/Scripts/Place/PlaceCard.cs
namespace ARTag
{
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class PlaceCard : MonoBehaviour
{
public GameObject thumbnail, nameText, authorText;
public Place pl... |
morse/morse.server/Services/MorseService.cs | jhgbrt/pi-top-samples | 0 | 7059241 | <reponame>jhgbrt/pi-top-samples
using Grpc.Core;
using Morse.Service;
using System.Threading.Tasks;
using PiTop.MakerArchitecture.Foundation;
using System.Threading;
using PiTop;
using PiTop.MakerArchitecture.Foundation.Components;
using System;
using System.Text;
using System.Diagnostics;
public class MorseS... |
AdventureWorks.Models/Person/BusinessEntityAddress.cs | brthomasusa/AdventureWorks.WebApi.v3 | 0 | 7059242 | using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
using AdventureWorks.Models.Base;
namespace AdventureWorks.Models.Person
{
[Table("BusinessEntityAddress", Schema = "Person")]
public class BusinessEntityAddress : EntityBase
{
public int BusinessEntityID { get; set; }
... |
HaLi.FPS/HaLi.FPS/CRC.cs | KwongHauLim/HaLi.FPS | 0 | 7059243 | using System;
using System.Collections.Generic;
using System.Text;
namespace HaLi.FPS
{
public class CRC
{
private int[] Table = {
0x0000, 0x1021, 0x2042, 0x3063, 0x4084, 0x50a5,
0x60c6, 0x70e7, 0x8108, 0x9129, 0xa14a, 0xb16b,
0xc18c, 0xd1ad, 0xe1ce, 0xf... |
IniEditor/Models/WindowModel.cs | TN8001/IniEditor | 7 | 7059244 | using IniEditor.Util;
using IniWrapper.Attribute;
namespace IniEditor.Models
{
public class WindowModel : Observable
{
[IniOptions(Section = "Window")]
public double Top { get => _Top; set => Set(ref _Top, value); }
private double _Top;
[IniOptions(Section = "Window")]
... |
src/Tests/Middleware/PostTests.cs | Shane32/GraphQL.AspNetCore3 | 0 | 7059246 | using System.Net;
namespace Tests.Middleware;
public class PostTests : IDisposable
{
private GraphQLHttpMiddlewareOptions _options = null!;
private GraphQLHttpMiddlewareOptions _options2 = null!;
private readonly Action<ExecutionOptions> _configureExecution = _ => { };
private readonly TestServer _ser... |
Src/Northwind.Common.EntityModels.Sqlite/Models/Order.cs | Urgen-Dorjee/PracticalApp | 0 | 7059247 | namespace Northwind.Common.EntityModels.Sqlite.Models
{
[Index(nameof(CustomerId), Name = "CustomerId")]
[Index(nameof(CustomerId), Name = "CustomersOrders")]
[Index(nameof(EmployeeId), Name = "EmployeeId")]
[Index(nameof(EmployeeId), Name = "EmployeesOrders")]
[Index(nameof(OrderDate), Name = "OrderDate")]
[Ind... |
Olekstra.Sdk.AzureRequestLogger/Extensions/TableEntityExtensions.cs | olekstra/Olekstra.Sdk.AzureRequestLogger | 1 | 7059248 | <gh_stars>1-10
namespace Azure.Data.Tables
{
using System;
using System.Text.Json;
internal static class TableEntityExtensions
{
internal static readonly JsonSerializerOptions JsonOptions = new JsonSerializerOptions()
{
AllowTrailingCommas = true,
#if NET6_0
Def... |
Caique/CodeGen/CodeGenerator.cs | PaddiM8/Caique_old | 1 | 7059249 | using System;
using System.Collections.Generic;
using System.Linq;
using LLVMSharp;
using Newtonsoft.Json;
using Caique.Models;
using Caique.Expressions;
using Caique.Statements;
using Caique.Logging;
namespace Caique.CodeGen
{
class CodeGenerator : IExpressionVisitor<LLVMValueRef>, IStatementVisitor<object>
{... |
Csv/CsvReader.cs | joshdgriffith/Starship.Core | 0 | 7059250 | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Starship.Core.Extensions;
namespace Starship.Core.Csv {
public class CsvReader<T> : CsvReader where T : new() {
public CsvReader(Stream stream) : base(stream) {
Init();
}
publ... |
src/LiveCharts.Core/Dimensions/PlaneCollection.cs | adospace/Live-Charts | 0 | 7059251 | using LiveCharts.Collections;
namespace LiveCharts.Dimensions
{
/// <summary>
/// Just a <see cref="ChartingCollection{T}"/> of <see cref="Plane"/> to make XAML easier.
/// </summary>
/// <seealso cref="Collections.ChartingCollection{ISeries}" />
public class PlaneCollection : ChartingCollection<P... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.