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 |
|---|---|---|---|---|
ManagedClient/Direct/MstFile32.cs | amironov73/ManagedClient.4 | 3 | 7031195 | <gh_stars>1-10
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
/* MstFile32.cs
*/
#region Using directives
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using JetBr... |
SamayugaOfficialWebsite/Models/GenericViewModels.cs | Samayuga/SamayugaOfficialWebsite | 0 | 7031196 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace OfficialSite.Models
{
[Serializable()]
public class Products
{
public List<SoftwareProduct> SoftwareProducts { get; set; }
public List<HardwareProduct> HardwareProducts { get; set; }
... |
AntiScreenSaver/NoScreenSaver/NoScreenSaver/ResourceWin.cs | stackprobe/CSharp | 0 | 7031197 | <filename>AntiScreenSaver/NoScreenSaver/NoScreenSaver/ResourceWin.cs<gh_stars>0
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;
namespace Charlotte
{
public partial class ResourceWi... |
gamedata/mods/Pipliz/BaseGame/src/Research/ScienceBagLife.cs | helldark/ColonySurvival | 0 | 7031198 | using Pipliz.Mods.APIProvider.Science;
using Server.Science;
namespace Pipliz.Mods.BaseGame.Researches
{
[AutoLoadedResearchable]
public class ScienceBagLife : BaseResearchable
{
public ScienceBagLife ()
{
key = "pipliz.baseresearch.sciencebaglife";
icon = "gamedata/textures/icons/sciencebaglife.png";
... |
Source/Clients/Shared/Serializer/DefaultJsonSerializer.cs | olegip/Exceptionless | 0 | 7031199 | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Exceptionless.Extensions;
using Exceptionless.Json;
using Exceptionless.Json.Converters;
using Exceptionless.Json.Serialization;
namespace Exceptionless.Serializer {
public class DefaultJsonSerializ... |
Reflection and Attributes/07.InfernoInfinity/Core/Commands/AddCommand.cs | Shtereva/CSharp-OOP-Advanced | 0 | 7031200 | <reponame>Shtereva/CSharp-OOP-Advanced
public class AddCommand : Command
{
[Inject]
private IRepository weaponRepository;
[Inject] private IGemFactory gemFactory;
public AddCommand(string[] data)
: base(data)
{
}
public override void Execute()
{
string weapoName = th... |
backend/entities/PropertyLease.cs | sookeke/PSP | 2 | 7031201 | <reponame>sookeke/PSP
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Pims.Dal.Entities
{
/// <summary>
/// PropertyLease class, provides an entity for the datamodel to manage lease properties.
/// </summary>
[MotiTable("PIMS_PROPERTY_LEASE", "PROPLS")]
public class Prop... |
src/Examples/Manual Tour of Go Conversions/methods/interface-values-with-nil/main_package_T.cs | rgwood/go2cs | 249 | 7031202 | using System.Runtime.CompilerServices;
using go;
public static partial class main_package
{
public partial struct T
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public T(@string S = default) {
this.S = S;
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]... |
src/Xamarin.Android.Build.Tasks/Utilities/MetadataExtensions.cs | rummanhasnayeen/xamarin-android | 2 | 7031203 | using System;
using System.Reflection.Metadata;
namespace Xamarin.Android.Tasks
{
public static class MetadataExtensions
{
public static string GetCustomAttributeFullName (this MetadataReader reader, CustomAttribute attribute)
{
if (attribute.Constructor.Kind == HandleKind.MemberReference) {
var ctor = r... |
Client/Assets/ThirdParty/Animancer/Internal/Editor/Transition Preview Window/TransitionPreviewWindow.Settings.cs | NEUGameDeveloper/SimpleRPG | 0 | 7031204 | <filename>Client/Assets/ThirdParty/Animancer/Internal/Editor/Transition Preview Window/TransitionPreviewWindow.Settings.cs<gh_stars>0
// Animancer // Copyright 2020 Kybernetik //
#if UNITY_EDITOR
#pragma warning disable CS0649 // Field is never assigned to, and will always have its default value.
using System;
using... |
src/Sancho.DOM.XamarinForms/XamlNodeHelpers.cs | MassivePixel/Sancho.XAMLParser | 0 | 7031205 | // Copyright (c) <NAME>. All Rights Reserved. Licensed under the MIT License (MIT). See License.txt in the project root for license information.
using Xamarin.Forms;
namespace Sancho.DOM.XamarinForms
{
public class XamlNodeHelpers
{
public static bool IsContentNode(string nodeName, string propName)... |
test/EntityFramework/FunctionalTests.Transitional/TestHelpers/DatabaseTestHelpers.cs | n9/entityframework6 | 2 | 7031206 | <gh_stars>1-10
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Data.Entity.TestHelpers
{
using System.Text.RegularExpressions;
/// <summary>
/// Helper methods that provide functionality needed to run ag... |
SpeechTest/Library/PackageCache/com.unity.collab-proxy@1.5.7/Editor/Collaborate/Common/ArrayContainer.cs | TOKIOatoz/SpeechUnity | 295 | 7031207 | <reponame>TOKIOatoz/SpeechUnity<gh_stars>100-1000
using System;
using UnityEngine;
namespace Unity.Cloud.Collaborate.Common {
[Serializable]
internal class ArrayContainer<T>
{
[SerializeField] public T[] Values = new T[0];
}
}
|
CommandHandler.cs | decriptor/CsBot | 0 | 7031208 | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Threading;
using System.Net;
using System.Xml;
using System.ServiceModel.Syndication;
using System.Linq;
namespace CsBot
{
class CommandHandler
{
public static Settings settings;
/*private static st... |
OEmbed/Defaults/DefaultJsonSerializer.cs | hey-red/OEmbed | 0 | 7031209 | <filename>OEmbed/Defaults/DefaultJsonSerializer.cs
using System;
using System.Globalization;
using System.IO;
using System.Text.Json;
using System.Text.Json.Serialization;
using HeyRed.OEmbed.Abstractions;
using HeyRed.OEmbed.Models;
using Yoh.Text.Json.NamingPolicies;
namespace HeyRed.OEmbed.Defaults
{
public ... |
Tessin.Bladerunner/Editors/ImageProxyEditor.cs | tessin/tessin-bladrunner | 0 | 7031210 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tessin.Bladerunner.Controls;
namespace Tessin.Bladerunner.Editors
{
public class ImageProxyEditor<T> : IFieldEditor<T>
{
ImageProxySettings _settings;
private readonly string _initialCatalog;
pr... |
Source/TreasureGuide.Common/Models/DonationModels/DonationVerificationModel.cs | NakamaNetwork/nakama.legacy | 14 | 7031211 | namespace TreasureGuide.Common.Models.DonationModels
{
public class DonationVerificationModel
{
public string PaymentId { get; set; }
public string TokenId { get; set; }
public int? Id { get; set; }
}
}
|
tests/SGP.Tests/UnitTests/Shared/Extensions/FluentValidationExtensionsTests.cs | JeanGatto/SGP | 1 | 7031212 | <gh_stars>1-10
using FluentValidation;
using FluentValidation.TestHelper;
using SGP.Shared.Extensions;
using Xunit;
using Xunit.Categories;
namespace SGP.Tests.UnitTests.Shared.Extensions
{
[UnitTest]
public class FluentValidationExtensionsTests
{
[Theory]
[InlineData("<EMAIL>")]
[I... |
src/Skinet.BusinessLogic/Features/Products/Query/GetAllProducts/GetAllProductsQueryHandler.cs | sayan95/skinet-shopper | 0 | 7031213 | <filename>src/Skinet.BusinessLogic/Features/Products/Query/GetAllProducts/GetAllProductsQueryHandler.cs
using AutoMapper;
using MediatR;
using Skinet.BusinessLogic.Contracts.Persistence;
using Skinet.BusinessLogic.Contracts.Persistence.Specifications;
using Skinet.BusinessLogic.Core;
using Skinet.BusinessLogic.Co... |
PeopleIKnow.UnitTests/DataAccess/Repositories/ContactRepositoryTests.cs | n-develop/peopleiknow | 2 | 7031215 | using System;
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using NSubstitute;
using PeopleIKnow.DataAccess;
using PeopleIKnow.DataAccess.Repositories;
using PeopleIKnow.Models;
using Xunit;
namespace PeopleIKnow.UnitTe... |
src/main/CsharpDotNet2/IO/TelstraTPN/Model/Model100InventoryVnfVportRequest.cs | telstra/Programmable-Network-SDK-dotnet | 1 | 7031216 | <gh_stars>1-10
using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace IO.TelstraTPN.Model {
/// <summary>
///
/// </summary>
[DataContract]
public class Model100InventoryVnfVportRequest {
/// <sum... |
src/Tasks/CreateManifestResourceName.cs | MattGal/msbuild | 1 | 7031217 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.Text;
using Microsoft.... |
src/Shared/WeakStringCache.Concurrent.cs | IvanLieckens/msbuild | 1 | 7031218 | <reponame>IvanLieckens/msbuild
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
namespace Microsoft.Build
{
/// <summary>
... |
sdk/dotnet/VMMigration/V1/GetCutoverJob.cs | AaronFriel/pulumi-google-native | 44 | 7031219 | <gh_stars>10-100
// *** 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;
using... |
King.Service/Properties/AssemblyInfo.cs | jefking/King.Service | 28 | 7031220 | <gh_stars>10-100
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("King.Service")]
[assembly: AssemblyDescription("Task scheduling for .NET")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("J<NAME>")]
[assembly: AssemblyProduct("King.Service")]
[assembly: Asse... |
ProductiveRage.Immutable.Extensions/ObjectLiteralFixes/FixObjectLiteralEqualsHack.cs | newmindtellus/Bridge.Immutable.Extensions | 0 | 7031221 | <reponame>newmindtellus/Bridge.Immutable.Extensions
using System.Reflection;
using Bridge;
namespace ProductiveRage.Immutable
{
internal sealed class FixObjectLiteralEqualsHack
{
private static readonly QuickLookup<AreEqual> _cache = new QuickLookup<AreEqual>();
private delegate bool AreEqual(object x, object y... |
Couchbase.Lite/Couchbase.Lite/Documents/AttachmentInternal.cs | SotoiGhost/couchbase-lite-net | 1 | 7031222 | <filename>Couchbase.Lite/Couchbase.Lite/Documents/AttachmentInternal.cs
//
// AttachmentInternal.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2013, 2014 Xamarin Inc (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated... |
Sweet/Views/Home/Index.cshtml | chyoon2/Sweet.Solution | 0 | 7031223 | @{
Layout = "_Layout";
}
<h1>Welcome to the Pierre's Sweets</h1>
<p>@Html.ActionLink("See all flavors", "Index", "Flavors")</p>
<p>@Html.ActionLink("See all treats", "Index", "Treats")</p>
@if(!User.Identity.IsAuthenticated)
{
<p>@Html.ActionLink("Log in", "Login","Account" )</p>
<p>@Html.ActionLink("Create an acco... |
test/WebMatrix.WebData.Test/MockDatabase.cs | matiias/MVC | 71 | 7031224 | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System.Collections.Generic;
namespace WebMatrix.WebData.Test
{
public abstract class MockDatabase : IDatabase
{
public abstract dynamic QuerySingle(string command... |
VerificaExistencia/VerificaExistencia/Program.cs | Nicoolaas500/AulasCSharp | 0 | 7031225 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VerificaExistencia
{
class Program
{
static void Main(string[] args)
{
String texto = "<NAME> do <NAME>";
// TRABALHANDO COM O COMA... |
src/KaiHeiLa.Net.Commands/Attributes/Preconditions/RequireContextAttribute.cs | gehongyan/KaiHeiLa.Net | 4 | 7031226 | <gh_stars>1-10
using System;
using System.Threading.Tasks;
namespace KaiHeiLa.Commands
{
/// <summary>
/// Defines the type of command context (i.e. where the command is being executed).
/// </summary>
[Flags]
public enum ContextType
{
/// <summary>
/// Specifies the com... |
bam.net.schema.org/Schema.Org/Things/TheaterGroup.cs | BryanApellanes/bamsdo | 0 | 7031227 | using Bam.Net.Schema.Org.DataTypes;
namespace Bam.Net.Schema.Org.Things
{
///<summary>A theater group or company, for example, the Royal Shakespeare Company or Druid Theatre.</summary>
public class TheaterGroup: PerformingGroup
{
}
}
|
src/ListExtentions.cs | ProphetLamb-Organistion/WinHousewife | 0 | 7031228 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
namespace IntegratedCalc
{
public static class ListExtentions
{
public static IList<T> Distinct<T>(this ICollection<T> self, Func<T, T, bool> equalityComparison)
{
var distinct = new List<T>(self.Count);... |
Alt/Adventure.GameEngine/Events/UpdateCommandList.cs | Tauron1990/TextAdventure | 0 | 7031230 | using System.Collections.Generic;
namespace Adventure.GameEngine.Events
{
public sealed class UpdateCommandList
{
public IEnumerable<string> Commands { get; }
public UpdateCommandList(IEnumerable<string> commands) => Commands = commands;
}
} |
Assets/StageManager.cs | splas-boomerang/ARFaceRolling | 0 | 7031231 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StageManager : MonoBehaviour
{
int[,] stageData = new int[,]
{
{1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
{1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
... |
Todo.WebAPI/Todo.Business/Validator/FluentValidator/CompanyValidator.cs | mnrclskn/onion-architecture-for-ASP.NETCore-WebAPI | 3 | 7031232 | using FluentValidation;
using System;
using System.Collections.Generic;
using System.Text;
using Todo.DataAccess.Models;
namespace Todo.Business.Validator.FluentValidator
{
public class CompanyValidator : AbstractValidator<Company>
{
public CompanyValidator()
{
RuleFor(m => m.Name)... |
src/Kerbalism/UI/UIRefactor/VesselManager.cs | Kerbalism/Kerbalism4 | 4 | 7031233 | <reponame>Kerbalism/Kerbalism4
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using KERBALISM.KsmGui;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
namespace KERBALISM
{
public class VesselManager : KsmGuiVerticalLayout
{
p... |
genesis/exercicios/10 F/M4.cs | jonataspiazzi/Aula | 0 | 7031234 | <reponame>jonataspiazzi/Aula
using System;
namespace _10_F
{
public class M4
{
public static void Executar()
{
//var M, R;
//Apoio.Mensagem(M, R);
}
}
} |
AGCSECON/fRCT_YEAR.xaml.cs | jluzardo1971/ActiveGanttCSE | 0 | 7031235 | <filename>AGCSECON/fRCT_YEAR.xaml.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windo... |
KlondikeTest/Deck.cs | AndreevAE/Klondike-CLI-Csharp | 2 | 7031236 | <reponame>AndreevAE/Klondike-CLI-Csharp
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KlondikeTest
{
class Deck
{
private List<Card> _cards = new List<Card>();
public Deck()
{
for (int i = 0; i... |
Core/MapEnvironment/AreaEnvironmentEventArgs.cs | mifumi323/funyak | 0 | 7031237 | using System;
namespace MifuminSoft.funyak.MapEnvironment
{
public class AreaEnvironmentEventArgs : EventArgs
{
/// <summary>
/// 追加された環境
/// </summary>
public AreaEnvironment AreaEnvironment { get; private set; }
public AreaEnvironmentEventArgs(AreaEnvironm... |
UserManagement/StaticData/Messages.cs | radoikoff/UserManagement | 0 | 7031238 | <filename>UserManagement/StaticData/Messages.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UserManagement
{
public static class Messages
{
public const string UserHasMoreThanOneSpecialGroups = "{0} has multip... |
Game/State/Party.cs | mrwillbarnz/ualbion | 0 | 7031239 | <gh_stars>0
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Numerics;
using UAlbion.Core;
using UAlbion.Formats.AssetIds;
using UAlbion.Formats.Assets;
using UAlbion.Formats.MapEvents;
using UAlbion.Game.Events;
namespace UAlbion.Game.State
{
public class Pa... |
src/UCenterApi/Model/ItemReceive/UcTag.cs | yiyungent/UCenterApi | 1 | 7031240 | <reponame>yiyungent/UCenterApi
using System.Collections;
using System.Xml;
namespace UCenterApi.Model.ItemReceive
{
/// <summary>
/// TagModel
/// </summary>
public class UcTag : UcItemReceiveBase<UcTag>
{
/// <summary>
/// 构造函数
/// </summary>
/// <param name="xml">... |
Functional/IEnumerable.cs | NarciSource/Rename | 0 | 7031241 | using System;
using System.Collections.Generic;
using System.Linq;
namespace Functional
{
public static class IEnumerable
{
public static IEnumerable<TSource> ForTab<TSource>(this IEnumerable<TSource> source, Action<TSource> action)
{
var list = source.ToList();
list.Fo... |
src/Tests/JustConveyor.Tests/TestProcessModel/Conveyor/TestPipelinesBuilder.cs | vsk-insurance-company/JustConveyor | 3 | 7031242 | using System.Collections.Generic;
using System.Linq;
using JustConveyor.Contracts.Attributes;
using JustConveyor.Contracts.Pipelining;
using JustConveyor.Contracts.Pipelining.Contexts;
using JustConveyor.Tests.TestProcessModel.Pipelines;
namespace JustConveyor.Tests.TestProcessModel.Conveyor
{
[PipelineBuilder("test... |
src/LuizaLabs.Application/ViewModels/AddCustomerViewModel.cs | eduardonaguiar/LuizaLabsApi | 1 | 7031243 | <filename>src/LuizaLabs.Application/ViewModels/AddCustomerViewModel.cs
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace LuizaLabs.Application.ViewModels
{
public class AddCustomerViewModel
{
[Key]
[Required(ErrorMessage = "O nome é requerido.")]
... |
CBOR2/PeterO/Cbor/CBORReader.cs | CardanoSharp/CBOR | 0 | 7031244 | <filename>CBOR2/PeterO/Cbor/CBORReader.cs
/*
Written by <NAME>.
Any copyright to this work is released to the Public Domain.
In case this is not possible, this work is also
licensed under Creative Commons Zero (CC0):
http://creativecommons.org/publicdomain/zero/1.0/
If you like this, you should donate to Peter O.
at: h... |
FilthyMath/src/forms/FilthySplash.cs | oasis9/FilthyMath | 0 | 7031245 | <gh_stars>0
using MetroFramework;
using MetroFramework.Forms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ... |
src/App/src/Helpers/GitLab/DiscussionSort.cs | BartWeyder/mrHelper | 0 | 7031246 | <reponame>BartWeyder/mrHelper<gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using GitLabSharp.Entities;
namespace mrHelper.App.Helpers
{
/// <summary>
/// Possible choices of sorting discussion list
/// </summary>
public enum DiscussionSortState
... |
Shared/Models/ServerInfo.cs | Razer2015/BattleAPI | 0 | 7031247 | <filename>Shared/Models/ServerInfo.cs
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Linq;
namespace Shared.Models
{
public class ServerInfo
{
[JsonProperty("LastUpdated")]
public long lastUpdated { get; set; }
[JsonProperty("snapshot")]
public Snapshot S... |
Supporting/DataWarehouse/DataGenerator/DataGenerator/CryptoRandom.cs | guyhay/WTT-Demo-Hol | 6 | 7031248 | using System;
using System.Security.Cryptography;
public class CryptoRandom : RandomNumberGenerator
{
private static RandomNumberGenerator _random;
///<summary>
/// Creates an instance of the default implementation of a cryptographic random number generator that can be used to generate random data.
/... |
GenderPayGap.WebUI/ExternalServices/PostcodesIoApi.cs | uk-gov-mirror/cabinetoffice.gender-pay-gap | 2 | 7031249 | <filename>GenderPayGap.WebUI/ExternalServices/PostcodesIoApi.cs<gh_stars>1-10
using System;
using System.Net.Http;
using Newtonsoft.Json;
namespace GenderPayGap.WebUI.ExternalServices
{
public class PostcodesIoApi
{
public static bool IsValidPostcode(string postcode)
{
... |
FssJpModLib/TransSheet/FssTransSheetEntry.cs | synctam/FssJpModAid | 0 | 7031250 | <filename>FssJpModLib/TransSheet/FssTransSheetEntry.cs
namespace FssJpModLib.TransSheet
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class FssTransSheetEntry
{
public string EntryID { get; set... |
Source/Disboard/Models/Pagenator.cs | mika-f/Disboard | 15 | 7031251 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Disboard.Extensions;
namespace Disboard.Models
{
internal interface IPagenator
{
/// <summary>
/// Valid client
/// </summary>
AppClient Client { get; set; }
/// <summary>
... |
11.JSONProcessing_CarDealer/CarDealer.App/Dtos/OrderedCustomerDto.cs | mayapeneva/DATABASE-Advanced-Entity-Framework | 0 | 7031252 | namespace CarDealer.App.Dtos
{
using System;
using System.Collections.Generic;
public class OrderedCustomerDto
{
public int Id { get; set; }
public string Name { get; set; }
public DateTime BirthDate { get; set; }
public bool IsYoungDriver { get; set; }
publ... |
API/Dtos/BasketItemDto.cs | ritchie200/ecommerce-angular-core | 0 | 7031253 | <gh_stars>0
using System.ComponentModel.DataAnnotations;
namespace API.Dtos
{
public class BasketItemDto
{
[Required]
public int Id { get; set; }
[Required]
public string ProductName { get; set; }
[Required]
[Range(0.1, double.MaxValue, ErrorMessage = "Price mu... |
Assets/Resources/Imported/Destructible 2D/Examples/Scripts/D2dClickToSpawn.cs | jdaev/NightAtTheMuseum | 0 | 7031254 | <reponame>jdaev/NightAtTheMuseum
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace Destructible2D.Examples
{
/// <summary>This component spawns a prefab under the mouse when you click.</summary>
[HelpURL(D2dHelper.HelpUrlPrefix + "D2dClickToSpawn")]
[AddComponentMenu(D2dHelper.ComponentMenuPre... |
YasunliplastApp/YasunliplastApp/Utils/MessagingCenterKeys.cs | dionisiusadjinugroho/Samples | 0 | 7031255 | <reponame>dionisiusadjinugroho/Samples
using System;
using System.Collections.Generic;
using System.Text;
namespace YasunliplastApp.Utils
{
public class MessagingCenterKeys
{
///////////////SAMPLING
public const string SamplingAdd_ClientAToServer = "SamplingAdd_ClientAToServer";
public... |
src/B2CGraphSDK/Models/UserModel.cs | gvanderberg/b2c-graph-sdk | 0 | 7031256 | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace B2CGraphSDK.Models
{
public class UserModel
{
[JsonConstructor]
private UserModel()
{ }
private UserModel(bool active, string city, string country, string postalCode, string fullName, string firs... |
Assets/Best HTTP (Pro)/BestHTTP/SecureProtocol/asn1/x509/NameConstraints.cs | jakemoves/cohort-unity-client-demo | 2 | 7031257 | <reponame>jakemoves/cohort-unity-client-demo
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.Collections;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509
{
public c... |
src/Client/Core/_System/ComponentModel/ErrorEventArgs.cs | nikhilk/silverlightfx | 8 | 7031258 | // ErrorEventArgs.cs
// Copyright (c) <NAME>, 2008. All Rights Reserved.
// http://www.nikhilk.net
//
// Silverlight.FX is an application framework for building RIAs with Silverlight.
// This project is licensed under the BSD license. See the accompanying License.txt
// file for more information.
// For updated projec... |
ShoppingPeeker.DbManage/CommandTree/PredicateBuilder.cs | dongshengfengniaowu/ShoppingPeeker | 12 | 7031259 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace ShoppingPeeker.DbManage
{
/// <summary>
/// 动态拼接Lambda表达式 构建容器
/// 基于静态实体模型的泛型,进行属性与表达式的构建
/// </summary>
public static class PredicateBuilde... |
src/Silk/Startup.cs | VTPDevelopment/Silk | 13 | 7031260 | <reponame>VTPDevelopment/Silk
/*
* NOTE: THIS IS HERE FOR REFERNCE ONLY.
*/
/*using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using DSharpPlus;
using MediatR;
using Microsoft.EntityFrameworkCore;
using Microsof... |
CodeCampApp.Data/Models/NavigationState.cs | xamarinfiles/app-code-camp | 0 | 7031262 | <filename>CodeCampApp.Data/Models/NavigationState.cs
using System;
using static CodeCampApp.Data.Messaging.MessageHandler;
namespace CodeCampApp.Data.Models
{
public class NavigationState
{
#region Enums
public enum AppSection
{
Splash,
Home,
Agenda... |
src/Comformation/Generated/FMS/Policy/ResourceTag.cs | stanb/Comformation | 17 | 7031263 | <reponame>stanb/Comformation
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Comformation.IntrinsicFunctions;
namespace Comformation.FMS.Policy
{
/// <summary>
/// AWS::FMS::Policy ResourceTag
/// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms... |
ClientCore/Core/HandleResponse.cs | huangjia2107/RemoteService | 1 | 7031265 | <filename>ClientCore/Core/HandleResponse.cs
using System.Linq;
using System.Net;
using ClientCore.Models;
using NetworkCommsDotNet;
using NetworkCommsDotNet.Connections;
using Server.Models;
namespace ClientCore
{
public partial class MainClient
{
private void HandleOnlineClientInfos(PacketHeader hea... |
Sdl.Web.Common/Mapping/BaseModelBuilder.cs | ronnqvistandreas/dxa-web-application-dotnet | 24 | 7031266 | <filename>Sdl.Web.Common/Mapping/BaseModelBuilder.cs
using System;
using System.Collections.Generic;
using System.Reflection;
using Sdl.Web.Common.Models;
namespace Sdl.Web.Common.Mapping
{
public abstract class BaseModelBuilder
{
private static readonly Dictionary<Type, Dictionary<string, List<Semant... |
RocketMQ.Client/Protocal/LanguageCode.cs | leeveel/RocketMQ.Client | 3 | 7031267 | namespace RocketMQ.Client
{
public enum LanguageCode
{
JAVA,
CPP,
DOTNET,
PYTHON,
DELPHI,
ERLANG,
RUBY,
OTHER,
HTTP,
GO,
PHP,
OMS
}
}
|
Shared/Models/Biography/Education.cs | macekkrystof/personal-website | 1 | 7031268 | namespace PersonalWebsite.Shared.Models
{
public class Education
{
public string SchoolName { get; set; }
public string FacultyName { get; set; }
public string Course { get; set; }
public string EducationType { get; set; }
public MonthAndYear MonthAndYearFrom ... |
Duracellko.WindowsAzureVmManager.Web/App_Start/IdentityConfig.cs | duracellko/azure-vm-manager | 9 | 7031269 | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
using Duracellko.WindowsAzureVmManager.Identity;
namespace Duracellko.WindowsAzureVmManager.Web.App_Start
{
public class IdentityConfig
{
public static void ConfigureIdentity()
{
... |
Tests/2021/Tests_13.cs | smabuk/AdventOfCode | 0 | 7031270 | <gh_stars>0
namespace AdventOfCode.Tests.Year2021;
public class Tests_13_Transparent_Origami {
[Theory]
[InlineData(new string[] {
"6,10",
"0,14",
"9,10",
"0,3",
"10,4",
"4,11",
"6,0",
"6,12",
"4,1",
"0,13",
"10,12",
"3,4",
"3,0",
"8,4",
"1,10",
"2,14",
"8,10",
"9,0",
"",
"fo... |
DNN Platform/DotNetNuke.Web.Mvc/Framework/Modules/ResultCapturingActionInvoker.cs | MaiklT/Dnn.Platform | 0 | 7031271 | // 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.Collections.Generic;
using System.Web.Mvc;
namespace DotNetNuke.Web.Mvc.Framework.Mo... |
Logipharma.PugPdf.Core/PdfDocument.cs | Keyzou/pugpdf | 0 | 7031272 | using System.IO;
using System.Threading.Tasks;
namespace Logipharma.PugPdf.Core
{
public class PdfDocument
{
public byte[] BinaryData { get; }
public PdfDocument(byte[] data)
{
BinaryData = data;
}
public void SaveAs(string path)
{
File.... |
Source/Lib/Trakt.NET/Objects/Post/Syncs/Collection/Implementations/TraktSyncCollectionPostMovie.cs | henrikfroehling/Trakt.NET | 39 | 7031273 | <gh_stars>10-100
namespace TraktNet.Objects.Post.Syncs.Collection
{
using Basic;
using Get.Movies;
using System;
/// <summary>
/// A Trakt collection post movie, containing the required movie ids,
/// optional metadata and an optional datetime, when the movie was collected.
/// </summary>
... |
FamilyTree.Application/FamilyTrees/Services/FamilyTreeService.cs | VuacheslavSichkarenko/FamilyTree | 1 | 7031274 | <filename>FamilyTree.Application/FamilyTrees/Services/FamilyTreeService.cs
using FamilyTree.Application.Common.Exceptions;
using FamilyTree.Application.Common.Interfaces;
using FamilyTree.Application.FamilyTrees.Queries;
using FamilyTree.Application.FamilyTrees.ViewModels;
using FamilyTree.Application.People.Queries;
... |
src/SolidStack.Core.Flow/Result.cs | softframe/solidstack | 3 | 7031275 | <gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using SolidStack.Core.Flow.Internal.Result;
using SolidStack.Core.Guards;
namespace SolidStack.Core.Flow
{
public class Result<TError, TSuccess> :
IResult<TError, TSuccess>
{
private Result(IEnumerable<TError> errorContent, IE... |
Mantle.Localization.Abstractions/ComponentModel/LocalizedDisplayNameAttribute.cs | gordon-matt/MantleCMS | 3 | 7031276 | <filename>Mantle.Localization.Abstractions/ComponentModel/LocalizedDisplayNameAttribute.cs
using System.ComponentModel;
using Mantle.Infrastructure;
using Microsoft.Extensions.Localization;
namespace Mantle.Localization.ComponentModel
{
//TODO: Implement this with a custom DataAnnotationsModelMetadataProvider?
... |
WebApplication1/MvcApplication1/Controllers/ShoppingCartController.cs | v1nc3ntl1/VS-Project | 0 | 7031277 | <filename>WebApplication1/MvcApplication1/Controllers/ShoppingCartController.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MvcApplication1.Models;
namespace MvcApplication1.Controllers
{
public class Shoppi... |
Spreadsheet SDK/C#/Convert XML to XLS/Program.cs | jboddiford/ByteScout-SDK-SourceCode | 0 | 7031278 | //*******************************************************************************************//
// //
// Download Free Evaluation Version From: https://bytescout.com/download/web-installer //
// ... |
Decia.Business.Domain.Formulas/Operations/Structure/StructuralLastOperation.cs | 1Schema/Open-Source | 0 | 7031280 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Decia.Business.Common.Computation;
using Decia.Business.Common.Modeling;
using Decia.Business.Common.Time;
using Decia.Business.Common.ValueObjects;
using Decia.Business.Domain.Time;
using Decia.Business.Domain.Chro... |
test/HumanTimeParser.English.Benchmarks/Program.cs | Zackattak01/HumanTimeParser | 8 | 7031281 | <filename>test/HumanTimeParser.English.Benchmarks/Program.cs<gh_stars>1-10
using BenchmarkDotNet.Running;
namespace HumanTimeParser.English.Benchmarks
{
public class Program
{
public static void Main(string[] args)
{
var summary = BenchmarkRunner.Run<ParsingSpeedTest>();
}
... |
Find My Movie/packages/TMDbLib.1.0.0/src/TMDbLib/Objects/General/TranslationWithCountry.cs | kayoumido/Find-My-Movie | 0 | 7031282 | <gh_stars>0
using Newtonsoft.Json;
namespace TMDbLib.Objects.General
{
public class TranslationWithCountry : Translation
{
/// <summary>
/// A country code, e.g. US
/// </summary>
[JsonProperty("iso_3166_1")]
public string Iso_3166_1 { get; set; }
}
} |
Checkout.ApiClient.Net45/ApiServices/Cards/RequestModels/BaseCard.cs | dikili/CheckOut | 2 | 7031283 | using Checkout.ApiServices.SharedModels;
namespace Checkout.ApiServices.Cards.RequestModels
{
public class BaseCard
{
public string Name { get; set; }
public string ExpiryMonth { get; set; }
public string ExpiryYear { get; set; }
public Address BillingDetails { get; set; }
}
... |
src/SmartOffice.Services/Graph/IGraphService.cs | erdem-erdogan/Partner-Smart-Office | 0 | 7031284 | <filename>src/SmartOffice.Services/Graph/IGraphService.cs<gh_stars>0
// -----------------------------------------------------------------------
// <copyright file="IGraphService.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// --------------------------------... |
UIComponents/SelectIdentifier.xaml.cs | Bhaskers-Blu-Org2/GaitAndBalanceApp | 5 | 7031285 | <filename>UIComponents/SelectIdentifier.xaml.cs
using GaitAndBalanceApp.Analysis;
using System;
using System.Data;
using System.IO;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace GaitAndBalanceApp
{
/// <summary>
/// Interaction logic ... |
TLCGen.PluggedInItems/TLCGen.Generators.CCOL/CodeGeneration/Sources/CCOLGeneratorGenerateHstC.cs | Sjoert-Bakker-DTV/TLCGen | 0 | 7031287 | using System.Linq;
using System.Text;
using TLCGen.Models;
using TLCGen.Models.Enumerations;
namespace TLCGen.Generators.CCOL.CodeGeneration
{
public partial class CCOLGenerator
{
private string GenerateHstC(ControllerModel c)
{
if(!c.HalfstarData.IsHalfstar) return null;
Strin... |
Cuyahoga.Modules.Forum/Web/ForumViewPost.ascx.cs | dineshkummarc/cuyahoga-1 | 1 | 7031288 | <reponame>dineshkummarc/cuyahoga-1
using System;
using System.Collections;
using System.Web.UI.WebControls;
using System.IO;
using Cuyahoga.Core.Util;
using Cuyahoga.Core.Domain;
using Cuyahoga.Web.UI;
using Cuyahoga.Web.Util;
using Cuyahoga.Modules.Forum;
using Cuyahoga.Modules.Forum.Domain;
using Cuyahoga... |
Programing Fundamentals C#/01_Data_Types_and_Variables-EXE/6_Strings_and_Objects/6_Strings_and_Objects.cs | GabrielGardev/skill-receiving | 3 | 7031289 | <reponame>GabrielGardev/skill-receiving
using System;
namespace _6_Strings_and_Objects
{
class Program
{
static void Main(string[] args)
{
string firstLine = "Hello";
string secondLine = "World";
object result = firstLine + " " + secondLine;
st... |
src/ZoDream.Shared/Converters/Size.cs | zx648383079/ZoDream.ZipCrack | 0 | 7031290 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace ZoDream.Shared.Converters
{
public static class Size
{
public static string Format(long v)
{
if (v < 0)
{
return "0";
}
else if (v >= 1024 * ... |
fim.mare/Model/Transforms/Transform.PadLeft.cs | ruliane/mare | 6 | 7031291 | using System.Xml.Serialization;
namespace FIM.MARE
{
public class PadLeft : Transform
{
[XmlAttribute("TotalWidth")]
public int TotalWidth { get; set; }
[XmlAttribute("PaddingChar")]
public string PaddingChar { get; set; }
public override object Convert(object value)
... |
tests/Magick.NET.Tests/Formats/Psd/PsdAdditionalInfoTests/TheLayerNameProperty.cs | aTiKhan/Magick.NET | 2,279 | 7031293 | // Copyright <NAME> https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using ImageMagick;
using ImageMagick.Formats;
using Xunit;
namespace Magick.NET.Tests
{
public partial class PsdAdditionalInfoTests
{
public class TheLayerNameProperty
{
... |
CSharp-OOP/OOP-Homeworks & Exams/OOPpracticeExam/OOPpracticeExam/Products.cs | shopOFF/TelerikAcademyCourses | 0 | 7031294 | namespace OOPpracticeExam
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ProductTypes;
public abstract class Products
{
private string name;
private string brand;
private decimal price... |
Src/Chatbook/Global.asax.cs | mahedee/gen-proj-chatbook | 0 | 7031295 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using System.Web.Security;
using AutoMapper;
using FacebookClone.Models.Data;
//using FacebookClone.MappingProfile;
namespace FacebookClone
{
public ... |
test/Common/Extensions.cs | NakWarsi/amqpnetlite | 367 | 7031296 | <filename>test/Common/Extensions.cs
// ------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the ""License""); you may not use this
// file except in compliance w... |
UniCircleToolsTests/ReplayParserTests.cs | Syriiin/UniCircleTools | 2 | 7031297 | <gh_stars>1-10
using System;
using System.Linq;
using NUnit.Framework;
using UniCircleTools;
using UniCircleTools.Replays;
using UniCircleToolsTests.Resources;
namespace UniCircleToolsTests
{
[TestFixture]
public class ReplayParserTests
{
[Test]
public void ParseReplay()
{
... |
Source/MQTTnet/Server/MqttServerMultiThreadedApplicationMessageInterceptorDelegate.cs | milbrandt/MQTTnet | 2,572 | 7031298 | <reponame>milbrandt/MQTTnet<gh_stars>1000+
using System;
using System.Threading.Tasks;
using MQTTnet.Implementations;
using MQTTnet.Internal;
namespace MQTTnet.Server
{
public sealed class MqttServerMultiThreadedApplicationMessageInterceptorDelegate : IMqttServerApplicationMessageInterceptor
{
readonl... |
KLineEd/KLineEdCmdApp/Utils/NotificationItem.cs | wpqs/GenDotNetCmdApps | 0 | 7031300 | using KLineEdCmdApp.Model.Base;
namespace KLineEdCmdApp.Utils
{
public class NotificationItem
{
public const int ChangeUnknown = -1;
public int Change { get; set; } //change only makes sense in terms of the model so cannot define enum in NotifierModel and override in its derived class
... |
NanoleafControlPlugin/Helper/DrawingHelper.cs | XeroxDev/Loupedeck-plugin-NanoleafControl | 2 | 7031301 | // This file is part of the NanoleafControlPlugin project.
//
// Copyright (c) 2022 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limit... |
NetCore/WebApi/Ruotine.Api/Ruotine.Domain/Entitys/Company.cs | Rodifen/Dos | 0 | 7031302 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace Ruotine.Domain.Entitys
{
public class Company
{
public Guid Id { get; set; }
public string Name { get; set; }
public string Introduction { get; set; }
public ICollection<Employee> Emplo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.