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
C#/Web/SulsExam/SULS_Skeleton/Apps/SULS/SULS.App/ViewModels/Home/AllProblemsViewModel.cs
antoniovelev/Softuni
0
7029203
using SULS.App.ViewModels.Problems; using SULS.Services; using System; using System.Collections.Generic; using System.Text; namespace SULS.App.ViewModels.Home { public class AllProblemsViewModel { public List<ProblemsViewModel> Problems { get; set; } } }
Views/new_contact_form.cshtml
skarski10/address-book-csharp
0
7029204
@{ Layout="Shared/_Layout.cshtml"; } <div class="row"> <a href="/"><button type="submit" class="btn btn-primary">Home Page</button></a> <a href="/add_contact"><button type="submit" class="btn btn-info">New Contact</button></a> </div> <h2>Enter a new contact:</h2> <form class="" action="/" method="post"> <labe...
src/Whim/Workspace/ActiveLayoutEngineChangedEvent.cs
dalyIsaac/Whim
0
7029205
<filename>src/Whim/Workspace/ActiveLayoutEngineChangedEvent.cs using System; namespace Whim; /// <summary> /// Event for when the active layout engine has changed. /// </summary> public class ActiveLayoutEngineChangedEventArgs : EventArgs { public IWorkspace Workspace { get; } public ILayoutEngine PreviousLayoutEng...
UnityGLTF/Assets/UnityTestTools/Assertions/Comparers/VectorComparerBase.cs
Ziugy/UnityGLTF
180
7029206
<gh_stars>100-1000 using System; using System.Collections.Generic; using UnityEngine; namespace UnityTest { public abstract class VectorComparerBase<T> : ComparerBaseGeneric<T> { protected bool AreVectorMagnitudeEqual(float a, float b, double floatingPointError) { if (Math.Abs(a) < floatingPointError && Math....
Assets/Scripts/Enum/ScenarioDifficulty.cs
McShooterz/OpenSpace4x
16
7029207
<reponame>McShooterz/OpenSpace4x /***************************************************************************************************************************************** Author: <NAME> Email: <EMAIL> Project: Open Space 4x License: MIT License Notes: ******************************************************************...
src/ReactiveUI/Platforms/android/UsbManagerExtensions.cs
editor-tools/ReactiveUI
0
7029208
// 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; using System.Reactive.Disposables; using System.Reactive.Linq; using Android.App; using Android.Conte...
C#Advanced/C#OOP/Exam11'8'19/21.04.2019/01. Business Logic_Skeleton (.NET Core)/HAD/Core/Factory/HeroFactory.cs
deedeedextor/Software-University
0
7029209
using System; using System.Linq; using System.Reflection; using HAD.Contracts; using HAD.Core.Factory.Contracts; using HAD.Entities.Heroes; namespace HAD.Core.Factory { public class HeroFactory : IHeroFactory { public IHero CreateHero(string heroType, string name) { IHero hero = nu...
src/SIM.Sitecore9Installer/Validation/SQL/SqlDbChecker.cs
AlenPelin/SimEx
0
7029210
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using SitecoreInstaller.Validation.Abstractions; namespace SitecoreInstaller.Validation.SQL { public class SqlDbChecker : IInstallationValidator { public SqlDbChecker() { Name = "SqlDbC...
Thai Font Adjuster Pack/Utility/ThaiCharacterReplacerTMP.cs
LuviKunG/LuviTools
7
7029211
<reponame>LuviKunG/LuviTools<filename>Thai Font Adjuster Pack/Utility/ThaiCharacterReplacerTMP.cs using UnityEngine; using UnityEngine.UI; using TMPro; /// <summary> /// Use this class for replace Thai Unicode characters. /// </summary> [ExecuteInEditMode, DisallowMultipleComponent, RequireComponent(typeof(TextMeshPr...
EFDM.Abstractions/Models/Domain/IEntity.cs
kambalin/efdm
0
7029212
<reponame>kambalin/efdm namespace EFDM.Abstractions.Models.Domain { public interface IEntity { object Id { get; set; } bool IsNew { get; } } }
BlogMVCApp/Data/User.cs
f115/BlogMVCApp
0
7029213
<filename>BlogMVCApp/Data/User.cs using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace BlogMVCApp.Data { public class User { public int Id { get; set; } [Required] [StringLength(maximumLength: 50, Mi...
NadekoBot/Modules/Utility/UtilityModule.cs
weasli/bot
1
7029214
<filename>NadekoBot/Modules/Utility/UtilityModule.cs<gh_stars>1-10 using Discord.Commands; using Discord.Modules; using NadekoBot.Extensions; using NadekoBot.Modules.Permissions.Classes; using NadekoBot.Modules.Utility.Commands; using System; using System.Linq; using System.Threading.Tasks; namespace NadekoBot.Modules...
xGame/Config/IConfigureSerializeable.cs
NullFlyGames/xGame
1
7029215
using System; using xGame.Memory; using xGame.Serialize; namespace xGame.Config { /// <summary> /// 配置表序列化辅助器接口 /// </summary> public interface IConfigureSerializeable : ISerializeable { /// <summary> /// 将配置表序列化到指定的缓冲区 /// </summary> /// <param name="buffer">缓冲区</p...
ThemeCommons/Controls/DefaultWindow.cs
JensKrumsieck/ThemeCommons
1
7029216
using System; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Interop; using System.Windows.Media; using ThemeCommons.Extension.Native; namespace ThemeCommons.Controls { public class DefaultWindow : Window { static DefaultWindow() { DefaultStyleKeyP...
src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceModel.cs
petejohanson/banshee
1
7029217
<filename>src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceModel.cs // // SourceModel.cs // // Author: // <NAME> <<EMAIL>> // // Copyright (C) 2005-2008 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // ...
sspx.infra.tests/AdminNavMenuTests.cs
cap-mathisi/inf_development
0
7029218
<gh_stars>0 using sspx.web.Helpers; using System; using System.Collections.Generic; using System.Text; using Xunit; namespace sspx.infra.tests { // TODO CS2: public class AdminNavMenuTests { [Fact] public void GivenProtocolGroupPagePathShouldReturnProtocolGroup() { var ...
src/Migrate/generated/api/Models/Api20180901Preview/ODataPathSegment.cs
mbentancour/azure-powershell
3,336
7029219
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
Source/nHydrate.Generator/ProjectItemGenerators/SQLStoredProcedureAll/SQLSelectBusinessObjectByPrimaryKeyTemplate.cs
mtgibbs/nHydrate
0
7029220
#region Copyright (c) 2006-2009 Widgetsphere LLC, All Rights Reserved //--------------------------------------------------------------------- * // Widgetsphere LLC * // Copyright (c) 2006-2009 All Rights reserved * // ...
Assets/Mirror/Tests/Editor/EnumReadWriteTests.cs
VojtechBruza/Mirror
1
7029221
<reponame>VojtechBruza/Mirror<filename>Assets/Mirror/Tests/Editor/EnumReadWriteTests.cs using NUnit.Framework; namespace Mirror.Tests { public static class MyCustomEnumReadWrite { public static void WriteMyCustomEnum(this NetworkWriter networkWriter, EnumReadWriteTests.MyCustomEnum customEnum) ...
DalvikUWPCSharp/Disassembly/APKParser/parser/XmlNamespaces.cs
Ticomware/AstoriaUWP
29
7029222
<gh_stars>10-100 using DalvikUWPCSharp.Disassembly.APKParser.struct_.xml; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DalvikUWPCSharp.Disassembly.APKParser.parser { class XmlNamespaces { private List<XmlNamespace> nspace...
tests/src/JIT/Regression/VS-ia64-JIT/M00/b77951/Main.cs
corefan/coreclr
3
7029223
<filename>tests/src/JIT/Regression/VS-ia64-JIT/M00/b77951/Main.cs // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. public class Test { public static int Main() { int[] arrayValues = { 0, 1, 2, 3, 4, 5,...
DotNetRu.Clients.UI/App.xaml.cs
vadlit/App
0
7029224
<gh_stars>0 using Xamarin.Forms.Xaml; [assembly: XamlCompilation(XamlCompilationOptions.Compile)] namespace DotNetRu.Clients.UI { using System; using System.Globalization; using System.Text; using System.Threading.Tasks; using DotNetRu.Clients.Portable.Interfaces; using DotNet...
VolleMoehre.Contracts/Model/Trainingstermin.cs
TopperDEL/VolleMoehre
0
7029225
<reponame>TopperDEL/VolleMoehre<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VolleMoehre.Contracts.Model { public enum Trainingstypen { Training, Stammtisch, Workshop, Hütte } pu...
ECommerce_Shop/Models/ViewModels/ProductVm.cs
ankitkanojia/ECommerce_Shop
25
7029226
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Web; namespace ECommerce_Shop.Models.ViewModels { public class ProductVm { public string ProductName { get; set; } public long ProductId { get; set; } public long? OfferId...
vlko.core.web/Commands/Model/AuthWithRoles.cs
vlko/vlko
3
7029227
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; namespace vlko.core.web.Commands.Model { public class AuthWithRoles { public static AuthWithRoles<T> Create<T>(T result, string roles = null) => new AuthWithRoles<T> { Status = result, Roles = roles }; }...
Organigram/Pirate.Ldap/LdapSbyteArrayField.cs
ppschweiz/MemberDatabase
0
7029228
<filename>Organigram/Pirate.Ldap/LdapSbyteArrayField.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using Novell.Directory.Ldap; using System.Globalization; namespace Pirate.Ldap { public class LdapSbyteArrayField : LdapField<sbyte[]> { public LdapSbyteArrayField(Ldap...
GUI/Program.cs
ayan4m1/shipsync
0
7029229
<gh_stars>0 using System; using System.IO; using System.Reflection; using Autofac; using Eto.Forms; using log4net; using log4net.Config; using ShipSync.Container.Configuration; using ShipSync.Container.Service; namespace ShipSync.GUI { public sealed class Program { private static readonly ILog Log = L...
MiHomeLib/Transport/IMiioTransport.cs
sergey-brutsky/mi-home
106
7029230
using System; using System.Threading.Tasks; namespace MiHomeLib.Devices { public interface IMiioTransport: IDisposable { public string Ip { get;} public string Token { get;} string SendMessage(string msg); Task<string> SendMessageAsync(string msg); } }
src/Periploi.FlatFile.ToolBox.Core/Positional/RecordFactory.cs
Periploi/Periploi.FlatFile.ToolBox
0
7029231
<reponame>Periploi/Periploi.FlatFile.ToolBox<gh_stars>0 namespace Periploi.FlatFile.ToolBox.Core.Positional; /// <inheritdoc cref="RecordFactory{TC}" /> public sealed class RecordFactory<T, TU, TC> : RecordFactory<TC> where T : Record<TC>, new() where TU : Record<TC>, new() where TC : FlatFileContext, new...
src/Legacy/Requests/OsuLegacyUserBasedRequest.cs
aspriddell/orbit-api
0
7029232
// Orbit API Copyright (C) 2019-2021 DragonFruit Network // Licensed under the MIT License - see the LICENSE file at the root of the project for more info using DragonFruit.Common.Data; using DragonFruit.Common.Data.Parameters; namespace DragonFruit.Orbit.Api.Legacy.Requests { public abstract class OsuLegacyUser...
src/Discussion.Core/ViewModels/UserViewModel.cs
kiss96803/dotnetclub
0
7029233
<gh_stars>0 using System.ComponentModel; using System.ComponentModel.DataAnnotations; using Discussion.Core.Mvc; namespace Discussion.Core.ViewModels { public class UserViewModel { [DisplayName("用户名")] [Required(ErrorMessage = "必须填写用户名")] [MinLength(3, ErrorMessage = "用户名最少包含 3 个字符")] ...
src/System.Text.Encoding/tests/UTF32Encoding/UTF32EncodingEncode.cs
Priya91/corefx-1
1
7029235
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using Xunit; namespace System.Text.Tests { public class UTF32EncodingEncode ...
Apteco.ApiSystemAnalyser.Core/Services/LoginService.cs
Apteco/ApiSystemAnalyser
0
7029236
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Apteco.ApiSystemAnalyser.ApiClient.Api; using Apteco.ApiSystemAnalyser.ApiClient.Model; namespace Apteco.ApiSystemAnalyser.Core.Services { public class LoginService { #region private fields private IApiC...
MinunnClient/Settings/Config.cs
minunn/ReviveClient
1
7029237
using MinunnClient.API; using MinunnClient.MClientInput; using MinunnClient.Menu; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TMPro; using UnityEngine; namespace MinunnClient.Settings { public class Config { public bool ...
MercuryServer/Mercury.cs
philippovomsk/MercuryServer
1
7029238
using log4net; using MercuryCom; 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 System.Configuration; using Newtonsoft.Json.Linq; namespace MercuryServer { public partial ...
src/VisualStudio/Core/Def/Implementation/AnalyzerDependency/IgnorableAssemblyNamePrefixList.cs
belav/roslyn
0
7029239
<filename>src/VisualStudio/Core/Def/Implementation/AnalyzerDependency/IgnorableAssemblyNamePrefixList.cs // 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. #nullable ...
src/Detached.RuntimeTypes/Expressions/IncludeExpression.cs
leonardoporro/Detached-Types
4
7029240
<reponame>leonardoporro/Detached-Types using System; using System.Collections.Generic; using System.Linq.Expressions; namespace Detached.RuntimeTypes.Expressions { public class IncludeExpression : ExtendedExpression { public IncludeExpression(IEnumerable<Expression> expression) { E...
src/CSharp/CodeCracker/Style/StringRepresentationCodeFixProvider.cs
sqdavid/code-cracker
0
7029242
<filename>src/CSharp/CodeCracker/Style/StringRepresentationCodeFixProvider.cs using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeActions; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using static Microsoft.CodeAnalysis.CSharp.Synta...
Monster RPG Game Kit/MonsterRPGGameKit/Assets/PiRhoSoft Composition/Scripts/Engine/Interface/Controls/SelectionControl.cs
larsolm/Archives
0
7029243
using PiRhoSoft.UtilityEngine; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace PiRhoSoft.CompositionEngine { public enum PrimaryAxis { Column, Row } [HelpURL(Composition.DocumentationUrl + "selection-control")] [AddComponentMenu("PiRho Soft/Interface/Selection Contro...
vs/TDDWorkflowHelper/SubprocedureLauncher.cs
PENGUINLIONG/TDDWorkflow
0
7029244
<reponame>PENGUINLIONG/TDDWorkflow using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LiongStudio.ComputerVision.Utils { public static class SubprocedureLauncher { /// <summary> /// Lauch a subprocedure with no ...
AlipaySDKNet/Domain/DefiCustCompanyDTO.cs
alipay/alipay-sdk-net
117
7029245
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// DefiCustCompanyDTO Data Structure. /// </summary> [Serializable] public class DefiCustCompanyDTO : AopObject { /// <summary> /// 企业证件号码 /// </summary> [XmlEle...
Assets/Adrenak.AirPeer/Samples/BytesReaderWriterDemo.cs
adrenak/AirPeer
24
7029246
<gh_stars>10-100 using UnityEngine; namespace Adrenak.AirPeer.Samples { /// <summary> /// A demo showing writing and reading of data /// using <see cref="BytesWriter"/> and <see cref="BytesReader"/> /// </summary> public class BytesReaderWriterDemo : MonoBehaviour { void Start() { ...
Example/WinForm/Editor/DCWriter/DCSoft.Writer.Cleaned/DCSoftDotfuscate/GClass235.cs
hdefucom/HDF
1
7029247
<reponame>hdefucom/HDF using System.Runtime.InteropServices; namespace DCSoftDotfuscate { [ComVisible(false)] public sealed class GClass235 { public const string string_0 = "true"; public const string string_1 = "false"; public const string string_2 = "yes"; public const string string_3 = "no"; privat...
PollingEngine/PollingEngine.Core/Settings/PollingProgramCollection.cs
LazyTarget/MyLife
1
7029248
using System.Configuration; namespace PollingEngine.Core { public class PollingProgramCollection : ConfigurationElementCollection { public PollingProgramConfigElement this[int index] { get { return (PollingProgramConfigElement)BaseGet(index); } set { ...
Insolvency.CalculationsEngine.Redundancy.BL.UnitTests/ServicesTests/HolidayCalculationsServiceTests.cs
uk-gov-mirror/insolvencyservice.RPSCalculationEngine
2
7029249
<reponame>uk-gov-mirror/insolvencyservice.RPSCalculationEngine using FluentAssertions; using Insolvency.CalculationsEngine.Redundancy.API.UnitTests.TestData; using Insolvency.CalculationsEngine.Redundancy.BL.DTOs.Common; using Insolvency.CalculationsEngine.Redundancy.BL.DTOs.Holiday; using Insolvency.CalculationsEngin...
SoundCloudLists/SoundCloudLists/Models/Quota.cs
gregJOE/SoundCloudLists
0
7029250
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace SoundCloudLists.Models { public class Quota { public bool unlimited_upload_quota { get; set; } public int upload_seconds_used { get; set; } public int upload_seconds_left { get; s...
Lpp.Dns.DTO/QueryComposer/QueryComposerResponsePropertyDefinitionConverter.cs
PopMedNet-Team/popmednet
9
7029251
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lpp.Dns.DTO.QueryComposer { /// <summary> /// Custom json converter to handle converting IPropertyDefinition interface to concrete type. /// </summary> public class QueryCompos...
src/Cofoundry.Web/Framework/Mvc/Routes/RouteInitializer.cs
hur1can3/cofoundry
1
7029252
<gh_stars>1-10 using Cofoundry.Core; using Microsoft.AspNetCore.Routing; using System; using System.Collections.Generic; using System.Linq; namespace Cofoundry.Web { /// <summary> /// Used to inject all routes registered through the dependency /// container via IRouteRegistration. Override this if you wan...
PearlCalculatorCP/Views/Manually.axaml.cs
Colton-Ko/PearlCalculatorCore
0
7029253
<gh_stars>0 using System; using System.Windows.Input; using Avalonia; using Avalonia.Controls; using Avalonia.Interactivity; using Avalonia.Markup.Xaml; using PearlCalculatorCP.Utils; namespace PearlCalculatorCP.Views { public class Manually : UserControl { private Button? _tntAmountBtn; priv...
Libraries/WebResource/Xms.WebResource/IWebResourceContentCoder.cs
ganqiyin/xms
518
7029254
namespace Xms.WebResource { public interface IWebResourceContentCoder { string CodeDecode(string content); string CodeEncode(string content); string CodeEncode(byte[] bytes); byte[] DecodeToByte(string content); } }
samples/core/SqlServer/Indexes/Blog.cs
onlytropics/EntityFramework.Docs
731
7029255
<gh_stars>100-1000 using System; namespace SqlServer.Indexes; public class Blog { public int BlogId { get; set; } public string Url { get; set; } public DateTime PublishedOn { get; set; } }
Complexity.ApertureMetric/Aperture.cs
pyfdrw/ESAPIPlanComplexity
8
7029256
<filename>Complexity.ApertureMetric/Aperture.cs using System; using System.Linq; namespace Complexity.ApertureMetric { public class Aperture { public LeafPair[] LeafPairs { get; set; } public Jaw Jaw { get; set; } public double GantryAngle { get; set; } // The first dimension ...
Hello4/Assets/Scripts/DestroyThis.cs
kevin41307/Hello4
0
7029257
 using System.Collections; using UnityEngine; public class DestroyThis : MonoBehaviour { public float time = 3f; // Start is called before the first frame update void Start() { //this.gameObject.SetActive(false); Destroy(this.gameObject, time); StartCoroutine(StartDisable()); ...
Khernet.UI/Khernet.UI.Presentation/Converters/UnreadCountWidthConverter.cs
lemalcs/Khernet
1
7029258
using System; using System.Globalization; using System.Windows; namespace Khernet.UI.Converters { /// <summary> /// Converts circle radius to <see cref="Size"/> for right and left arcs. /// </summary> public class UnreadCountWidthConverter : BaseValueConverter<UnreadCountWidthConverter> { ...
Src/CoSales/trunk/CoSales/Views/Shared/_LayoutSign.cshtml
imwyw/.net
15
7029259
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>@ViewBag.Title</title> <meta charset="utf-8" /> <link href="~/Content/layui/css/layui.css" rel="stylesheet" /> <link href="~/Content/bootstrap.min.css" rel="stylesheet" /> <style> ...
src/AI4E.Utils.ApplicationParts/IApplicationFeatureProviderOfT.cs
AI4E/Utils
0
7029260
/* License * -------------------------------------------------------------------------------------------------------------------- * This file is part of the AI4E distribution. * (https://github.com/AI4E/AI4E.Utils) * Copyright (c) 2018-2019 <NAME> and contributors. * * MIT License * * Permission is hereby g...
aws-dotnet-rest-api-with-dynamodb/src/DotNetServerless.Application/Handlers/UpdateItemHandler.cs
AzarguNazari/Examples
10,320
7029261
using System.Threading; using System.Threading.Tasks; using DotNetServerless.Application.Entities; using DotNetServerless.Application.Infrastructure.Repositories; using DotNetServerless.Application.Requests; using MediatR; namespace DotNetServerless.Application.Handlers { public class UpdateItemHandler : IRequestHan...
src/lib/SharpMessaging/Connection/FaultExceptionEventArgs.cs
gauffininteractive/SharpMessaging
28
7029262
using System; namespace SharpMessaging.Connection { public class FaultExceptionEventArgs : EventArgs { public FaultExceptionEventArgs(string errorMessage, Exception exception) { if (errorMessage == null) throw new ArgumentNullException("errorMessage"); if (excep...
ApexSharp.ApexParser.Tests/ApexRoundtrip/IClassInterfaceExt_CSharp.cs
apexsharp/apexparser
15
7029263
namespace ApexSharpDemo.ApexCode { using Apex; using Apex.ApexSharp; using Apex.ApexSharp.ApexAttributes; using Apex.ApexSharp.Extensions; using Apex.System; using SObjects; public interface IClassInterfaceExt { // ID GetId(); } }
trunk/model/postprocessing/common/AggregatedRunSummary.cs
logjointfork/logjoint
0
7029264
using System; using System.Collections.Generic; using System.Text; namespace LogJoint.Postprocessing { public class AggregatedRunSummary: IPostprocessorRunSummary { string report; bool hasErrors, hasWarnings; readonly Dictionary<ILogSource, IPostprocessorRunSummary> innerSummaries; public AggregatedRunSum...
EasyNetworker/ServiceFactory.cs
GustavHagstrom/EasyNetworker
0
7029265
<gh_stars>0 namespace EasyNetworker; public delegate object ServiceFactory(Type ServiceType); public static class ServiceFactoryExtensions { public static T GetInstance<T>(this ServiceFactory factory) => (T)factory(typeof(T)); public static IEnumerable<T> GetInstances<T>(this ServiceFactory factory) => (IEnum...
src/Microsoft/Silk.NET.DXGI/Structs/MappedRect.gen.cs
storm32600/Silk.NET
0
7029266
// This file is part of Silk.NET. // // You may modify and distribute Silk.NET under the terms // of the MIT license. See the LICENSE file for details. using System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Text; using Silk.NET.Core; using Silk.NET.Core.Native; using ...
ModernPlayerManagementAPI/Models/Team.cs
Modern-Player-Management/api
3
7029267
<reponame>Modern-Player-Management/api using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; namespace ModernPlayerManagementAPI.Models { public class Team : BaseEntity { public string Name { get; set; } ...
BigReactorSimulator/Views/Main/MainViewModel.cs
Tomodachi94/BigReactorSimulator
3
7029268
using System.Collections.Generic; using System.Diagnostics; using BigReactorSimulator.BigReactor; using BigReactorSimulator.Tiles; using BigReactorSimulator.Views.Reactor; using BigReactorSimulator.Views.ReactorCosts; using BigReactorSimulator.Views.ReactorStats; using BigReactorSimulator.Views.Selector; using BigReac...
SaintCoinach/Xiv/LeveRewardItemGroup.cs
shambarick/SaintCoinach-1
266
7029269
<gh_stars>100-1000 using System.Collections.Generic; using SaintCoinach.Ex.Relational; namespace SaintCoinach.Xiv { /// <summary> /// Class representing a group of items that can appear as rewards for leves. /// </summary> /// <remarks> /// This is not confirmed, but it seems like all entr...
Machines gotta learn/Assets/Scripts/MLP/Propagation.cs
Argentumvivum/MLP_Ball
0
7029270
using System.Collections.Generic; public class Propagation { private ActivationFunction activation = new ActivationFunction(); public void FeedForward(Dictionary<int,List<Node>> nodes, List<InputData> inputData, bool isTraining, float learningRate) { foreach (var input in inputData) { ...
Assets/Sparkler/Scripts/Examples/Sample2_SimpleBots/Systems/RelaxSystem.cs
KamilVDono/Sparkler
2
7029271
using Sparkler.Example.Components; using Unity.Entities; namespace Sparkler.Example.Systems { [DisableAutoCreation] public class RelaxSystem : SystemBase { private EndSimulationEntityCommandBufferSystem _endSimulationCmdBuffer; protected override void OnCreate() { base.OnCreate(); _endSimulationCmdBuf...
src/Net.Qks.Web.Mvc/Models/Account/EmailConfirmationViewModel.cs
RocChing/Net.Qks
0
7029273
using System; using System.Web; using Abp.Runtime.Security; using Abp.Runtime.Validation; using Net.Qks.Authorization.Accounts.Dto; namespace Net.Qks.Web.Models.Account { public class EmailConfirmationViewModel : ActivateEmailInput, IShouldNormalize { /// <summary> /// Tenant id. /// <...
Assets/Dialouge/TextBoxManager.cs
WarpABoi/Shroomit
0
7029274
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class TextBoxManager : MonoBehaviour { public NPCscript nPCscript; public GameObject talkText; public GameObject textBox; public GameObject BossEntranceBarrier; public Text the...
Logic/PermissionLogic.cs
MD-V/ProductOwnerSimGame
0
7029275
<reponame>MD-V/ProductOwnerSimGame using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AutoMapper; using Microsoft.AspNetCore.Identity; using ProductOwnerSimGame.Dtos; using ProductOwnerSimGame.Logic; using ProductOwnerSimGame.Models.Permissions; using ProductOwnerSimGame.Models.Ro...
Orm/Xtensive.Orm.Tests/Issues/IssueJira0339_PrefetchViaStructure.cs
commit-n-run/dataobjects-net
41
7029276
<filename>Orm/Xtensive.Orm.Tests/Issues/IssueJira0339_PrefetchViaStructure.cs // Copyright (C) 2012 Xtensive LLC. // All rights reserved. // For conditions of distribution and use, see license. // Created by: <NAME> // Created: 2012.02.22 using System.Linq; using NUnit.Framework; using Xtensive.Orm.Tests.Issues.Is...
CamundaCSharpClient/Model/user/UserModel.cs
salajlan/camundacsharpclient
12
7029277
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CamundaCSharpClient.Model.Task { public class UserModel : CamundaBase { public string id { get; set; } public string firstName { get; set; } public string lastName { get; ...
trunk/platforms/osx/logjoint.mac/ui/HistoryDialog/HistoryDialogAdapter.cs
rkapl123/logjoint
44
7029278
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using LogJoint.UI.Presenters.HistoryDialog; using AppKit; using Foundation; using ObjCRuntime; namespace LogJoint.UI { public partial class HistoryDialogAdapter : NSWindowController, IView { #region Constructors /...
karikatür/karikatur-web/obj/Debug/netcoreapp2.2/Razor/Views/Shared/ImageGallery.cshtml.g.cs
kadirguloglu/karikatur
0
7029279
<gh_stars>0 #pragma checksum "D:\Proje\Karikatur\karikatür\karikatur-web\Views\Shared\ImageGallery.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "b29d29cce20649813b865e68b5f8c27fca55c630" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribut...
src/Blogifier/Views/Themes/Main/List.cshtml
arturgieralt/Blogifier
0
7029280
@using Blogifier.Core.Data @inject IDataService DataService @using Askmethat.Aspnet.JsonLocalizer.Localizer @{ ListModel listModel = (ListModel)Model; Pager pgr = listModel.Pager; string root = Url.Content("~/"); string cover = $"{root}{listModel.Blog.Cover}"; var catsUnordered = await DataService....
FakeXiecheng.API/FakeXiecheng.API/Services/MockTouristRouteRepository.cs
derxinup/Czar.Cms
0
7029281
//using FakeXiecheng.API.Models; //using System; //using System.Collections.Generic; //using System.Linq; //using System.Threading.Tasks; //namespace FakeXiecheng.API.Services //{ // public class MockTouristRouteRepository : ITouristRouteRepository // { // private List<TouristRoute> _routes; // pu...
Libraries/AzureAdminClient/AzureAdminClientLib/AzureVmOsARMData.cs
grazies/Phoenix
38
7029282
<reponame>grazies/Phoenix using System; using System.Collections.Generic; namespace AzureAdminClientLib { public class AzureVmOsArmData { public string Publisher { get; set; } public string Offer { get; set; } public string SKU { get; set; } public class AzureVmOsArmDataCompar...
Niue.Abp/Abp.Web.Common/Web/Mvc/Models/ErrorViewModel.cs
P79N6A/abp-ant-design-pro-vue
3
7029283
using System; using Niue.Abp.Abp.Web.Common.Web.Models; namespace Niue.Abp.Abp.Web.Common.Web.Mvc.Models { public class ErrorViewModel { public ErrorInfo ErrorInfo { get; set; } public Exception Exception { get; set; } public ErrorViewModel() { } ...
wj.ObjectComparer/PropertyComparisonInfoCollection.cs
JTOne123/wj.ObjectComparer
1
7029284
namespace wj.ObjectComparer { /// <summary> /// Collection of <see cref="PropertyComparisonInfo"/> objects from a specific data type. /// </summary> public class PropertyComparisonInfoCollection : DictionaryCollection<string, PropertyComparisonInfo> { #region Methods /// <inheritdoc...
source/Tests/SqlCe.Tests/SqlCeUpdateDataSetBehaviorsFixture.cs
StingyJack/daab
6
7029285
<reponame>StingyJack/daab // Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. using System.Data; using System.Data.SqlServerCe; using Data.SqlCe.Tests.VSTS; using Microsoft.Practices.EnterpriseLibrary.Data.TestSupport; using Microsoft.VisualStudio....
WebApps/ImageGalleryAspNet/ImageGallery/Models/GalleryViewModel.cs
ShreyTiwari/coyote-samples
50
7029286
<reponame>ShreyTiwari/coyote-samples<gh_stars>10-100 // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. namespace ImageGallery.Models { public class GalleryViewModel { public string RequestId { get; set; } public string User { get; set; } public string[] Images...
Assets/scripts/IdText.cs
Virtuanance/VirtuananceExpert
0
7029287
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class IdText : MonoBehaviour { public Text txt; // Start is called before the first frame update void Start() { txt.text = txt.GetComponent<SceneParams>().getId(); } }
src/OpenAL/Silk.NET.OpenAL/Attributes/FormatSizeAttribute.cs
moozzyk/Silk.NET
0
7029289
// This file is part of Silk.NET. // // You may modify and distribute Silk.NET under the terms // of the MIT license. See the LICENSE file for details. using System; namespace Silk.NET.OpenAL.Attributes { /// <summary> /// Specifies the native size of one sample of a given buffer format. /// </summary> ...
Magitui/Services/File/IFileService.cs
bartvanhoey/Magitui
0
7029290
<gh_stars>0 namespace Magitui.Services.File { public interface IFileService { Task<List<T>> ReadItemsAsync<T>() where T : IHaveGuidId; Task<T> ReadItemByIdAsync<T>(Guid Id) where T : IHaveGuidId; Task AddItemAsync<T>(T content) where T : IHaveGuidId; Task DeleteItemAsync<T>(T conten...
UnitySimulator/Assets/WeatherMaker/Prefab/Scripts/WeatherMakerProfileScript.cs
azshue/SAAP
4
7029291
// // Weather Maker for Unity // (c) 2016 Digital Ruby, LLC // Source code may be used for personal or commercial projects. // Source code may NOT be redistributed or sold. // // *** A NOTE ABOUT PIRACY *** // // If you got this asset off of leak forums or any other horrible evil pirate site, please consider buying ...
src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/SCameraMovementData.cs
bclnet/GameEstate
0
7029292
<filename>src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/SCameraMovementData.cs<gh_stars>0 using System.IO; using System.Runtime.Serialization; using GameEstate.Red.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Red.Formats.Red.Records.Enums; namespace GameEstate.Red.Formats.R...
AnimeRaiku.SDK/Model/Internal/Reference.cs
AnimeRaiku/AnimeRaiku.SDK
0
7029293
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace AnimeRaiku.SDK.Model.Internal { public class Reference { [JsonProperty(propertyName: "_id")] public string Id { get; set; } } }
src/Robots/Remotes/RemoteAbb.cs
lin-ycv/Robots
0
7029294
<reponame>lin-ycv/Robots namespace Robots; #if NETSTANDARD2_0 public class RemoteAbb : IRemote { public string? IP { get; set; } public List<string> Log { get; } = new List<string>(); public void Play() => throw NotImplemented(); public void Pause() => throw NotImplemented(); public void Upload(IP...
src/Cohesity.Powershell.Models/SQLServerInstanceVersion.cs
chandrashekar-cohesity/cohesity-powershell-module
0
7029295
// Copyright 2019 Cohesity Inc. using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.C...
Assets/Scripts/CameraRigRotate.cs
Avalix/SpaceHostilities
1
7029296
<reponame>Avalix/SpaceHostilities<filename>Assets/Scripts/CameraRigRotate.cs using UnityEngine; public class CameraRigRotate : MonoBehaviour { public float RotateSpeed = 25.0f; private Transform _transform; private void Awake() { _transform = gameObject.transform; } public void Upda...
IntOption.cs
Kesco-m/Kesco.Lib.Win.Options
0
7029297
<reponame>Kesco-m/Kesco.Lib.Win.Options using Microsoft.Win32; namespace Kesco.Lib.Win.Options { public class IntOption : IOption { private string name; // Имя опции private string path; // Папка в реестре private int val; // Значение - строка private int def; // Значение по умолчанию /// <summary> ///...
src/DotnetSpider.Broker/Services/NodeStatusService.cs
jeffrey987/DotnetSpider
1
7029298
<reponame>jeffrey987/DotnetSpider<filename>src/DotnetSpider.Broker/Services/NodeStatusService.cs using System.Threading.Tasks; using DotnetSpider.Broker.Data; namespace DotnetSpider.Broker.Services { public class NodeStatusService : INodeStatusService { private readonly BrokerDbContext _dbContext; public NodeS...
Luminal/Luminal/OpenGL/GLShaderProgram.cs
LewisTehMinerz/Luminal
0
7029299
using Luminal.Logging; using OpenTK.Graphics.OpenGL; using OpenTK.Mathematics; using System; namespace Luminal.OpenGL { public class GLShaderProgram { public int GLObject; public GLShaderProgram() { GLObject = GL.CreateProgram(); } public GLShaderProgram A...
QuestLike/SadConsole/MiniScreen.cs
Liam-Harrison/QuestLike
3
7029300
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SadConsole; using Console = SadConsole.Console; using Global = SadConsole.Global; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Design; using Microsoft.Xna.Framework.Graphics; using ...
XamarinFormsMvvmAdaptor/Helpers/WeakEventHandler.cs
z33bs/xamarin-forms-mvvm-adaptor
4
7029301
<gh_stars>1-10 using System; using System.Reflection; using Xamarin.Forms; namespace XamarinFormsMvvmAdaptor.Helpers { /// <summary> /// From: http://paulstovell.com/blog/weakevents /// Note - this wrapper is kept alive and not GC'ed. /// Also good to read https://www.codeproject.com/Articles/29922/We...
UniinfoAsp/UniinfoAsp/Views/Funcionario/Index.cshtml
LeandroSilvao/pim_2018_2
4
7029302
@model IEnumerable<UniinfoAsp.Models.Funcionario> @{ ViewBag.Title = "Funcionarios"; Layout = "~/Views/Shared/_LayoutAdmin.cshtml"; } @Html.ViewBag <div style="margin:0px 100px;"> <h2 style="margin:90px 0px 10px 0px;">Funcionarios</h2> <p> @Html.ActionLink("Cadastrar novo funcionario", "Create...
SandWorm/Analysis.cs
philipbelesky/SandWorm
16
7029303
<filename>SandWorm/Analysis.cs using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; using Rhino.Display; using Rhino.Geometry; namespace SandWorm { public static class Analysis { /// <summary>Abstractions for managing analysis state.</summary> public static class...
Libraries/File/Xms.File/ServiceRegistrar.cs
ganqiyin/xms
518
7029304
<gh_stars>100-1000 using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Xms.Infrastructure.Inject; namespace Xms.File { /// <summary> /// 文件模块服务注册 /// </summary> public class ServiceRegistrar : IServiceRegistrar { public int Order => 1; p...
Core/Web/RouteCollectionExtensions.cs
burningice2866/CompositeC1Contrib
5
7029305
<reponame>burningice2866/CompositeC1Contrib using System.Web; using System.Web.Routing; namespace CompositeC1Contrib.Web { public static class RouteCollectionExtensions { public static void AddGenericHandler<T>(this RouteCollection routes, string route) where T : IHttpHandler, new() { ...
ElectronicWallet.Repositories/WalletTransactionRepository.cs
vebg/ElectronicWallet
1
7029306
using ElectronicWallet.Database; using ElectronicWallet.Database.Entities; using ElectronicWallet.Repositories.Contracts; namespace ElectronicWallet.Repositories { public class WalletTransactionRepository : RepositoryBase<WalletTransaction>, IWalletTransactionRepository { public WalletTransactionRepos...