max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
src/TriggersTools.SteinsGate.Divergence.Generator/BitmapExtensions.cs | trigger-death/TriggersTools.SteinsGate | 6 | 7060840 | <filename>src/TriggersTools.SteinsGate.Divergence.Generator/BitmapExtensions.cs
using System;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Threading;
namespace TriggersTools.Stei... |
TextFiles-Homework/07.Replace sub-string/Program.cs | adachenski/CSharpPart2-Homeworks | 0 | 7060841 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Write a program that replaces all occurrences of the
//sub-string start with the sub-string finish in a text file.
//Ensure it will work with large files (e.g. 100 MB).
na... |
LogInsights/Helpers/SpeedTest.cs | OneIdentity/IdentityManager.LogInsights | 0 | 7060842 | <reponame>OneIdentity/IdentityManager.LogInsights<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LogInsights;
namespace LogInsights.Helpers
{
public class SpeedTest
{
static string teststring1 = @"2019-0... |
SharpMedia/Math/Interpolation/PolynomialInterpolation.cs | zigaosolin/SharpMedia | 0 | 7060843 | // This file was generated by TemplateEngine from template source 'PolynomialInterpolation'
// using template 'PolynomialInterpolation. Do not modify this file directly, modify it from template source.
using System;
using System.Collections.Generic;
using System.Text;
namespace SharpMedia.Math.Interpolation
{
//... |
WindowsFormsApplication1/RECORDS.cs | diegoorona/consultorio | 0 | 7060844 | <reponame>diegoorona/consultorio
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Diagnostics;
using System.IO;
namespace WindowsFormsApplic... |
src/THNETII.SharePoint.AzureAcs.Protocol/AcsRealmMetadataDocument.cs | thnetii/sharepoint | 0 | 7060845 | <filename>src/THNETII.SharePoint.AzureAcs.Protocol/AcsRealmMetadataDocument.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Json;
using System.Security.Cryptography.X509Certificates;
usin... |
KSoft.Phoenix/DDS/DDS_FLAGS.cs | KornnerStudios/KSoft.Phoenix | 3 | 7060846 |
namespace KSoft.DDS
{
[System.Flags]
public enum DDS_FLAGS
{
/// <summary>
/// Assume pitch is DWORD aligned instead of BYTE aligned (used by some legacy DDS files)
/// </summary>
LegacyDWORD = 1<<0,
/// <summary>
/// Do not implicitly convert legacy formats that result in larger pixel siz... |
dotnetcore/Pages/Example2.cshtml.cs | Monetra/paymentframe_examples | 0 | 7060848 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Options;
using System.Net.Http;
using TicketApp.Data;
using TicketApp.Models;
... |
sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/TaskState.cs | sampa-msft/azure-sdk-for-net | 0 | 7060849 | <gh_stars>0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.AI.TextAnalytics;
namespace Azure.AI.TextAnalytics.Models
{
/// <summary> The TaskState. </summary>
internal partial class TaskState
... |
UniversalTypeConverter/UniversalTypeConverter/GenericStringConcatenator.cs | kendarorg/UniversalTypeConverter | 5 | 7060851 | // file : GenericStringConcatenator.cs
// project : UniversalTypeConverter
// author : <NAME>
// date : 30.06.2012
using System;
using System.Linq;
using System.Text;
namespace TB.ComponentModel {
/// <summary>
/// Defines a string representation builder for a value list.
/// </s... |
Source/FileFields.FiniteFieldsAlgebra/GMath/Implementation/GMathFactory.cs | pmateusz/FiniteFields | 0 | 7060852 | <reponame>pmateusz/FiniteFields<filename>Source/FileFields.FiniteFieldsAlgebra/GMath/Implementation/GMathFactory.cs
using System;
namespace FileFields.FiniteFieldsAlgebra.GMath.Implementation
{
public sealed class GMathFactory : IGMathFactory
{
#region Fields
private static WeakReference<int[]... |
Ranked/Utility/Slack.cs | coenvdwel/Ranked | 0 | 7060853 | <filename>Ranked/Utility/Slack.cs<gh_stars>0
using Newtonsoft.Json;
using System;
using System.Collections.Specialized;
using System.Net;
namespace Ranked.Utility
{
public class Slack
{
public static void SendMessage(string text, string channel, string icon, string username)
{
try
{
us... |
AcornSharp/Nodes/DoWhileStatementNode.cs | MatthewSmit/AcornSharp | 0 | 7060854 | using JetBrains.Annotations;
namespace AcornSharp.Nodes
{
public sealed class DoWhileStatementNode : StatementNode
{
/// <inheritdoc />
internal DoWhileStatementNode([NotNull] Parser parser, int start, Position startLocation, [NotNull] StatementNode body, [NotNull] ExpressionNode test)
... |
src/TeamCloud.Model/Common/IRepositoryReference.cs | Chongruiyuan893/TeamCloud | 64 | 7060855 | <filename>src/TeamCloud.Model/Common/IRepositoryReference.cs
/**
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*/
using TeamCloud.Model.Data;
namespace TeamCloud.Model.Common
{
public interface IRepositoryReference
{
RepositoryReference Repository { get; set; }
}
}
|
SuperBookmarks/Options/ConfirmationsPage.cs | Konamiman/SuperBookmarks | 29 | 7060856 | using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace Konamiman.SuperBookmarks.Options
{
[Guid("2A147C3B-3B79-4746-BF40-F97AA8569BC4")]
public class ConfirmationsPage : OptionsPageBase
{
ConfirmationOptionsControl control;
p... |
Colibri.Survey/Survey.InfrastructureLayer/IdentityServerServices/IdentityUserRequestService.cs | FlorinskiyDI/survey | 0 | 7060857 | <gh_stars>0
using RestSharp;
using RestSharp.Authenticators;
using Survey.Common.Context;
using Survey.DomainModelLayer.Models.IdentityServer;
using Survey.InfrastructureLayer.IdentityServerServices.Interfaces;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Survey.Infrastructu... |
MaterialChartPlugin/Models/DisplayedPeriod.cs | laserdark/MaterialChartPlugin | 0 | 7060858 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MaterialChartPlugin.Models
{
/// <summary>
/// グラフの表示するデータの期間を示す識別子を定義します。
/// </summary>
public enum DisplayedPeriod
{
/// <summary>
/// 1日分のデー... |
zyin.intentbot/Intent/IntentContext.cs | sidecus/zyin.intentBot | 3 | 7060859 | namespace Zyin.IntentBot.Intent
{
using System.IdentityModel.Tokens.Jwt;
/// <summary>
/// Base class for known intent context.
/// Intent context is used to collect more info, and pass other core info across dialogs e.g. auth token
/// </summary>
public abstract class IntentContext
{
... |
tests/OpenPDF.Tests/Content/Handling/DateContentHandlerTests.cs | svishnevsky/OpenPDF | 3 | 7060860 | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenPDF.Content;
using OpenPDF.Content.Handling;
namespace OpenPDF.Tests.Content.Handling
{
[TestClass]
public class DateContentHandlerTests
{
[DataTestMethod]
[DataRow("1")]
[DataRow("(some text)")]
[D... |
Libraries/Flow/Xms.Flow/Data/ProcessStageRepository.cs | feilingdeng/xms | 1 | 7060861 | using Xms.Core.Data;
using Xms.Data;
using Xms.Flow.Domain;
namespace Xms.Flow.Data
{
/// <summary>
/// 流程执行阶段仓储
/// </summary>
public class ProcessStageRepository : DefaultRepository<ProcessStage>, IProcessStageRepository
{
public ProcessStageRepository(IDbContext dbContext) : base(dbCont... |
src/Data/FiscalInfoApp.Data/Seeding/ProbesSeeder.cs | vmmateev/Fiscal-Info.ASP-App | 3 | 7060862 | namespace FiscalInfoApp.Data.Seeding
{
using System;
using System.Linq;
using System.Threading.Tasks;
using FiscalInfoApp.Data.Models;
public class ProbesSeeder : ISeeder
{
public async Task SeedAsync(ApplicationDbContext dbContext, IServiceProvider serviceProvider)
{
... |
src/4. Uncluttering Your Inbox/Views/Converters/NotBooleanToVisibilityConverter.cs | raudut/Infernet-asthme | 226 | 7060863 | <gh_stars>100-1000
// 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.
namespace UnclutteringYourInbox.Views.Converters
{
using System;
using System.Globalizati... |
Comment/Guandian/Services/GithubService.cs | niltor/21DCC.Web | 1 | 7060864 | <gh_stars>1-10
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Octokit;
namespace Guandian.Services
{
public class GithubService : BaseService
{
readonly GitHubClient _client;
... |
ColorSplasher/Command.cs | bimone/addins-colorsplasher | 14 | 7060865 | #region Namespaces
using Autodesk.Revit.Attributes;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI;
using System.Globalization;
using System.IO;
using System.Threading;
using System.Windows;
using ColorSplasher.Views;
#endregion
namespace ColorSplasher
{
[Transaction(TransactionMode.Manual)]
public class Co... |
source/DotCommerce.Persistence.SqlServer.Test/Infrastructure/DTO/Product.cs | DejanMilicic/DotCommerce | 1 | 7060866 |
namespace DotCommerce.Persistence.SqlServer.Test.Infrastructure.DTO
{
public class Product
{
public string Id { get; set; }
public string Name { get; set; }
public decimal Price { get; set; }
public int Quantity { get; set; }
public decimal Discount { get; set; }
public int Weight { get; set; }
public... |
Avalon/Items/Mystical Tomes/Misty Peach Blossoms.cs | blahblahbal/Terraria-Avalon | 1 | 7060867 | <filename>Avalon/Items/Mystical Tomes/Misty Peach Blossoms.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Terraria;
using TAPI;
using Avalon.API.Items.MysticalTomes;
namespace Avalon.Items.MysticalTomes
{
/// <summary>
/// Misty Peach B... |
src/SetsCache.Redis/RedisSetsCache.cs | TPham92/sets-cache | 0 | 7060868 | <reponame>TPham92/sets-cache<filename>src/SetsCache.Redis/RedisSetsCache.cs<gh_stars>0
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Distributed;
using SetsCache;
using System;
using SetsCache.Extensions;
namespace SetsCache.Redis
{
public class RedisSetsCache : ISetsCache... |
sources/engine/Stride.Graphics.Regression/RegressionTestAttribute.cs | Ethereal77/stride | 0 | 7060870 | <gh_stars>0
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org)
// Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net)
// Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// See the LICENSE.md file in the project root for full license inf... |
Calculator/StatsChange.cs | SoftFx/FDK2 | 0 | 7060871 | <filename>Calculator/StatsChange.cs
namespace TickTrader.FDK.Calculator
{
internal struct StatsChange
{
public StatsChange(decimal marginDelta, decimal profitDelta, int errorDelta, bool isErrorChanged)
{
MarginDelta = marginDelta;
ProfitDelta = profitDelta;
E... |
src/GAAPICommon.Core/Dtos/ExtensionMethods.cs | GuidanceAutomation/GAAPICommon | 0 | 7060872 | using System;
using System.Linq;
using System.Text;
using GAAPICommon.Architecture;
namespace GAAPICommon.Core.Dtos
{
public static class ExtensionMethods
{
public static byte[] ToBytes(this KeyedSpeedDemandDto keyedSpeedDemand)
{
if (keyedSpeedDemand == null)
throw... |
ModernTlSharp/TLSharp.Tl/TL/TLInputNotifyPeer.cs | immmdreza/ModernTLSharp | 10 | 7060873 | <gh_stars>1-10
using System.IO;
namespace ModernTlSharp.TLSharp.Tl.TL
{
[TLObject(-1195615476)]
public class TLInputNotifyPeer : TLAbsInputNotifyPeer
{
public override int Constructor => -1195615476;
public TLAbsInputPeer Peer { get; set; }
public void ComputeFlags()
{
... |
src/System.Linq.Parallel/src/System/Linq/Parallel/Enumerables/IParallelPartitionable.cs | n8ohu/corefx | 3 | 7060874 | <reponame>n8ohu/corefx
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// IParallelPartitionable.cs
//
// =-=-=-=-=-=-=-=-=... |
src/core/BrightstarDB.Server.Modules/Model/GraphListModel.cs | dgerding/BrightstarDB | 323 | 7060875 | using System;
using System.Collections.Generic;
using VDS.RDF;
using VDS.RDF.Query;
using VDS.RDF.Query.Algebra;
using VDS.RDF.Writing;
using StringWriter = System.IO.StringWriter;
namespace BrightstarDB.Server.Modules.Model
{
public class GraphListModel
{
public const string SparqlResultVariableName ... |
Famoser.KaeptnRage/Famoser.KaeptnRage.UWP/Implementations/UwpPlatformHook.cs | famoser/KaeptnRage | 0 | 7060876 | <reponame>famoser/KaeptnRage<filename>Famoser.KaeptnRage/Famoser.KaeptnRage.UWP/Implementations/UwpPlatformHook.cs<gh_stars>0
using Famoser.FrameworkEssentials.Services.Interfaces;
using Famoser.FrameworkEssentials.UniversalWindows.Platform;
using Famoser.KaeptnRage.UWP.Implementations;
using Famoser.KaeptnRage.View.S... |
src/Nethereum.Contracts/CQS/ContractQueryHandler.cs | OPEXGroup/Nethereum | 0 | 7060877 | using System.Collections.Generic;
using System.Threading.Tasks;
using Nethereum.Hex.HexConvertors.Extensions;
using Nethereum.JsonRpc.Client;
using Nethereum.RPC.Accounts;
using Nethereum.RPC.Eth.DTOs;
namespace Nethereum.Contracts.CQS
{
#if !DOTNET35
public class ContractQueryHandler<TContractMessage> : Contrac... |
Src/Entity.Dto/Event/EventDetailDto.cs | goodtocode/Entities | 1 | 7060878 | <filename>Src/Entity.Dto/Event/EventDetailDto.cs
using System;
using GoodToCode.Extensions;
using GoodToCode.Framework.Data;
namespace GoodToCode.Entity.Event
{
/// <summary>
/// Flat and thin event model used for view only pages
/// </summary>
/// <remarks></remarks>
public class EventDetailDto ... |
CommonUtilities.Shared/00.NET35/Parallel.NET35.cs | Microshaoft/Microshaoft.WorkFlows | 11 | 7060879 | <reponame>Microshaoft/Microshaoft.WorkFlows
#if NET35
namespace System.Threading.Tasks
{
using System;
using System.Collections.Generic;
using System.Threading;
using System.Linq;
using System.Text;
public static class Parallel
{
public static void For
(
... |
Discord.Net.Abstractions/Rest/IRestUserMessage.cs | calledude/MODiX | 0 | 7060880 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Discord.Rest
{
/// <inheritdoc cref="RestUserMessage" />
public interface IRestUserMessage : IRestMessage, IUserMessage, IDeletable
{
/// <inheritdoc cref="RestUserMessage.Reactions" />
... |
src/DotNetHelper.ObjectToSql/Attribute/CustomAttributes.cs | TheMofaDe/DotNetHelper.ObjectToSql | 0 | 7060881 | <gh_stars>0
using System;
using DotNetHelper.ObjectToSql.Enum;
#pragma warning disable IDE1006 // Naming Styless
// ReSharper disable InconsistentNaming
namespace DotNetHelper.ObjectToSql.Attribute
{
/// <inheritdoc />
/// <summary>
/// Class SqlColumnAttribute.
/// </summary>
/// <seealso cref="T:System.At... |
Program.xaml.cs | GreyMiller13/Encryption_Decription_document | 0 | 7060882 | <reponame>GreyMiller13/Encryption_Decription_document<filename>Program.xaml.cs
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;
usi... |
Source Code/Tool_Client_Control/SGP.HCBBOOK.GameMenu.UI/SGP.HCBBOOK.GameMenu.UI/FormPartial/CantainControlMenu.Designer.cs | bienhuynh/MENU-GAME-CONTROL | 0 | 7060883 | <reponame>bienhuynh/MENU-GAME-CONTROL<filename>Source Code/Tool_Client_Control/SGP.HCBBOOK.GameMenu.UI/SGP.HCBBOOK.GameMenu.UI/FormPartial/CantainControlMenu.Designer.cs
namespace SGP.HCBBOOK.GameMenu.UI.FormPartial
{
partial class CantainControlMenu
{
/// <summary>
/// Required designer varia... |
src/Microsoft.Data.Encryption/tests/CryptographyTests/Serializers/SqlSerializers/SqlSmalldatetimeSerializerShould.cs | Xtrimmer/SqlClient | 0 | 7060884 | using Microsoft.Data.Encryption.Cryptography.Serializers;
using System;
using Xunit.Sdk;
using System.Collections.Generic;
using System.Reflection;
using System.Data;
using Microsoft.Data.SqlClient;
using Xunit;
using static Microsoft.Data.CommonTestUtilities.DataTestUtility;
namespace Microsoft.Data.Encryption.Cryp... |
Preparation/Preparation.Domain/Abstract/IPreparationStore.cs | IManfis/Preparation | 0 | 7060885 | <reponame>IManfis/Preparation
using System.Collections.Generic;
using Preparation.Domain.Entities;
namespace Preparation.Domain.Abstract
{
public interface IPreparationStore
{
List<Medicament> GetAll();
Medicament GetById(int id);
List<Medicament> FilterMedicaments(string filter,stri... |
Source/Web/WarehouseSystem.Web/Areas/Private/ViewModels/PartialModels/PartnersViewModel.cs | NikitoG/WarehouseSystem | 1 | 7060886 | <filename>Source/Web/WarehouseSystem.Web/Areas/Private/ViewModels/PartialModels/PartnersViewModel.cs
namespace WarehouseSystem.Web.Areas.Private.ViewModels.PartialModels
{
using System.Collections.Generic;
using System.Linq;
using AutoMapper;
using WarehouseSystem.Data.Models;
using WarehouseSystem... |
src/IX.StandardExtensions/StandardExtensions/EventModel/AsyncEventInvokerExtensions.cs | adimosh/IX.StandardExtensions | 0 | 7060888 | // <copyright file="AsyncEventInvokerExtensions.cs" company="<NAME>">
// Copyright (c) <NAME> with all rights reserved. Part of the IX Framework.
// </copyright>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using IX.StandardExtensions.Contracts;
using JetBrains.Annot... |
Geckofx-Core/Generated/nsIBrowserDOMWindow.cs | nutellarlz/geckofx-33.0 | 0 | 7060889 | // --------------------------------------------------------------------------------------------
// Version: MPL 1.1/GPL 2.0/LGPL 2.1
//
// The contents of this file are subject to the Mozilla Public License Version
// 1.1 (the "License"); you may not use this file except in compliance with
// the License. You may... |
UnrealEngine-4.11.2-release/Engine/Source/Programs/CrashReporter/CrashReportReceiver/LandingZone.cs | armroyce/Unreal | 1 | 7060890 | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
namespace Tools.CrashReporter.CrashReportReceiver
{
using ReportsDict = ConcurrentDictio... |
Ay/ay/SDK/CONTROLLIB/Render/Load/FiveColumnLoading.cs | ay2015/AYUI8 | 91 | 7060891 | using System.Windows;
using System.Windows.Controls;
namespace ay.Controls
{
public class FiveColumnLoading : UserControl
{
static FiveColumnLoading()
{
FrameworkElement.DefaultStyleKeyProperty.OverrideMetadata(typeof(FiveColumnLoading), new FrameworkPropertyMetadata(typeof(FiveColumnLoading)));
}
}
}
|
Backend/CoWorkers.Api/Models/Livefeed/MessageDto.cs | micbelgique/DevCamp2016-Les4Elefantastiq | 0 | 7060892 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Comeeting.Domain;
using Newtonsoft.Json;
namespace Comeeting.Api.Models.Livefeed
{
public class MessageDto
{
[JsonProperty("title")]
public string Title { get; set; }
[JsonProperty("text")]
... |
Assets/PaintIn3D/Shared/Scripts/P3dCoordCopier.cs | RunoLight/ProjectColoring | 0 | 7060893 | <filename>Assets/PaintIn3D/Shared/Scripts/P3dCoordCopier.cs
using UnityEngine;
using System.Collections.Generic;
#if UNITY_EDITOR
using UnityEditor;
namespace PaintIn3D
{
[CustomEditor(typeof(P3dCoordCopier))]
public class P3dCoordCopier_Editor : P3dEditor<P3dCoordCopier>
{
protected override void OnInspector()... |
src/Speedygeek.ZendeskAPI/Models/Support/Enums/JobStatuses.cs | Speedygeek/ZendeskAPI | 2 | 7060894 | <filename>src/Speedygeek.ZendeskAPI/Models/Support/Enums/JobStatuses.cs
// Copyright (c) <NAME>. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace Speedygeek.ZendeskAPI.Models.Support
{
/// <summary>
/// Job Statuses
/// </summary>
... |
Assets/Scripts/Game/slyz/ChangeView.cs | da1fanshu/1234ewsd | 2 | 7060895 | using UnityEngine;
using YxFramwork.Framework;
namespace Assets.Scripts.Game.slyz
{
public class ChangeView : MonoBehaviour
{
public YxView View1;
public YxView View2;
/// <summary>
///
/// </summary>
protected void Awake()
{
SetChangeView(f... |
OfficeFilesToPdfConverter.cs | nakov/OfficeFilesToPdfConverter | 5 | 7060896 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.Office.Interop.PowerPoint;
using Microsoft.Office.Interop.Word;
using Application = Microsoft.Office.Interop.Word.Application;
using _Application = Microsoft.Office.Interop.Word._Application;
public c... |
ZSZ.AdminWeb/Models/HouseEditModel.cs | lyfing22/StoreMini | 1 | 7060897 | <filename>ZSZ.AdminWeb/Models/HouseEditModel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ZSZ.AdminWeb.Models
{
//有点不好!
public class HouseEditModel: HouseAddModel
{
public long Id { get; set; }
}
} |
src/Cake.DocFx/Init/DocFxInitRunner.cs | mhoellner/Cake.DocFx | 13 | 7060898 | using Cake.Core;
using Cake.Core.IO;
using Cake.Core.Tooling;
using Cake.DocFx.Helper;
namespace Cake.DocFx.Init
{
/// <summary>
/// Command line runner for the <c>docfx init</c> command.
/// </summary>
internal sealed class DocFxInitRunner : DocFxTool<DocFxInitSettings>
{
/// <summary>
... |
Server/Mason.IssueTracker.Server/Configuration.cs | JornWildt/Mason | 55 | 7060899 | using log4net;
using Mason.IssueTracker.Server.Codecs;
using Mason.IssueTracker.Server.Domain;
using Mason.IssueTracker.Server.Domain.Attachments;
using Mason.IssueTracker.Server.Domain.Issues;
using Mason.IssueTracker.Server.Domain.NHibernate;
using Mason.IssueTracker.Server.Domain.Projects;
using MasonBuilder... |
AlipaySDKNet/Response/DatadigitalFincloudGeneralsaasFaceCertifyCertifyResponse.cs | alipay/alipay-sdk-net | 0 | 7060900 | using System;
using System.Xml.Serialization;
namespace Aop.Api.Response
{
/// <summary>
/// DatadigitalFincloudGeneralsaasFaceCertifyCertifyResponse.
/// </summary>
public class DatadigitalFincloudGeneralsaasFaceCertifyCertifyResponse : AopResponse
{
/// <summary>
/// 核验不一致原因
... |
OOPSoftUniBasic/DefiningClasses/RawData/Car.cs | LuGeorgiev/CSharpSelfLearning | 3 | 7060901 | <reponame>LuGeorgiev/CSharpSelfLearning
using System;
using System.Collections.Generic;
using System.Text;
namespace RawData
{
class Car
{
public string Model { get; private set; }
public CargoInfo Cargo { get; private set; }
public EngineInfo Engine { get; private set; }
pu... |
18/EmailSender/EmailSender.ActorSystemServices/Actors/EmailSenderActor.cs | TorontoTestDrivenDevelopment/MockBootCamp-IntroductoryTDDWithActorSystem | 1 | 7060902 | <filename>18/EmailSender/EmailSender.ActorSystemServices/Actors/EmailSenderActor.cs
using Akka.Actor;
using EmailSender.ActorSystemServices.Messages;
using EmailSender.EmailServices;
namespace EmailSender.ActorSystemServices.Actors
{
public class EmailSenderActor : ReceiveActor
{
public EmailSenderAct... |
Project0.Library/DataAccess/ProductOrder.cs | 2002-feb24-net/abraham-project0 | 0 | 7060903 | using System;
using System.Collections.Generic;
namespace Project0.App
{
public partial class ProductOrder
{
public ProductOrder()
{
OrderList = new HashSet<OrderList>();
}
public int OrderId { get; set; }
public int? OrderCstmId { get; set; }
publi... |
VersionrCore/LocalState/RemoteLock.cs | eatplayhate/versionr | 35 | 7060904 | <filename>VersionrCore/LocalState/RemoteLock.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Versionr.LocalState
{
public class RemoteLock
{
[SQLite.PrimaryKey]
public Guid ID { get; set... |
Common/Tasks/SequentialTaskScheduler.cs | Iliya-usov/DotNetUtility | 0 | 7060905 | <filename>Common/Tasks/SequentialTaskScheduler.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Common.Channels;
using Common.Lifetimes;
namespace Common.Tasks
{
public class SequentialTaskScheduler : TaskScheduler
{
private readonly Life... |
src/Foundatio/Utility/DataDictionary.cs | dpvreony-forks/Foundatio | 0 | 7060906 | using System;
using System.Collections.Generic;
using System.Linq;
using Foundatio.Extensions;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Foundatio.Utility {
public class DataDictionary : Dictionary<string, object> {
public DataDictionary() : base(StringComparer.OrdinalIgnoreCase) {}
... |
src/indice.Edi/Serialization/EdiGroupAttribute.cs | NewkyNet/EDI.Net | 348 | 7060907 | <filename>src/indice.Edi/Serialization/EdiGroupAttribute.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace indice.Edi.Serialization
{
/// <summary>
/// <see cref="EdiGroupAttribute"/> marks a propery/class to be deserialized for an... |
FilmViewer/Models/User/VotedDirectorsViewModel.cs | dkleczko/FilmViewer | 0 | 7060908 | using FilmViewer.Business.Dto.Extended.Director;
using PagedList;
namespace FilmViewer.Models.User
{
public class VotedDirectorsViewModel
{
public IPagedList<VotedDirectorByUserDto> VotedDirectors { get; set; }
}
} |
XmlSchemaClassGenerator/Particle.cs | BrunoZell/XmlSchemaClassGenerator | 2 | 7060909 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Schema;
namespace XmlSchemaClassGenerator
{
public class Particle
{
public Particle(XmlSchemaParticle particle, XmlSchemaObject parent)
{
... |
src/Utilities/Extensions/SecureStringExtensions.cs | saluspass/salus-client | 1 | 7060910 | using System;
using System.Runtime.InteropServices;
using System.Security;
namespace Salus
{
internal static class SecureStringExtensions
{
public static string ConvertToUnsecureString(this SecureString secureString)
{
if (secureString == null)
throw new ArgumentNul... |
AdventOfCode2021/Day17/Day17.cs | rprouse/AdventOfCode2017 | 1 | 7060911 | using System;
using System.Collections.Generic;
using System.Drawing;
namespace AdventOfCode2021;
public static class Day17
{
public static int PartOne(TargetArea targetArea)
{
// Calculate the range of X that might work, I'm
// looking for an X velocity where X will be falling
// stra... |
ManagedUPnP/Services.cs | lon3wolf/SyncRadioRocki | 2 | 7060912 | <filename>ManagedUPnP/Services.cs<gh_stars>1-10
//////////////////////////////////////////////////////////////////////////////////
// Managed UPnP
// Written by <NAME> (http://home.exetel.com.au/amurgshere/)
// A CodePlex project (http://managedupnp.codeplex.com/)
// Released under the Microsoft Public License (Ms-P... |
api/Snippet.IT/Controllers/AccountControllerTests.cs | aishang2015/SnippetDoc | 2 | 7060913 | using Microsoft.AspNetCore.Mvc.Testing;
using Snippet.Constants;
using Snippet.Models;
using Snippet.Models.Account;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using Xunit;
namespace Snippet.IT.Controllers
{
public class AccountControllerTests... |
SpaceShooter/Assets/Scripts/HealthSliderController.cs | konradsikorski/Tutorial-Unity-RollABall | 0 | 7060914 | using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine;
public class HealthSliderController : MonoBehaviour {
public Slider HealthSlider;
private Slider _mySlider;
private RectTransform _mySliderRect;
private RectTransform _canvasRect;
// Use this for ... |
Unity/Assets/Clod/Helper/HotfixHelper.cs | InMyBload/et6.0-ilruntime | 3 | 7060916 | <filename>Unity/Assets/Clod/Helper/HotfixHelper.cs
using System;
using System.Collections.Generic;
namespace ETModel
{
public static class HotfixHelper
{
public static void StartHotfix()
{
if (Define.IsILRuntime)
{
ILRuntimeHelper.Start();
... |
src/AnswerOnline.Domain/Entities/Questions/QuestionChoiceOption.cs | Tangtang1997/AnswerOnline | 3 | 7060917 | using System;
using AnswerOnline.Domain.Abstractions;
using AnswerOnline.Domain.Shared.Questions;
namespace AnswerOnline.Domain.Entities.Questions
{
/// <summary>
/// 选项
/// </summary>
public class QuestionChoiceOption : BaseEntity
{
public QuestionChoiceOption(string option, EnumQuestionO... |
Assets/BadugiAssets/RuleSeedCardTable.cs | KScl/KTaNE-Badugi | 0 | 7060918 | <filename>Assets/BadugiAssets/RuleSeedCardTable.cs
using System;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using KModkit;
class RuleSeedCardTable {
private static readonly int[][] __adjacentChecks = new int[][] {
new int[]... |
SubcutaneousTestsPresentation/SubcutaneousTestsPresentation/Features/UserRegistration/Index.cshtml | robdmoore/SubcutaneousTestsPresentation | 3 | 7060919 | <reponame>robdmoore/SubcutaneousTestsPresentation<gh_stars>1-10
@using ChameleonForms.Templates.TwitterBootstrap3
@using SubcutaneousTestsPresentation.Features.UserRegistration
@using Validation = SubcutaneousTestsPresentation.Features.Validation
@model UserRegistrationViewModel
@{
PageTitle = "Register a u... |
PersistentClipboard/ClippedItem.cs | jeffesp/Persistent-Clipboard | 1 | 7060920 | <filename>PersistentClipboard/ClippedItem.cs
namespace PersistentClipboard
{
public class ClippedItem
{
public long Timestamp { get; set; }
public ContentType ContentType { get; set; }
public string Content { get; set; }
public override string ToString()
{
... |
Tradgardsgolf.Core/Infrastructure/Player/IPlayerRepository.cs | JimmyAtSchotte/Tradgardsgolf | 0 | 7060921 | <gh_stars>0
using System.Collections.Generic;
using Ardalis.Specification;
namespace Tradgardsgolf.Core.Infrastructure.Player
{
public interface IPlayerRepository : IRepositoryBase<Entities.Player>
{
bool CheackIfMailExists(string email);
IPlayerDtoResult GetByEmail(string email);
IEnu... |
MidGameBatteries/Patchers/Charger_Patchers.cs | Denkkar/PrimeSonicSubnauticaMods | 0 | 7060922 | namespace MidGameBatteries.Patchers
{
using System.Collections.Generic;
using Craftables;
using Harmony;
[HarmonyPatch(typeof(BatteryCharger))] // Patches the BatteryCharger class
[HarmonyPatch(nameof(BatteryCharger.Initialize))]
internal class BatteryCharger_Patcher
{
[HarmonyPref... |
examples/Parsing/Program.cs | joshball/eBookee | 0 | 7060923 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.Eventing.Reader;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using eBookee;
using eBookee.Core;
namespace Parsing
{
class Program
{
static void Main(string[] args)
{
... |
Dependinator/Common/MessageDialogs/Message.cs | michael-reichenauer/Dependinator | 6 | 7060924 | <reponame>michael-reichenauer/Dependinator
using System.Media;
using System.Windows;
namespace Dependinator.Common.MessageDialogs
{
internal static class Message
{
public static void ShowInfo(string message, string title = null) =>
ShowDialog(null, message, title, MessageBoxButton.OK, Mes... |
VelocyPack/Migration/Util/ArrayUtil.cs | composite/ArangoDB.Net | 2 | 7060925 | <reponame>composite/ArangoDB.Net
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VelocyPack.Migration.Util
{
public static class ArrayUtil
{
public static int ByteArrayHashCode(this byte[] bytes)
{
unchec... |
src/BasicFile/ImplementationBuffer.cs | milovidov983/find-uniq-string | 0 | 7060926 | using BaseAbstractions;
using System;
using System.IO;
namespace BasicFile {
public sealed class ImplementationBuffer : IFile, IDisposable {
readonly FileStream reader;
readonly long len;
readonly byte[] tmp1 = new byte[1];
readonly byte[] tmp2 = new byte[1];
public ImplementationBuffer(string path) {
... |
Application/Startup.cs | AlexanderDemko/BibleNote | 11 | 7060927 | using System;
using System.IO;
using System.Reflection;
using AutoMapper;
using BibleNote.Common.DiContainer;
using BibleNote.Domain.Contracts;
using BibleNote.Infrastructure.Monitoring;
using BibleNote.Infrastructure.RequestValidation;
using BibleNote.Middleware;
using BibleNote.Persistence;
using BibleNote.Providers.... |
cards/ULDUM/ULDA/Sim_ULDA_801d.cs | chi-rei-den/Silverfish | 1 | 7060928 | /* _BEGIN_TEMPLATE_
{
"id": "ULDA_801d",
"name": [
"情节:鱼人之灾祸占位",
"Twist - Plague of Murlocs Dummy"
],
"text": [
"ULDA801e占位效果",
"Holds and effect for ULDA 801e"
],
"cardClass": "NEUTRAL",
"type": "SPELL",
"cost": 0,
"rarity": null,
"set": "ULDUM",
"collectible": null,
"dbfId": 58... |
tests/Helios.Tests/Reactor/PortZeroTests.cs | i-yangchun/Helios | 483 | 7060929 | <gh_stars>100-1000
// Copyright (c) Petabridge <https://petabridge.com/>. All rights reserved.
// Licensed under the Apache 2.0 license. See LICENSE file in the project root for full license information.
// See ThirdPartyNotices.txt for references to third party code used inside Helios.
using System.Net;
using Helios... |
server.dbaccess/Authentication.cs | MeteSayan/KopAPP | 1 | 7060930 | <reponame>MeteSayan/KopAPP
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MongoDB.Bson;
using MongoDB.Driver;
using MongoDB.Driver.Linq;
namespace server.dbaccess
{
public class Authentication
{
static public bool Login(string ... |
Arrays - More Exercise/01. Encrypt, Sort and Print Array/Program.cs | theoners/Technology-Fundamentals---september-2018 | 1 | 7060931 | using System;
using System.Collections.Generic;
namespace _01._Encrypt__Sort_and_Print_Array
{
class Program
{
static void Main(string[] args)
{
int lineNumber = int.Parse(Console.ReadLine());
SortedDictionary<int, string> nameCode = new SortedDictionary<int, string>();... |
Presentation/BrnShop.Web/mobile/themes/default/views/catalog/productdetails.cshtml | leafcxy/BrnShop | 2 | 7060932 | @model BrnShop.Web.Mobile.Models.ProductDetailsModel
@{
Layout = null;
}
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>@Model.ProductInfo.Name-@{@WorkContext.ShopConfig.SiteTitle}触屏版</title>
@Html.Raw(WorkContext.ShopConfig.SEOKeyword)
@Html.Raw(WorkContext.ShopConfig.SEODescription)
... |
Cyclops.Xmpp/Protocol/IqQueries/ILastIq.cs | ForNeVeR/CyclopsChat | 14 | 7060933 | <reponame>ForNeVeR/CyclopsChat<filename>Cyclops.Xmpp/Protocol/IqQueries/ILastIq.cs
namespace Cyclops.Xmpp.Protocol.IqQueries;
public interface ILastIq : ITypedIq<ILastIq>
{
/// <summary>Seconds since the last activity.</summary>
int? Seconds { set; }
}
|
Domain/CrossCutting/TransactionHandler.cs | P-cpu/Website.MicroBus.Sample | 0 | 7060934 | using System.Threading.Tasks;
using Domain.Datastore;
using Enexure.MicroBus;
namespace Domain.CrossCutting
{
public class TransactionHandler : IDelegatingHandler
{
private readonly Context context;
public TransactionHandler(Context context)
{
this.context = context;
}
public async Task<object> Handl... |
Source/KangaModeling.Compiler/SequenceDiagrams/Parsing/_Statements/TitleStatement.cs | fgreinacher/kanga-modeling | 1 | 7060935 | <gh_stars>1-10
namespace KangaModeling.Compiler.SequenceDiagrams
{
internal class TitleStatement : Statement
{
public TitleStatement(Token keyword, Token titleText)
: base(keyword, titleText)
{
}
public Token Title
{
get { return Argum... |
Entia.Unity/References/WorldReference.cs | outerminds/Entia.Unity | 9 | 7060936 | <reponame>outerminds/Entia.Unity
using System;
using System.Linq;
using Entia.Core;
using Entia.Modules;
using Entia.Nodes;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace Entia.Unity
{
public interface IWorldReference : IReference
{
IWorldModifier[] Modifiers { get; }
World Cr... |
Asponna/Asponna.Domain/Repositories/Parameters/CardParameter.cs | BarretoFilipe/Asponna | 0 | 7060937 | <reponame>BarretoFilipe/Asponna
namespace Asponna.Domain.Repositories.Parameters
{
public class CardParameter
{
public int Take { get; set; } = 20;
public int Skip { get; set; } = 0;
public bool? Completed { get; set; }
public int? TaskBoardId { get; set; }
}
} |
MetaBuilder-cli/MetaBuilder_cli/Program.cs | E2r7hN07Fl47/LimAppManager | 0 | 7060938 | <reponame>E2r7hN07Fl47/LimAppManager
using System;
using System.IO;
using System.Linq;
using MetaBuilderLib;
namespace MetaBuilder_cli
{
class Program
{
static void Main(string[] args)
{
Platforms Systems = new Platforms();
string[] PackageList;
string DirPa... |
Plugins/UnrealDotNet/Source/UnrealEngineSharp/Generate/Class/UAISenseConfig.cs | mrkriv/UnrealDotNet | 36 | 7060939 | // This file was created automatically, do not modify the contents of this file.
// ReSharper disable InvalidXmlDocComment
// ReSharper disable InconsistentNaming
// ReSharper disable CheckNamespace
// ReSharper disable MemberCanBePrivate.Global
using System;
using System.Runtime.InteropServices;
// Source... |
KitchenPC/Core/Recipes/RecipeBrief.cs | Derneuca/KitchenPCTeamwork | 0 | 7060940 | namespace KitchenPC.Recipes
{
using System;
public class RecipeBrief
{
private Uri recipeimg;
public RecipeBrief()
{
this.AvgRating = 0;
}
public RecipeBrief(Recipe recipe)
{
this.Id = recipe.Id;
this.Own... |
SNPPlib/SNPPlib/Extensions/TaskExtensions.cs | PCFDev/SNPPlib | 1 | 7060941 | using System;
using System.Threading.Tasks;
namespace SNPPlib.Extensions
{
internal static class TaskExtensions
{
//Fire-and-forget task, essentially the same as what is in Microsoft.VisualStudio.Threading do we want to include that instead?
[System.Diagnostics.CodeAnalysis.SuppressMessage("Mi... |
Web/Lekarna.Web/Controllers/OrdersController.cs | HristoShabanakov/Lekarna | 0 | 7060942 | <filename>Web/Lekarna.Web/Controllers/OrdersController.cs
namespace Lekarna.Web.Controllers
{
using System.Threading.Tasks;
using Lekarna.Services.Data;
using Lekarna.Web.ViewModels.Orders;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
[Authorize]
public class ... |
src/BlazorBoilerplate.Server/Pages/index_ssb.cshtml | okusnadi/BlazorE-commerse | 1 | 7060943 | <reponame>okusnadi/BlazorE-commerse
@page "/"
@namespace BlazorBoilerplate.Server.Pages
@using BlazorBoilerplate.CommonUI
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" ... |
Rideshare.Web/Views/Travels/Details.cshtml | ivanrk/Rideshare | 0 | 7060944 | @model TravelDetailsModel
@{
ViewData["Title"] = "Details";
Layout = "~/Views/Shared/_Layout.cshtml";
var travel = Model.Travel;
var car = Model.Car;
var driver = Model.Driver;
var passengers = Model.Passengers;
var applicants = Model.Applicants;
var photoSrc = (car.Photo != null) ? ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.