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/Uno.UI.Tests/Windows_UI_Xaml_Data/xBindTests/Controls/Binding_xLoad_Event.xaml.cs | olirobert/uno | 5,973 | 7042240 | <gh_stars>1000+
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.X... |
YouRoomSharp/Assert.cs | ichiohta/YouRoomSharp | 0 | 7042241 | using System;
namespace YouRoomSharp
{
internal static class Assert
{
public static void IsNotNull(object value, string parameterName)
{
if (value == null)
throw new ArgumentNullException(parameterName);
}
public static void IsNotNullOrEmpty(string ... |
src/PartsUnlimitedWebsite/Repository/IProductRepository.cs | sandboxdemo/PartsUnlimited | 0 | 7042242 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using PartsUnlimited.Models;
using PartsUnlimited.Search;
namespace PartsUnlim... |
src/Shipbot.Controller/Controllers/DeploymentQueueController.cs | georgevella/shipbot | 2 | 7042243 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Shipbot.Applications;
using Shipbot.Controller.DTOs;
using Shipbot.Deployments;
using Shipbo... |
Scripts/SkyboxBlender.cs | Barbelot/Unity-Skybox-Blender | 15 | 7042244 | <reponame>Barbelot/Unity-Skybox-Blender
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering;
[ExecuteInEditMode]
public class SkyboxBlender : MonoBehaviour {
[SerializeField] public enum BlendMode { Linear, Smoothstep, Maximum, Add, Substract, Multiply }
... |
Core/Extensions/ArrayExtensions.cs | marinehero/microserver | 4 | 7042245 | <reponame>marinehero/microserver
using System;
using System.Text;
using System.Collections;
namespace MicroServer.Extensions
{
/// <summary>
/// Extension methods for Array
/// </summary>
public static class ArrayExtensions
{
/// <summary>
/// Adds a range of elements from the Array... |
Petabyte.log4net.Extensions.Test/MemoryMappedStreamTests.cs | ideoma/log4net-extensions | 2 | 7042246 | <filename>Petabyte.log4net.Extensions.Test/MemoryMappedStreamTests.cs
using System.IO;
using System.Linq;
using System.Text;
using log4net.Petabyte.Extensions;
using NUnit.Framework;
namespace log4net.Tests.Appender
{
[TestFixture]
public class MemoryMappedStreamTests
{
private static readonly stri... |
src/Uhuru.CloudFoundry.FileService/FileServiceOptions.cs | UhuruSoftware/vcap-dotnet | 2 | 7042247 | <reponame>UhuruSoftware/vcap-dotnet
// -----------------------------------------------------------------------
// <copyright file="FileServiceOptions.cs" company="Uhuru Software, Inc.">
// Copyright (c) 2011 Uhuru Software, Inc., All Rights Reserved
// </copyright>
// --------------------------------------------------... |
Parkner.Web/Shared/Tablas/TablaReservas.razor.cs | Bedolla/Parkner | 0 | 7042248 | using Microsoft.AspNetCore.Components;
using Parkner.Data.Entities;
using System.Collections.Generic;
namespace Parkner.Web.Shared.Tablas
{
public partial class TablaReservas
{
[Parameter]
public List<Reserva> Reservas { get; set; }
}
}
|
src/LayerBrushes/Artemis.Plugins.LayerBrushes.Color/Brushes/SolidBrush.cs | skedgyedgy/Artemis.Plugins | 0 | 7042249 | using System;
using Artemis.Core.LayerBrushes;
using Artemis.Plugins.LayerBrushes.Color.PropertyGroups;
using SkiaSharp;
namespace Artemis.Plugins.LayerBrushes.Color
{
public class SolidBrush : LayerBrush<SolidBrushProperties>
{
private float _animationPosition;
#region Overrides of LayerBrus... |
PS3Tools/Snowydev Port/FileDirBrowser.cs | Inviction/PS3Tools | 2 | 7042250 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
namespace FormControls
{
public partial class FileDirBrowser : UserControl
{
public enu... |
EnitityFrameworkHW/EnitityFrameworkHW/EmployeePartial.cs | bstaykov/Telerik-DB | 0 | 7042251 | <gh_stars>0
namespace EnitityFrameworkHW
{
using System.Collections.Generic;
public partial class Employee
{
public ICollection<Territory> TerritoriesProp
{
get
{
return this.Territories;
}
}
}
}
|
addressbook-web-tests/addressbook-web-tests/tests/ContactModificationTests.cs | annasirotkina/csharp_training | 0 | 7042252 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace WebAddressbookTests
{
[TestFixture]
class ContactModificationTests : ContactTestBase
{
[Test]
public void ContactModificationTest... |
Constants.cs | mikesmeltzer/DNN-Connector-Example | 1 | 7042253 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MikeSmeltzer.Connectors.ConnectorExample
{
internal class Constants
{
public const string LocalResourceFile = "~/DesktopModules/MikeSmeltzer/ConnectorExample/App_LocalResources/SharedResources.resx";
}... |
Netlibs.Test/coderecycle/OaContext.cs | nczsl/Fone | 0 | 7042254 | namespace DescriptionModel.oa {
using DescriptionModel.Simulate;
using Microsoft.EntityFrameworkCore;
public class OaContext : DbContext {
public DbSet<Employee> Employees { get; set; }
public DbSet<Department> Departments { get; set; }
public DbSet<R_ComanyDepartment> R_ComanyDepar... |
src/Umbraco.Web/PublishedContentExtensions.cs | ismailmayat/Umbraco-CMS | 0 | 7042255 | <reponame>ismailmayat/Umbraco-CMS<filename>src/Umbraco.Web/PublishedContentExtensions.cs
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using Examine;
using Examine.LuceneEngine.SearchCriteria;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.Co... |
Models/ExtraInfo.cs | EvolutionJobs/Textkernel | 0 | 7042256 | namespace Evolution.Textkernel.Models
{
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
public class ExtraInfo
{
[XmlElement("TrxmlID")]
public string TrxmlID { get; set; }
[XmlElement("Source")]
public string ... |
Models/Faculty.cs | koolamadridano/webapi-musicca | 1 | 7042257 | <reponame>koolamadridano/webapi-musicca<gh_stars>1-10
using System;
namespace SharpDevelopWebApi.Models
{
public class Faculty: Person
{
public string SSSNumber { get; set; }
public string SuperVisor { get; set;}
}
}
|
mono/mcs/class/System/System.ComponentModel/AsyncOperation.cs | GrapeCity/pagefx | 18 | 7042258 | <reponame>GrapeCity/pagefx
//
// AsyncOperation.cs
//
// Authors:
// <NAME> <<EMAIL>>
//
// Copyright (C) 2006 Novell, Inc.
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Softwa... |
TrickSaber/GlobalTrickManager.cs | zoller27osu/TrickSaber | 0 | 7042259 | <filename>TrickSaber/GlobalTrickManager.cs
using System.Collections;
using IPA.Utilities;
using UnityEngine;
namespace TrickSaber
{
public class GlobalTrickManager : MonoBehaviour
{
public static GlobalTrickManager Instance;
private Coroutine _applySlowmoCoroutine;
private Coroutine _... |
Assets/Scripts/Utils/FollowStub.cs | TigerHix/Cytoid | 142 | 7042260 | <reponame>TigerHix/Cytoid<gh_stars>100-1000
using DG.Tweening;
using UnityEngine;
using UnityEngine.UI;
public class FollowStub : MonoBehaviour
{
public RectTransform stub;
public float tweenDuration = 0.2f;
private RectTransform self;
private void Awake()
{
self = GetComponent<RectT... |
Assets/States.cs | daandymaan/GE2-Test-2021-Starter | 0 | 7042261 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//This state allows the dog to fetch the ball
public class Fetch : State
{
public override void Enter()
{
//Sets the target to be the ball
owner.GetComponent<FetchBehaviour>().targetBall = owner.GetComponen... |
Assets/Scripts/Effects/Atmos/PostProcessingCore.cs | dannyHallo/Terminal | 0 | 7042262 | <reponame>dannyHallo/Terminal<filename>Assets/Scripts/Effects/Atmos/PostProcessingCore.cs
using System.Collections.Generic;
using UnityEngine;
[ExecuteInEditMode, ImageEffectAllowedInSceneView]
public class PostProcessingCore : MonoBehaviour
{
Material defaultMat;
public PostProcessingEffect[] effects;
Li... |
WpfNpuzzle/MainPage.xaml.cs | alex1392/WpfNpuzzle | 1 | 7042263 | using System;
using System.Linq;
using System.Timers;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using static System.Math;
using static CycWpfLibrary.NativeMethod;
using static CycWpfLibrary.Math;
using System.Threading.Tasks;
using System.IO;
using System.Collections.Generic;
usi... |
src/Serilog.Sinks.Fluentd/LoggerConfigurationFluentdExtensions.cs | stabone-gig/serilog-sinks-fluentd | 0 | 7042264 | using Serilog.Configuration;
using Serilog.Events;
using Serilog.Sinks.Fluentd;
namespace Serilog
{
public static class LoggerConfigurationFluentdExtensions
{
private const string Host = "localhost";
private const int Port = 24224;
private const string Tag = "Tag";
public stat... |
src/EFCore.SqlServer/Query/Internal/TemporalOperationType.cs | leniency/efcore | 4,158 | 7042265 | <filename>src/EFCore.SqlServer/Query/Internal/TemporalOperationType.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.EntityFrameworkCore.SqlServer.Query.Internal;
/// <summary>
/// This is an internal A... |
src/Test/Common/Code/Microsoft/Test/Stability/Extensions/Factories/System.Windows.Controls/InkCanvasFactory.cs | kant2002/wpf-test | 25 | 7042266 | <reponame>kant2002/wpf-test<filename>src/Test/Common/Code/Microsoft/Test/Stability/Extensions/Factories/System.Windows.Controls/InkCanvasFactory.cs<gh_stars>10-100
// 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 ... |
UnitTests/CS/Data/Sql/SelectTest.cs | igor-tkachev/bltoolkit | 152 | 7042267 | <reponame>igor-tkachev/bltoolkit
using System;
using NUnit.Framework;
using BLToolkit.Data.Sql;
namespace Data.Sql
{
[TestFixture]
public class SelectTest
{
public static SqlTable Order = new SqlTable
{
Name = "Order",
Fields = { new SqlField { Name = "ID" }, new SqlField { Name = "Number" ... |
src/modeler/AutoRest.Swagger/Validation/UniqueResourcePaths.cs | ratchapol-an/autorest | 12 | 7042268 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using AutoRest.Core.Logging;
using AutoRest.Core.Properties;
using AutoRest.Core.Validation;
using AutoRest.Swagger.Model;
using System.Collections... |
Rules.Tests.Integration/TestConfig.cs | azure-devops-compliance/rules | 3 | 7042269 | <reponame>azure-devops-compliance/rules
using Microsoft.Extensions.Configuration;
namespace AzureDevOps.Compliance.Rules.Tests.Integration
{
public class TestConfig
{
public TestConfig()
{
var configuration = new ConfigurationBuilder()
.AddJsonFile("appsettings.json... |
EasySecuritiesManager.UI.WPF/Commands/AsyncCommandBase.cs | MichaelWatindi/EasySecuritiesManager | 0 | 7042270 | <gh_stars>0
/**
* Tindi Systems Inc
* $specifiedsolutionname$ $projectname$
* See Copyright file at the top of the source tree.
*
* This product includes software developed by the
* Tindi Systems
*
* @file $filename$
*
* @brief
*
* @author <NAME>
* See contact information in the license file at t... |
ScrapyCore.Core/Storages/StorageFactory.cs | amz-hjinfeng/ScrapyCore | 0 | 7042271 | <filename>ScrapyCore.Core/Storages/StorageFactory.cs
using System;
using System.Collections.Generic;
using System.Linq;
using ScrapyCore.Core.External;
using System.Reflection;
using ScrapyCore.Core.Configure;
using log4net;
namespace ScrapyCore.Core.Storages
{
public class StorageFactory : IServiceFactory<IStora... |
DataBuses/Impl/Duplexes/BaseDataBus.cs | bryopsida/DataBuses | 0 | 7042272 | <filename>DataBuses/Impl/Duplexes/BaseDataBus.cs
using System;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
using Boyd.DataBuses.Interfaces;
using Boyd.DataBuses.Models;
using Microsoft.Extensions.Logging;
namespace Boyd.DataBuses.Impl.Duplexes
{
/// <summary>
///... |
FluentFTP/Client/FtpClient_IBMzOS.cs | stho32/FluentFTP | 0 | 7042273 | <reponame>stho32/FluentFTP
using System;
using System.IO;
using System.Net.Sockets;
using System.Text;
using System.Text.RegularExpressions;
using System.Reflection;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Globaliz... |
src/Diagnostics.ModelsAndUtils/Models/GeoMaster/VnetValidationRespone.cs | hannaatmsft/Azure-AppServices-Diagnostics | 41 | 7042274 | using System.Collections.Generic;
namespace Diagnostics.ModelsAndUtils.Models
{
public class VnetValidationTestFailure
{
/// <summary>
/// The name of the test that failed.
/// </summary>
public string TestName { get; set; }
/// <summary>
/// The details of wha... |
SnapMD.VirtualCare.ApiModels/PatientsGroupResponse.cs | dhawalharsora/connectedcare-sdk | 0 | 7042275 | using System;
namespace SnapMD.VirtualCare.ApiModels
{
public class PatientsGroupResponse: PatientsGroupRequest
{
public int? PatientId { get; set; }
public int? HospitalId { get; set; }
public DateTime? ModifiedDate { get; set; }
public PatientsGroupResponse[] SubGroups { ge... |
staging/_Contact Form.cshtml | 2sic/app-form-jquery-simple | 8 | 7042276 | <gh_stars>1-10
@inherits Custom.Hybrid.Razor12
@using System.Linq
@{
var Edition = CmsContext.View.Edition;
var workflowId = "ContactDefault";
var FieldBuilder = CreateInstance("shared/FieldBuilders.cs");
var helpers = CreateInstance("shared/Helpers.cs");
var domAttribute = "mobius-" + CmsContext.Module.Id;
}... |
EndlessMarket/Controls/EOTextBox.cs | atillabyte/EndlessMarket | 2 | 7042277 | <filename>EndlessMarket/Controls/EOTextBox.cs
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace EndlessMarket.Controls
{
public class EOTextBox : RichTextBox
{
public EOTextBox... |
Glyphics/GlyphicsLibrary/Language/Language.GlyphicsError.cs | katascope/Glyphics | 0 | 7042278 | <reponame>katascope/Glyphics<filename>Glyphics/GlyphicsLibrary/Language/Language.GlyphicsError.cs
#region Copyright
/*Copyright (c) 2015, Katascope
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Red... |
David.SecondBook.OnlineStore/David.SecondBook.OnlineStore.WebApp/Controllers/ProductController.cs | daviddongguo/SecondBookStore | 0 | 7042279 | using David.SecondBook.OnlineStore.Domain.Abstract;
using David.SecondBook.OnlineStore.Domain.Entities;
using David.SecondBook.OnlineStore.WebApp.Models;
using System.Linq;
using System.Web.Mvc;
namespace David.SecondBook.OnlineStore.WebApp.Controllers
{
public class ProductController : Controller
{
p... |
DirectN/DirectN/Generated/KS_MPEG2Profile.cs | Steph55/DirectN | 124 | 7042280 | // c:\program files (x86)\windows kits\10\include\10.0.22000.0\shared\ksmedia.h(4138,9)
namespace DirectN
{
public enum KS_MPEG2Profile
{
KS_MPEG2Profile_Simple = 0,
KS_MPEG2Profile_Main = 1,
KS_MPEG2Profile_SNRScalable = 2,
KS_MPEG2Profile_SpatiallyScalable = 3,
... |
Fizix/Collision/CollisionRayF.cs | Tyler-IN/Fizix | 0 | 7042281 | using System.Numerics;
using System.Runtime.CompilerServices;
using JetBrains.Annotations;
namespace Fizix {
[PublicAPI]
public readonly struct CollisionRayF<T> where T : struct {
public RayF Ray {
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get;
}
public T CollisionMask {
[... |
Assets/Scripts/Plugins/UnityRandom/lib/ExponentialDistribution.cs | HowlingShame/Ludum-Date-44-Game | 4 | 7042282 | <reponame>HowlingShame/Ludum-Date-44-Game
using System;
namespace URandom
{
public static class ExponentialDistribution
{
// FROM http://stackoverflow.com/questions/2106503/pseudorandom-number-generator-exponential-distribution
public static float Normalize( float randx, float lambda )
{
return Convert.ToSi... |
src/JUDI.Server.Ladder/JUDI.Server.Ladder.Business/UserManager.cs | rythos42/ladder | 1 | 7042284 | <reponame>rythos42/ladder
using JUDI.API.Ladder.Contract;
using JUDI.Server.Ladder.Data;
namespace JUDI.Server.Ladder.Business
{
public class UserManager
{
private readonly EndorsementRepository endorsementRepository;
private readonly ClaimManager claimManager;
public UserManager(ClaimManager claimManager, E... |
src/netstandard/Samples/WAMP2/WampSharp.Samples.Callee/Errors.cs | Wuschli/WampSharp | 361 | 7042285 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using CliFx.Attributes;
using WampSharp.V2.Core.Contracts;
using WampSharp.V2.Rpc;
namespace WampSharp.Samples.Callee
{
[Command("error")]
public class ErrorCommand : CalleeCommand<ErrorService>
{
}
... |
SilentCall2/LogMessage.cs | james-stocks/SilentCall2 | 0 | 7042286 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Amadues
{
public class LogMessage
{
public int age = 0;
public String message;
public bool isBad = false;
public LogMessage()
{
age = 0;
message = "";... |
Awful.Web/Pages/Forum.cshtml.cs | drasticactions/Awful.OldWeb | 0 | 7042287 | // <copyright file="Forum.cshtml.cs" company="Drastic Actions">
// Copyright (c) Drastic Actions. All rights reserved.
// </copyright>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AngleSharp.Html.Parser;
using Awful.Core.Entities.Threads;
using Awful.Core.Manag... |
src/Larva.MessageProcess.RabbitMQ.Tests/DomainEventTests.cs | freshncp/Larva.MessageProcess | 0 | 7042288 | using Larva.MessageProcess.RabbitMQ.Eventing;
using Larva.MessageProcess.RabbitMQ.Infrastructure;
using Larva.MessageProcess.RabbitMQ.Tests.DomainEvents;
using RabbitMQTopic;
using System;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace Larva.MessageProcess.RabbitMQ.Tests
{
... |
tests/Microsoft.Identity.Test.Unit/CoreTests/RegionDiscoveryProviderTests.cs | bgavrilMS/microsoft-authentication-library-for-dotnet | 0 | 7042289 | <gh_stars>0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Identity.Client;
using Microsoft.... |
Editor/Loader/EditorSceneLoader.cs | Juce-Assets/Juce-SceneManagement | 1 | 7042290 | using Juce.SceneManagement.Scenes;
using Juce.SceneManagement.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using UnityEditor.SceneManagement;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace Juce.SceneManagement.Loader
{
public static class EditorSceneLoader
{
... |
WindowsExcel/WindowsExcel/Utils.cs | meloht/DemoCode | 0 | 7042291 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsExcel
{
public class Utils
{
public static DateTime? ToDateTime(string s)
{... |
src/LionFire.Structures/Exceptions/AlreadySetException.cs | jaredthirsk/LionFire.Core | 0 | 7042292 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LionFire
{
[Serializable]
public class AlreadySetException : Exception
{
public const string DefaultMessage = "Property can only be set once";
public AlreadySetException() : base(DefaultMessage... |
src/FFT.Oanda/Transactions/OrderFillReason.cs | rkhomyk/FFT.Oanda | 2 | 7042293 | <reponame>rkhomyk/FFT.Oanda
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace FFT.Oanda.Transactions
{
using System.Text.Json.Serialization;
/// <summary>
/// The reason that an order was filled.
/// <... |
UnityProject/Assets/MGS.Packages/CommandServo/Runtime/Interface/ICommandAdapter.cs | mogoson/MGS-OrderServo | 1 | 7042294 | /*************************************************************************
* Copyright © 2021 Mogoson. All rights reserved.
*------------------------------------------------------------------------
* File : ICommandAdapter.cs
* Description : Interface for Command Adapter.
*--------------------------... |
ChartsAndIndicators/Controls/LineChartDrawer.cs | sequws/ChartsAndIndicators | 0 | 7042295 | <reponame>sequws/ChartsAndIndicators
using Controls.Common;
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.Media;
using System.Windows.Shapes;
namespace Controls
{
public ... |
vast/back-end/csharp/IQ.BUS.Vast.Common/DefaultOerationLists.cs | IntelliQUAL/sail | 0 | 7042296 | using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;
using SAIL.Framework.Host;
using IQ.Entities.VastDB;
namespace IQ.BUS.Vast.Common
{
public static class DefaultOerationLists
{
public static void AppendNewOperationList(IContext contex... |
src/RSql4Net/Models/ExpressionValue.cs | gwendallg/RSql4Net | 3 | 7042297 | using System;
using System.Linq.Expressions;
using System.Reflection;
using System.Text.Json;
namespace RSql4Net.Models
{
public class ExpressionValue
{
public PropertyInfo Property { get; private set; }
public Expression Expression { get; private set; }
public static bool TryParse<T>... |
src/CourseLibrary.Application/Commands/Course/CourseUpdate.cs | ktutak1337/CourseLibrary | 1 | 7042298 | using System;
using System.Collections.Generic;
using Convey.CQRS.Commands;
using CourseLibrary.Application.Commands.WriteModels;
namespace CourseLibrary.Application.Commands.Course
{
public class CourseUpdate : ICommand
{
public Guid Id { get; set; }
public string Name { get; set; }
pu... |
Roguelike Tutorial Project/Assets/_Project/Scripts/Managers/SoundManager.cs | Thelario/Roguelike-Tutorial | 0 | 7042299 | <filename>Roguelike Tutorial Project/Assets/_Project/Scripts/Managers/SoundManager.cs
using UnityEngine;
using System.Collections.Generic;
namespace Game
{
namespace Managers
{
public enum SoundType { playerWalk, playerShoot, enemyHit }
public class SoundManager : Singleton<SoundManager>
... |
Yolol.Analysis/Types/FlowTyping.cs | Dude112113/Yolol | 45 | 7042300 | using System;
using System.Collections.Generic;
using System.Linq;
using Yolol.Analysis.ControlFlowGraph;
using Yolol.Analysis.ControlFlowGraph.AST;
using Yolol.Analysis.ControlFlowGraph.Extensions;
using Yolol.Analysis.TreeVisitor;
using Yolol.Analysis.TreeVisitor.Inspection;
using Yolol.Grammar;
using Yolol.Grammar.... |
src/Meceqs.Abstractions/Sending/IMessageSender.cs | meceqs/meceqs | 0 | 7042301 | <filename>src/Meceqs.Abstractions/Sending/IMessageSender.cs
using System;
using System.Threading.Tasks;
namespace Meceqs.Sending
{
/// <summary>
/// This interface is used for "sending a newly created message" or
/// for "forwarding an existing envelope" to a pipeline.
/// </summary>
public interfa... |
Assets/Scripts/Game/brnn3d/BeiShuMode.cs | da1fanshu/1234ewsd | 2 | 7042302 | using UnityEngine;
using DG.Tweening;
using UnityEngine.UI;
namespace Assets.Scripts.Game.brnn3d
{
public class BeiShuMode : MonoBehaviour
{
public Transform BeishuBg;
private bool _isOpenBeiShuUI;
public Text Beishus;
//播放倍数效果
public void PlayBeiShuEff()
{
... |
Ponos.RenderGraph/Resources/VeldredRenderBuffer.cs | RoyAwesome/Ponos | 0 | 7042303 | using Ponos.API.Rendering;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Veldrid;
using BufferUsage = Veldrid.BufferUsage;
using PBufferUsage = Ponos.API.Rendering.BufferUsage;
namespace Ponos.RenderGraph.Veldrid.Resources
{
class Ve... |
src/Umbraco.Core/Persistence/Mappers/ServerRegistrationMapper.cs | ismailmayat/Umbraco-CMS | 0 | 7042305 | using System.Collections.Concurrent;
using Umbraco.Core.Models;
using Umbraco.Core.Persistence.Dtos;
namespace Umbraco.Core.Persistence.Mappers
{
[MapperFor(typeof(ServerRegistration))]
[MapperFor(typeof(IServerRegistration))]
internal sealed class ServerRegistrationMapper : BaseMapper
{
... |
StartRuby/src/JSON_PrettyPrinter.cs | ststeiger/RubyService | 0 | 7042306 | <gh_stars>0
using System.Collections.Generic;
using System.Text;
namespace StartRuby
{
// http://stackoverflow.com/questions/5881204/how-to-set-formatting-with-javascriptserializer-when-json-serializing
internal class JSON_PrettyPrinter
{
/// <summary>
/// Adds indentation and line b... |
src/MassTransit/Configuration/CompensateActivityPartitionerExtensions.cs | NooNameR/MassTrans | 4,222 | 7042309 | <gh_stars>1000+
namespace GreenPipes
{
using System;
using System.Text;
using MassTransit.Courier;
using Partitioning;
using Specifications;
public static class CompensateActivityPartitionerExtensions
{
/// <summary>
/// Specify a concurrency limit for tasks ex... |
Assets/Scripts/DataAccess/HighScoreDataAccessor.cs | Genetic-Games/BigRedButton | 0 | 7042310 | <filename>Assets/Scripts/DataAccess/HighScoreDataAccessor.cs<gh_stars>0
using System;
using System.Text;
namespace BigRedButton.DataAccess
{
public static class HighScoreDataAccessor
{
/// <summary>
/// Sets up the SQL for creating the high score table if not already created
/// </summ... |
SettingsForm.Designer.cs | PI20v/awesome-email-extractor | 4 | 7042312 | namespace AwesomeEmailExtractor
{
partial class SettingsForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
mcs/class/System.ServiceModel/Dummy_XM_4_5.cs | lukaszunity/mono | 1 | 7042313 | using System.Collections.Generic;
using System.Reflection;
using System.Runtime.Serialization;
using System.Runtime.CompilerServices;
using System.ServiceModel.Channels;
using System.ServiceModel.Dispatcher;
using System.Text;
using System.Xml;
namespace System.ServiceModel
{
public class InstanceContext
{
public ... |
src/CoreWCF.Primitives/src/CoreWCF/Description/MessagePropertyDescription.cs | ekinbarut/CoreWCF | 1,110 | 7042314 | <filename>src/CoreWCF.Primitives/src/CoreWCF/Description/MessagePropertyDescription.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace CoreWCF.Description
{
public class MessagePropertyDescription : MessagePartDescri... |
Bisner.ApiModels/Whitelabel/ApiWhitelabelUserModel.cs | phoenix214/BisnerXamarin | 1 | 7042315 | using System;
using System.Collections.Generic;
using Bisner.ApiModels.Central;
using Bisner.ApiModels.General;
using Bisner.Constants;
namespace Bisner.ApiModels.Whitelabel
{
[Flags]
public enum UserRoles
{
//Use None as the name of the flag enumerated constant whose value is zero.
//You... |
src/LumiSoft.Net/FTP/Client/FTP_ClientException.cs | robsiera/bugnet | 200 | 7042316 | <reponame>robsiera/bugnet
using System;
using System.Collections.Generic;
using System.Text;
namespace LumiSoft.Net.FTP.Client
{
/// <summary>
/// FTP client exception.
/// </summary>
public class FTP_ClientException : Exception
{
private int m_StatusCode = 500;
private string ... |
StructuralTesting/ImpostoDeRendaTest.cs | hd1fernando/TestingTechniques | 0 | 7042317 | <filename>StructuralTesting/ImpostoDeRendaTest.cs<gh_stars>0
using FluentAssertions;
using SourceCode.URICode;
using System;
using Xunit;
namespace StructuralTesting
{
public class ImpostoDeRendaTest
{
[Theory(DisplayName = "Retornar 'isento' quando salário está entre 0 e 2000")]
[Tr... |
src/RESPite/LifetimeT.cs | mgravell/Bedrock.Resp | 16 | 7042318 | <reponame>mgravell/Bedrock.Resp
using System;
using System.Buffers;
using System.Threading.Tasks;
namespace Respite
{
public static class Lifetime
{
private static class Cache<T>
{
public static readonly Action<Memory<T>, object?> ReturnToArrayPool =
(_, state) => A... |
src/HRM.BOL/CandidateExperienceBOL.cs | jencyraj/HumanResourceManagementProject | 0 | 7042319 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HRM.BOL
{
public class CandidateExperienceBOL
{
public int ExperienceID { get; set; }// Primary Key
public int CandidateID { get; set; }
public string Company { get;... |
Minesweeper/Converters/EnumToStringConverter.cs | Carsten0001/Minesweeper | 1 | 7042320 | <filename>Minesweeper/Converters/EnumToStringConverter.cs<gh_stars>1-10
using Minesweeper.Properties;
using System;
using System.Globalization;
using System.Windows.Data;
namespace Minesweeper.Converters
{
/// <summary>
/// Converts Enum values to localized strings and back.
/// </summary>
public clas... |
Mobile/Source/UISleuth/Messages/OkResponse.cs | xplatform/uisleuth | 53 | 7042321 | using UISleuth.Reactions;
namespace UISleuth.Messages
{
/// <summary>
/// Client requests require a response. If a <see cref="Reaction"/> did not create a specific
/// response for the request, an object of this request is sent.
/// </summary>
internal class OkResponse : Response
{
///... |
Bss.Optimization.Appetizers.Glop/Model.cs | MurshidMac/Optimization | 16 | 7042322 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bss.Optimization.Appetizers.Entities;
using Google.OrTools.ConstraintSolver;
namespace Bss.Optimization.Appetizers.Glop
{
public class Model : Interfaces.IAppetizerO... |
ToMigrate/Raven.Tests.FileSystem/Bugs/Queries.cs | ryanheath/ravendb | 1 | 7042324 | using System.Threading.Tasks;
using Raven.Json.Linq;
using System.Collections.Specialized;
using System.IO;
using Raven.Tests.Helpers;
using Xunit;
namespace Raven.Tests.FileSystem.Bugs
{
public class Queries : RavenFilesTestWithLogs
{
[Fact]
public void CanQueryMultipleFiles()
... |
JSON Entities/Convert/JsonToModel.cs | RonnyVDS/Dynamics365JsonEntities | 0 | 7042325 | namespace Profility.JSONEntities
{
using Newtonsoft.Json;
using Profility.JSONEntities.Model;
using System.Collections.Generic;
internal static partial class Convert
{
internal static EntityContainer JsonToModel(string json) {
var entityContainer = JsonConvert.DeserializeObject<EntityContainer>(json);
... |
SocialServicesManager/SocialServicesManager.Data/Services/Parser/DataParser.cs | DatabaseMasters/SocialServicesManager | 0 | 7042326 | using SocialServicesManager.Data.Factories.Contracts;
using SocialServicesManager.Data.Services.Parser.Models;
using System.Collections.Generic;
using System.Linq;
namespace SocialServicesManager.Data.Services.Parser
{
public static class DataParser
{
public static int ParseFamiliesJsonData(string fil... |
Qaelo/Qaelo/Web/Users/Shop/ListShop.aspx.designer.cs | ThabangSirrve/Qaelo | 0 | 7042327 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---------------------------------... |
ConfigMaker/Model/SettingsExtended.cs | shaxxx/EPGUtils | 1 | 7042328 | <reponame>shaxxx/EPGUtils
using ConfigMaker.Properties;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace ConfigMaker.Model
{
partial class settings
{
[XmlIgnore()]
publ... |
Mod/Heroes/Battery/Characters/BatteryCharacterCardController.cs | jamespicone/potw | 2 | 7042329 | using Handelabra;
using Handelabra.Sentinels.Engine.Controller;
using Handelabra.Sentinels.Engine.Model;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Jp.ParahumansOfTheWormverse.Utility;
namespace Jp.ParahumansOfTheWormverse.Battery
{
publi... |
KnapsackAlgorithm.cs | SabitKondakci/DynamicProgrammingAlgorithsm | 23 | 7042330 | <filename>KnapsackAlgorithm.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DynamicProgrammingAlgorithms
{
class KnapsackAlgorithm
{
// Formulation V[i,w] = Max{ V[ i-1 , w] , V[ i-1 , w - W[i] ] + P[i] }
... |
AmIHackedBot/Emails/UpdateService.cs | LightVolk/AmIHackedBot | 7 | 7042331 | <filename>AmIHackedBot/Emails/UpdateService.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reactive.Linq;
using System.Text;
using System.Threading;
using AmIHackedBot.Sharp;
using Microsoft.Extensions.Logging;
using Newtonsof... |
Cap7/Page356/Duck.cs | renebentes/HeadFirstCSharp | 0 | 7042332 | using System;
namespace Page356
{
internal class Duck : Bird, IComparable<Duck>
{
public int Size;
public KindOfDuck Kind;
public int CompareTo(Duck duckToCompare)
{
return Size > duckToCompare.Size ? 1 : Size < duckToCompare.Size ? -1 : 0;
}
publi... |
SoftGL/RenderContext/Texture/SampleObject/RC.Sampler.cs | bitzhuwei/SoftGL | 6 | 7042333 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SoftGL
{
// https://www.khronos.org/opengl/wiki/Sampler_Object
/// <summary>
/// Bind a <see cref="Sampler"/> object to a texture uint('s index), and it will affect all textures that bind to the same texture ui... |
mobile-app/RevisedGestrApp/RevisedGestrApp/RevisedGestrApp.Android/Services/Music/IMusicManager.cs | HGTP/hgtp-capstone | 0 | 7042334 | /// <summary>
/// Copyright 2021 HGTP Capstone Team at the University of Utah:
/// <NAME>, <NAME>, <NAME>, <NAME>
///
/// Licensed under the MIT license. Read the project readme for details.
/// </summary>
using System.Threading.Tasks;
namespace RevisedGestrApp.Droid.Services.Music
{
/// <summary>
///
... |
sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/SpotRestorePolicy.cs | gjy5885/azure-sdk-for-net | 1 | 7042335 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.Compute.Models
{
/// <summary> Specifies the Spot-Try-Restore properties for the virtual machine scale set. <br><br> With this propert... |
Wobble/Input/EnhancedMouseState.cs | AndyTechGuy/Wobble | 67 | 7042336 | <filename>Wobble/Input/EnhancedMouseState.cs
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using Wobble.Window;
namespace Wobble.Input
{
/// <summary>
/// An enhanced version of the mouse state. It takes into account window screen scale,
/// to provide the actual accurate pos... |
CerberusAndroid/Model/ProjectCerberusEvent.cs | jabreu4/cerberus | 0 | 7042337 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace CerberusAndroid
{
class ProjectCerberusEvent
{
public string EventName { get; se... |
MotorsportSite/MotorsportSite.DataLevel/Drivers/Models/QualifingResults.cs | rustyrust/MotorsportSite | 0 | 7042338 | <reponame>rustyrust/MotorsportSite<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace MotorsportSite.DataLevel.Drivers.Models
{
public class QualifingResults
{
public int DriverId { get; set; }
public DateTime StartDate { get; set; }
public string T... |
SuperMessenger/SuperMessenger/Models/EntityFramework/FileInformation.cs | stone1234765/SuperMessenger | 0 | 7042339 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SuperMessenger.Models.EntityFramework
{
public class FileInformation
{
public Guid Id { get; set; }
public string Name { get; set; }
public DateTime SendDate { get; set; }
... |
Test2/Program.cs | njtuiwang/NewLife.Redis | 0 | 7042340 | using NewLife.Caching;
using NewLife.Log;
using System;
using System.Threading;
namespace Test2
{
class Program
{
static void Main(string[] args)
{
XTrace.UseConsole();
// 激活FullRedis,否则new FullRedis会得到默认的Redis对象
FullRedis.Register();
Test1();
... |
SwmSuite.Presentation.Common/ApplicationIdle/ActivityEventArgs.cs | Djohnnie/SwmSuite-Original | 0 | 7042341 | using System;
namespace SwmSuite.Presentation.Common.ApplicationIdle {
/// <summary>
/// Class that contains the one of the ActivityMessages that the component used to consider the application not idle.
/// </summary>
public class ActivityEventArgs : EventArgs {
#region -_ Private Members _-
private Activit... |
WindowsFormsApplication1/WindowsFormsApplication1/Form1.cs | Krisztian21/WindowsForm | 0 | 7042342 | 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;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
... |
Managed/firstpass/Epic/OnlineServices/Metrics/BeginPlayerSessionOptions.cs | undancer/oni-data | 1 | 7042343 | namespace Epic.OnlineServices.Metrics
{
public class BeginPlayerSessionOptions
{
public int ApiVersion => 1;
public BeginPlayerSessionOptionsAccountId AccountId { get; set; }
public string DisplayName { get; set; }
public UserControllerType ControllerType { get; set; }
public string ServerIp { get; set;... |
Compiler/Compiler/Build/ImageSheets/Chunk.cs | jimjag/crayon | 107 | 7042344 | <filename>Compiler/Compiler/Build/ImageSheets/Chunk.cs
using System;
using System.Collections.Generic;
using System.Linq;
using CommonUtil.Images;
namespace Build.ImageSheets
{
class Chunk
{
public int ID { get; set; }
public int MaxWidth { get; set; }
public int MaxHeight... |
05-Containers/Ninject with ASP.NET MVC (not Core)/OrderTaker.MVC/Binders/ShoppingCartModelBinder.cs | jeremybytes/vslive-di-lab | 2 | 7042345 | using OrderTaker.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace OrderTaker.MVC.Binders
{
public class ShoppingCartModelBinder : IModelBinder
{
private const string sessionKey = "ShoppingCart";
public object BindMode... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.