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/CAS.TFS/Model/Iteration/SprintCollection.cs | risadams/team-agile | 0 | 7053935 | <gh_stars>0
using System;
using System.Collections.Generic;
namespace CAS.TFS.Model.Iteration
{
/// <summary>
/// Class SprintCollection.
/// </summary>
[Serializable]
public class SprintCollection : List<Sprint>
{
}
} |
Source/Microsoft.Teams.Apps.FAQPlusPlus/Properties/Strings.Designer.cs | alexAlvarez16/FPPDefault | 0 | 7053937 | <reponame>alexAlvarez16/FPPDefault
//------------------------------------------------------------------------------
// <auto-generated>
// Este código fue generado por una herramienta.
// Versión de runtime:4.0.30319.42000
//
// Los cambios en este archivo podrían causar un comportamiento incorrecto y se p... |
src/Cosmos.Extensions.DateTime/Cosmos/Date/Extensions/DateTime/Constellation/Extensions.DateTime.Constellation.cs | alexinea/Cosmos.Standard | 0 | 7053938 | // ReSharper disable once CheckNamespace
namespace Cosmos.Date
{
/// <summary>
/// DateTime Extensions<br />
/// DateTime 扩展方法
/// </summary>
public static partial class DateTimeExtensions
{
/// <summary>
/// Gets Constellation name<br />
/// 获取星座名
/// </summary... |
ASS/Dicts.cs | pawelklis/ASS | 0 | 7053940 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
namespace ASS
{
public class Dicts
{
public bool TurnOffLampByTimer { get; set; }
publi... |
src/Services/Catalog/PushFive.Catalog.WebApi/AutoMapper/ModelToDtoProfile.cs | gabrielcalegari/pushfive | 0 | 7053941 | <filename>src/Services/Catalog/PushFive.Catalog.WebApi/AutoMapper/ModelToDtoProfile.cs
using AutoMapper;
using PushFive.Catalog.Domain.Models;
using PushFive.Catalog.WebApi.Dtos;
namespace PushFive.Catalog.WebApi.AutoMapper
{
public class ModelToDtoProfile : Profile
{
public ModelToDtoProfile()
... |
src/TestScaffolderExtension/CreateUnitTestsForMethodCommand/RecommendedUnitTestLocationInfo.cs | SevenCorners/TestScaffolderExtension | 1 | 7053942 | namespace TestScaffolderExtension.CreateUnitTestsForMethodCommand
{
using Microsoft.CodeAnalysis;
public class RecommendedUnitTestLocationInfo
{
public RecommendedUnitTestLocationInfo(Project recommendedUnitTestProject, string recommendedUnitTestPathFromProject)
{
this.Recommen... |
aspnet/aspnet/overview/owin-and-katana/getting-started-with-owin-and-katana/samples/sample3.cs | crowchirp/aspnet-docs | 159 | 7053943 | <gh_stars>100-1000
class Program
{
static void Main(string[] args)
{
using (Microsoft.Owin.Hosting.WebApp.Start<Startup1>("http://localhost:9000"))
{
Console.WriteLine("Press [enter] to quit...");
Console.ReadLine();
}
}
} |
WSOL.EktronCms.ContentMaker.Samples/WSOL/Custom/ContentMaker/Samples/Models/SectionContent.cs | bmcdavid/ektroncms-content-maker | 1 | 7053944 | <gh_stars>1-10
namespace WSOL.Custom.ContentMaker.Samples.Models
{
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using WSOL.EktronCms.ContentMaker.Attributes;
using WSOL.EktronCms.ContentMaker.Extensions;
using WSOL.EktronCms.ContentMaker.Interfaces;
us... |
Src/Presentation/NotSocialNetwork.API/Endpoints/Publication/Add/PublicationController.cs | KurnakovMaksim/NotSocialNetwork_Blazor | 4 | 7053945 | using AutoMapper;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using NotSocialNetwork.Application.DTOs;
using NotSocialNetwork.Application.Entities;
using NotSocialNetwork.Application.Exceptions;
using NotSocialNetwork.Application.Interfaces.UseCases.Public... |
src/CommandLineBuilder/OptionName.cs | robbieknuth/CommandLineParsing | 0 | 7053946 | <gh_stars>0
using System;
using System.Diagnostics.CodeAnalysis;
namespace CommandLine
{
internal sealed class OptionName : IEquatable<OptionName>
{
private string Value { get; }
private OptionName(string value)
{
this.Value = value;
}
public static Option... |
Shell.Interop/Shell/Interop/IVsParentProject2.cs | isabella232/JetBrains.EnvDTE | 6 | 7053947 | <reponame>isabella232/JetBrains.EnvDTE<filename>Shell.Interop/Shell/Interop/IVsParentProject2.cs
using System;
namespace Microsoft.VisualStudio.Shell.Interop
{
public interface IVsParentProject2
{
int CreateNestedProject(
uint itemidLoc,
ref Guid rguidProjectType,
s... |
src/HunterSim.Tests/TalentTests/CombatExperienceTests.cs | dylan-smith/HunterSim | 0 | 7053948 | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace HunterSim.Tests.TalentTests
{
[TestClass]
public class CombatExperienceTests
{
[TestMethod]
public void CombatExperience()
{
var state = new SimulationState();
state.Config.PlayerSettings.Race = R... |
Rooms/InnRooms/DiningArea.cs | Misto423/Storefront | 0 | 7053949 | <filename>Rooms/InnRooms/DiningArea.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Storefront.Rooms.InnRooms
{
public class DiningArea : IdleRoom
{
//constructors
public DiningArea() : base()
{
}
public DiningArea(s... |
12-Exam-Prep/Exam-24.02.2019/01-Olympics/Olympics/Olympics.cs | KostadinovK/Data-Structures | 4 | 7053950 | using System;
using System.Collections.Generic;
using System.Linq;
using Wintellect.PowerCollections;
public class Olympics : IOlympics
{
private Dictionary<int, Competitor> competitorsById;
private Dictionary<int, Competition> competitionsById;
public Olympics()
{
competitionsById = new Di... |
Acquaintance/PubSub/StrongSubscriberReference.cs | Whiteknight/Acquaintance | 2 | 7053952 | <filename>Acquaintance/PubSub/StrongSubscriberReference.cs
using System;
namespace Acquaintance.PubSub
{
public class PayloadStrongSubscriberReference<TPayload> : ISubscriberReference<TPayload>
{
private readonly Action<TPayload> _action;
public PayloadStrongSubscriberReference(Action<TPayload... |
Assets/FullInspector2/Core/fiIEditorOnlyTag.cs | gjroelofs/fullinspector | 103 | 7053953 | <reponame>gjroelofs/fullinspector
namespace FullInspector.Internal {
/// <summary>
/// Any UnityObject type tagged with this interface will *not* be included in
/// a published build. This is useful if there are components that should be
/// editor-only.
/// </summary>
/// <remarks>
/// The... |
oc/CodeGenerators/GeneratorBase.cs | mrfichtn/opal | 0 | 7053954 | using System;
using System.IO;
namespace Generators
{
public class GeneratorBase: IDisposable
{
private bool isDisposed;
private readonly bool ownsStream;
private readonly TextWriter stream;
protected int indent;
protected bool indented;
public GeneratorBase(Te... |
Programming Basic/While Loop - Exercise/06Coins/06Coins.cs | StasiS-web/SoftuniCourse | 2 | 7053955 | <reponame>StasiS-web/SoftuniCourse
using System;
namespace Coins
{
class Program
{
static void Main(string[] args)
{
//read sum
double sum = double.Parse(Console.ReadLine());
double changeBack = Math.Round(sum * 100);
//count return co... |
source/Server/DirectoryServices/DirectoryServicesConstants.cs | edcroes/DirectoryServicesAuthenticationProvider | 6 | 7053956 | namespace Octopus.Server.Extensibility.Authentication.DirectoryServices.DirectoryServices
{
class DirectoryServicesConstants
{
public static string IntegratedAuthVirtualDirectory = "/integrated-challenge";
public static string ChallengePath = IntegratedAuthVirtualDirectory;
}
} |
src/Moryx/Serialization/ByteSerializer.cs | mmarkwort/MORYX-Platform | 22 | 7053957 | // Copyright (c) 2020, Phoenix Contact GmbH & Co. KG
// Licensed under the Apache License, Version 2.0
using Moryx.Communication;
namespace Moryx.Serialization
{
/// <summary>
/// Serializer implementation that can combine multiple protocol definitions
/// </summary>
public abstract class ByteSerializ... |
UnrealDumper/Models/DumperSettings.cs | razfriman/UnrealDumper.Net | 7 | 7053958 | <filename>UnrealDumper/Models/DumperSettings.cs
using System;
using UnrealDumper.Net.Models.Offsets;
namespace UnrealDumper.Net.Models
{
public class DumperSettings
{
public byte[] NamesSignature { get; set; }
public byte[] ObjectsSignature { get; set; }
public StructOffsets StructOffs... |
Adyen/Model/Nexo/TransactionConditions.cs | robertftenbosch/adyen-dotnet-api-library | 1 | 7053959 | <gh_stars>1-10
namespace Adyen.Model.Nexo
{
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class Tr... |
TANet/TANet.Contracts/OperationResults/Indicators/MovingAverageResult.cs | AminSaqi/TechnicalAnalysis.NET | 32 | 7053960 | <reponame>AminSaqi/TechnicalAnalysis.NET
namespace TANet.Contracts.OperationResults.Indicators
{
public class MovingAverageResult : IndicatorResultBase
{
public decimal[] Ma { get; set; }
}
}
|
src/ManiaPlanetSharp/GameBox/Parsing/ParserGeneration/ParserCodeGenerator.cs | stefan-baumann/ManiaPlanetSharp | 21 | 7053961 | <gh_stars>10-100
using ManiaPlanetSharp.Utilities;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Text;
namespace ManiaPlanetSharp.GameBox.Parsing.ParserGeneration
{
public static class ParserCodeGenerator
{
public s... |
Tests/ContainerTest.cs | JochenHeckl/IoCLight | 4 | 7053962 | <gh_stars>1-10
using NUnit.Framework;
using UnityEngine;
namespace de.JochenHeckl.Unity.IoCLight.Test
{
public class ContainerTest
{
public class SimpleDefaultConstructor {};
public class SimpleCustomConstructor
{
public SimpleCustomConstructor()
... |
src/AngleSharp/Dom/Events/IMessagePort.cs | aidilumarov/AngleSharp | 4,061 | 7053963 | <gh_stars>1000+
namespace AngleSharp.Dom.Events
{
using AngleSharp.Attributes;
using System;
/// <summary>
/// Represents a message port as defined here:
/// http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#messageport
/// </summary>
[DomName("MessagePort")]
publi... |
RTSEngine/RTSEngine/Shape2D.cs | RTSProductions/RTSEngine | 0 | 7053964 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
namespace RTSEngine.RTSEngine
{
/// <summary>
/// A squar.
/// </summary>
public class Shape2D
{
public Vector2 Position = null;
pub... |
src/Resonance.Common/XmlExtensions.cs | jdbahnsen/Resonance | 0 | 7053965 | <reponame>jdbahnsen/Resonance
using System;
using System.Collections.Concurrent;
using System.IO;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
namespace Resonance.Common
{
public static class XmlExtensions
{
private static readonly XmlQualifiedName EmptyNamespace = new XmlQuali... |
Dukkantek.Data/AutoMappings/CategoryMapProfile.cs | AladienSaleh/Dukkantek | 0 | 7053966 | <reponame>AladienSaleh/Dukkantek
using AutoMapper;
using Dukkantek.Data.Models.Products;
using Dukkantek.Domain.Models;
namespace Dukkantek.Data.AutoMappings
{
public class CategoryMapProfile : Profile
{
public CategoryMapProfile()
{
CreateMap<Category, CategoryDomain>()
... |
src/Circle/CircleClient.OnChain.cs | MyJetWallet/MyJetWallet.Circle | 0 | 7053967 | <gh_stars>0
using System.Threading;
using System.Threading.Tasks;
using MyJetWallet.Circle.Models;
using MyJetWallet.Circle.Models.Onchain;
using MyJetWallet.Circle.Models.Payments;
namespace MyJetWallet.Circle
{
public partial class CircleClient
{
/// <summary>
/// Retrieves general configura... |
CronExpression/TQL.CronExpression.TimeLineEvaluator/Lists/ComputableLists/NearWeekdayComputeList.cs | Puchaczov/TQL.Cron | 12 | 7053968 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using TQL.CronExpression.Parser.Utils;
namespace TQL.CronExpression.TimelineEvaluator.Lists.ComputableLists
{
public class NearWeekdayComputeList : DateTimeBasedComputeList
{
public NearWeekdayComputeList(Ref<DateTimeOffset> referenceTim... |
SunLine.Community.Web/Views/Account/Login.cshtml | mczachurski/community | 0 | 7053969 | <gh_stars>0
@using SunLine.Community.Web.ViewModels.Account
@model LoginViewModel
@{
ViewBag.Title = "Log in";
Layout = "~/Views/Shared/_LoginLayout.cshtml";
}
@using (Html.BeginForm("Login", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { @id="login", @class = "login-form fade-in-ef... |
src/Sender/PongHandler.cs | SVemulapalli/jasper | 0 | 7053970 | using Jasper.Persistence;
using Marten;
using TestMessages;
namespace Sender
{
public class PongHandler
{
[Transactional]
public void Handle(PongMessage message, IDocumentSession session)
{
session.Store(new ReceivedTrack
{
Id = message.Id,
... |
BrawlLib/SSBB/Types/Stage Tables/TBLVEntry.cs | MichaelHinrichs/BrawlCrate | 102 | 7053972 | <reponame>MichaelHinrichs/BrawlCrate
using BrawlLib.Internal;
using System.Runtime.InteropServices;
namespace BrawlLib.SSBB.Types.Stage_Tables
{
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct TBLVEntry // Table (Lava)
{
public const int Size = 0xC;
public bfloat _height; //... |
Demos/src/Aspose.HTML.Live.Demos.UI/Models/AsposeHtmlMerger.cs | N4SIRODDIN3/Aspose.HTML-for-.NET | 13 | 7053973 | <reponame>N4SIRODDIN3/Aspose.HTML-for-.NET
using System;
using System.IO;
using System.Threading.Tasks;
using System.Linq;
using System.Collections.Generic;
using System.Net.Http;
using System.Web.Http;
using Aspose.HTML.Live.Demos.UI.Models.Common;
using Aspose.HTML.Live.Demos.UI.Models;
using Aspose.HTML.Live.Demos.U... |
src/PSTTrader.Core/Data/MarketDepth.cs | alavrenchenko/PSTTrader | 1 | 7053974 | /*
Copyright (C) 2016 <NAME> (http://prosecuritiestrading.com/)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by... |
Android/Adapters/FriendAdapter.cs | kiranvsr/KinderChat | 129 | 7053975 |
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace KinderChat
{
class FriendAdapter : BaseAdapter
{
Activity context;
readonly FriendsViewModel viewModel;
public FriendAdapter(Activity context, FriendsViewModel viewModel)
{
this.context... |
Assets/Infinity Code/Real World Terrain/Scripts/Containers/RealWorldTerrainPOIItem.cs | zFz0000/UnitySimulasiGerakParabola | 1 | 7053976 | /* INFINITY CODE 2013-2019 */
/* http://www.infinity-code.com */
using UnityEngine;
namespace InfinityCode.RealWorldTerrain
{
/// <summary>
/// Class of POI instance.
/// </summary>
public class RealWorldTerrainPOIItem : MonoBehaviour
{
/// <summary>
/// The title of ... |
galaxia/Assets/_Scripts/Enemy_2.cs | seanboyy/G2-Project1 | 0 | 7053977 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemy_2 : Enemy_0
{
[Header("Set in Inspector - Enemy_2")]
public int spacing = 33;
public float orbitingSpeed = 1f;
public float orbitRadius = 10f;
[Header("Set Dynamically - Enemy_2")]
public GameObj... |
Implementation.cs | ds5678/LimitlessContainerSpace | 2 | 7053978 | <reponame>ds5678/LimitlessContainerSpace
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MelonLoader;
using UnityEngine;
using Harmony;
namespace LimitlessContainerSpace
{
public class Implementation : MelonMod
{
public override ... |
src/Uno.UWP/UI/Core/BackRequestedEventArgs.cs | olirobert/uno | 5,973 | 7053979 | using Windows.Foundation;
using Windows.Foundation.Metadata;
namespace Windows.UI.Core
{
public sealed partial class BackRequestedEventArgs
{
public bool Handled { get; set; }
}
} |
src/mono/mono/tests/codegen2.cs | pyracanda/runtime | 9,402 | 7053980 | using System;
using System.Reflection;
using System.Reflection.Emit;
class CGen {
public static int Main() {
AssemblyBuilder abuilder;
ModuleBuilder mbuilder;
TypeBuilder tbuilder, tb2;
FieldBuilder fbuilder;
PropertyBuilder pbuilder;
ILGenerator ilg;
AssemblyName an;
String name = "tcgen.exe";
Met... |
DemoWebsite/Views/User/List.cshtml | ElderJames/Dapper.SimpleCRUD | 3 | 7053981 | @model IPagedList<DemoWebsite.ViewModels.UserViewModel>
@{
ViewBag.Title = "List";
}
<style>
.pager a {
border: 1px solid #aaa;
padding: 3px 5px;
text-align: center;
text-decoration: none;
margin: 4px 3px;
}
.pager .current {
background-color: #0094ff;
... |
Assets/Systems/SInput/Addons - Pablo/SinputEventLauncher.cs | croxelstudios/Serfs-Galore | 1 | 7053982 | <reponame>croxelstudios/Serfs-Galore
using UnityEngine;
using UnityEngine.Events;
using System;
public class SinputEventLauncher : MonoBehaviour
{
[SerializeField]
TimeMode checkTime = TimeMode.Update;
[SerializeField]
SButton[] buttons = null;
[SerializeField]
SAxis[] axes = null;
[Serial... |
Module-2/Design-Patterns/Materials/DI.NET/AssortedCodeSnippets/AssortedCodeSnippetsUnitTest/AbstractFactory/Route/RouteControllerTest.cs | owolp/TelerikAcademy | 2 | 7053983 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit.Extensions;
using Xunit;
using Ploeh.AutoFixture.Xunit;
using Moq;
using Ploeh.Samples.AssortedCodeSnippets.AbstractFactory.Route;
namespace Ploeh.Samples.AssortedCodeSnippetsUnitTest.AbstractFactory.Route... |
DataStructures/Trees/RedAndBlack.cs | ReinierMaas/DataStructures | 3 | 7053984 | <gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
namespace DataStructures.Trees
{
public class RedAndBlack<T> : Binary<T> where T : IComparable<T>
{
private RedAndBlackNode<T> _root;
/// <summary>
///
/// </summary>
/// ... |
source/Dgraph-dotnet/Transactions/ITransaction.cs | dgraph-io/Dgraph-dotnet | 2 | 7053985 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace DgraphDotNet.Transactions {
/// <summary>
/// Use transactions like :
///
/// <code>
/// using(var txn = client.NewTransaction()) {
/// txn.mutate
/// txn.query
/// txn.mutate
//... |
src/P2PSocket.Client/Utils/ConfigUtils.cs | ZeroDeng01/P2PSocket.Client.WFM | 8 | 7053986 | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Linq;
using P2PSocket.Core.Models;
using System.Reflection;
namespace P2PSocket.Client.Utils
{
public static class ConfigUtils
{
public static bool IsExistConfig()
{
return File.Exists(... |
tests/Meilisearch.Tests/SettingsTests.cs | juchom/meilisearch-dotnet | 0 | 7053987 | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using Xunit;
namespace Meilisearch.Tests
{
public abstract class SettingsTests<TFixture> : IAsyncLifetime where TFixture : IndexFixture
{
private readonly Settings _defaultSettings;
... |
Linq2Ldap.TestCommon/Models/User.cs | cdibbs/linq2ldap | 6 | 7053988 | <gh_stars>1-10
using Linq2Ldap.Core.Attributes;
using Linq2Ldap.Core.Models;
using Linq2Ldap.Core.Types;
namespace Linq2Ldap.TestCommon.Models {
public class User: MyModel {
[LdapField("samaccount")]
public LdapInt Id { get; set; }
[LdapField("status")]
public string Status { get; ... |
Barista.PointsOfSale/Domain/UserAuthorization.cs | nesfit/Coffee | 0 | 7053989 | using System;
namespace Barista.PointsOfSale.Domain
{
public class UserAuthorization
{
public Guid PointOfSaleId { get; private set; }
public Guid UserId { get; private set; }
public UserAuthorizationLevel Level { get; private set; }
public DateTimeOffset Created { get; private... |
Source/Web/JustOrderIt.Web/Areas/Public/ViewModels/Tags/TagCacheViewModel.cs | mpenchev86/JustOrderIt | 0 | 7053990 | <filename>Source/Web/JustOrderIt.Web/Areas/Public/ViewModels/Tags/TagCacheViewModel.cs
namespace JustOrderIt.Web.Areas.Public.ViewModels.Tags
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Data.Models;
using Data.Models.Catalog;
using In... |
Models/Commands/ActivateCommand.cs | Z0rdak/RepetierSharp | 4 | 7053991 | using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json.Serialization;
namespace RepetierSharp.Models.Commands
{
public class ActivateCommand : ICommandData
{
[JsonPropertyName("printer")]
public string PrinterSlug { get; }
[JsonIgnore]
public ... |
Dict/Keywords.cs | feeleen/Hors | 41 | 7053992 | <gh_stars>10-100
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Hors.Dict
{
public class Keywords
{
public static readonly string[] After = {"через"};
public static readonly string[] AfterPostfix = {"спустя"};
public static readonl... |
Assets/Scripts/Camera/CameraOffset.cs | TheKingOfShadows98/GrapplingHook | 0 | 7053993 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Cinemachine;
public class CameraOffset : MonoBehaviour
{
[SerializeField] private CinemachineVirtualCamera vcam;
[SerializeField] private float maxrange;
[SerializeField] private float speed;
[SerializeField] private f... |
DSA/Trees-and-Traversals-Homework/01-TreeTraversal/TreeTraversal.cs | kaizer04/Telerik-Academy-2013-2014 | 0 | 7053994 | namespace _01_TreeTraversal
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program
{
static void Main(string[] args)
{
// Test Input (hint: use Alt + LeftMouseClick to select multiple r... |
PddOpenSdk/PddOpenSdk/Models/Request/Ticket/GetTicketSkuRuleRequestModel.cs | niltor/open-pdd-net-sdk | 134 | 7053995 | <gh_stars>100-1000
using Newtonsoft.Json;
namespace PddOpenSdk.Models.Request.Ticket
{
public partial class GetTicketSkuRuleRequestModel : PddRequestModel
{
/// <summary>
/// 商户履约规则 id
/// </summary>
[JsonProperty("out_rule_id")]
public string OutRuleId { get; set; }
... |
TechExpoWorld/Data/Migrations/ApplicationDbContextModelSnapshot.cs | boyandelchev/ASP.NET-Core-Project-Tech-Expo-World | 0 | 7053996 | // <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using TechExpoWorld.Data;
namespace TechExpoWorld.Data.Migrations
{
[DbContext(typ... |
DCComics/Views/Shared/_PersonInList.cshtml | revanorion/DCComics | 0 | 7053997 | <reponame>revanorion/DCComics<filename>DCComics/Views/Shared/_PersonInList.cshtml
@model DCComics.Model.Person
@*<div class="row">
<div class="col-md-2">
@Html.DisplayFor(model => model.FirstName)
</div>
<div class="col-md-2">
@Html.DisplayFor(model => model.LastName)
</div>
<... |
src/Barcode.Shared/BinaryPitchGlyph.cs | ennerperez/barcode | 3 | 7053998 | namespace Barcode
{
/// <summary>
/// <b>BinaryPitchGlyph</b> represents a two-state variable pitched
/// barcode glyph characters (Code 3 of 9 is a good example) where
/// character bars or spaces can be one of two widths.
/// </summary>
public class BinaryPitchGlyph : BarGlyph, IBinaryPitchGlyph
{
... |
MyWindowsMediaPlayer/ViewModel/ControlViewModel.cs | Antoine-Mace/MediaPlayer | 1 | 7053999 | <filename>MyWindowsMediaPlayer/ViewModel/ControlViewModel.cs
using System.Drawing;
using System;
using System.Windows.Media;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
using System.Windows.Documents;
using Syste... |
Source/OrionLib/Subscribe/SelfHosting/OwinSubscriptionListener.cs | bt-skyrise/OrionLib | 5 | 7054000 | <filename>Source/OrionLib/Subscribe/SelfHosting/OwinSubscriptionListener.cs<gh_stars>1-10
using System;
using System.Security.Policy;
using System.Threading.Tasks;
using Microsoft.Owin.Hosting;
using OrionLib.Utils;
using Owin;
namespace OrionLib.Subscribe.SelfHosting
{
public class OwinSubscriptionListener : IDi... |
Novak.Andriy/wcf_progect/tickets.contracts.impl/TicketService.cs | 23S163PR/windows-communication-foundation | 0 | 7054001 | using System.Runtime.Serialization;
namespace tickets.contracts.impl
{
[KnownType(typeof(Poster))]
[KnownType(typeof(PosterRequestParameters))]
public class TicketService : ITicketService
{
public IPoster GetPoster(IPosterRequestParameters requestParameters)
{
return new Po... |
Roket.NET.Portable/Roket.NET.Portable/Models/Exceptions/ResponseException.cs | muhammad-hari/roket.net-portable | 1 | 7054002 | <reponame>muhammad-hari/roket.net-portable
using System;
namespace Roket.NET
{
public class ResponseException : Exception
{
public ResponseException(string message) : base(message) { }
}
}
|
Forms/Screen/GBScreenForm.cs | zeralph/GameBoyEmu | 0 | 7054003 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace GameBoyTest.Screen
{
public partial class GBScreenForm : Form
{
Memory.MappedMemory m_ram;
... |
WeChatService/WeChatService/ServiceClient.cs | zanderphh/QueueSystem | 86 | 7054004 | using System;
using MessageLib;
using QueueMessage;
namespace WeChatService
{
public class ServiceClient : TcpClient
{
QueueMessage.ExtraData extraData = new QueueMessage.ExtraData();
QueueMessage.Process process = new QueueMessage.Process();
public event Action<IntPtr, Message> Receiv... |
Assets/Galaxy.cs | ZachNo/ProjectStargazer | 1 | 7054005 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Galaxy : MonoBehaviour {
int ss;
public float size;
public int galaxyType;
float distToShow;
public float spiralSpread = 0.1f;
GameObject[] ssObjects;
GameObject[] gasObjects;
Random.State re... |
LogInsights/Datastore/StoreClasses/ParseStatistic.cs | OneIdentity/IdentityManager.LogInsights | 0 | 7054006 | using System;
namespace LogInsights.Datastore
{
public class ParseStatistic
{
public string filename = "N/A";
public long filesizeKb = -1;
public double readAndParseFileDuration = -1d; //unit is ms
public double overallDuration = -1d; //unit is ms
public P... |
src/Applications/SimpleApi/Business/Utils/Authorization/ApiPermissionHandler.cs | Lc3586/Microservice | 6 | 7054007 | <filename>src/Applications/SimpleApi/Business/Utils/Authorization/ApiPermissionHandler.cs<gh_stars>1-10
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Filters;
using System.Threading.Tasks;
namespace Business.Utils.Authorization
{
/// <summary>
/// 接口... |
Public/Src/Utilities/Instrumentation/LogGenerator/SymbolAnalysisHelper.cs | miniksa/BuildXL | 448 | 7054008 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Linq;
using Microsoft.CodeAnalysis;
namespace BuildXL.LogGenerator
{
/// <summary>
/// Extension methods for symbol analysis.
/// </summary>
internal static class SymbolAnalysisHelper
{
//... |
FixStationPower/GameSavePatch.cs | nclow/DSP-Mods | 5 | 7054009 | <filename>FixStationPower/GameSavePatch.cs
using HarmonyLib;
namespace Pasukaru.DSP.FixStationPower
{
[HarmonyPatch(typeof(GameSave))]
public class GameSavePatch
{
[HarmonyPostfix]
[HarmonyPatch("LoadCurrentGame")]
public static void LoadCurrentGamePatch(bool __result)
... |
Quiz-Application.Services/Entities/Candidate.cs | gpcaretti/Quiz-Application | 11 | 7054010 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Quiz_Application.Services.Entities
{
public class Candidate:BaseEntity
{
[Key]
... |
src/Common/ErrorDefine.cs | RookieXie/ZhiJi.Manange | 0 | 7054011 | <filename>src/Common/ErrorDefine.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Common
{
public class ErrorDefine
{
public static readonly string redisTokenIsNull = "1000";
public static readonly string redisMenuIsNull = "1001";
public static readonly s... |
src/Advobot.Core/Constants.cs | advorange/Advobot | 9 | 7054012 | <reponame>advorange/Advobot
using Discord;
using System.ComponentModel;
using System.Reflection;
namespace Advobot;
/// <summary>
/// Global values expected to stay the same.
/// </summary>
public static class Constants
{
/// <summary>
/// Used in AssemblyConfiguration to specify debug or release mode.
/// </sum... |
Unity/Prosthesis/Library/PackageCache/com.unity.inputsystem@0.2.1-preview/InputSystem/Devices/Gamepad.cs | mylespedronan/prosthetic | 71 | 7054013 | using System.ComponentModel;
using System.Runtime.InteropServices;
using UnityEngine.Experimental.Input.Controls;
using UnityEngine.Experimental.Input.Haptics;
using UnityEngine.Experimental.Input.Layouts;
using UnityEngine.Experimental.Input.LowLevel;
using UnityEngine.Experimental.Input.Utilities;
////TODO: come up ... |
Zombie_Arena/Assets/EzMsg/EzMsgManager.cs | alissonads/Zombie_Arena | 0 | 7054014 | using UnityEngine;
namespace Ez.Msg
{
/// <summary>This Manager is required in any scene using EzMsg. It's used to hold the execution of all coroutines.
/// </summary>
public class EzMsgManager : MonoBehaviour {
public void Awake()
{
EzMsg.Manager = this;
}
}
}
|
DevOps.Client/Http/Request.cs | ybriz/devops-cli | 1 | 7054015 | <filename>DevOps.Client/Http/Request.cs
// Copyright (c) All contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Jmelosegui.DevOps.Client
{
using System;
using System.Collections.Generic;
using System.IO;
usi... |
src/backend/DTO/Offer/UpdateOfferDto.cs | gzili/foodsaver | 4 | 7054016 | <reponame>gzili/foodsaver
using System;
namespace backend.DTO.Offer
{
public class UpdateOfferDto
{
public double Quantity { get; set; }
public DateTime ExpiresAt { get; set; }
public string Description { get; set; }
}
} |
src/myxsl.web/configuration/WebSection.cs | maxtoroq/myxsl | 6 | 7054017 | // Copyright 2014 <NAME>.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in wri... |
src/Comformation/Generated/SES/ConfigurationSetEventDestination/ConfigurationSetEventDestinationResource.cs | stanb/Comformation | 17 | 7054018 | using System;
using System.Collections.Generic;
using Comformation.IntrinsicFunctions;
namespace Comformation.SES.ConfigurationSetEventDestination
{
/// <summary>
/// AWS::SES::ConfigurationSetEventDestination
/// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-configuration... |
HotelReservation/Web/Models/Rooms/RoomsIndexViewModel.cs | veselin465/HotelReservationManagment | 5 | 7054019 | <reponame>veselin465/HotelReservationManagment
using System.Collections;
using System.Collections.Generic;
using Web.Models.Reservations;
using Web.Models.Shared;
namespace Web.Models.Rooms
{
public class RoomsIndexViewModel
{
public PagerViewModel Pager { get; set; }
public RoomsFilterViewMo... |
forms/src/forms/l2a_redo.Designer.cs | latex2ai/LaTeX2AI | 27 | 7054020 | <filename>forms/src/forms/l2a_redo.Designer.cs
// -----------------------------------------------------------------------------
// MIT License
//
// Copyright (c) 2020 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "S... |
Microsoft.Research/Contracts/PresentationFramework/Sources/System.Windows.Shell.ThumbButtonInfo.cs | jeroen-mostert/CodeContracts | 778 | 7054021 | // CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including wit... |
Omack.Api/ViewModels/UserVM.cs | KishorTiwari/OnAirMoneyTrack | 0 | 7054022 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Omack.Api.ViewModels
{
public class UserVM
{
[Display(Name = "Name")]
public string UserName { get; set; }
[Required]
[Displa... |
Src/mbs.cardlandia.gameprofile.datalayer/Entities/Card.cs | jcapellman/Shawnimon | 1 | 7054023 | namespace mbs.cardlandia.userprofile.datalayer.Entities
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class Card
{
[System.Diagnostic... |
src/NETCore.Ldap/Builders/AddRequestBuilder.cs | simpleidserver/NETCore.Ldap | 10 | 7054024 | // Copyright (c) SimpleIdServer. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using NETCore.Ldap.DER.Applications;
using NETCore.Ldap.DER.Applications.Requests;
using NETCore.Ldap.DER.Universals;
using System.Collections.Generic;
name... |
XamarinFirebaseSample/XamarinFirebaseSample/ViewModels/ContributionPageViewModel.cs | 4515-project/XamarinFirebaseSample | 4 | 7054025 | <filename>XamarinFirebaseSample/XamarinFirebaseSample/ViewModels/ContributionPageViewModel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Prism.Commands;
using Prism.Navigation;
using Prism.Logging;
using Prism.Services;
using XamarinFirebaseSample.Services;
us... |
src/MockingData/Generators/Random/PatternMatching.cs | JohanOhlin/MockingData | 1 | 7054026 | using System;
using System.Collections.Generic;
using System.Linq;
using MockingData.Generators.Random.Interfaces;
using MockingData.Model;
namespace MockingData.Generators.Random
{
public class PatternMatching : IPatternMatching
{
private readonly IRandomGenerator _generator;
public PatternM... |
rcldotnet/Context.cs | ngyewch/ros2_dotnet | 4 | 7054027 | /*
© Dyno Robotics, 2019
Author: <NAME> (<EMAIL>)
Licensed under the Apache License, Version 2.0 (the "License");
You may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>.
Unless required by applicable law or agreed to in wr... |
TechnologiesFundamentals/ProgrammingFundamentals/DataTypesAndVariables-Exercises/09.ReversedChars/09.ReversedChars/ReversedChars.cs | stoyanov7/SoftwareUniversity | 9 | 7054028 | <reponame>stoyanov7/SoftwareUniversity<filename>TechnologiesFundamentals/ProgrammingFundamentals/DataTypesAndVariables-Exercises/09.ReversedChars/09.ReversedChars/ReversedChars.cs
namespace _09.ReversedChars
{
using System;
public class ReversedChars
{
public static void Main(string[] args)
... |
app/Barcoin/Barcoin.Client/ViewModel/AboutViewModel.cs | NadirBarlozzo/Barcoin | 1 | 7054029 | using MVVM;
namespace Barcoin.Client.ViewModel
{
public class AboutViewModel : BindableBase
{
public IDelegateCommand VideoCommand { get; private set; }
public string Description { get; set; }
public AboutViewModel()
{
VideoCommand = new DelegateCommand(OnVideo);
... |
src/AutoVersionsDB/AutoVersionsDB.Helpers/DisposableWrapper.cs | modi-w/AutoVersionsDB | 0 | 7054030 | <filename>src/AutoVersionsDB/AutoVersionsDB.Helpers/DisposableWrapper.cs
using System;
namespace AutoVersionsDB.Helpers
{
//https://social.msdn.microsoft.com/forums/en-us/824b42e7-07f9-4a67-bd04-6b296d4fdc11/net-framework-hidden-disposables?forum=msdnmagazine
//https://docs.microsoft.com/en-us/archive/msdn-ma... |
test/AddressResolver.UnitTest/MockAddressResolver.cs | Orlys/AddressResolver | 0 | 7054031 | <reponame>Orlys/AddressResolver
using System;
using System.Net;
using System.Threading.Tasks;
namespace AddressResolver.UnitTest
{
public class MockAddressResolver : IAddressResolver
{
public IAddressStore AddressStore { get; }
public virtual Task<AddressResolvedResult> ResolveAddressAsync(str... |
src/Common/Extensions/BigIntegerExtensions.cs | AzzinothCore/AzzinothCore | 11 | 7054032 | // MIT License - Copyright (C) ryancheung and the FelCore team
// This file is subject to the terms and conditions defined in
// file 'LICENSE', which is part of this source code package.
using System;
using System.Numerics;
namespace Common.Extensions
{
public static class BigIntegerExtensions
{
publ... |
InventoryMS.Api/InventoryMS.ApplicationServices/ServiceContracts/IProductService.cs | 151993/Login | 0 | 7054033 | <reponame>151993/Login<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using InventoryMS.Domain;
namespace InventoryMS.ApplicationServices
{
public interface IProductService
{
IEnumerable<ProductDto> GetAllProducts();
ProductDto GetP... |
Sandwitch.Portal/Sandwitch.Tier.Services.Tests/Classes/TestHistoricoService.cs | javierpardollama/SANDWITCH | 0 | 7054034 | <filename>Sandwitch.Portal/Sandwitch.Tier.Services.Tests/Classes/TestHistoricoService.cs
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using NUnit.Framework;
using Sandwitch.Tier.Entities.Classes;
using Sandwitch.Tier.Services.Classes;
using Sandwitch.Tier.ViewMo... |
Finances/ScheduleManager.xaml.cs | otvoiski/Finances | 2 | 7054035 | using Finances.Facade;
using Finances.Model;
using Finances.Module;
using System;
using System.Windows;
using System.Windows.Controls;
namespace Finances
{
/// <summary>
/// Interaction logic for ScheduleManager.xaml
/// </summary>
public partial class ScheduleManager : Window, IScheduleManager
{
... |
src/SFA.DAS.Tools.AnalyseErrorQueues.Services/SvcBusService/SvcBusService.cs | SkillsFundingAgency/das-servicebus-error-exporter | 0 | 7054036 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Azure.ServiceBus;
using Microsoft.Azure.ServiceBus.Core;
using Microsoft.Azure.ServiceBus.Primitives;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using SFA.DAS.Tools.AnalyseErrorQueues.Domain;... |
fillstyle/MorphSolidFill.cs | AG-Teammate/transform-swf-net-core | 1 | 7054037 | /*
* MorphSolidFill.java
* Transform
*
* Copyright (c) 2001-2010 Flagstone Software Ltd. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain t... |
src/Unsplash/Client/Constants.cs | unsplash-net/unsplash-net | 2 | 7054038 | <reponame>unsplash-net/unsplash-net
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Unsplash.Tests")]
namespace Unsplash
{
internal class Constants
{
public const string BASE_URL = "https://api.unsplash.com/";
public const string API_VERSION = "v1";
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.