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 |
|---|---|---|---|---|
SmilePhone/UI/UI_LapPhieuBanHang.xaml.cs | Bac3Phi/SmilePhone | 1 | 7026999 | <reponame>Bac3Phi/SmilePhone
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.Media;
using ... |
PoketDex/PoketDex.Android/CustomMapRenderer.cs | sgermosen/PocketDex | 53 | 7027000 | //using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using Android.App;
//using Android.Content;
//using Android.Gms.Maps;
//using Android.OS;
//using Android.Runtime;
//using Android.Views;
//using Android.Widget;
//using CustomMapRenderer.Droid;
//using PoketDex.Clases;
//... |
Randomizer.SuperMetroid/Filler.cs | TomFaulkner/SMZ3Randomizer | 52 | 7027001 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using static Randomizer.SuperMetroid.ItemType;
using System.Threading;
namespace Randomizer.SuperMetroid {
class Filler {
List<World> Worlds { get; set; }
List<Item> ProgressionItems { get; set; } = new List<Item... |
ExpenseManager.DataAccess/Migrations/20190920122725_Migration-06.Designer.cs | dudelis/expense-manager | 0 | 7027002 | // <auto-generated />
using System;
using ExpenseManager.DataAccess.Concrete.EntityFramework;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storag... |
SMSProvider/Core/IApiResponse.cs | lwz22psp/SMSProvider | 6 | 7027003 | <filename>SMSProvider/Core/IApiResponse.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Neuzilla.SMSProvider.Core
{
public interface IApiResponse
{
int ErrorCode { get; set; }
string ErrorMessage { get; set; }
}
}
|
ISAAR.MSolve.FEM/Readers/NEUReader.cs | odyred/RandomVariable_MonteCarlo | 2 | 7027004 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace ISAAR.MSolve.FEM.Readers
{
enum NEUPosition
{
Undefined = 0,
SectionStart,
Section,
SectionEnd
}
public class NEUReader
{
private const string s... |
TLM/TLM/State/OptionsTabs/MaintenanceTab_DespawnGroup.cs | Hipchris36/TMPE | 0 | 7027005 | <reponame>Hipchris36/TMPE
namespace TrafficManager.State {
using ColossalFramework;
using ICities;
using System.Collections.Generic;
using TrafficManager.API.Traffic.Enums;
using TrafficManager.Lifecycle;
using TrafficManager.Manager.Impl;
using TrafficManager.UI;
using TrafficManager.UI... |
mcs/tests/gtest-166-lib.cs | lefb766/mono | 469 | 7027006 | // Compiler options: -t:library
using System;
public class TestClass
{
public class B : A<Nested>
{
}
public abstract class A<T>
{
public static Comparison<A<T>> Compare;
}
public class Nested
{
}
}
|
LemonUI/Menus/NativeCheckboxItem.cs | NoArtifactLights/LUI4Rage | 0 | 7027007 | using LemonUI.Elements;
using System;
using System.Drawing;
namespace LemonUI.Menus
{
/// <summary>
/// Rockstar-like checkbox item.
/// </summary>
public class NativeCheckboxItem : NativeItem
{
#region Fields
/// <summary>
/// The image shown on the checkbox.
/// <... |
src/Delimited.Tests/Internal/PipeCat.cs | goblinfactory/comma-delimited | 1 | 7027008 | using Goblinfactory.Delimited;
namespace Goblinfactory.Delimited.Tests
{
internal class PipeCat
{
public string[] Kittens { get; }
public PipeCat(PipeDelim kittens)
{
Kittens = kittens;
}
}
}
|
src/GitVersion.Core.Tests/Configuration/DefaultConfigFileLocatorTests.cs | ouslou01/GitVersion | 0 | 7027009 | using GitVersion.Configuration;
using GitVersion.Core.Tests.Helpers;
using GitVersion.Extensions;
using GitVersion.Helpers;
using GitVersion.Logging;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using NUnit.Framework;
using Shouldly;
namespace GitVersion.Core.Tests;
[TestFixture... |
Web/Helpers/UserRoleHelper.cs | nathnael/cats | 1 | 7027010 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Cats.Helpers
{
// TODO: This class is only for demo purposes and by no means supposed to replicate or replace user authorization
public class UserRoleHelper
{
public static string GetUserRole(string user... |
src/Rocket.Web/Pages/_LayoutPlay.cshtml | JanneMattila/Rocket | 0 | 7027011 | <gh_stars>0
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Rocket</title>
<style>
body {
touch-action: manipulation;
overscroll-behavior-y: contain;
}
</style>
@Html.Raw(JavaScriptSnippet.FullScript)
</head>
<body>
@RenderBody()
@Render... |
src/UnoApp/UnoDecompile/Uno.UI/Windows.UI.Xaml/DependencyObject.cs | ljcollins25/Codeground | 0 | 7027012 | using Windows.UI.Core;
namespace Windows.UI.Xaml;
public interface DependencyObject
{
CoreDispatcher Dispatcher { get; }
object GetValue(DependencyProperty dp);
void SetValue(DependencyProperty dp, object value);
void ClearValue(DependencyProperty dp);
object ReadLocalValue(DependencyProperty dp);
object G... |
sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ContainerInfo.cs | gjy5885/azure-sdk-for-net | 3,268 | 7027013 | // <auto-generated>
// 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
// re... |
src/DotNetPad/DotNetPad.Presentation/Converters/IndexToNumberConverter.cs | jbe2277/dotnetpad | 124 | 7027014 | using System;
using System.Globalization;
using System.Windows.Data;
namespace Waf.DotNetPad.Presentation.Converters
{
public class IndexToNumberConverter : IValueConverter
{
public object Convert(object? value, Type? targetType, object? parameter, CultureInfo? culture) => (int)value! + 1;
... |
bundle/Omnisharp/server/OmniSharp.Tests/AutoComplete/CompletionTestBase.cs | mshiung/vim-ide | 97 | 7027015 | <reponame>mshiung/vim-ide
using System.Collections.Generic;
using System.Linq;
namespace OmniSharp.Tests.AutoComplete
{
public class CompletionTestBase
{
protected IEnumerable<string> DisplayTextFor(string input)
{
return new CompletionsSpecBase().GetCompletions(input).Select(c => c... |
source/CanDatabase/CanDatabase.Application/CanDbs/Commands/DeleteCanDb/DeleteCanDbCommand.cs | ipazanin/can-database | 0 | 7027016 | <reponame>ipazanin/can-database
using MediatR;
namespace CanDatabase.Application.CanDbs.Commands.DeleteCanDb
{
/// <summary>
/// DeleteCanDbCommand
/// </summary>
public record DeleteCanDbCommand : IRequest
{
#region Properties
public int CanDbId { get; }
#endregion Properti... |
Palaso/WritingSystems/StringContainsExtension.cs | phillip-hopper/libpalaso | 0 | 7027017 | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Palaso.WritingSystems
{
public static class StringExtension
{
public static bool Contains(this String stringToSearch, String stringToFind, StringComparison comparison)
{
int i... |
PointOfSales.Test/ModifierTest.cs | mota57/PointOfSales | 0 | 7027018 | <reponame>mota57/PointOfSales<filename>PointOfSales.Test/ModifierTest.cs
using Microsoft.EntityFrameworkCore;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using PointOfSales.Core.Entities;
using PointOfSales.WebUI.Controllers;
using System.Collections.Generic;
using System.Diagnostics;
usi... |
MRTK2_2/Library/PackageCache/com.unity.xr.arfoundation@1.5.0-preview.7/Runtime/AR/ARParticipantManager.cs | GooDtoLivE/VRByMRTK | 0 | 7027019 | <gh_stars>0
using System;
using System.Collections.Generic;
using UnityEngine.XR.ARSubsystems;
namespace UnityEngine.XR.ARFoundation
{
/// <summary>
/// A manager for <see cref="ARParticipant"/>s. Creates, updates, and removes
/// <c>GameObject</c>s in response to other users in a multi-user collaborative ... |
DiscordChatExporter.Core/Services/MessageGroupService.cs | mdiller/DiscordChatExporter | 0 | 7027020 | <filename>DiscordChatExporter.Core/Services/MessageGroupService.cs
using System.Collections.Generic;
using System.Linq;
using DiscordChatExporter.Core.Models;
namespace DiscordChatExporter.Core.Services
{
public class MessageGroupService : IMessageGroupService
{
private readonly ISettingsService _sett... |
src/DeltaWare.Dependencies/Types/DependencyDescriptor.cs | armorall171/DeltaWare.Dependencies | 0 | 7027021 | <reponame>armorall171/DeltaWare.Dependencies
using DeltaWare.Dependencies.Abstractions;
using DeltaWare.Dependencies.Abstractions.Configuration;
using DeltaWare.Dependencies.Abstractions.Enums;
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace DeltaWare.Dependencies.Types
{
... |
BinanceTR.Net/Objects/Core/BinanceTRRestApiClientOptions.cs | burakoner/BinanceTR.Net | 0 | 7027022 | <reponame>burakoner/BinanceTR.Net
using System;
using System.Net.Http;
using BinanceTR.Net.Enums;
using BinanceTR.Net.Interfaces;
using CryptoExchange.Net.Objects;
namespace BinanceTR.Net.Objects.Core
{
public class BinanceTRRestApiClientOptions : RestClientOptions
{
private string _restApiMainAddress... |
src/PipServices.Data/Interfaces/IGetter.cs | vovantigo/pip-services-data-dotnet | 0 | 7027024 | <gh_stars>0
using PipServices.Commons.Data;
namespace PipServices.Data.Interfaces
{
public interface IGetter<out T, in TI>
where T : IIdentifiable<TI>
where TI : class
{
T GetOneById(string correlationId, TI id);
}
}
|
tests/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/PublishedCache/PublishedContentCacheTests.cs | nul800sebastiaan/Umbraco-CMS | 1 | 7027025 | using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Umbraco.Cms.Core.Models;
using Umbraco.Cms.Core.PublishedCache;
using Umbraco.Cms.Infrastructure.PublishedCache;
using Umbraco.Cms.Tests.Common.Published;
using Umbraco.Cms.Tests.UnitTests.TestHelpers;
namespace Umbraco.Cms.Tests.UnitTes... |
UI/Details Pane/DetailsPaneMovement.cs | Ratstool/Zeds | 0 | 7027026 | using Microsoft.Xna.Framework.Input;
using Zeds.Engine;
using Zeds.UI.Build_Menu;
namespace Zeds.UI.Details_Pane
{
public static class DetailsPaneMovement
{
public static bool IsDetailsPaneMoving;
public static void UpdateDetailsPaneLocation()
{
if (!Cursor.CursorRectangle... |
src/Shared/HandyControl_Shared/HandyControls/Controls/SpeedoMeter/SpeedoMeter.cs | Muzsor/HandyControls | 0 | 7027027 | <reponame>Muzsor/HandyControls
using HandyControl.Data;
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace HandyControl.Controls;
public class SpeedoMeter : Control
{
#region Value
protected virtual void OnValueChanged(FunctionEventArgs<double> e) => Rai... |
src/UnoApp/UnoDecompile/Uno.UI/Microsoft.UI.Xaml.Controls/Rgb.cs | ljcollins25/Codeground | 0 | 7027028 | <filename>src/UnoApp/UnoDecompile/Uno.UI/Microsoft.UI.Xaml.Controls/Rgb.cs
namespace Microsoft.UI.Xaml.Controls;
internal struct Rgb
{
public double R;
public double G;
public double B;
public Rgb(double r, double g, double b)
{
R = r;
G = g;
B = b;
}
}
|
bus_rode/Kernel/Interface/IMessageDialog.cs | yyc12345/bus_rode | 2 | 7027029 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace bus_rode.Kernel.Interface
{
/// <summary>
/// 消息对话框接口
/// </summary>
public interface IMessageDialog
{
/// <summary>
/// 标题
/// </sum... |
TheThrustGuru/StockAdjustment.Designer.cs | thethrustguru/thethrustguru | 1 | 7027030 | namespace TheThrustGuru
{
partial class StockAdjustment
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
src/Wumpus.Net.Rest/Requests/Guilds/GetGuildMembersParams.cs | Aux/Wumpus.Net | 26 | 7027031 | using System.Collections.Generic;
using Voltaic;
using Wumpus.Entities;
namespace Wumpus.Requests
{
/// <summary> https://discordapp.com/developers/docs/resources/guild#list-guild-members-query-string-params </summary>
public class GetGuildMembersParams : QueryMap
{
/// <summary> Max number of <se... |
Plugins/DynamicPanels/Scripts/Helpers/PanelHeader.cs | caniouff/UnityDynamicPanels | 1 | 7027032 | using UnityEngine;
using UnityEngine.EventSystems;
namespace DynamicPanels
{
[DisallowMultipleComponent]
public class PanelHeader : MonoBehaviour, IBeginDragHandler, IDragHandler, IEndDragHandler
{
[SerializeField]
private Panel m_panel;
public Panel Panel { get { return m_panel; } }
private int pointerId... |
ApiAnalysis.SimpleJsonAnalyzer.UnitTests/TypeDifferences.cs | APIAnalysis/SimpleJsonAnalyzer | 3 | 7027033 | // <copyright file="TypeDifferences.cs" company="<NAME>">
// Copyright (c) <NAME>. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the solution root for license information.
// </copyright>
using System.Linq;
using ApiAnalysis.UnitTests.Helpers;
using Microsoft.VisualStudio.TestTools.UnitTestin... |
src/Tiledriver.Core/Wolf3D/DefaultTile.cs | davidaramant/tiledriver | 0 | 7027034 | // Copyright (c) 2017, <NAME>
// Distributed under the 3-clause BSD license. For full terms see the file LICENSE.
using System.Collections.Generic;
using Tiledriver.Core.FormatModels.Uwmf;
namespace Tiledriver.Core.Wolf3D
{
public static class DefaultTile
{
public static readonly Tile GrayStone1 = n... |
HealthyLifestyleTrackingApp/Data/Migrations/20210804122726_FoodExerciseCategoriesTagsTablesCreated.cs | VeselinaSidova/Healthy-Lifestyle-Tracking-App | 0 | 7027035 | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace HealthyLifestyleTrackingApp.Data.Migrations
{
public partial class FoodExerciseCategoriesTagsTablesCreated : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTa... |
src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/DES/DesTests.cs | swaroop-sridhar/runtime | 1 | 7027036 | <gh_stars>1-10
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using Test.Cryptography;
using Xunit;
namespace System.Security.Cryptography.Encryption.Des.Tests
{
public static partial class DesTests
{
... |
src/GraphQL/Types/DecimalGraphType.cs | DSilence/graphql-dotnet | 1 | 7027037 | using GraphQL.Language.AST;
namespace GraphQL.Types
{
public class DecimalGraphType : ScalarGraphType
{
public DecimalGraphType()
{
Name = "Decimal";
}
public override object Serialize(object value)
{
return ParseValue(value);
}
... |
Shared Models/KdSoft.Services.Protobuf/ProtoWriter.cs | kwaclaw/KdSoft.Services | 0 | 7027038 | <reponame>kwaclaw/KdSoft.Services
using Google.Protobuf;
using System.IO;
namespace KdSoft.Services.Protobuf
{
public interface IProtoWriter
{
void WriteTo(object obj, Stream output);
}
public interface IProtoWriter<TModel>: IProtoWriter where TModel : class
{
void WriteTo(TModel ... |
snippets/csharp/VS_Snippets_CodeAnalysis/FxCop.Performance.UnusedLocals/cs/FxCop.Performance.UnusedLocals.cs | ericmutta/samples | 2 | 7027039 | //<Snippet1>
using System;
using System.Windows.Forms;
namespace PerformanceLibrary
{
public class UnusedLocals
{
public void SomeMethod()
{
int unusedInteger;
string unusedString = "hello";
string[] unusedArray = Environment.GetLogicalDrives();
Button unusedButto... |
SIL.Lift.Tests/Merging/LiftChangeReportTests.cs | mccarthyrb/libpalaso | 1 | 7027040 | <gh_stars>1-10
using System;
using System.IO;
using NUnit.Framework;
using SIL.Lift.Merging;
using SIL.Lift.Validation;
namespace SIL.Lift.Tests.Merging
{
[TestFixture]
public class LiftChangeReportTests
{
[Test]
public void OriginalHasNoEntries()
{
string orig = @"";
string mod = @"<entry id='three'>
... |
backend/tests/unit/dal/Core/Converters/Int32JsonConverterTest.cs | FuriousLlama/PSP | 5 | 7027041 | using Pims.Core.Converters;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Text;
using System.Text.Json;
using Xunit;
namespace Pims.Dal.Test.Core.Converters
{
[Trait("category", "unit")]
[Trait("category", "core")]
[Trait("category", "function")]
... |
samples/issues/0077-Room/issue/XamarinProjects-master/RoomExample/MainActivity.cs | moljac/Samples.AndroidX | 1 | 7027042 | <filename>samples/issues/0077-Room/issue/XamarinProjects-master/RoomExample/MainActivity.cs
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using AndroidX.AppCompat.App;
using AndroidX.RecyclerView.Widget;
using System;
using System.Collecti... |
3rdparty/openbw/bwapi/bwapi/BWMemoryEdit/BW/CImage.cs | ratiotile/StardustDevEnvironment | 8 | 7027043 | <reponame>ratiotile/StardustDevEnvironment
using BWMemoryEdit.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace BWMemoryEdit.BW
{
[StructLayout(LayoutKind.Sequential)]
public unsafe struct ... |
XmlConversion/Cast.cs | abhaypix/MockXmlProject | 1 | 7027044 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace XmlConversion
{
public class Cast
{
public Cast()
{
}
public static DataTable ToDataTable(string xml)
{
... |
BolaoNet.MVC/Global.asax.cs | Thoris/BolaoNet | 0 | 7027046 | <reponame>Thoris/BolaoNet<filename>BolaoNet.MVC/Global.asax.cs
//#define DEBUG_SAVE_LOG_THROUGH_WEB
using BolaoNet.Domain.Interfaces.Services.Logging;
using BolaoNet.MVC.AutoMapper;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ... |
PrivateFleet.New/Admin_DealerSummaryReport.aspx.cs | mileslee1987/PrivateFleet | 0 | 7027047 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Admin_DealerSummaryReport : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
... |
src/DotnetWebApiDemo.Infra.Data.Dapper/Repositories/ClientRepositoryDapper.cs | rodrigo-campero/DotnetWebApiDemo | 0 | 7027048 | using Dapper;
using DotnetWebApiDemo.Domain.Entities;
using DotnetWebApiDemo.Domain.Interfaces.Repositories.Dapper;
using System.Data;
using System.Linq;
namespace DotnetWebApiDemo.Infra.Data.Dapper.Repositories
{
public class ClientRepositoryDapper : Connection, IClientRepositoryDapper
{
public Clien... |
Source/Ultraviolet.Shims.NETCore2/NETCore2/Graphics/NETCore2SurfaceSource.cs | MicroWorldwide/ultraviolet | 558 | 7027050 | using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using Ultraviolet.Core;
using Ultraviolet.Graphics;
namespace Ultraviolet.Shims.NETCore2.Graphics
{
/// <summary>
/// Represents an implementation of the <see cref="SurfaceSource"/> class for the .NET Core 2.0 platform.
///... |
FCS_HydroponicHarvesters/Mono/HydroHarvContainer.cs | ccgould/FCStudios_SubnauticaMods | 22 | 7027051 | <reponame>ccgould/FCStudios_SubnauticaMods
using System;
using System.Collections.Generic;
using System.Linq;
using FCS_HydroponicHarvesters.Buildables;
using FCS_HydroponicHarvesters.Enumerators;
using FCS_HydroponicHarvesters.Model;
using FCSCommon.Utilities;
using FCSTechFabricator.Interfaces;
using UnityEngine;
n... |
src/Repographer/Components/Validation/ValidationCondition.cs | gracenote/Repographer | 3 | 7027052 | #region License
// 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/LICENSE-2.0
#endregion
using System;
namespace Repographer.Components.... |
Lists/SortArrayUsingInsertionSort/SortArrayUsingInsertionSort.cs | AnaKostadinova/Programming-Fundamentals-C-Sharp-Exercises | 0 | 7027053 | using System;
using System.Collections.Generic;
using System.Linq;
class SortArrayUsingInsertionSort
{
public static void Main()
{
int[] arr = Console.ReadLine().Split().Select(int.Parse).ToArray();
for (int i = 0; i < arr.Length - 1; i++)
{
int a = i +... |
Tests/JsonApiFramework.Core.Tests/Reflection/StaticReflectionTests.cs | circleupx/JsonApiFramework | 108 | 7027054 | <filename>Tests/JsonApiFramework.Core.Tests/Reflection/StaticReflectionTests.cs<gh_stars>100-1000
// Copyright (c) 2015–Present <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.md in the project root for license information.
using System;
using JsonApiFramework.Reflection;
... |
Back-End/GoodsStore.Data/Model/Product.cs | VladyslavYakymenkoCom/GoodsStore | 0 | 7027055 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace GoodsStore.Data
{
public class Product
{
[Key]
public Guid Id { get; set; }
[Required, MaxLength(30)]
public string Title { get; set; }
[Required, MaxLength(30)]
public string Description { get; set; }... |
LiveHAPI.Shared/Interfaces/Model/IClientSummary.cs | palladiumkenya/livehapi | 0 | 7027056 | <filename>LiveHAPI.Shared/Interfaces/Model/IClientSummary.cs<gh_stars>0
using System;
namespace LiveHAPI.Shared.Interfaces.Model
{
public interface IClientSummary
{
Guid Id { get; set; }
string Area { get; set; }
Guid ClientId { get; set; }
decimal Rank { get; set; }
st... |
src/core/srcbc/asn1/DerSet.cs | yangli1128/itextsharp.NetCore | 1 | 7027057 | /*
This file is part of the iText (R) project.
Copyright (c) 1998-2019 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation with the add... |
src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Controls/TextAdaptor.cs | hongyuzhang1997/wpf | 1 | 7027058 | // 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.
//
// Description: Text Object Models Text pattern provider
// Spec for TextPattern at TextPatternSpecM8.doc
// Spec... |
ironpython2/Src/DLR/Src/Microsoft.Dynamic/Interpreter/Instructions/InstructionFactory.cs | shuice/IronPython_UWP | 2 | 7027059 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Numerics;
using AnyPrefix.Microsoft.Scripting.... |
Quiltoni.Test/GuessTimeGame/GuessGameTests/States/GameInClosedStateShould.cs | peterM/Quiltoni.PixelBot | 20 | 7027060 | using System;
using System.Collections.Generic;
using System.Text;
using Quiltoni.PixelBot.Commands;
using Xunit;
using Xunit.Abstractions;
namespace Quiltoni.Test.GuessGameTests.States
{
public class GameInClosedStateShould
{
private readonly ITestOutputHelper _output;
public GameInClosedSta... |
RealTimeApp.Api/Controllers/SurveyController.cs | Cihat-Girgin/.Net5-Hangfire-And-SignalR-Survey-App | 1 | 7027061 | <filename>RealTimeApp.Api/Controllers/SurveyController.cs
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Hangfire;
using RealTimeApp.Api.Jobs;
using RealTimeApp.Api.Services;
namespace RealTimeApp.... |
src/Propose/Features/Teams/TeamApiModel.cs | QuinntyneBrown/Propose | 0 | 7027062 | <reponame>QuinntyneBrown/Propose
using Propose.Data.Model;
namespace Propose.Features.Teams
{
public class TeamApiModel
{
public int Id { get; set; }
public int? TenantId { get; set; }
public string Name { get; set; }
public static TModel FromTeam<TModel>(Team team) whe... |
UnitTests/UAP.Tests/Grid.Tests/Data/DataLoading/BatchLoadingProviderTests.cs | Zofware/UI-For-UWP | 1,338 | 7027063 | using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Telerik.Core.Data;
namespace Telerik.UI.Xaml.Controls.Grid.Tests.Data.DataLoading
{
[TestClass]
public class BatchLoadingProviderTests
{
private IIn... |
Assets/Scripts/Audio/AudioSequence.cs | aofdtonhao/pacman_space-bit | 0 | 7027064 | <gh_stars>0
using UnityEngine;
namespace Tonhex
{
public class AudioSequence
{
private readonly AudioClip[] audioClips;
private int currentAudioClipIndex = 0;
public AudioSequence(AudioClip[] audioClips)
{
currentAudioClipIndex = 0;
this.audioClips ... |
xiuse/Infrastructure/DotNet.Utilities/Excel/ExcelHelper.cs | xcfs85/xiuse-xcfs | 1 | 7027065 | <filename>xiuse/Infrastructure/DotNet.Utilities/Excel/ExcelHelper.cs
/// <summary>
/// 类说明:Assistant
/// 编 码 人:苏飞
/// 联系方式:361983679
/// 更新网站:http://www.sufeinet.com/thread-655-1-1.html
/// </summary>
using System;
using System.IO;
using System.Data;
using System.Collections;
using System.Data.OleDb;
using System.We... |
Source/Microsoft.Teams.Apps.QBot.Model/Teams/TeamsMention.cs | hendrilee/QBot | 73 | 7027066 | <reponame>hendrilee/QBot
using Newtonsoft.Json;
namespace Microsoft.Teams.Apps.QBot.Model.Teams
{
public class TeamsMention
{
[JsonProperty("type")]
public string Type { get; set; }
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("mentionText")]
... |
Assets/TheKiwiCoder/BehaviourTree/EnemyActions/EnemyCheckPlayerInRange.cs | TheNidesRA/FrozenFury | 2 | 7027067 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TheKiwiCoder;
public class EnemyCheckPlayerInRange : ActionNode
{
protected override void OnStart()
{
context.enemy.NODOACTUAL = "EnemyCheckPlayerInRange";
}
protected override void OnStop()
{
}
... |
Orleans.Providers.MongoDB/Membership/Store/MongoMembershipDocument.cs | mxplusb/Orleans.Providers.MongoDB | 69 | 7027068 | <filename>Orleans.Providers.MongoDB/Membership/Store/MongoMembershipDocument.cs<gh_stars>10-100
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace Orleans.Providers.MongoDB.Membership.Store
{
public sealed class MongoMembershipDocument : MembershipBase
{
[BsonRepresentation(Bso... |
DpdtInject.Tests/Settings/Constructor/AllAndOrder/Two/SettingsConstructorAllAndOrderTwo_Cluster.cs | lsoft/DpdtInjec | 21 | 7027069 | <gh_stars>10-100
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DpdtInject.Injector.Src;
using DpdtInject.Injector.Src.Bind.Settings.Constructor;
using DpdtInject.Injector.Src.Bind;
namespace DpdtInject.Tests.Settings.Constructor.AllAndOrder.Two
{
public partial class SettingsConstructorAllAndOrderTwo_... |
Conduit/Conduit.Api/Controllers/UserController.cs | idrivediesel2006/conduit | 0 | 7027070 | <reponame>idrivediesel2006/conduit
using Conduit.Models.Exceptions;
using Conduit.Models.Requests;
using Conduit.Models.Responses;
using Conduit.Repositories;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Threading.Tasks;
names... |
ASP_grafovi/ASP_grafovi/konekcije.cs | owlhoo/DijkstraFW_GUI_APP | 0 | 7027071 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... |
test/Test.Assertion.UnitTests/TestHelper/DisposableWrapper.cs | MaSch0212/MaSch | 3 | 7027072 | <reponame>MaSch0212/MaSch
using System;
using System.Diagnostics.CodeAnalysis;
namespace MaSch.Test.Assertion.UnitTests.TestHelper
{
public sealed class DisposableWrapper<T> : IDisposable
{
private readonly IDisposable _disposable;
public DisposableWrapper(T @object, IDisposable disposable)
... |
OO/ByteBank/Program.cs | scp2/csharp | 0 | 7027073 | <filename>OO/ByteBank/Program.cs<gh_stars>0
using System;
namespace ByteBank
{
class Program
{
static void Main(string[] args)
{
ContaCorrente conta = new ContaCorrente(9874, 1238);
conta.Saldo = -10;
Console.WriteLine(conta.Saldo);
Cliente sam... |
source/ME.RecordPlayer.EventSourcing.LiteDb/LiteDbSnapshot.cs | MarkEwer/RecordPlayer | 0 | 7027074 | using ME.RecordPlayer.EventSourcing.SnapShots;
namespace ME.RecordPlayer.EventSourcing.LiteDb
{
public record LiteDbSnapshot(string ActorName, string Json, long Index) : Snapshot(Json, Index)
{
public string Id => $"{ActorName}-snapshot-{Index}";
}
}
|
ExpandoDB/Config.cs | cris-almodovar/postit-db | 4 | 7027075 | <filename>ExpandoDB/Config.cs
using ExpandoDB.Search;
using System.IO;
using System.Reflection;
namespace ExpandoDB
{
/// <summary>
///
/// </summary>
public static class Config
{
/// <summary>
/// Gets or sets the Storage Engine data path.
/// </summary>
/// <valu... |
ResourceLib/Resource.cs | mwsrc/DotNetObfuscator | 15 | 7027076 | using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.ComponentModel;
using System.IO;
namespace Vestris.ResourceLib
{
/// <summary>
/// A version resource.
/// </summary>
public abstract class Resource
{
/// <summary>
... |
Assets/SrCatknight/Scripts/UI/MainMenu.cs | MauricioRB06/Sr_Catknight | 0 | 7027077 | <reponame>MauricioRB06/Sr_Catknight
using System.Collections;
using SrCatknight.Scripts.Managers;
using TMPro;
using UnityEngine;
using UnityEngine.Localization.Settings;
using UnityEngine.UI;
/* Documentation:
*
* Scripting Localization: https://docs.unity3d.com/Packages/com.unity.localization@1.0/manual/Scripting.h... |
GraphQL/GqlReturnValue.cs | pingzing/TrippitKiosk | 0 | 7027078 | <filename>GraphQL/GqlReturnValue.cs
using System.Collections.Generic;
namespace TrippitKiosk.GraphQL
{
public class GqlReturnValue
{
public string Name { get; set; }
public List<GqlReturnValue> Descendants { get; set; }
public GqlReturnValue(string name)
{
Name = n... |
src/GR.Extensions/GR.Forms.Extension/GR.Forms.Razor/Views/Form/GetFieldAttributes.cshtml | indrivo/GEAR | 7 | 7027079 | @model GR.Forms.Razor.ViewModels.FormsViewModels.FieldValidationViewModel
@{
ViewData["Title"] = "Get Field Attributes";
}
<div class="card">
<div class="card-header">
<h2>Validations</h2>
</div>
<div class="card-body">
<form asp-action="GetFieldAttributes" method="post">
@Html.HiddenFor(x => x.Field.Id)
... |
src/SmartAss/Collections/Grid.cs | Corniel/smart-ass | 0 | 7027080 | <gh_stars>0
// <copyright file = "Grid.cs">
// Copyright (c) 2018-current, <NAME>.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// </copyright>
using SmartAss.Numerics;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagn... |
Assets/Microgames/KaguyaMemory/Scripts/KaguyaMemory_ItemScript.cs | andy-h-nguyen/NitoriWare | 0 | 7027081 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class KaguyaMemory_ItemScript : MonoBehaviour {
public GameObject rngMaster;
public GameObject KaguyaChan;
public GameObject correctIndicator;
public GameObject wrongIndicator;
public GameObject timingMaster;
... |
src/GrpcServer/GrpcServer/Services/GreeterService.cs | verloka/Networking | 0 | 7027082 | <reponame>verloka/Networking
using Google.Protobuf;
using Google.Protobuf.WellKnownTypes;
using Grpc.Core;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GrpcServer
{
public class GreeterS... |
CSSBot/Bot.cs | drew-loukusa/CSSBot | 0 | 7027083 | <gh_stars>0
using Discord;
using Discord.WebSocket;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using CSSBot.Reminders;
using Discord.Commands;
using System.Reflection;
using CSSBot.Counters;
using CSSBot.Models;
using LiteDB;
using CSSB... |
Mindvolving/Organisms/Physics/MuscleUserData.cs | PsichiX/mindvolving | 0 | 7027084 | <filename>Mindvolving/Organisms/Physics/MuscleUserData.cs
namespace Mindvolving.Organisms.Physics
{
public class MuscleUserData : IPhysicsUserData
{
public Muscle Muscle { get; internal set; }
public object CustomData { get; set; }
}
}
|
src/CoreWCF.Primitives/src/CoreWCF/Channels/MessageEncoderFactory.cs | ekinbarut/CoreWCF | 1,110 | 7027085 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace CoreWCF.Channels
{
public abstract class MessageEncoderFactory
{
protected MessageEncoderFactory()
{
}
public abstract MessageEnco... |
src/Nightingale.Converters/Postman/IPostmanConverter.cs | Ombrelin/nightingale-core | 0 | 7027086 | <filename>src/Nightingale.Converters/Postman/IPostmanConverter.cs
using JeniusApps.Nightingale.Data.Models;
using Newtonsoft.Json;
using PST = Postman.NET.Collections.Models;
namespace JeniusApps.Nightingale.Converters.Postman
{
/// <summary>
/// Interface for converting postman collection
/// files into ... |
src/libraries/System.ComponentModel.Composition.Registration/src/System/ComponentModel/Composition/Registration/ParameterImportBuilder.cs | pyracanda/runtime | 9,402 | 7027087 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.ComponentModel.Composition.Registration
{
// This class exists to enable configuration of PartBuilder<T>
public class ParameterImportBuilder
{
pu... |
FHICORC/Controls/SingleLineButton.cs | folkehelseinstituttet/Fhi.Koronasertifikat.Verifikasjon.App | 4 | 7027088 | <filename>FHICORC/Controls/SingleLineButton.cs
using System;
using Xamarin.Forms;
namespace FHICORC.Controls
{
public class SingleLineButton : Button
{
public SingleLineButton()
{
}
}
}
|
SourceCode/Services/Implementations/ModuleGableTypeService.cs | tellurianinteractive/Tellurian.Trains.ModulesRegistryApp | 5 | 7027089 | namespace ModulesRegistry.Services.Implementations;
public class ModuleGableTypeService
{
private readonly IDbContextFactory<ModulesDbContext> Factory;
public ModuleGableTypeService(IDbContextFactory<ModulesDbContext> factory)
{
Factory = factory;
}
public async Task<IEnumerable<ListboxIt... |
src/EntityFramework.AzureTableStorage/AtsDataStoreServices.cs | matteo-mosca-easydom/EntityFramework | 1 | 7027090 | <gh_stars>1-10
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using JetBrains.Annotations;
using Microsoft.Data.Entity.AzureTableStorage.Metadata;
using Microsoft.Data.Entity.AzureT... |
src/AK.Net.Dns/Records/PtrRecord.cs | andykernahan/ak-net-dns | 0 | 7027091 | <filename>src/AK.Net.Dns/Records/PtrRecord.cs
// Copyright 2008 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless re... |
RazorEngine.NetCore/Templating/ITemplate.cs | vladsm/RazorEngine | 1,087 | 7027092 | <gh_stars>1000+
using System;
using System.IO;
using System.Threading.Tasks;
namespace RazorEngine.Templating
{
/// <summary>
/// Defines the required contract for implementing a template.
/// </summary>
public interface ITemplate
{
#region Properties
/// <summary>
/// Sets ... |
src/Kebler.Models/Server.cs | T1me/Kebler | 9 | 7027093 | <reponame>T1me/Kebler<gh_stars>1-10
using System;
using System.Diagnostics;
using Caliburn.Micro;
using LiteDB;
using Newtonsoft.Json;
namespace Kebler.Models
{
[DebuggerDisplay("{Host}")]
public class Server : PropertyChangedBase
{
private bool _sslEnabled = true;
public int Id { get; se... |
route-system-feedback-to-development-teams/CarsIsland/cars-island-web-app/CarsIsland/CarsIsland.WebApp/Data/Models/Car.cs | luvvero/Pluralsight | 45 | 7027095 | <gh_stars>10-100
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace CarsIsland.WebApp.Data.Models
{
public class Car
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public Guid Id { get; set; }
public string Brand { get; set; }
public string Mo... |
Galen.Ci.Azure.Sql.Sharding/Galen.CI.Azure.Sql.Sharding.App/App.cs | GalenHealthcare/SqlSchemaDeployer | 8 | 7027096 | <gh_stars>1-10
#region License
// /*
// The MIT License
//
// Copyright (c) 2015 Galen Healthcare Solutions
//
// 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... |
tests/core/Statiq.Core.Tests/Modules/Metadata/AddDocumentsToMetadataFixture.cs | devlead/Statiq.Framework | 294 | 7027097 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using Shouldly;
using Statiq.Testing;
namespace Statiq.Core.Tests.Modules.Metadata
{
[TestFixture]
public class AddDocumentsToMetadataFixture : BaseFixture
{
p... |
SignalR.Reactive/SignalR.Reactive.Demo/Views/ChatDemo/Index.cshtml | kiwipiet/SignalR.Reactive | 21 | 7027098 | <style >
html,body{
width:100%;
height:100%;
}
body{
position:relative;
}
#wrapper{
position:absolute;
top:0;
bottom:0;
left:0;
right:0;
border:1px solid #333;
}
#upperPanel{
position: absolute;
top:0;
left:0;
right:0;
botto... |
Nerdcave.Common/ConsoleHelper.cs | ap0llo/wolpertinger | 1 | 7027099 | //Origin: http://codepaste.net/puk8ex#
//Writes colored text to the console and allows to clear previously written lines
//as long a not line break is present
//Sample - screenshot at http://img299.imageshack.us/img299/3931/consolex.png
/*
C.InfoLine("Non-colored text...");
C.Error("Outch... |
src/LogEater.Wpf/AppBootstrapper.cs | forki/LogEater | 1 | 7027100 | <reponame>forki/LogEater<filename>src/LogEater.Wpf/AppBootstrapper.cs
using System;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.Linq;
using System.Windows;
using Caliburn.Micro;
using LogEater.Wpf.ViewModels;
namespace LogEater.Wpf {
public sealed class A... |
src/MailChimpApi/Internal/MailChimpMessagesApi.cs | luminousuk/MailChimpApi | 0 | 7027101 | <reponame>luminousuk/MailChimpApi
using System.Threading.Tasks;
using MailChimpApi.Internal.Dto.Messages;
namespace MailChimpApi.Internal
{
internal class MailChimpMessagesApi : IMailChimpMessagesApi
{
private readonly MailChimpMessagesService _service;
public MailChimpMessagesApi(MailChimpMe... |
src/AddIns/BackendBindings/WixBinding/Test/Diff/NoDifferentFilesTestFixture.cs | dongdapeng110/SharpDevelopTest | 11 | 7027102 | <filename>src/AddIns/BackendBindings/WixBinding/Test/Diff/NoDifferentFilesTestFixture.cs
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using ICSharpCode.WixBinding;
using N... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.