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 |
|---|---|---|---|---|
DawnxLite/Utilities/ObjectUtility.cs | zmjack/Dawnx | 4 | 7042873 | <reponame>zmjack/Dawnx
using NStandard;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Dawnx.Utilities
{
public static class ObjectUtility
{
public static Dictionary<string, object> CovertToDictionary(object obj)
{
... |
src/Perpetuum/Zones/WeatherService.cs | pkucherov/PerpetuumServer | 46 | 7042874 | <gh_stars>10-100
using System;
using Perpetuum.Reactive;
using Perpetuum.Threading.Process;
namespace Perpetuum.Zones
{
public class WeatherService : Process, IWeatherService
{
private static readonly byte[] _weatherLookUp = new byte[320];
private readonly TimeRange _updateInterval;
p... |
src/FluentNHibernate.Testing/Testing/XmlWriterTestHelper.cs | jbogard/fluent-nhibernate | 2 | 7042875 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Xml;
using FluentNHibernate.MappingModel.Output;
using FluentNHibernate.Testing.MappingModel;
using FluentNHibernate.Utils;
using NUnit.Framework;
namespace Fluen... |
Semantics/Reachability/Argument.cs | adamant/adamant.tools.compiler.bootstrap | 23 | 7042876 | using Adamant.Tools.Compiler.Bootstrap.AST;
using Adamant.Tools.Compiler.Bootstrap.Semantics.Reachability.Graph;
using Adamant.Tools.Compiler.Bootstrap.Types;
namespace Adamant.Tools.Compiler.Bootstrap.Semantics.Reachability
{
internal class Argument
{
public TempValue? Value { get; }
... |
src/libs/Eventing.Core-v1.0.0/Log/LogManager.cs | Narvalex/EstanciaGanadera | 0 | 7042877 | using System;
namespace Eventing.Log
{
public static class LogManager
{
private static Func<string, ILogLite> logFactory = n => new ConsoleLogger(n);
public static ILogLite GlobalLogger => LogManager.GetLoggerFor("Global");
static LogManager()
{
AppDomain.CurrentDo... |
Forge.Forms/src/Forge.Forms/Validation/NullValidator.cs | litliang-cn/Forge.Forms | 0 | 7042878 | <filename>Forge.Forms/src/Forge.Forms/Validation/NullValidator.cs<gh_stars>0
using System.Globalization;
using System.Windows.Data;
using Forge.Forms.DynamicExpressions;
namespace Forge.Forms.Validation
{
public class NullValidator : FieldValidator
{
public NullValidator(ValidationPipe pipe, IErrorStr... |
src/Ask.Sdk.Core/Util/ViewportUtils.cs | captechconsulting/alexa-skills-kit-for-dot-net | 3 | 7042879 | <gh_stars>1-10
using Alexa.NET.APL;
using Alexa.NET.Request;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Ask.Sdk.Core.Util
{
public static class ViewportUtils
{
public static List<ViewportSizeGroup> ViewportSizeGroupOrder = new List<ViewportSizeGroup>
... |
src/library/Server/UpstreamServerStartup.cs | Bhaskers-Blu-Org2/update-server-server-sync | 25 | 7042880 | <reponame>Bhaskers-Blu-Org2/update-server-server-sync<filename>src/library/Server/UpstreamServerStartup.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.UpdateServices.Storage;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Depend... |
tests/ThisNetWorks.OrchardCore.OpenApi.Tests/GeneratedModelsTests/BagItemTests.cs | kast-cloud/ThisNetWorks.OrchardCore.OpenApi | 12 | 7042881 | <reponame>kast-cloud/ThisNetWorks.OrchardCore.OpenApi
using OrchardCore.ContentManagement;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ThisNetWorks.OrchardCore.OpenApi.Extensions;
using ThisNetWorks.OrchardCore.OpenApi.Models;
using ThisNetWorks.OrchardCore.OpenApi.SampleMo... |
Myriad/SecretGameMode.cs | wainwrightmark/Myriad | 0 | 7042882 | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Myriad.States;
namespace Myriad;
public record SecretGameMode : IGameMode
{
private SecretGameMode() { }
public static SecretGameMode Instance { get; } = new();
/// <inheritdoc />
public stri... |
OpenXmlPowerTools/ReferenceAdder.cs | jtasek/Open-Xml-PowerTools | 431 | 7042883 | /***************************************************************************
Copyright (c) Microsoft Corporation 2012-2015.
This code is licensed using the Microsoft Public License (Ms-PL). The text of the license can be found here:
http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx... |
Tasks/DatabaseTask.cs | renber/mantis-db-cleaner | 0 | 7042884 | <filename>Tasks/DatabaseTask.cs<gh_stars>0
using MantisDBCleaner.Connection;
using MantisDBCleaner.Types;
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Text;
namespace MantisDBCleaner.Tasks
{
abstract class DatabaseTask : ITask
{
p... |
src/Data/TenantDbContext.cs | mannaan/Tenants | 1 | 7042885 | using Microsoft.EntityFrameworkCore;
namespace Shigar.Core.Tenants.Data
{
public class TenantDbContext : DbContext
{
public TenantDbContext(DbContextOptions<TenantDbContext> options)
: base(options)
{
}
public DbSet<Tenant> Tenants { get; set; }
... |
src/Brokerage.Common/Domain/Tags/TextDestinationTagGenerator.cs | KonstantinRyazantsev/Sirius.Brokerage | 0 | 7042886 | using System;
using System.Linq;
using System.Text;
using Brokerage.Common.Configuration;
using Brokerage.Common.ReadModels.Blockchains;
namespace Brokerage.Common.Domain.Tags
{
public class TextDestinationTagGenerator : IDestinationTagGenerator
{
private static readonly char[] Alphabet = Enumerable
... |
HardRock.ExceptionHandling/Module/ExceptionHandlingInterceptor.cs | onuar/HardRock | 0 | 7042888 | using System;
using HardRock.Core.Initializer;
using HardRock.Core.Intercept;
using HardRock.ExceptionHandling.Interfaces;
namespace HardRock.ExceptionHandling.Module
{
public class ExceptionHandlingInterceptor : BaseInterceptor
{
public override object Intercept(IMethodInvocation methodInvocation)
... |
WebsiteLaitBrasseur/DAL/SqlDataAccess.cs | JaninaMattes/cupcake_web_store | 0 | 7042889 | <reponame>JaninaMattes/cupcake_web_store<filename>WebsiteLaitBrasseur/DAL/SqlDataAccess.cs
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
namespace WebsiteLaitBrasseur.DAL
{
//source: https://gist.git... |
generated/api/Models/CreatePlanEntityRule.cs | Commvault/CVPowershellSDKV2 | 0 | 7042890 | // Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6365, generator: {generator})
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Commvault.Powershell.Models
{
using static Commvault.Powershell.Runtime.Extensions;
/// <summary>
/// This ... |
WebApplication1/Persistence/Repositories/UnitOfWork.cs | ngiakhanh/My.NETCoreRestApiMongoDB | 0 | 7042891 | using MongoDB.Driver;
using System.Threading.Tasks;
using WebApplication1.Domain.Repositories;
namespace WebApplication1.Persistence.Repositories
{
public class UnitOfWork : IUnitOfWork
{
//protected readonly IClientSessionHandle _session;
public UnitOfWork()
{
}
pu... |
NinjaTools/NinjaTools/GuardToken.cs | ninjasync/NinjaTasks | 0 | 7042892 | <filename>NinjaTools/NinjaTools/GuardToken.cs
using System;
namespace NinjaTools
{
public class GuardToken : IDisposable
{
private Guard _guard;
public GuardToken(Guard guard)
{
this._guard = guard;
}
/// <summary>
/// returns true if ... |
samples/csharp/getting-started/BinaryClassification_CreditCardFraudDetection/CCFraudDetection.Predictor/Program.cs | vishwamyth/machinelearning-samples | 3,721 | 7042893 | <filename>samples/csharp/getting-started/BinaryClassification_CreditCardFraudDetection/CCFraudDetection.Predictor/Program.cs
using CCFraudDetection.Common;
using System;
using System.IO;
namespace CCFraudDetection.Predictor
{
class Program
{
static void Main(string[] args)
{
string... |
demos/Synuit.Blockchain.Api.Demo.OLD/frmWhatToMine.cs | Synuit/Synuit.Blockchain.Api | 0 | 7042894 | <reponame>Synuit/Synuit.Blockchain.Api
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Synuit.Coin.Mar... |
sdk/dotnet/GetVolumes.cs | pulumi/pulumi-nomad | 3 | 7042895 | <gh_stars>1-10
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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.Serial... |
src/AddIns/Misc/Reports/ICSharpCode.Reports.Core/Project/Printing/Graphics/Border.cs | dongdapeng110/SharpDevelopTest | 11 | 7042896 | <reponame>dongdapeng110/SharpDevelopTest
// 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 System;
using System.Drawing;
using ICSharpCode.Reports.Core.Globals;
/// <sum... |
Structural/BridgePattern/StudentRepository.cs | Divya1384/designpatterns | 0 | 7042897 | namespace BridgePattern
{
public class StudentRepository : IRepository
{
public IStorageRepository StorageRepository { get; set; }
public StudentRepository(IStorageRepository storageRepository)
{
StorageRepository = storageRepository;
}
public void Save(Stu... |
RetinaOverflow/src/model/Mesh.cs | juliusf/retina-overflow | 0 | 7042898 | using System;
using RetinaOverflow.Transform;
using System.Drawing;
using OpenTK.Graphics;
using OpenTK.Graphics.OpenGL;
using OpenTK;
using RetinaOverflow.Drawable;
using RetinaOverflow.src.drawing;
namespace RetinaOverflow
{
public class Mesh : ITransformable, IDrawable
{
private Transf... |
template/microservice/src/Infrastructure/Atomiv.Template.Infrastructure.Domain.Persistence.MongoDb/Records/ProductRecord.cs | optivem/optivem-commons-cs | 6 | 7042899 | <filename>template/microservice/src/Infrastructure/Atomiv.Template.Infrastructure.Domain.Persistence.MongoDb/Records/ProductRecord.cs
using Atomiv.Infrastructure.MongoDB;
using System;
namespace Atomiv.Template.Infrastructure.Domain.Persistence.MongoDB.Records
{
public class ProductRecord : Record<Guid>
{
... |
RegistrationData/RegistrationData.DataClient/PersonTypeMapper.cs | polseane9067/RegistrationData | 0 | 7042900 | using RegistrationData.DataAccess;
using RegistrationData.DataClient.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace RegistrationData.DataClient
{
public class PersonTypeMapper
{
public static PersonTypeDAO MapToPersonTypeDAO(PersonType personType... |
Assets/Monswarm/Editor/MonswarmFlashImporter/JSONAnimation.cs | Monswarm/FlashImporter | 6 | 7042901 | <reponame>Monswarm/FlashImporter<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Monswarm.Editor.MonswarmFlashImporter
{
public class JSONAnimation
{
[System.Serializable]
public class LayersInformation
{
public LayersI... |
C#.net/MTS.ICLViewer/Summary.Designer.cs | sbsen/ICL-X9.37 | 0 | 7042902 | <gh_stars>0
namespace MTS.ICLViewer
{
partial class Summary
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </s... |
Core/CSharp/Utils/Design/Desposable/StableCompositeDisposable.cs | UniPM/UniPM | 0 | 7042903 | <reponame>UniPM/UniPM
/****************************************************************************
* Copyright (c) 2017 liangxie
*
* http://liangxiegame.com
* https://github.com/liangxiegame/QFramework
* https://github.com/liangxiegame/QSingleton
* https://github.com/liangxiegame/QChain
*
* Permission is her... |
Equipment/AffixBuffing.cs | TheMysticSword/EliteVariety | 0 | 7042904 | <reponame>TheMysticSword/EliteVariety<gh_stars>0
using RoR2;
using System.Collections.Generic;
using UnityEngine;
using MysticsRisky2Utils;
using RoR2.Audio;
namespace EliteVariety.Equipment
{
public class AffixBuffing : BaseEliteAffix
{
public static NetworkSoundEventDef useSound;
public over... |
Catalogue.XmlSerializer.Tests/Reading/NullableContentReaderTest.cs | skbkontur/Catalogue.XmlSerializer | 0 | 7042905 | using System.Collections.Specialized;
using FluentAssertions;
using NUnit.Framework;
using SkbKontur.Catalogue.XmlSerializer;
using SkbKontur.Catalogue.XmlSerializer.Reading;
using SkbKontur.Catalogue.XmlSerializer.Reading.ContentReaders;
namespace Catalogue.XmlSerializer.Tests.Reading
{
[TestFixture]
publ... |
sdk/dotnet/WafV2/Outputs/WebAclLoggingConfigurationLoggingFilter.cs | alexbowers/pulumi-aws | 260 | 7042906 | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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;
names... |
DotMercy/DotMercy/custom/Report/XtraReport3.Designer.cs | dotindo/9deddde2 | 0 | 7042907 | namespace DotMercy.custom.Report
{
partial class XtraReport3
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
tests/Examples/Indices/ComponentTemplatesPage.cs | bdchris/elasticsearch-net | 1 | 7042908 | using Elastic.Elasticsearch.Xunit.XunitPlumbing;
using System.ComponentModel;
using Nest;
namespace Examples.Indices
{
public class ComponentTemplatesPage : ExampleBase
{
[U(Skip = "Example not implemented")]
[Description("indices/component-templates.asciidoc:12")]
public void Line12()
{
// tag::e784fc008... |
sdk/src/Services/LexModelsV2/Generated/Model/MultipleValuesSetting.cs | ChristopherButtars/aws-sdk-net | 1,705 | 7042909 | <gh_stars>1000+
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in ... |
MVPizza/MVPizza.DataAccess/Address.cs | 1811-nov27-net/HerronProject1 | 0 | 7042910 | using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace MVPizza.DataAccess
{
public class Ad... |
test/hiredis.tests/RedisClientTests/StringsTests.cs | ElderJames/hiredis-dotnet | 0 | 7042911 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Xunit;
namespace hiredis.Tests.RedisClientTests
{
public class StringsTests : TestBase
{
[Fact]
public void Append()
{
var key = "TestAppend_n... |
Dice/Dice/Dice.Bll/BLs/PlayerSessionBll.cs | P-Hayk/Dice | 0 | 7042912 | <reponame>P-Hayk/Dice
using AutoMapper;
using Dice.Bll.Interfaces;
using Dice.DAL;
using Dice.DAL.Interfaces;
using Dice.DTO;
using Ninject;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dice.Bll.BLs
{
public class Pla... |
test/KoreBuild.Tasks.Tests/InstallDotNetTests.cs | dotnet-maestro-bot/BuildTools | 60 | 7042913 | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections;
using System.IO;
using System.Runtime.InteropServices;
using BuildTools.Tasks.Tests;
using Microsoft.Build.Utili... |
Assets/Nova/Sources/ThirdParty/ToLua/Source/Generate/Nova_BranchModeWrap.cs | Orangexx/NovaForStudy | 0 | 7042914 | //this source code was auto-generated by tolua#, do not modify it
using System;
using LuaInterface;
public class Nova_BranchModeWrap
{
public static void Register(LuaState L)
{
L.BeginEnum(typeof(Nova.BranchMode));
L.RegVar("Normal", get_Normal, null);
L.RegVar("Jump", get_Jump, null);
L.RegVar("Show", get_... |
BlackFox.U2FHid.Tests/BinaryHelper.cs | forki/U2FExperiments | 3 | 7042915 | <filename>BlackFox.U2FHid.Tests/BinaryHelper.cs
using System;
using System.IO;
using BlackFox.Binary;
using NFluent;
using NUnit.Framework;
namespace BlackFox.U2FHid.Tests
{
internal static class BinaryHelper
{
public class BytesHolder
{
public int ByteCount { get; }
pub... |
src/nebula/ExternalProviderComponentFactory.cs | FanapPlus-OpenSource/nebula | 1 | 7042916 | using System;
using System.Collections.Generic;
using System.Reflection;
using ComposerCore;
using ComposerCore.Extensibility;
namespace Nebula
{
public class ExternalProviderComponentFactory : IComponentFactory
{
private readonly Func<object> _instanceProvider;
public ExternalProviderCompone... |
Vereinsverwaltung/UI/UI.Desktop/BaseViews/BaseUsercontrol.cs | Maersmann/Vereinsverwaltung | 0 | 7042917 | <reponame>Maersmann/Vereinsverwaltung
using GalaSoft.MvvmLight.Messaging;
using Logic.Messages.UtilMessages;
using Logic.UI.UtilsViewModels;
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using UI.Desktop.UtilsViews;
namespace UI.Desktop.BaseVie... |
VueJSMVCDotNet/JSGenerators/HeaderGenerator.cs | JTOne123/VueJSMVCDotNet | 0 | 7042918 | <reponame>JTOne123/VueJSMVCDotNet
using Org.Reddragonit.VueJSMVCDotNet.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
namespace Org.Reddragonit.VueJSMVCDotNet.JSGenerators
{
internal class HeaderGenerator : IJSGenerator
{
public void GeneratorJS(ref WrappedStringBuilder... |
Sources/Runtime/Microsoft.Psi/Common/Message.cs | victorywys/psi | 0 | 7042919 | <filename>Sources/Runtime/Microsoft.Psi/Common/Message.cs<gh_stars>0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
#pragma warning disable SA1201 // ElementsMustAppearInTheCorrectOrder
namespace Microsoft.Psi
{
using System;
using System.Collections.G... |
src/XNode/XNode.Communication.DotNetty/Extensions.cs | junjie-sun/XNode | 2 | 7042920 | <filename>src/XNode/XNode.Communication.DotNetty/Extensions.cs
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using DotNetty.Transport.Channels;
using Microsoft.Extensions.Logging;
using System;
using System.Collectio... |
DynamicAllocation/DynamicAllocationUnitTests/ValuationFixture.cs | chinnurtb/OpenAdStack | 1 | 7042921 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ValuationFixture.cs" company="Rare Crowds Inc">
// Copyright 2012-2013 <NAME>, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use th... |
Source/Clients/Shared/Serializer/IJsonSerializer.cs | olegip/Exceptionless | 1 | 7042922 | <reponame>olegip/Exceptionless<gh_stars>1-10
using System;
namespace Exceptionless {
public interface IJsonSerializer {
string Serialize(object model, string[] exclusions = null, int maxDepth = 5, bool continueOnSerializationError = true);
object Deserialize(string json, Type type);
}
} |
src/Sumo.GIS/Geometry/Generated/Point.cs | SumoSoftware/Geo | 0 | 7042923 | using Sumo.GIS.Metrics;
using System;
using System.Collections.Generic;
namespace Sumo.GIS.Geometry
{
public partial class Point : IEquatable<Point>
{
public override bool Equals(object obj)
{
return Equals(obj as Point);
}
public bool Equals(Point other)
{... |
BusinessTrackApplication/BusinessTrack.Web/Areas/Admin/Factories/IExigencyModelFactory.cs | cihatsolak/BusinessTrackApp | 2 | 7042924 | using BusinessTrack.Entities.Concrete;
using BusinessTrack.Web.Areas.Admin.Models.Exigencies;
using System.Collections.Generic;
namespace BusinessTrack.Web.Areas.Admin.Factories
{
public partial interface IExigencyModelFactory
{
ExigencyListViewModel PrepareExigencyListviewModel(List<Exigency> exigenc... |
src/Cohesity.Powershell.Models/FlashBladeSmbInfo.cs | bseltz-cohesity/cohesity-powershell-module | 37 | 7042925 | // Copyright 2019 Cohesity Inc.
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.C... |
Assets/Content/Systems/Player/HumanoidMovementController.cs | mjboth/SS3D | 1 | 7042926 | <filename>Assets/Content/Systems/Player/HumanoidMovementController.cs<gh_stars>1-10
using UnityEngine;
using Mirror;
using SS3D.Engine.Chat;
using System.Numerics;
using Vector2 = UnityEngine.Vector2;
using Vector3 = UnityEngine.Vector3;
using Quaternion = UnityEngine.Quaternion;
namespace SS3D.Content.Systems.Player... |
src/BackwardCompatibilityChecker.Tests/AssemblyDifferTests.cs | Litee/dotnet-backward-compatibility-checker | 0 | 7042927 | using System.IO;
using ApprovalTests;
using ApprovalTests.Reporters;
using BackwardCompatibilityChecker.Introspection.Diff;
using BackwardCompatibilityChecker.Introspection.Query;
using Mono.Cecil;
using NUnit.Framework;
namespace BackwardCompatibilityChecker.Tests
{
[UseReporter(typeof(WinMergeReporter))]
[T... |
QuimEfCore/DbContextOptionsBuilderExtensions.cs | sj-freitas/QuimEfCore | 0 | 7042928 | using Microsoft.EntityFrameworkCore;
using System;
namespace QuimEfCore
{
public static class DbContextOptionsBuilderExtensions
{
public static DbContextOptionsBuilder Use(
this DbContextOptionsBuilder dbContextOptionsBuilder, ISqlEngine engine)
{
if (dbContextOptionsBu... |
Editor/Git/CheckoutSubmoduleTask.cs | dubit/duck-package-manager | 3 | 7042929 | <filename>Editor/Git/CheckoutSubmoduleTask.cs<gh_stars>1-10
using System.IO;
using System.Linq;
using DUCK.PackageManager.Editor.Tasks;
namespace DUCK.PackageManager.Editor.Git
{
internal class CheckoutSubmoduleTask : GitTask
{
private readonly string version;
private const string COMMAND = "checkout {0}";
p... |
src/MongoDB.Driver/Encryption/NoopBinaryDocumentFieldCryptor.cs | b11p/mongo-csharp-driver | 2,208 | 7042930 | <filename>src/MongoDB.Driver/Encryption/NoopBinaryDocumentFieldCryptor.cs
/* Copyright 2019-present MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/lic... |
PlexServiceWCF/LogWriter.cs | yuzdaboyz/PmsService | 412 | 7042931 | <reponame>yuzdaboyz/PmsService
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using PlexServiceCommon;
namespace PlexServiceWCF
{
/// <summary>
/// Static class for writing to the log file
/// </summary>
static class LogWriter
{
priva... |
src/ConfigTextFile/ConfigFile.cs | Michmcb/ConfigTextFile | 1 | 7042932 | <gh_stars>1-10
namespace ConfigTextFile
{
using ConfigTextFile.IO;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text;
/// <summary>
/// A single config text file
/// </summary>
public sealed class ConfigFile
{
/// <summary>
/// Creates a new ins... |
CurrencyConverter/PageSelect.xaml.cs | anthonioez/CurrencyConverterWindows10 | 0 | 7042933 | using System;
using Windows.System;
using Windows.UI.Core;
using Windows.UI.Input;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Navigation;
namespace CurrencyConverter
{
public partial class PageSelect : Page
... |
Hungabor01Website/Hungabor01Website/Views/Profile/EditAccount.cshtml | hungabor01/Hungabor01Website | 0 | 7042934 | @model EditAccountViewModel
@{
ViewData["Title"] = "EditAccount";
}
@section Styles {
<environment include="Development">
<link href="~/css/profile.css" rel="stylesheet" />
</environment>
<environment exclude="Development">
<link href="~/css/profile.min.css" rel="stylesheet" />
</... |
src/Afx.Data/Database.cs | jerrylai/Afx.Data | 0 | 7042935 | using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.Common;
using System.Reflection;
namespace Afx.Data
{
/// <summary>
/// 数据库访问基类
/// </summary>
public abstract partial class Database : IDatabase
{
const string ANONYMOUS_TYPE_NAME = "<>... |
WebAPICourse/Interfaces/ILikesRepository.cs | joaopreissler/WebApiCourse | 0 | 7042936 | using WebAPICourse.DTOs;
using System.Collections.Generic;
using System.Threading.Tasks;
using WebAPICourse.Entities;
using WebAPICourse.Helpers;
namespace WebAPICourse.Interfaces
{
public interface ILikesRepository
{
Task<UserLike> GetUserLike(int sourceUserId, int likedUserId);
Task<A... |
Sultanlar/Sultanlar.UI/frmUyeKayitFormuYetkileri.cs | dogukanalan/Sultanlar | 0 | 7042937 | <reponame>dogukanalan/Sultanlar
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Sultanlar.DatabaseObject.Internet;
using Sultanlar.Class;
namespace Sultanlar.UI
{
public pa... |
TagLibSharp/TagLib/Jpeg/File.cs | ZhangZexiao/CollectPhoto | 0 | 7042938 | using System;
using System.Collections.Generic;
using System.IO;
using TagLib.Image;
using TagLib.IFD;
using TagLib.IFD.Entries;
using TagLib.Xmp;
namespace TagLib.Jpeg
{
[SupportedMimeType("taglib/jpg","jpg")]
[SupportedMimeType("taglib/jpeg","jpeg")]
[SupportedMimeType("taglib/jpe","jpe")]
[SupportedMimeType("tag... |
AdoptMe/Views/Adoptions/AdoptionRequests.cshtml | Zlatomir9/AdoptMe | 0 | 7042939 | @model AdoptionApplicationsViewModel
@{ ViewBag.Title = "All adoption requests"; }
<table class="table table-sm">
<thead>
<tr>
<th scope="col">Adopter name</th>
<th scope="col">Pet name</th>
<th scope="col">Submitted on</th>
</tr>
</thead>
<tbody>
... |
Assets/Scripts/ShipFly/F_GameController.cs | ArchBang85/Neon-Cycle | 0 | 7042940 | <filename>Assets/Scripts/ShipFly/F_GameController.cs
using UnityEngine;
using System.Collections;
public class F_GameController : MonoBehaviour {
public GameObject player;
public GameObject goal;
public GameObject guideArrow;
public GameObject[] Wheels = new GameObject[3];
public float[] speeds = ... |
BuilderModule/Patches/Constructable_Patches.cs | MrPurple6411/Subnautica-Mods | 14 | 7042941 | #pragma warning disable 618
namespace BuilderModule.Patches
{
using HarmonyLib;
using System.Collections;
using UnityEngine;
using UWE;
[HarmonyPatch(typeof(Constructable), nameof(Constructable.Construct))]
internal class Construct_Patch
{
[HarmonyPrefix]
public static bool... |
src/NexusMods.Monitor.Scraper.Application/CommandHandlers/Issues/IssueChangePriorityCommandHandler.cs | Aragas/NexusMods.Monitor | 0 | 7042942 | <filename>src/NexusMods.Monitor.Scraper.Application/CommandHandlers/Issues/IssueChangePriorityCommandHandler.cs
using MediatR;
using Microsoft.Extensions.Logging;
using NexusMods.Monitor.Scraper.Application.Commands.Issues;
using NexusMods.Monitor.Scraper.Domain.AggregatesModel.IssueAggregate;
using NexusMods.Monito... |
RentLog.ImportBYF/RntCommands/RntUpdateBankMemosCommand.cs | peterson1/RentLog | 0 | 7042943 | <reponame>peterson1/RentLog
using RentLog.DomainLib11.DataSources;
using RentLog.DomainLib11.DTOs;
using RentLog.DomainLib11.PassbookRepos;
using RentLog.ImportBYF.ByfQueries;
using RentLog.ImportBYF.Version2UI.BankMemosPane.MemosByDateList;
using System;
namespace RentLog.ImportBYF.RntCommands
{
public static cl... |
Edison.Web/Edison.Microservices.ResponseService/Consumers/ResponseActionLightSensorEventConsumer.cs | sysgain/ProjectEdison-1 | 14 | 7042944 | <reponame>sysgain/ProjectEdison-1
using System;
using System.Linq;
using System.Threading.Tasks;
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
using MassTransit;
using Edison.Core.Interfaces;
using Edison.Core.Common.Models;
using Edison.Common.Interfaces;
using Edison.Common.Messages.Interface... |
Assets/Scripts/PlayerController.cs | draganov89/FirstUnityGame | 0 | 7042945 | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour {
private Rigidbody2D playerRB;
private SpriteRenderer playerRenderer;
private Animator animator;
private bool facingRight = false;
//move
p... |
src/libs/SoloX.ExpressionTools.Parser/IParameterTypeResolver.cs | xaviersolau/ExpressionTools | 1 | 7042946 | // ----------------------------------------------------------------------
// <copyright file="IParameterTypeResolver.cs" company="<NAME>">
// Copyright © 2019 <NAME>.
// Licensed under the MIT license.
// See LICENSE file in the project root for full license information.
// </copyright>
// ----------------------... |
Assets/Lean/Localization/Scripts/LeanPhrase.cs | hamk-uas/vikke-game | 0 | 7042947 | using UnityEngine;
using System.Collections.Generic;
using Lean.Common;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace Lean.Localization
{
/// <summary>This contains data about each phrase, which is then translated into different languages.</summary>
[ExecuteInEditMode]
[DisallowMultipleComponent]
[HelpURL(... |
AngleSharp/Foundation/CreateDocumentOptions.cs | ghuntley/AngleSharp | 1 | 7042948 | <filename>AngleSharp/Foundation/CreateDocumentOptions.cs
namespace AngleSharp
{
using AngleSharp.Dom;
using AngleSharp.Dom.Html;
using AngleSharp.Dom.Svg;
using AngleSharp.Dom.Xml;
using AngleSharp.Extensions;
using AngleSharp.Html;
using AngleSharp.Network;
using System;
using Syst... |
LearningExercises/Xml/XmlExercise.cs | Nazgul07/LearningExercises | 0 | 7042950 | <reponame>Nazgul07/LearningExercises
using System;
using System.Xml;
namespace LearningExercises.Xml
{
/// <summary>
/// Expecations are to use XPath and XmlElement methods to query/modify the XmlDocuments
/// </summary>
public class XmlExercise
{
/// <summary>
/// Hint: Use XPath to get the first Value node... |
src/DdnsService/Utils/NetworkTools.cs | withsalt/DdnsService | 0 | 7042951 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Net.NetworkInformation;
using System.Text;
using System.Threading.Tasks;
namespace DdnsService.Utils
{
public class NetworkTools
{
private static readonly List<string> _hosts = new List<string>()
{
"192.168.12... |
Assets/Scenes/Scene5/TrailsController.cs | Okashiou/VJx | 41 | 7042952 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TrailsController : MonoBehaviour
{
ParticleSystem _particleSystem;
float _speed = 1.0f;
void Start()
{
_particleSystem = GetComponent<ParticleSystem>();
}
void Update()
{
if (Input... |
Scripts/Core/Object Pool/ObjectPoolElementSettings.cs | Huginn18/uCore-submodule | 0 | 7042953 | <reponame>Huginn18/uCore-submodule<gh_stars>0
namespace HoodedCrow.uCore.Core
{
using System;
using UnityEngine;
[Serializable]
public class ObjectPoolElementSettings
{
public string Naming => _naming;
public GameObject Prefab => _prefab;
public Transform Parent => _parent;
... |
TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Shims/PokerShim.cs | tepel-chen/KtaneTwitchPlays | 58 | 7042954 | using System;
using System.Collections;
public class PokerShim : ComponentSolverShim
{
public PokerShim(TwitchModule module)
: base(module)
{
ModInfo = ComponentSolverFactory.GetModuleInfo(GetModuleType());
_component = module.BombComponent.GetComponent(ComponentType);
_foldButton = _component.GetValue<KMSe... |
OpenInvoicePeru/OpenInvoicePeru.Estructuras/CommonAggregateComponents/MeasurementDimension.cs | cibernav/openinvoiceperu-1 | 36 | 7042955 | <reponame>cibernav/openinvoiceperu-1
using System;
namespace OpenInvoicePeru.Estructuras.CommonAggregateComponents
{
[Serializable]
public class MeasurementDimension
{
public string AttributeId { get; set; }
public decimal Measure { get; set; }
}
} |
First_ASP_NET_MVC_App/First_ASP_NET_MVC_App/Controllers/HomeController.cs | paulritzman/Lab11_First_ASP_NET_MVC_App | 0 | 7042956 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using First_ASP_NET_MVC_App.Models;
using Microsoft.AspNetCore.Mvc;
namespace First_ASP_NET_MVC_App.Controllers
{
public class HomeController : Controller
{
// Home page which will display form... |
Assets/Microgames/BeachBall/Scripts/BeachBallWinLossEventWrapper.cs | waterbuddy16/NitoriWare | 119 | 7042957 | using System;
using UnityEngine;
public class BeachBallWinLossEventWrapper : MonoBehaviour
{
public event EventHandler OnWin;
public event EventHandler OnLoss;
public const String DefaultGameObjectName = "WinLossEventWrapper";
private bool fired;
void Update()
{
if (!fired && Micro... |
server/src/Modules/ContentCreation/Oeuvre.Modules.ContentCreation.Infrastructure/Configuration/Processing/MediatrDomainEventDispatcher.cs | codefinity/-oeuvre | 8 | 7042958 | <gh_stars>1-10
using Autofac;
using Domaina.Infrastructure;
using Domania.Domain;
using MediatR;
using Serilog;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Oeuvre.Modules.ContentCreation.Infrastructure.Configuration.Processing
{
public class MediatrDo... |
AlgoTest/LeetCode/NumberOfIslands/NumberOfIslands.cs | sagasu/Algo-DataStructures | 0 | 7042959 | using System;
using System.Collections.Generic;
using System.Text;
namespace AlgoTest.LeetCode.NumberOfIslands
{
class NumberOfIslands
{
public int NumIslands(char[][] grid)
{
var count = 0;
for(var i = 0; i < grid.Length; i++)
for (var j = 0; j < grid[i].Le... |
Assets/Scripts/PlayerMover.cs | wilmerlin/AssassinsGO | 2 | 7042960 | <reponame>wilmerlin/AssassinsGO
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMover : Mover
{
// reference to visual arrows
PlayerCompass m_playerCompass;
// invoke the base class Awake method and setup the PlayerMover
protected override void Awake(... |
src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/CandidateFunctionMember.cs | ivandrofly/corefx | 3 | 7042961 | <reponame>ivandrofly/corefx<filename>src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/CandidateFunctionMember.cs<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.
// See the LICENSE file in the project ... |
src/Languages/Editor/Impl/Extensions/StringExtensions.cs | skeptycal/RTVS | 429 | 7042962 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Text;
namespace Microsoft.Languages.Editor.Utility {
public static class StringExtensions {
/// <summary>
/// Wraps l... |
HotelCalifornia.Backend/HotelCalifornia.Backend.Cqrs/Handlers/Queries/Booking/GetRoomsInfoQueryResult.cs | TomaszKandula/HotelCalifornia | 1 | 7042963 | <reponame>TomaszKandula/HotelCalifornia
using System;
namespace HotelCalifornia.Backend.Cqrs.Handlers.Queries.Booking
{
public class GetRoomsInfoQueryResult
{
public Guid Id { get; set; }
public string Info { get; set; }
}
} |
src/Tools/Administrative.Cli/Commands/Admin/AdminCommand.cs | epam/covid-resistance-back-end | 5 | 7042964 | <filename>src/Tools/Administrative.Cli/Commands/Admin/AdminCommand.cs
// =========================================================================
// Copyright 2020 EPAM Systems, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Licen... |
EPlast/EPlast.DataAccess/Entities/Club/ClubAnnualReport.cs | Toxa2202/plast | 0 | 7042965 | using System;
using System.ComponentModel.DataAnnotations;
namespace EPlast.DataAccess.Entities
{
public class ClubAnnualReport
{
public int ID { get; set; }
public AnnualReportStatus Status { get; set; }
[Required(ErrorMessage = "Заповніть поле")]
[Range(0, int.MaxValue, Err... |
Application/EdFi.Common/Security/HashConfiguration.cs | jamessmckay/Ed-Fi-ODS | 0 | 7042966 | // SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
using EdFi.Ods.Common.Extensions;
using EdFi.Ods... |
06 Strings and Text Processing/18_DatesFromTextInCanada/DatesFromTextInCanada.cs | vasilvalkov/TA-2016-CSharp-Advanced | 0 | 7042967 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
namespace _18_DatesFromTextInCanada
{
class DatesFromTextInCanada
{
static void Main()
{
string input = "Marvelous! Your reservation is now confirmed. You booked a double room... |
VisualStudio/Sources/Windows Forms Presenter/GridHandler.cs | Heinzman/DigiRcMan | 0 | 7042968 | <gh_stars>0
using System;
using System.Drawing;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
using Elreg.BusinessObjects;
using Elreg.Exceptions;
using Elreg.Log;
using Elreg.Serialization;
using Elreg.WinFormsPresentationFramework.SerializationObjects;
namespace Elreg.WindowsFormsP... |
Parameters/Standard/Settings/TextBoxParameterSettingsControl.ascx.cs | hismightiness/dnnstuff.sqlviewpro | 13 | 7042969 | <gh_stars>10-100
using System.Xml.Serialization;
using DNNStuff.SQLViewPro.Controls;
namespace DNNStuff.SQLViewPro.StandardParameters
{
public partial class TextBoxParameterSettingsControl : ParameterSettingsControlBase
{
#region Web Form Designer Generated Code
//This call is required by the Web Form Des... |
src/VisualStudio/Core/Def/ValueTracking/ValueTrackingTree.xaml.cs | lambdaxymox/roslyn | 1 | 7042970 | // 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.Linq;
using System.Text;
using System.Threading.Tasks;... |
Assets/Code/Debree.cs | Fried-man/Ludum_Dare_42 | 0 | 7042971 | <reponame>Fried-man/Ludum_Dare_42<filename>Assets/Code/Debree.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Debree : MonoBehaviour {
public GameObject[] Items;
Vector3[] Positions;
int Amount;
void Start () {
float Size = Items... |
ParserBRU/BRUParser.cs | Anton-Volchkov/Parser-Table | 0 | 7042972 | using HtmlAgilityPack;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace ParserBRU
{
public class BRUParser
{
StringBuilder strBuilder = new StringBuilder();
string sendText = "";
public ... |
NorthwindWindowsStoreService/NorthwindWindowsStore.DAL/OrdersQryRepository.cs | krzysztofkolek/NorthwindWindowsStore | 0 | 7042973 | <reponame>krzysztofkolek/NorthwindWindowsStore
namespace NorthwindWindowsStore.DAL
{
using NorthwindWindowsStore.DAL.Model;
public class OrdersQryRepository : BaseView<Orders_Qry>
{
public OrdersQryRepository(string path)
: base(path)
{
}
}
}
|
Source/Csla.Generators/cs/Csla.Generators.CSharp/AutoSerializable/Discovery/PropertyDefinitionExtractor.cs | vijaygill/csla | 945 | 7042974 | <filename>Source/Csla.Generators/cs/Csla.Generators.CSharp/AutoSerializable/Discovery/PropertyDefinitionExtractor.cs
//-----------------------------------------------------------------------
// <copyright file="PropertyDefinitionExtractor.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.