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 |
|---|---|---|---|---|
my_navicat/Form1.Designer.cs | shadowjohn/my_navicat | 0 | 7066947 | <filename>my_navicat/Form1.Designer.cs
namespace my_navicat
{
partial class Form1
{
/// <summary>
/// 設計工具所需的變數。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清除任何使用中的資源。
/// </summary>
/// <param na... |
Source/Ultraviolet.Presentation/Shared/DependencyValue.cs | Spool5520/ultraviolet | 558 | 7066948 | using System;
using System.Globalization;
using Ultraviolet.Core;
namespace Ultraviolet.Presentation
{
/// <summary>
/// Represents a raw dependency property value plus the culture with which it should be parsed.
/// </summary>
public partial struct DependencyValue : IEquatable<DependencyValue>
{... |
Lab05Zoo/Lab05Zoo/Classes/Animal.cs | jaatay/Lab05-Zoo | 0 | 7066949 | using System;
namespace Lab05Zoo
{
public abstract class Animal
{
/// <summary>
/// boolean declaring animals are not plants
/// </summary>
public bool NotAPlant = true;
/// <summary>
/// abstract string regarding what's tasty to a particular animal
/// </summary>
public abstract string Diet { get;... |
src/Functional.Primitives.SerilogExtensions/OptionDestructurePolicy.cs | RyanMarcotte/Functional.FluentAssertions | 3 | 7066950 | <filename>src/Functional.Primitives.SerilogExtensions/OptionDestructurePolicy.cs<gh_stars>1-10
using System;
using System.Collections.Concurrent;
using System.Reflection;
using Serilog.Core;
using Serilog.Events;
namespace Functional.Primitives.SerilogExtensions
{
/// <summary>
/// Determine how, when destructuring... |
AlipaySDKNet/Response/AnttechMorseMarketingSrtaNanonymousQueryResponse.cs | alipay/alipay-sdk-net | 0 | 7066951 | <filename>AlipaySDKNet/Response/AnttechMorseMarketingSrtaNanonymousQueryResponse.cs
using System;
using System.Xml.Serialization;
namespace Aop.Api.Response
{
/// <summary>
/// AnttechMorseMarketingSrtaNanonymousQueryResponse.
/// </summary>
public class AnttechMorseMarketingSrtaNanonymousQueryResponse... |
src/NetCoreStack.Localization/LocalizationGlobals.cs | NetCoreStack/Localization | 80 | 7066952 | <filename>src/NetCoreStack.Localization/LocalizationGlobals.cs<gh_stars>10-100
namespace NetCoreStack.Localization
{
public static class LocalizationGlobals
{
public const string NetCoreStackLocalizationControllerRoute = "NcsLocalization";
public static class DefaultLocalizationMessage
... |
src/goutil/NilType.cs | hackdou/go2cs | 0 | 7066953 | <reponame>hackdou/go2cs<filename>src/goutil/NilType.cs
//******************************************************************************************************
// NilType.cs - Gbtc
//
// Copyright © 2018, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one ... |
source/OpenHardwareMonitor/Hardware/CPU/CPULoad.cs | Mixaill/CapFrameX | 211 | 7066954 | <reponame>Mixaill/CapFrameX
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (C) 2009-2011 <NAME> <<EMAIL>>
*/
using System;
using System.Runtime.I... |
src/Policy.Web/Views/Policy/Edit.cshtml | milannankov/azure-resource-policy-designer | 9 | 7066955 | @model EditPolicyViewModel
@{
ViewData["Title"] = "Edit Policy";
}
<div id="reactApp">
</div>
@section scripts {
<script>
let apiDetails = window.apiDetails = {};
apiDetails.policyId = '@Model.PolicyId';
apiDetails.getPolicyEndpoint = '@Model.GetPolicyEndpoint';
apiDetails.sa... |
src/Simple.Owin.Cors/OriginRegexMatcher.cs | simple-owin/Simple.Owin.Cors | 2 | 7066956 | namespace Simple.Owin.CorsMiddleware
{
using System;
using System.Text.RegularExpressions;
/// <summary>
/// Matches origins using a regular expression.
/// </summary>
public class OriginRegexMatcher : OriginMatcher
{
private readonly Regex _regex;
/// <summary... |
src/DatenMeister.HtmlEngine/HtmlTable.cs | mbrenn/datenmeister-new | 1 | 7066957 | using System.Collections.Generic;
using System.Text;
namespace DatenMeister.HtmlEngine
{
public class HtmlTable : HtmlElement
{
// Option 1: Create one table class and no rows and cells
// Option 2: Create a row and cell class being capable to host content
// Decision: Use Option 1 to c... |
src/DbLocalizationProvider.AdminUI/ResourceListView.cs | MattisOlsson/localization-provider-aspnet | 4 | 7066958 | // Copyright (c) <NAME>. All rights reserved.
// Licensed under Apache-2.0. See the LICENSE file in the project root for more information
namespace DbLocalizationProvider.AdminUI
{
public enum ResourceListView
{
None,
Table,
Tree
}
}
|
waEligeTuPremio/Controllers/DownNavController.cs | yambal2019/Bonificaciones | 0 | 7066959 | <reponame>yambal2019/Bonificaciones<filename>waEligeTuPremio/Controllers/DownNavController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using waEligeTuPremio.Models;
namespace waEligeTuPremio.Controllers
{
public class DownNavController : Controller... |
OptionsWebSite/Controllers/ChoiceController.cs | jtekenos/StudentOptions | 0 | 7066960 | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using DiplomaDataModel.Models;
using DotNet.Highcharts.Options;
using DotNet.Highcharts.Helpers;
using DotNet.Highcharts.Enums;
using DotNet.Highchar... |
Source/Platibus.UnitTests/Filesystem/FilesystemFixture.cs | amarrical/Platibus | 36 | 7066961 | <filename>Source/Platibus.UnitTests/Filesystem/FilesystemFixture.cs<gh_stars>10-100
using Platibus.Filesystem;
using System;
using System.IO;
using Platibus.Diagnostics;
namespace Platibus.UnitTests.Filesystem
{
public class FilesystemFixture : IDisposable
{
private bool _disposed;
public IDi... |
linnOssLib/linnOssLib/Services/UpnpControlPointSoundcard.cs | daviddw/Kinsky | 1 | 7066962 | using System;
using System.Collections.Generic;
using System.Text;
using System.Net;
using System.Web.Services.Protocols;
using System.Xml;
using Linn.Control;
namespace Linn.ControlPoint.Upnp
{
public class ServiceSoundcard : ServiceUpnp
{
public const string kTransportStateStopped = "Stopped";
... |
Matrix.Agent.Postman.Business/Jobs/EmailJob.cs | matrix-platform/postman | 1 | 7066963 | using System;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using Matrix.Agent.Postman.Business.Services;
using Matrix.Agent.Postman.Database.Repositories;
using Matrix.Framework.Api.Response;
using Newtonsoft.Json;
using Quartz;
using RestSharp;
namespace Matrix.Agent.P... |
src/Arctium/Arctium.Connection/Tls/Protocol/HandshakeProtocol/Extensions/EllipticCurvesExtension.cs | NeuroXiq/Arctium | 3 | 7066964 | <filename>src/Arctium/Arctium.Connection/Tls/Protocol/HandshakeProtocol/Extensions/EllipticCurvesExtension.cs
namespace Arctium.Connection.Tls.Protocol.HandshakeProtocol.Extensions
{
class EllipticCurvesExtension : HandshakeExtension
{
public NamedCurve[] EllipticCurveList;
public EllipticCurv... |
Assets/Scripts/GameFlow/Level/Core/LevelFinish/LevelResultExtension.cs | TheProxor/code-samples-from-pg | 0 | 7066965 | namespace Drawmasters.Levels
{
public static class LevelResultExtension
{
#region Methods
public static bool IsLevelOrProposalAccomplished(this LevelResult levelResult) =>
IsLevelAccomplished(levelResult) ||
IsProposalAccomplished(levelResult);
public static bo... |
Yort.OnlineEftpos.Net40.Tests/ErasableStringTests.cs | Yortw/Yort.OnlineEftpos | 1 | 7066966 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yort.OnlineEftpos.Net40.Tests
{
[TestClass]
public class ErasableStringTests
{
[TestMethod]
public void ErasableString_ConstructsCor... |
Source/Domain.Specs/for_Improvement/for_metadata/when_building/with_valid_metadata.cs | dolittle-platform/ContinuousImprovement | 0 | 7066967 | using System;
using System.Collections.Generic;
using Concepts.Improvables;
using Concepts.Improvements;
using Dolittle.Tenancy;
using Domain.Improvements.Metadata;
using Machine.Specifications;
using Domain.Specs.for_Improvement.for_metadata;
namespace Domain.Specs.for_Improvement.for_metadata.when_building
{
[S... |
BlackOfWorld's WebKit library/Toolkit/RateLimit.cs | BlackOfWorld/BlackOfWorlds-Webkit-Library | 0 | 7066968 | <filename>BlackOfWorld's WebKit library/Toolkit/RateLimit.cs
using Microsoft.Extensions.Caching.Memory;
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
namespace BlackOfWorld.Webkit.Toolkit
{
internal class RateLimit
{
int max = 0;
int time = 0;
int... |
SessionState/ASP.NET Core/NCacheSessionServices/NCacheSessionServices/Utilities/SessionEstablisher.cs | bbqchickenrobot/NCache | 624 | 7066969 | <filename>SessionState/ASP.NET Core/NCacheSessionServices/NCacheSessionServices/Utilities/SessionEstablisher.cs
//Copyright(c) .NET Foundation.All rights reserved.
//Licensed under the Apache License, Version 2.0 (the "License"); you may not use
//these files except in compliance with the License.You may obtain a co... |
UWPPermissionsCheck/MainPage.xaml.cs | MartinZikmund/blog-2019 | 3 | 7066970 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.Storage;
using Windows.System;
using Windows.UI.... |
src/services/Alaska.Services.Contents/Application/Commands/Media/DeleteMediaCommandHandler.cs | alpitourworld/Alaska | 0 | 7066971 | using Alaska.Services.Contents.Infrastructure.Abstractions;
using MediatR;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Alaska.Services.Contents.Application.Commands.Media
{
internal class DeleteMediaCommandHandler : IRequestHan... |
src/Hostly/Navigation/NavigationContext.cs | sebastianszaniszlo/hostly | 16 | 7066972 | using Xamarin.Forms;
namespace Hostly.Navigation
{
public class NavigationContext
{
public Page Page { get; }
public Page Before { get; }
public bool Animated { get; }
internal NavigationContext(Page page)
{
Page = page;
}
internal Navigati... |
src/Formats/Assets/Labyrinth/Overlay.cs | lucorp/ualbion | 80 | 7066974 | <reponame>lucorp/ualbion<filename>src/Formats/Assets/Labyrinth/Overlay.cs
using System;
using System.ComponentModel;
using SerdesNet;
using UAlbion.Config;
namespace UAlbion.Formats.Assets.Labyrinth
{
public class Overlay
{
public SpriteId SpriteId { get; set; } // 0, ushort
[DefaultValue(1)]
... |
FwUtil.Core/Exceptions/FirewallRuleAlreadyExists.cs | FalconNL93/fwutil | 0 | 7066975 | <reponame>FalconNL93/fwutil
namespace FwUtil.Core.Exceptions;
public class FirewallRuleAlreadyExists : Exception
{
public FirewallRuleAlreadyExists()
{
}
public FirewallRuleAlreadyExists(string message)
: base(message)
{
}
public FirewallRuleAlreadyExists(string message, Exceptio... |
Dendrite/StaticColors.cs | fel88/Dendrite | 8 | 7066976 | using System.Drawing;
using System.Drawing.Drawing2D;
namespace Dendrite
{
public static class StaticColors
{
public static Brush ConvBrush = new SolidBrush(Color.FromArgb(51, 85, 136));
public static Brush DropoutBrush = new SolidBrush(Color.FromArgb(69, 71, 112));
public static Brush... |
Persistence/IUserRepo.cs | newgerstas/exceptions-handling | 0 | 7066977 | <filename>Persistence/IUserRepo.cs
using System.Threading.Tasks;
using ExceptionStrategy.Domain.Users;
namespace ExceptionStrategy.Persistence
{
public interface IUserRepo
{
Task<User> GetExisting(int id);
Task<User> CreateNew(string name, string password);
}
} |
src/Controllers/V1Controller.cs | latestchatty/simple-chatty-server | 3 | 7066978 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using SimpleChattyServer.Data;
using SimpleChattyServer.Data.Requests;
using SimpleChattyServer.Data.Responses;
using SimpleChattyServer.Services;
using System.Net.Http.Headers;
using System.... |
src/GuestConfiguration/generated/api/Models/Api20220125/AssignmentReportResource.cs | jago2136/azure-powershell | 0 | 7066979 | <reponame>jago2136/azure-powershell
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the ... |
Src/Xigadee.Platform/Communication/FabricBridge/TcpTlsChannel/Messaging/Termination/MessageTerminatorCRLFFolding.cs | xigadee/Microservice | 58 | 7066980 | #region Copyright
// Copyright <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 ag... |
Selenium.Community.PageObjects/How.cs | reb3lzrr/PageObjects | 1 | 7066981 | using OpenQA.Selenium;
namespace Selenium.Community.PageObjects
{
/// <summary>
/// En enum describing the default ways of locating <see cref="IWebElement"/>s. Used in conjuncture with <see cref="FindsByAttribute"/>.
/// </summary>
public enum How
{
/// <summary>
/// Finds by <see ... |
src/Loja.Domain.Core/ValueObject/Result.cs | bdvp/Loja | 0 | 7066982 | <filename>src/Loja.Domain.Core/ValueObject/Result.cs<gh_stars>0
namespace Loja.Domain.Core.ValueObject
{
using FluentValidation.Results;
using System.Collections.Generic;
using System.Linq;
public class Result
{
public Result()
{
Error = new List<string>();
}
... |
Tests.PutridParrot.Math/VectorTests.cs | putridparrot/PutridParrot.Math | 0 | 7066983 | using System.Diagnostics.CodeAnalysis;
using NUnit.Framework;
using PutridParrot.Math;
namespace Tests.PutridParrot.Math
{
[ExcludeFromCodeCoverage]
[TestFixture]
public class VectorTests
{
[Test]
public void Constructor_Empty_ExpectEmptyVector()
{
var v = new Vecto... |
Hexkit.Editor/Dialog/ChangeVariable.xaml.cs | prepare/HexKit | 1 | 7066984 | <reponame>prepare/HexKit
using System;
using System.ComponentModel;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Input;
using Tektosyne;
using Tektosyne.Windows;
using Hexkit.Global;
using Hexkit.Scenario;
namespace Hexkit.Editor.Dialog {
#r... |
src/SignalW/Connections/ConnectionList.cs | hixio-mh/SignalW | 143 | 7066985 | <gh_stars>100-1000
// 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.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
usin... |
TCC.Core/Parsing/Messages/ReadyPartyMember.cs | Seyuna/Tera-custom-cooldowns | 0 | 7066986 | using TCC.Data;
namespace TCC.Parsing.Messages
{
public struct ReadyPartyMember
{
public uint ServerId;
public uint PlayerId;
public ReadyStatus Status;
}
} |
WebAPI/Data/AutoMapper.cs | StefanDeWitHR/PartyCoins | 0 | 7066987 | using AutoMapper;
using WebAPI.Models;
using WebAPI.Models.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebAPI.Data
{
public class AutoMapperProfile : Profile
{
public AutoMapperProfile()
{
CreateMap<Company, Compa... |
doc/samples/SqlDataSourceEnumeratorExample.cs | AraHaan/SqlClient | 0 | 7066988 | using System;
//<Snippet1>
using Microsoft.Data.Sql;
class Program
{
static void Main()
{
// Retrieve the enumerator instance and then the data.
SqlDataSourceEnumerator instance =
SqlDataSourceEnumerator.Instance;
System.Data.DataTable table = instance.GetDataSources();
... |
Assets/Scripts/ScriptsLevels/EnemyComponent/AttackBehaviourEnemy.cs | Citizen-Oleg/Carmeleon | 0 | 7066989 | using System;
using Event;
using Player;
using ScriptsLevels.Event;
using SimpleEventBus;
using Towers;
using UnityEngine;
namespace EnemyComponent
{
/// <summary>
/// Класс отвечает за нанесение урона врагом.
/// </summary>
[RequireComponent(typeof(Enemy))]
public class AttackBehaviourEnemy : Mon... |
TwistControl/TwistControl/MainPage.xaml.cs | hackmods/TwistControl | 0 | 7066990 | <filename>TwistControl/TwistControl/MainPage.xaml.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace TwistControl
{
public partial class MainPage : ContentPage
{
public MainPage()
{
I... |
Assets/Scripts/Key Lock Components/DoorKey.cs | JSchoppe/Gallery-Thief | 1 | 7066991 | using UnityEngine;
/// <summary>
/// Corresponds to a set of doors a key can unlock.
/// </summary>
public enum KeyID
{
A, B, C, D, E, F, G, H, I, J
}
/// <summary>
/// Represents an instance of a key that can open doors on the map.
/// </summary>
public sealed class DoorKey : MonoBehaviour
{
#region Inspect... |
Assets/TA/Editor/TgaUtil.cs | provencesl/Unity_Shader_Collection | 1 | 7066992 | // Amplify Impostors
// Copyright (c) Amplify Creations, Lda <<EMAIL>>
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
using System.Reflection;
using System;
namespace TgaUtil
{
public static class BoundsEx
{
public static Bounds Transform( this Bounds bounds, Matrix4x4 matrix )
{
var center = ... |
MultiAudioListener/Example/Scripts/MovementCamera.cs | LjutaPapricica/MultiAudioListener | 29 | 7066993 | using UnityEngine;
using System.Collections;
public class MovementCamera : MonoBehaviour
{
public KeyCode Left;
public KeyCode Right;
public KeyCode Forward;
public KeyCode Backward;
// Update is called once per frame
void Update () {
if(Input.GetKey(Left))transform.Rotate... |
System.Data/cdf/src/NetFx40/Tools/System.Activities.Presentation/System/Activities/Presentation/NamespaceListProperty.cs | cnork/referencesource | 911 | 7066994 | <reponame>cnork/referencesource
//-----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
namespace System.Activities.Presentation
{
using System.Colle... |
Sweet.Jayson/JaysonConverter.ToJsonObject.cs | 1bcrona/Sweet.Jayson | 6 | 7066995 | <reponame>1bcrona/Sweet.Jayson<filename>Sweet.Jayson/JaysonConverter.ToJsonObject.cs
# region License
// The MIT License (MIT)
//
// Copyright (c) 2015, <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"... |
Passingwind.Blog.Core/Extensions/LinqExtensions.cs | jxnkwlp/Passingwind.Blog | 5 | 7066996 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace Passingwind.Blog.Extensions
{
public static class LinqExtensions
{
public static IQueryable<T> WhereIf<T>(this IQueryable<T> query, Expression<Func<T, bool>>... |
DFC.ServiceTaxonomy.Neo4j/Services/Internal/GraphReplicaSetLowLevel.cs | uk-gov-mirror/SkillsFundingAgency.dfc-servicetaxonomy-editor | 5 | 7066997 | using System;
using System.Collections.Generic;
#if REPLICA_DISABLING_NET5_ONLY
using System.Text;
using System.Threading;
using DFC.ServiceTaxonomy.Neo4j.Log;
#endif
using Microsoft.Extensions.Logging;
namespace DFC.ServiceTaxonomy.Neo4j.Services.Internal
{
internal enum EnabledStatus
{
Enabled,
... |
IdentityService/IdentityService.Core/Common/Mappings/IMapFrom.cs | nasraldin/IdentityServer | 1 | 7066998 | <gh_stars>1-10
// <copyright file="IMapFrom.cs" project="Core" solution="IdentityService">
// Copyright (c) 2020 <NAME>. All rights reserved.
// Licensed under the MIT License, See LICENSE in the project root for license information.
// </copyright>
// <author><NAME></author>
// <email><EMAIL></email>
/... |
SageFrame/Modules/TwitterDeck/TwitterSettings.ascx.cs | Sageframe/Sageframe | 9 | 7066999 | <filename>SageFrame/Modules/TwitterDeck/TwitterSettings.ascx.cs
/*
SageFrame® - http://www.sageframe.com
Copyright (c) 2009-2012 by SageFrame
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 withou... |
Web/OpenKO_WEB/OpenKO_WEB/Models/AccountDB.Context.cs | APistole/KnightOnline | 191 | 7067000 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated... |
src/Agoda.Analyzers.Test/AgodaCustom/AG0032UnitTests.cs | szaboopeeter/AgodaAnalyzers | 24 | 7067001 | using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using Agoda.Analyzers.AgodaCustom;
using Agoda.Analyzers.Test.Helpers;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using... |
KafkaAndAkka/src/Shared.Messages/CommitMessage.cs | malaker/AkkaExamples | 0 | 7067002 | using Confluent.Kafka;
using System;
namespace Shared.Messages
{
[Serializable]
public class CommitMessage
{
public TopicPartitionOffset TopicPartitionOffset { get; set; }
}
} |
code/Speiser.Masterthesis.SourceCodeService/Internals/ProjectFileReader.cs | Speiser/masterthesis-computerscience | 1 | 7067003 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Speiser.Masterthesis.SourceCodeService.Contracts;
namespace Speiser.Masterthesis.SourceCodeService.Internals
{
internal class ProjectFileReader : IProjectFileReader
{
public ProjectFile ParseProjec... |
tfzr-rsok-autosalon/Views/Orders/Index.cshtml | LukaK0/TFZR-2021-RSOK-AutoSalon | 0 | 7067004 | <filename>tfzr-rsok-autosalon/Views/Orders/Index.cshtml<gh_stars>0
@model IEnumerable<tfzr_rsok_autosalon.Viewmodels.OrdersViewModel>
@{
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h1>Narudzbine</h1>
<table class="table">
<thead>
<tr>
<th>Model</th>
<th>Proizvodjac</th>
<th>Datu... |
CharlieBackend.Api.UnitTes/LessonServiceTests.cs | BobinMathew/WhatBackend | 0 | 7067005 | using Moq;
using Xunit;
using System;
using AutoMapper;
using System.Threading.Tasks;
using System.Collections.Generic;
using CharlieBackend.Core.Mapping;
using CharlieBackend.Core.Entities;
using CharlieBackend.Core.DTO.Visit;
using CharlieBackend.Core.DTO.Lesson;
using CharlieBackend.Business.Services;
using Charlie... |
STUN/Message/Attributes/UselessAttribute.cs | youridol/NatTypeTester | 1 | 7067006 | <reponame>youridol/NatTypeTester
using System;
using System.Collections.Generic;
namespace STUN.Message.Attributes
{
/// <summary>
/// 无法理解的属性
/// </summary>
public class UselessAttribute : IAttribute
{
public IEnumerable<byte> Bytes => _bytes;
private byte[] _bytes = Array.Empty<byte>();
public bool TryP... |
Test/UnitTest/Core/Block/MinerSaveLoadTest.cs | moorestech/moorestech | 5 | 7067008 | <filename>Test/UnitTest/Core/Block/MinerSaveLoadTest.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Reflection;
using Core.Block.BlockFactory;
using Core.Block.Blocks.Miner;
using Core.Block.Config;
using Core.Item;
using Microsoft.Extensions.DependencyInjection;
using NUnit.Framework;
us... |
src/Competencias/Competencias.Domain/Exceptions/DespesaExceptions.cs | erlonfs/gerenciamento-financeiro-pessoal | 1 | 7067009 | <gh_stars>1-10
using SharedKernel.Common;
namespace Competencias.Domain.Exceptions
{
public class DespesaNaoEncontradaException : ApplicationException
{
public DespesaNaoEncontradaException() : base("Despesa não encontrada.") { }
}
public class DespesaJaAdicionadaException : ApplicationException
{
public De... |
VirtualChannels.Tests/DataStructures/CoverageCircularBufferTests.cs | ldematte/SM.Expressions | 0 | 7067010 | <reponame>ldematte/SM.Expressions<filename>VirtualChannels.Tests/DataStructures/CoverageCircularBufferTests.cs<gh_stars>0
using Moq;
using NUnit.Framework;
using VirtualChannels.DataStructures;
namespace VirtualChannels.Tests.DataStructures
{
[TestFixture]
public class CoverageCircularBufferTests
... |
src/LuceneQueryToSql.Tests/SqlServerFullTextQueryBuilderTests.cs | tomvonclef/LuceneQueryToSql | 4 | 7067011 | using System.Collections.Generic;
using NUnit.Framework;
namespace LuceneQueryToSql.Tests
{
[TestFixture]
public class SqlServerFullTextQueryBuilderTests
{
[Test]
public void BuildTermQuery_ValidInput_ValidSql()
{
// Arrange
var sqlQueryBuilder = new SqlServ... |
aspnet-core/src/IIASA.FloodCitiSense.Mobile.Shared/Views/SendTwoFactorCodeView.xaml.cs | FloodCitiSense/FloodCitiSense | 1 | 7067012 | <reponame>FloodCitiSense/FloodCitiSense<gh_stars>1-10
using IIASA.FloodCitiSense.Mobile.Core.Interface;
using Xamarin.Forms;
namespace IIASA.FloodCitiSense.Views
{
public partial class SendTwoFactorCodeView : ContentPage, IXamarinView
{
public SendTwoFactorCodeView()
{
InitializeCo... |
ReflectionPresentation/ViewModels/01_TypesViewModel.cs | bruce-dunwiddie/ReflectionPresentation | 6 | 7067013 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using ReflectionPresentation.Types;
using ReflectionPresentation.ViewModels.Commands;
namespace ReflectionPresentation.ViewModels
{
public class TypesViewModel : LoggedV... |
Assets/ECS/ECS/Core/Utils/MathUtils.cs | Comelyes/ECSExample | 0 | 7067015 | <filename>Assets/ECS/ECS/Core/Utils/MathUtils.cs
namespace ME.ECS {
using UnityEngine;
#if ECS_COMPILE_IL2CPP_OPTIONS
[Unity.IL2CPP.CompilerServices.Il2CppSetOptionAttribute(Unity.IL2CPP.CompilerServices.Option.NullChecks, false)]
[Unity.IL2CPP.CompilerServices.Il2CppSetOptionAttribute(Unity.IL2CP... |
Calculator/core.cs | lsjtop10/Simple-calculator | 0 | 7067017 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Calculator
{
class core
{
void slt()
{
}
}
}
|
Assets/EZhex1991/EZUnity/Editor/Playables/EZMaterialPropertyClipEditor.cs | 654306663/EZUnity | 241 | 7067018 | /* Author: <EMAIL>
* CreateTime: 2019-08-16 11:56:41
* Organization: #ORGANIZATION#
* Description:
*/
using UnityEditor;
using UnityEditorInternal;
using UnityEngine;
namespace EZhex1991.EZUnity.Playables
{
[CustomEditor(typeof(EZMaterialPropertyClip))]
public class EZMaterialProperty... |
Pluto.Rover/Rover.cs | PierreRoudaut/pluto-rover | 0 | 7067019 | <filename>Pluto.Rover/Rover.cs
using System;
using System.Collections.Generic;
namespace Pluto.Rover
{
public class Rover
{
private readonly Pluto map;
public (int x, int y) Coordinates { get; private set; }
private CardinalPoint compass;
private readonly Dictionary<CommandTy... |
ExceptionBenchmark/Program.cs | ForEvolve/ExceptionBenchmark | 0 | 7067020 | <filename>ExceptionBenchmark/Program.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
namespace ExceptionBenchmark
{
class Program
{
public const int Iterations = 1000;
static void Main(string[] args)
{
do
... |
Programming Fundamentals - Extended/L06.2. Lists - Exercises/P05.TearListInHalf/TearListInHalf.cs | ViktorAleksandrov/SoftUni--Technology-Fundamentals | 0 | 7067021 | namespace P05.TearListInHalf
{
using System;
using System.Collections.Generic;
using System.Linq;
public class TearListInHalf
{
public static void Main()
{
var numbers = Console.ReadLine()
.Split()
.Select(int.Parse)
.ToLi... |
WpfProjectTypes/MenuBarProject/ViewModels/ShellWindowViewModel.cs | batzen/WpfProjectTypes | 6 | 7067022 | <filename>WpfProjectTypes/MenuBarProject/ViewModels/ShellWindowViewModel.cs
using System;
using System.Windows;
using System.Windows.Input;
using MenuBarProject.Contracts.Services;
using MenuBarProject.Helpers;
namespace MenuBarProject.ViewModels
{
public class ShellWindowViewModel : Observable
{
priv... |
Scripts/InGameProductData.cs | suriyun-production/unity-simple-monetization | 2 | 7067023 | using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "InGameProductData", menuName = "Monetization/In Game Product", order = 102)]
public class InGameProductData : BaseProductData
{
public static System.Action<InGameProductData, System.Action<bool, string>> OverrideBuyFunction = null;
... |
Tests.Extensions.DependencyInjection/Interfaces/WithoutInterfacesTests.cs | Scuba-Blue/Bytz.Extensions.DependencyInjection | 0 | 7067024 | using Bytz.Extensions.DependencyInjection;
using Bytz.Extensions.DependencyInjection.Exceptions;
using Microsoft.Extensions.DependencyInjection;
using Tests.Extensions.DependencyInjection.Samples.Contracts;
using Tests.Extensions.DependencyInjection.Samples.Engines;
using Tests.Extensions.DependencyInjection.Samples.E... |
Omnium.Core/ast/expressions/ChaseExpression.cs | Beier/Omnium | 10 | 7067025 | using System.Collections.Generic;
using System.Linq;
using Antlr4.Runtime.Tree;
namespace Omnium.Core.ast.expressions
{
public class ChaseExpression : Expression
{
public INameExpression VariableReference => (INameExpression) Children.First();
public IExpression Destination => (IExpression) Ch... |
HBK.Storage.Api/Controllers/StorageController.cs | nightsoul357/HBK-Storage | 1 | 7067026 | using HBK.Storage.Adapter.Enums;
using HBK.Storage.Adapter.StorageCredentials;
using HBK.Storage.Api.DataAnnotations;
using HBK.Storage.Api.ModelBinders;
using HBK.Storage.Api.Models.FileService;
using HBK.Storage.Api.Models.Storage;
using HBK.Storage.Core.FileSystem.FTP;
using HBK.Storage.Core.Models;
using H... |
src/Services/PageService/PageService.cs | pedro-de-rycker/Facebook.NetCore.Service | 0 | 7067027 | using Facebook.NetCore.HttpClient;
using Facebook.NetCore.Service.ExtensionMethods;
using Facebook.NetCore.Service.Models;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Facebook.NetCore.Service.Services.PageService
{
/// <summary>
/// The Page servi... |
src/Resource.Api/Resource.Api/DTO/GroupDTO.cs | MarvinZ/AngularASPNETCoreOAuth | 0 | 7067028 | using System;
using System.Collections.Generic;
#nullable disable
namespace Resource.Api
{
public partial class GroupDTO
{
public int Id { get; set; }
public string CycleName { get; set; }
public string LevelName { get; set; }
public string GroupShortname { get; set; }
... |
Real-Time Corruptor/BizHawk_RTC/BizHawk.Client.EmuHawk/tools/GBA/MobileDetailView.cs | redscientistlabs/Bizhawk50X-Vanguard | 45 | 7067029 | 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 BizHawk.Client.EmuHawk
{
public partial class MobileDetailView : Form
{
public MobileDetailView()
{
InitializeCompo... |
Release/Product/Python/Analysis/Values/DependencyInfo.cs | rsumner33/PTVS | 0 | 7067030 | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If ... |
Program.cs | MunroRaymaker/card-dealer | 0 | 7067031 | <gh_stars>0
using System;
namespace card_dealer
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("*** Dealing cards ***");
var dealer = new Deck();
dealer.Deal(3);
}
}
} |
Runtime/DiscreteDistributions/XorShift128Distribution/XorShift128Defaults.cs | ZorPastaman/Random-Generators | 14 | 7067032 | <reponame>ZorPastaman/Random-Generators<filename>Runtime/DiscreteDistributions/XorShift128Distribution/XorShift128Defaults.cs
// Copyright (c) 2020-2021 <NAME> <EMAIL> https://github.com/ZorPastaman/Random-Generators
namespace Zor.RandomGenerators.DiscreteDistributions
{
public static class XorShift128Defaults
{
... |
src/TableStorage/ITablePartition`1.cs | devlooped/TableStorage | 9 | 7067033 | //<auto-generated/>
#nullable enable
using System.Linq;
namespace Devlooped
{
/// <summary>
/// A specific partition within an <see cref="ITableRepository{T}"/>, which allows querying
/// by the entity properties, since they are stored in individual columns.
/// </summary>
/// <typeparam name="T"... |
WebServices/WebServiceSamples/WebServices.RxNorm/src/WebServices.RxNormSample/ViewControllers/DrugViewController.cs | forcemax/mobile-samples | 1,222 | 7067034 | <reponame>forcemax/mobile-samples
//
// Copyright 2011 abhatia
//
// 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
//
//... |
src/Beatrice.Core/Request/ActionRequest.cs | mayuki/Beatrice | 65 | 7067035 | namespace Beatrice.Request
{
public class ActionRequest
{
public string RequestId { get; set; }
public IntentRequest[] Inputs { get; set; }
}
}
|
Chapter08/SalesOrder.Data/Products/ProductRepository.cs | DickBaker/C-8-and-.NET-Core-3-Projects-Using-Azure-Second-Edition | 21 | 7067036 | using System;
using System.Collections.Generic;
using System.Text;
using SalesOrder.Data.Helpers;
using SalesOrder.Models;
namespace SalesOrder.Data.Products
{
public class ProductRepository : IProductRepository
{
private readonly ITextFileHelper _textFileHelper;
public ProductRepository(ITex... |
FacesStorage.Data.Abstractions/Exceptions/UserNotFoundException.cs | Danissimo13/Faces | 0 | 7067037 | <gh_stars>0
using System;
namespace FacesStorage.Data.Abstractions.Exceptions
{
public class UserNotFoundException : Exception
{
public UserNotFoundException() { }
public UserNotFoundException(string message) : base(message) { }
}
}
|
Sriracha.Publisher/BuildPublishOptions.cs | mmooney/Sriracha2 | 2 | 7067038 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sriracha.Publisher
{
public class BuildPublishOptions
{
public string Directory { get; set; }
public string File { get; set; }
public string ApiUrl { get; set; ... |
Telerik.Examples.Mvc/Telerik.Examples.Mvc/Views/Shared/EditorTemplates/ListBoxPopUpEditor.cshtml | pchenatwork/ui-for-aspnet-core-examples | 68 | 7067039 | <reponame>pchenatwork/ui-for-aspnet-core-examples
@model Telerik.Examples.Mvc.Models.OrderViewModel
<style>
.k-textbox {
width: 100%;
}
.my-container {
margin-left: 10%;
}
.k-edit-form-container {
width: 400px;
}
.lb-text {
margin: 5px;
font-weigh... |
Akka.Kafka.Connector.Producer/Program.cs | malaker/Akka.Kafka.Connector | 1 | 7067040 | <gh_stars>1-10
using Confluent.Kafka;
using System;
namespace Akka.Kafka.Connector.Producer
{
internal class Program
{
private static void Main(string[] args)
{
var ping =Util.PingHost("kafka", true);
string topic = Environment.GetEnvironmentVariable("KAFKA_TOP... |
Coslen.RogueTiler.Domain/Engine/Items/ItemLocations.cs | scossgrove/RougeTiler | 1 | 7067041 | namespace Coslen.RogueTiler.Domain.Engine.Items
{
public static class ItemLocations
{
public static ItemLocation OnGround = new ItemLocation("on ground");
public static ItemLocation Inventory = new ItemLocation("inventory");
public static ItemLocation Equipment = new ItemLocation("equip... |
TPCWare.SPTest.SAML2/Schema/SPIDMetadata.cs | mrcarbook/spid-dotnet-sdk | 2 | 7067042 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TPCWare.SPTest.SAML2
{
public class SPIDMetadata
{
public string SpidCode { get; set; }
public string Name { get; set; }
public string FamilyNa... |
samples/MvcController/MvcController/Extensions/LoggingErrorAttribute.cs | nodashin/MvcTraning | 0 | 7067043 | <reponame>nodashin/MvcTraning
using MvcController.Models;
using System;
using System.Web.Mvc;
namespace MvcController.Extensions
{
public class LoggingErrorAttribute : FilterAttribute, IExceptionFilter
{
private MvcControllerContext db = new MvcControllerContext();
public void OnException(ExceptionContex... |
src/BusinessLayer/DTO/User/UserAlbumReviewDTO.cs | Arcidev/MusicLibrary | 1 | 7067044 | <gh_stars>1-10
namespace BusinessLayer.DTO
{
public class UserAlbumReviewDTO : AlbumReviewDTO
{
public AlbumDTO Album { get; set; }
}
}
|
dnSpy.AsmEditor/DnlibDialogs/MethodOverrideVM.cs | haise0/reAtomizer | 1 | 7067045 | /*
Copyright (C) 2014-2016 <EMAIL>
This file is part of dnSpy
dnSpy is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version... |
generated/api/Models/LicenseInfo.cs | Commvault/CVPowershellSDKV2 | 0 | 7067046 | // 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>License detail... |
Library/Locust.WebTools/Middlewares/SetCORS.cs | mansoor-omrani/Locust.NET | 1 | 7067047 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace Locust.WebTools
{
public class SetCORS
{
static string[] allowedOrigins;
static SetCORS()
{... |
Source/CIWSMIS/CIWSShieldBelt.cs | emipa606/CIWSMiscellaneous | 0 | 7067049 | using System.Collections.Generic;
using RimWorld;
using UnityEngine;
using Verse;
using Verse.Sound;
namespace CIWSMIS
{
[StaticConstructorOnStartup]
public class CIWSShieldBelt : Apparel
{
private const float MinDrawSize = 1.2f;
private const float MaxDrawSize = 1.55f;
private co... |
src/Poof.Core/Snaps/Fellowship/GetsDetails.cs | g00fy88/Poof | 0 | 7067050 | <filename>src/Poof.Core/Snaps/Fellowship/GetsDetails.cs
using Newtonsoft.Json.Linq;
using Poof.Core.Entity;
using Poof.Core.Entity.Fellowship;
using Poof.Core.Entity.Membership;
using Poof.Core.Entity.User;
using Poof.Core.Model;
using Poof.Core.Model.Data;
using Poof.Snaps;
using Poof.Snaps.Outcome;
using System;
usi... |
Assets/Scripts/Mechanics/Tanks/TankBomb.cs | BrandonMCoffey/Tank-Boss-Battle | 0 | 7067051 | using UnityEngine;
namespace Mechanics.Tanks
{
public class TankBomb : MonoBehaviour
{
[SerializeField] private GameObject _bombReference = null;
public void DropBomb()
{
if (_bombReference == null) return;
Instantiate(_bombReference, transform.position, Quater... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.