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 |
|---|---|---|---|---|
aspnet-core/src/DragoonApp.Core/DragoonAppConsts.cs | LXXDOH001/Dragoon | 1 | 7031948 | namespace DragoonApp
{
public class DragoonAppConsts
{
public const string LocalizationSourceName = "DragoonApp";
public const string ConnectionStringName = "Default";
public const bool MultiTenancyEnabled = false;
}
}
|
UJCSystem/ITJakub.Web.Hub/Areas/RepositoryImport/Views/RepositoryImport/ImportStatus.cshtml | RIDICS/ITJakub | 3 | 7031949 | @using Scalesoft.Localization.AspNetCore
@using Scalesoft.Localization.Core.Util
@model ITJakub.Web.Hub.Areas.RepositoryImport.Models.ImportViewModel
@inject ILocalizationService Localizer
@{
ViewBag.Title = Localizer.Translate("ExternalRepositoriesTitle", "RepositoryImport", LocTranslationSource.File);
}
@secti... |
AppCampus.SignboardApi/Controllers/SoftwareUpdatesController.cs | hendrikdelarey/appcampus | 0 | 7031950 | <reponame>hendrikdelarey/appcampus
using AppCampus.Domain.Interfaces.Repositories;
using AppCampus.SignboardApi.Models.ResponseModels;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Web;
using System.Web.Http;
using... |
Paged/PagedListT.cs | HamedFathi/Paged | 0 | 7031951 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Paged
{
[Serializable]
public class PagedList<T> : BasePagedList<T>
{
public PagedList(IQueryable<T> superset, int pageNumber, int pageSize)
{
if (... |
src/OpenSearch.Client/Indices/MappingManagement/GetFieldMapping/FieldMappingFormatter.cs | opensearch-project/opensearch-net | 8 | 7031952 | <reponame>opensearch-project/opensearch-net<gh_stars>1-10
/* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub his... |
src/tweetz.core/Converters/TextFormattingModeConverter.cs | mike-ward/tweetz | 101 | 7031953 | <filename>src/tweetz.core/Converters/TextFormattingModeConverter.cs
using System;
using System.Globalization;
using System.Windows.Data;
namespace tweetz.core.Converters
{
internal class TextFormattingModeConverter : IValueConverter
{
public object Convert(object value, Type targetType, object paramet... |
Assignment1/Assignment1/Program.cs | henry-likellion/pocu-comp1500 | 0 | 7031954 | using System;
using System.IO;
namespace Assignment1
{
class Program
{
static void Main(string[] args)
{
// using 문에 대해서는 아직 고민하지 마세요. 나중에 배웁니다.
using (StreamReader READER = new StreamReader(Console.OpenStandardInput()))
using (StreamWriter WRITER = new Stre... |
Form1.Designer.cs | PKUtodo/PKUtodo-front | 2 | 7031955 | <gh_stars>1-10
namespace TODO
{
partial class Form1
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 tru... |
s1/Form1.Designer.cs | leiflundgren/snore_recorder | 0 | 7031956 | <gh_stars>0
namespace s1
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <par... |
src/CSharpDiscriminatedUnion.Generator/Generators/Class/GenerateAbstractMatchMethod.cs | Galad/CSharpDiscriminatedUnion | 16 | 7031957 | <reponame>Galad/CSharpDiscriminatedUnion<gh_stars>10-100
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp;
using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using S... |
Services/Smn/V2/Model/AddSubscriptionRequestBody.cs | huaweicloud/huaweicloud-sdk-net | 19 | 7031958 | <reponame>huaweicloud/huaweicloud-sdk-net<filename>Services/Smn/V2/Model/AddSubscriptionRequestBody.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using HuaweiCloud.SDK.Core;
namespace... |
WSPTools/App/WSPBuilderTemplates/Templates/Item/VisualWebPartFeature/DefaultUserControl.ascx.cs | keutmann/wspbuilder | 0 | 7031959 | using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
namespace $RootNamespace$.UI
{
public partial class $rootname$UserControl : UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
|
src/NUnitCore/core/Builders/InlineDataPointProvider.cs | nunit-legacy/nunitv2 | 5 | 7031960 | // ****************************************************************
// Copyright 2002-2018, <NAME>
// This is free software licensed under the NUnit license, a copy
// of which should be included with this software. If not, you may
// obtain a copy at https://github.com/nunit-legacy/nunitv2.
// ************************... |
src/IO.Swagger.Test/Api/WebhooksApiTests.cs | bombbomb/bombbomb-csharp-openapi | 0 | 7031961 | <filename>src/IO.Swagger.Test/Api/WebhooksApiTests.cs
/*
* BombBomb
*
* We make it easy to use simple video to build relationships
*
* OpenAPI spec version: 2.0
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may ... |
src/HttPlaceholder.Application.Tests/StubExecution/RequestStubGeneration/BodyHandlerFacts.cs | dukeofharen/httplaceholder | 59 | 7031962 | <reponame>dukeofharen/httplaceholder<filename>src/HttPlaceholder.Application.Tests/StubExecution/RequestStubGeneration/BodyHandlerFacts.cs
using System.Linq;
using System.Threading.Tasks;
using HttPlaceholder.Application.StubExecution.RequestStubGeneration.Implementations;
using HttPlaceholder.Domain;
using Microsoft.V... |
IbFlexReader/IbFlexReader.Xml/Contracts/QueryResponse/CFDCharges.cs | ndodger/ib-flex-reader | 1 | 7031963 | <gh_stars>1-10
namespace IbFlexReader.Xml.Contracts.QueryResponse
{
using System.Collections.Generic;
using System.Xml.Serialization;
[XmlRoot(ElementName = "CFDCharges")]
public class CFDCharges
{
[XmlElement(ElementName = "CFDCharge")]
public List<CFDCharge> CFDCharge { get; set;... |
SchoolSystem/SchoolSystem.MVP.Tests/Student/Presenters/SchoolReportCardPresenterTests/Consturctor_Should.cs | HlebForms/SchoolSystemProject | 5 | 7031964 | <reponame>HlebForms/SchoolSystemProject
using Moq;
using NUnit.Framework;
using SchoolSystem.MVP.Student.Presenters;
using SchoolSystem.MVP.Student.Views;
using SchoolSystem.Web.Services.Contracts;
namespace SchoolSystem.MVP.Tests.Student.Presenters.SchoolReportCardPresenterTests
{
[TestFixture]
public class ... |
Source/Web/AuthorizeAttribute.cs | careign/chainbase | 1 | 7031965 | <reponame>careign/chainbase
using System;
namespace Chainly.Web
{
/// <summary>
/// To implement principal authorization of access to the target resources.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true)]
public abstract class AuthorizeAtt... |
source/UninstallTools/Factory/InfoAdders/InfoAdderManager.cs | swipswaps/Bulk-Crap-Uninstaller | 0 | 7031966 | /*
Copyright (c) 2017 <NAME> (https://github.com/Klocman/)
Apache License Version 2.0
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Klocman.Tools;
namespace UninstallTools.Factory.InfoAdders
{
public class InfoAdderManager
{
... |
src/soa/EchoClient/EchoSvc.cs | dubrie/Telepathy | 1 | 7031967 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
//
// Changes to this file may cause incorrect behavior a... |
WindowsFormsApplication2/跟打部分/WordInfo.cs | taliove/tygdq | 38 | 7031968 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Collections.Specialized;
namespace WindowsFormsApplication2
{
public class WordInfo
{
public int start;
public int end;
public Color color;
public int len;
... |
BaseWeb/Models/XiHideDto.cs | bruce68tw/Base | 3 | 7031969 | <filename>BaseWeb/Models/XiHideDto.cs
namespace BaseWeb.Models
{
public class XiHideDto
{
public string Fid { get; set; }
public string Value { get; set; }
public string InputAttr { get; set; }
public string BoxClass { get; set; }
}
} |
src/HotChocolate/AspNetCore/src/Transport.Sockets.Client/Protocols/IDataCompletion.cs | inmark92/hotchocolate | 3 | 7031970 | <filename>src/HotChocolate/AspNetCore/src/Transport.Sockets.Client/Protocols/IDataCompletion.cs
namespace HotChocolate.Transport.Sockets.Client.Protocols;
internal interface IDataCompletion
{
/// <summary>
/// Marks the data stream as completed.
/// </summary>
void SetCompleted();
/// <summary>
... |
ProjectEuler/Problems/No032.cs | arbing/ProjectEuler | 0 | 7031971 | using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using ProjectEuler.Attributes;
namespace ProjectEuler.Problems
{
[Title("Pandigital products")]
[Description(@"We shall say that an n-digit number is pandigital if it makes use of all the digits 1 to n exactly once; for example,... |
ThScoreFileConverter/Models/ThConverter.cs | armadillo-winX/ThScoreFileConverter | 0 | 7031972 | //-----------------------------------------------------------------------
// <copyright file="ThConverter.cs" company="None">
// Copyright (c) <NAME>.
// Licensed under the BSD-2-Clause license. See LICENSE.txt file in the project root for full license information.
// </copyright>
//-----------------------------------... |
Engine/Camera.cs | Numax-cz/NapicuEngine | 0 | 7031973 | <reponame>Numax-cz/NapicuEngine
using Napicu.Engine.Math;
namespace Napicu.Engine
{
public class Camera
{
private Matrix4f projectionMatrix, viewMatrix;
public Vector2f Position;
public Camera(Vector2f position)
{
Position = position;
this.projecti... |
Exercise9-ArchitectureBestPractices/PhotoShare.Client/Core/Dtos/AlbumTagsDto.cs | AscenKeeprov/Databases-Advanced | 0 | 7031974 | namespace PhotoShare.Client.Core.Dtos
{
using System.Collections.Generic;
public class AlbumTagsDto
{
public int Id { get; set; }
public string Name { get; set; }
public ICollection<AlbumTagDto> Tags { get; set; }
}
}
|
Assets/VeryGenericContainer/ContainerCollection.cs | broding/unity-container | 0 | 7031975 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine.Events;
namespace VeryGenericContainer {
public interface IContainerCollection<T> : IEnumerable<T> {
ContainerEvent<T> AddedItem { get; }
ContainerEvent<T> RemovedItem { get; }
}
public class Contai... |
SDE-AE-VoorraadApp/Data/DbInitializer.cs | XenoSoul/SDE-AE-VoorraadApp | 0 | 7031977 | <filename>SDE-AE-VoorraadApp/Data/DbInitializer.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json.Serialization;
using RestSharp;
using RestSharp.Authenticators;
using SDE_AE_VoorraadApp.Models;
using JsonSerializer = System.Text.Json.JsonSerializer;
namespace SDE_AE_Voorraa... |
src/SqlVirtualMachine/SqlVirtualMachine/AvailabilityGroupListener/Cmdlet/GetAzureAvailabilityGroupListener.cs | mbentancour/azure-powershell | 3,336 | 7031978 | <reponame>mbentancour/azure-powershell<filename>src/SqlVirtualMachine/SqlVirtualMachine/AvailabilityGroupListener/Cmdlet/GetAzureAvailabilityGroupListener.cs
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache Licen... |
Jint.Tests.Ecma/Ecma/11.4.5.cs | enklu/jint | 21 | 7031979 | using Xunit;
namespace Jint.Tests.Ecma
{
public class Test_11_4_5 : EcmaTest
{
[Fact]
[Trait("Category", "11.4.5")]
public void StrictModeSyntaxerrorIsThrownForEval()
{
RunTest(@"TestCases/ch11/11.4/11.4.5/11.4.5-2-1-s.js", false);
}
[Fact]
[Trait("Ca... |
src/FloodgateSDK.Test/EvaluateTargetTests.cs | floodgate-io/dotnet-sdk | 3 | 7031980 | <gh_stars>1-10
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace FloodGate.SDK.Tests
{
[TestClass()]
public class EvaluateTargetTests
{
private string sdkKey = "<KEY>";
// Positive - Equal To
[DataTestMethod]
[DataRow(@"..\..\.... |
EvilWords/CharResult.cs | wainwrightmark/EvilWords | 2 | 7031981 | namespace EvilWords;
public readonly record struct CharResult(char Character, ResultColor ResultColor)
{
public static CharResult Create(char c, char colorChar)
{
var rc = colorChar switch
{
'R' => ResultColor.Red,
'G' => ResultColor.Green,
'Y' => ResultColo... |
llvm-test/Program.cs | ChewyGumball/piggy | 0 | 7031982 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using llvm_test.Parsing;
using llvm_test.Tokens;
using llvm_test.Parsing.Expressions;
namespace llvm_test
{
class Compiler
{
static void Main(string[] args)
{
... |
Graph/Graph.cs | hanxurobert/Interview | 0 | 7031983 | using System.Collections.Generic;
using System.Linq;
namespace Graph
{
public class Graph {
private Dictionary<string, GraphNode> nodes = new Dictionary<string, GraphNode>();
public GraphNode GetOrCreateNode(string name) {
if (!nodes.ContainsKey(name)) {
var node = new ... |
KFC.Red.Server/KFC.Red.ManagerLayer/Password/Models/PasswordStatus.cs | cf2080/CECS491_DBate | 1 | 7031984 | <reponame>cf2080/CECS491_DBate
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KFC.Red.ManagerLayer.Password
{
/// <summary>
/// Holds the pwned status and status message of the password.
/// </summary>
public class Password... |
Lpp.Dns.Data/Migrations/201402202029208_MoreDataMartChecboxes.cs | Missouri-BMI/popmednet | 9 | 7031986 | namespace Lpp.Dns.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class MoreDataMartChecboxes : DbMigration
{
public override void Up()
{
AddColumn("dbo.DataMarts", "LaboratoryResultsSpecimenSource", c => c.Boolean(nullable: false));
... |
src/dotnet/tools/JavaDocToMarkdownConverter/JavaDocToMarkdownConverter/Program.cs | geocom-gis/lucenenet | 0 | 7031987 | <reponame>geocom-gis/lucenenet<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JavaDocToMarkdownConverter
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. ... |
MtpHelper/UsbNotificationForm.Designer.cs | ricohr/win-mtphelper | 3 | 7031988 | <reponame>ricohr/win-mtphelper
//
// Copyright (c) 2017 Ricoh Company, Ltd. All Rights Reserved.
// See LICENSE for more information.
//
using System;
using System.Runtime.InteropServices;
using System.Windows.Forms;
internal static class UsbNotification
{
public const int DBT_DEVICEARRIVAL = 0x8000; ... |
Catalyst/src/Models/Embeddings/FastText/DocumentWrapper.cs | awesomemachinelearning/catalyst | 1 | 7031989 | <reponame>awesomemachinelearning/catalyst
using UID;
using Mosaik.Core;
using Newtonsoft.Json;
using System;
using System.Collections;
using System.Collections.Generic;
namespace Catalyst.Models
{
internal class DocumentWrapper : IDocument
{
private Document Source;
private int IgnoreSpan;
... |
src/TerrainMapClientNetFramework/Utils/Config.cs | emptycoder/HeightMapParser | 0 | 7031990 | using System;
using System.IO;
using TerrainMapClientNetFramework.Entities;
namespace TerrainMapClientNetFramework.Utils
{
public static class Config
{
/// <summary>
/// Save config to file.
/// </summary>
/// <param name="data"></param>
/// <param name="mapResponse"></... |
Master/FrmMasterDesign.cs | husniaditya/it-inventory | 1 | 7031991 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using KASLibrary;
namespace CAS.Master
{
public partial class FrmMasterDesign : CAS.Master.BaseMaster
{
public FrmMasterDesign()
... |
Mobet-Net/Mobet/GlobalSettings/GlobalSettingManager.cs | Mobet/mobet | 0 | 7031992 | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading.Tasks;
using Mobet.Extensions;
using Mobet.Domain.UnitOfWork;
using Mobet.Caching;
using Mobet.Runtime.Session;
using Mobet.Dependency;
using Mobet.GlobalSettings.Configuration;
using Mobet.Gl... |
src/Day20/Node.cs | qbit86/advent-of-code-2020-public | 0 | 7031993 | <filename>src/Day20/Node.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
namespace AdventOfCode2020
{
internal sealed class Node : IEquatable<Node>
{
private readonly int _hashCode;
private Node(IReadOnlyList<OrientedTile> orientedTiles, IReadOnlySet<RawTile> ... |
samples/OSky.UI.Admin/Areas/Admin/Controllers/HomeController.cs | liumeifu/OSky | 0 | 7031994 | <reponame>liumeifu/OSky
// -----------------------------------------------------------------------
// <copyright file="HomeController.cs" company="">
// Copyright (c) 2014-2015 OSky. All rights reserved.
// </copyright>
// <last-editor>Lmf</last-editor>
// <last-date>2015-02-19 17:43</last-date>
// ----------... |
src/BatchProcess.AutoJob/Shared/Exception.cs | voidmainbalamurugan/BatchJob | 1 | 7031995 | <filename>src/BatchProcess.AutoJob/Shared/Exception.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace BatchProcess.Shared
{
/// <summary>
/// Custom exception handles the error details for Batch job processing.
/// </summary>
public class BatchProcessExcepti... |
src/Cupboard.Providers/Directory/DirectoryExtensions.cs | BlythMeister/cupboard | 489 | 7031996 | namespace Cupboard
{
public static class DirectoryExtensions
{
public static IResourceBuilder<Directory> Ensure(this IResourceBuilder<Directory> builder, DirectoryState state)
{
return builder.Configure(directory => directory.Ensure = state);
}
public static IResourc... |
BlogCMS/Views/Blogs/Index.cshtml | arifgit12/BlogCMS | 1 | 7031997 | @model IEnumerable<BlogCMS.Models.Post>
@{
ViewBag.Title = "Index";
}
<div class="container" style="margin-top:50px;">
<div class="row">
<!-- Blog Sidebar Widgets Column -->
<div class="col-sm-3">
<!-- Blog Categories Well -->
<div class="well">
<h4>Blog... |
MyerSplash/Common/Brush/AcrylicBrushBase.cs | toraidl/MyerSplash.UWP | 146 | 7031998 | <reponame>toraidl/MyerSplash.UWP<filename>MyerSplash/Common/Brush/AcrylicBrushBase.cs
using Windows.UI;
using Windows.UI.Composition;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Media;
namespace MyerSplash.Common.Brush
{
public abstract class AcrylicBrushBase : XamlCompositionBrushBase
{
protected Co... |
Ashirvad-main/Ashirvad.Web/Controllers/BranchController.cs | Shail218/Ashirvad | 0 | 7031999 | using Ashirvad.Data;
using Ashirvad.Data.Model;
using Ashirvad.ServiceAPI.ServiceAPI.Area.Branch;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using static Ashirvad.Common.Common;
namespace Ashirvad.Web.Contro... |
src/Fabrik.Common.Web/Alert.cs | kapiljaveri/Fabrik.Common | 202 | 7032000 | <reponame>kapiljaveri/Fabrik.Common<filename>src/Fabrik.Common.Web/Alert.cs<gh_stars>100-1000
using System;
namespace Fabrik.Common.Web
{
[Serializable]
public class Alert
{
public string Title { get; set; }
public string Description { get; set; }
public AlertType AlertTyp... |
Pds.Contracts.Data/Pds.Contracts.Data.Services/DocumentServices/AsposeLicenceManagement.cs | uk-gov-mirror/SkillsFundingAgency.pds-contracts-data-api | 3 | 7032001 | using Microsoft.Extensions.DependencyInjection;
using System.Resources;
namespace Pds.Contracts.Data.Services.DocumentServices
{
/// <summary>
/// Aspose PDF licence management extension.
/// </summary>
public static class AsposeLicenceManagement
{
/// <summary>
/// Gets the embede... |
NeoMarkdigXaml/Renderers/XamlInlineRenderer.cs | jairbubbles/NeoMarkdigXaml | 0 | 7032002 | #region -- copyright --
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0... |
SBRW.Nancy/Cryptography/CryptographyConfiguration.cs | DavidCarbon-SBRW/SBRW.Nancy | 0 | 7032003 | <filename>SBRW.Nancy/Cryptography/CryptographyConfiguration.cs
namespace SBRW.Nancy.Cryptography
{
using System;
/// <summary>
/// Cryptographic setup for classes that use encryption and HMAC
/// </summary>
public class CryptographyConfiguration
{
private static readonly Lazy<Cryptogra... |
SharpConstraintLayout.Core/androidx/constraintlayout/core/motion/key/MotionKeyTimeCycle.cs | xtuzy/SharpConstraintLayout | 0 | 7032004 | using System;
using System.Collections.Generic;
/*
* Copyright (C) 2021 The Android Open Source Project
*
* 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... |
Caf.Etl/Nodes/CosmosDBSqlApi/Transform/LtarDataPortalCOReTransformer.cs | benichka/Caf.Etl | 0 | 7032005 | using Caf.Etl.Models.CosmosDBSqlApi.Core;
using Caf.Etl.Models.CosmosDBSqlApi.Measurement;
using Caf.Etl.Models.LtarDataPortal.CORe;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Caf.Etl.Nodes.CosmosDBSqlApi.Transform
{
public class LtarDataPortalCOReTransformer
{
... |
Prototype/Program.cs | enriqueescobar-askida/Kinito.Patterns.Creational | 0 | 7032006 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace E4SS.DesignPattern.Creat.Prototype
{
public class Program
{
public static void Main(string[] args)
{
// Create two instances and clone each
ConcretePrototype1 p1 = new Concre... |
src/Quadrum.Game/Modules/Simulation/RhythmEngine/Components/RhythmEngineCommandProgress.cs | guerro323/that-rhythm-project | 0 | 7032007 | <gh_stars>0
using revecs.Core;
using revecs.Extensions.Buffers;
namespace Quadrum.Game.Modules.Simulation.RhythmEngine.Components;
public partial struct RhythmEngineCommandProgress : IBufferComponent
{
public FlowPressure Value;
}
public partial struct RhythmEnginePredictedCommands : IBufferComponent
{
publi... |
AsyncPoco.Tests/poco.cs | khellang/AsyncPoco | 88 | 7032008 | using System;
namespace AsyncPoco.Tests
{
enum State
{
Yes,
No,
Maybe,
}
// Non-decorated true poco
class poco
{
public long id { get; set; }
public string title { get; set; }
public bool draft { get; set; }
public DateTime date_created { get; set; }
public DateTime? date_edited { get; set; }
... |
Fund/WeightingSchemes/EquityWeighting.cs | hbenveniste/fund | 0 | 7032009 | // FUND - Climate Framework for Uncertainty, Negotiation and Distribution
// Copyright (C) 2012 <NAME> and <NAME>
// http://www.fund-model.org
// Licensed under the MIT license
using System;
using Fund.CommonDimensions;
using Esmf;
namespace Fund
{
public class EquityWeighting : WeightingScheme
{... |
sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/SweepJobLimits.Serialization.cs | sampa-msft/azure-sdk-for-net | 0 | 7032010 | <gh_stars>0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Text.Json;
using Azure.Core;
namespace Azure.ResourceManager.MachineLearning.Models
{
public partial class SweepJobLimits : IUtf8JsonSeria... |
src/Shouldly/App_Packages/ExpressionStringBuilder.0.10.0/ExpressionStringBuilder.cs | arashjfz/shouldly | 0 | 7032012 | using System;
using System.Linq;
using System.Linq.Expressions;
using System.Runtime.CompilerServices;
using System.Text;
using Shouldly;
// ReSharper disable CheckNamespace
namespace ExpressionToString
{
class ExpressionStringBuilder : ExpressionVisitor
{
// ReSharper disable InconsistentNaming
... |
Driv.XTB.CatalogManager/Forms/NewCatalogAssignmentForm.designer.cs | drivardxrm/Driv.XTB.CatalogManager | 1 | 7032013 | namespace Driv.XTB.CatalogManager.Forms
{
partial class NewCatalogAssignmentForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... |
Types/Management/Filter.cs | ALE-OPENNESS/CSharp-SDK | 0 | 7032014 | /*
* Copyright 2021 ALE International
*
* 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 without limitation the rights to use, copy, modify, merge,
* publish... |
samples/e2e/EventHubsCaptureEventGridDemo/DWDumper/Program.cs | FelixBoers/azure-event-hubs | 1 | 7032015 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Avro.File;
using Avro.Generic;
using Newtonsoft.Json;
using Microsoft.WindowsAzure.Storage;
namespace DWDumper
{
/// <summary>
... |
src/AllQueez.DAL/Entities/Theme.cs | teachmeskills-dotnet/TMS-DotNet03-Rogonov | 0 | 7032016 | using AllQueez.DAL.Interfaces;
using System.Collections.Generic;
namespace AllQueez.DAL.Entities
{
/// <summary>
/// Themes.
/// </summary>
public class Theme : IHasDbIdentity, IHasUserIdentity
{
/// <inheritdoc/>
public int Id { get; set; }
/// <inheritdoc/>
publi... |
src/Microsoft.ML.Maml/VersionCommand.cs | SolyarA/machinelearning | 4 | 7032017 | <gh_stars>1-10
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Reflection;
using Microsoft.ML.Runtime;
using Microsoft.ML.Runtime.Command;
using Micros... |
src/Microsoft.AspNet.OData.Shared/Builder/Conventions/SelfLinksGenerationConvention.cs | markbeij/WebApi | 1 | 7032018 | <filename>src/Microsoft.AspNet.OData.Shared/Builder/Conventions/SelfLinksGenerationConvention.cs
// 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 System.Linq;
using Microsoft.AspNet.OData.... |
Assets/Scripts/CameraController.cs | RuggedRadius/Blockscapes | 0 | 7032019 | <filename>Assets/Scripts/CameraController.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
using UnityEngine.InputSystem.EnhancedTouch;
public class CameraController : MonoBehaviour
{
public bool orbitting;
public bool pinchZooming;
public f... |
test/IntegrationTests/Grains/LoopbackGrain.cs | pethin/Orleans.Streaming.RabbitMQ | 1 | 7032020 | using System;
using System.Linq;
using System.Threading.Tasks;
using IntegrationTests.Models;
using IntegrationTests.Streams;
using Orleans;
using Orleans.Concurrency;
using Orleans.Streams;
namespace IntegrationTests.Grains
{
public interface ILoopbackGrain : IBaseTestGrain
{
Task<TestResult<TestEven... |
src/Miru/Html/SubmitBuilder.cs | MiruFx/Miru | 11 | 7032021 | <filename>src/Miru/Html/SubmitBuilder.cs
using HtmlTags;
using HtmlTags.Conventions;
using HtmlTags.Conventions.Elements;
namespace Miru.Html
{
public class SubmitBuilder : IElementBuilder
{
public HtmlTag Build(ElementRequest request)
{
return new HtmlTag("input").Attr("type", "sub... |
Shop/Sales/Helpers/SetConversationId.cs | noelklein/SagaMasterClass | 0 | 7032022 | namespace Sales.Helpers
{
using NServiceBus;
using NServiceBus.MessageMutator;
using NServiceBus.Unicast.Messages;
using Contracts;
class SetConversationId : IMutateOutgoingTransportMessages, INeedInitialization
{
public void MutateOutgoing(LogicalMessage logicalMessage, Trans... |
Dexel/Dexel.Editor/Views/CustomControls/Pointer.cs | detachmode/SharpFlowDesign | 2 | 7032023 | <reponame>detachmode/SharpFlowDesign
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Shapes;
using Dexel.Editor.ViewModels.DrawingBoard;
using Dexel.Editor.Views.DragAndDrop;
namespace Dexel.Editor.Vie... |
System.Web.Mobile/UI/MobileControls/FactoryGenerator.cs | cnork/referencesource | 911 | 7032024 | //------------------------------------------------------------------------------
// <copyright file="FactoryGenerator.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------... |
src/Merchello.Core/Gateways/Taxation/FixedRate/IFixedRateTaxationGatewayMethod.cs | raindigi/Merchello | 191 | 7032025 | <gh_stars>100-1000
namespace Merchello.Core.Gateways.Taxation.FixedRate
{
/// <summary>
/// Marker interface for the FixRateTaxMethod
/// </summary>
public interface IFixedRateTaxationGatewayMethod : ITaxationByProductMethod
{
}
} |
Polly.CircuitBreaker.DependencyInjection/CircuitBreaker.cs | jybbang/Polly.CircuitBreaker.Extensions.Microsoft.DependencyInjection | 0 | 7032026 | <gh_stars>0
using Polly.CircuitBreaker.DependencyInjection.Abstractions;
using System;
namespace Polly.CircuitBreaker.DependencyInjection
{
public class CircuitBreaker : ICircuitBreaker
{
private AsyncCircuitBreakerPolicy _polices;
public int ExceptionsAllowedBeforeBreaking { get; set; } = 1;... |
MonitoringPaintingYasunli/YasunliESModel/Models/Mapping/ECNMap.cs | dionisiusadjinugroho/Samples | 0 | 7032027 | using System.Data.Entity.ModelConfiguration;
namespace YasunliESModel.Models.Mapping
{
public class ECNMap : EntityTypeConfiguration<ECN>
{
public ECNMap()
{
// Primary Key
this.HasKey(t => new { t.OldItem, t.NewItem });
// Properties
this.Proper... |
SourceCode/Data/ExternalStationCustomerCargo.cs | tellurianinteractive/Tellurian.Trains.ModulesRegistryApp | 5 | 7032028 | #nullable disable
namespace ModulesRegistry.Data
{
public partial class ExternalStationCustomerCargo
{
public int Id { get; set; }
public int ExternalStationCustomerId { get; set; }
public int CargoId { get; set; }
public int PackageUnitId { get; set; }
public string Sp... |
Scripts/Editor/DebugMenuSettingsProvider.cs | sandrofigo/Debug-Menu-Unity3D | 3 | 7032029 | using System.Collections.Generic;
using System.Reflection;
using UnityEditor;
using UnityEngine;
namespace DebugMenu
{
public class DebugMenuSettingsProvider : Editor
{
private const string Name = "Debug Menu";
[SettingsProvider]
public static SettingsProvider GetDebugMenuSettings()
... |
Src/zipkin4net/Src/Tracers/Zipkin/Span.cs | thatb96/zipkin4net | 1 | 7032030 | <reponame>thatb96/zipkin4net
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Resources;
using zipkin4net.Tracers.Zipkin.Thrift;
namespace zipkin4net.Tracers.Zipkin
{
/// <summary>
/// Represent the creation and handling of a single RPC request
/... |
RobotView/RunTurnView.designer.cs | wtjerry/hslu_csa | 0 | 7032031 | namespace RobotView
{
partial class RunTurnView
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
src/MODEXngine.lib.wolfenstein3d/Common/Constants.cs | jcapellman/MODEXngine | 1 | 7032033 | <filename>src/MODEXngine.lib.wolfenstein3d/Common/Constants.cs
namespace MODEXngine.lib.wolfenstein3d.Common
{
public static class Constants
{
public const int NEWGAME_AMMO = 8;
public const int NEWGAME_HEALTH = 100;
}
} |
apps/ServerlessMediaIngester/WorkflowStepFunctions/DetermineNewMediaTypeTask.cs | steveataws/talk-samples | 1 | 7032035 | <reponame>steveataws/talk-samples
using System.Collections.Generic;
using Amazon.Lambda.Core;
namespace MediaIngester.WorkflowStepFunctions
{
public class DetermineNewMediaTypeTask
{
readonly Dictionary<string, State.ContentTypes> _extensionToCategoryMap = new Dictionary<string, State.ContentTypes>
... |
E-Commerce-App/Pages/RazorPageTest.cshtml.cs | JSchnoebe/E-Commerce-App | 0 | 7032036 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace E_Commerce_App.Pages
{
public class RazorPageTestModel : PageModel
{
public string Name { get; private set; }
p... |
GetIntoTeachingApiTests/Controllers/TeachingEventBuildingsControllerTests.cs | uk-gov-mirror/DFE-Digital.get-into-teaching-api | 0 | 7032037 | <reponame>uk-gov-mirror/DFE-Digital.get-into-teaching-api
using FluentAssertions;
using GetIntoTeachingApi.Attributes;
using GetIntoTeachingApi.Controllers;
using GetIntoTeachingApi.Models;
using GetIntoTeachingApi.Services;
using Hangfire;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
usin... |
GraphLayout/Drawing/Subgraph.cs | MVoloshin/automatic-graph-layout | 443 | 7032039 | using System.Collections.Generic;
using Microsoft.Msagl.Core.DataStructures;
using Microsoft.Msagl.Core.Layout;
namespace Microsoft.Msagl.Drawing
{
///<summary>
///</summary>
public class Subgraph : Node {
/// <summary>
/// the settings that should be applied to this cluster layout
... |
LimsGarden/LimsGarden.Core/Model/Customer.cs | 2002-feb24-net/diana-project1 | 0 | 7032040 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace LimsGarden.Core.Model
{
///<summary>
/// This is the Customer model with data annotations.
///</summary>
public partial class Customer
{
[Display(Name= "ID")]
[Required]
p... |
EntityG.Contracts/Requests/AssetTypes/CreateAssetTypeDto.cs | jackiesphan1996/EntityG-HRM | 0 | 7032041 | <gh_stars>0
using System.ComponentModel.DataAnnotations;
namespace EntityG.Contracts.Requests.AssetTypes
{
public class CreateAssetTypeDto
{
[Required]
[Display(Name = "Asset Type Name")]
public string Name { get; set; }
[Display(Name = "Asset Type Description")]
public... |
CyberCAT.Core/Enums/Dumped Enums/EAIGateEventFlags.cs | bsmr/WolvenKit-CyberCAT | 0 | 7032042 | namespace CyberCAT.Core.DumpedEnums
{
public enum EAIGateEventFlags
{
AIGEF_Undefined = 0,
AIGEF_OverridesSelf = 1,
AIGEF_InterruptsSamePriorityTask = 2,
AIGEF_InterruptsForcedBehavior = 3,
AIGEF_AcceptsAdditives = 4
}
}
|
src/mscorlib/src/System/Security/Permissions/ReflectionPermission.cs | danmosemsft/coreclr | 1 | 7032043 | <reponame>danmosemsft/coreclr
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Security.Permissions
{
using System;
using System.IO;
usi... |
GameStore.Core/Services/Implementations/GameGroupService.cs | sajadbz/GameStore | 5 | 7032044 | <filename>GameStore.Core/Services/Implementations/GameGroupService.cs
using GameStore.Core.Services.Interfaces;
using GameStore.Core.Values;
using GameStore.Core.ViewModels.Games;
using GameStore.Domain.Entities.Games;
using GameStore.Domain.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq... |
JieLinkDevOpsApp/PartialView/PartialViewJSRMOrder/ViewModel/OrderMonitorViewModel.cs | loveraindeme/JieLink.DevOps | 1 | 7032045 | <gh_stars>1-10
using Panuon.UI.Silver;
using PartialViewInterface.Commands;
using PartialViewInterface.DB;
using PartialViewInterface.Models;
using PartialViewInterface.Utils;
using PartialViewJSRMOrder.DB;
using PartialViewJSRMOrder.Model;
using PartialViewJSRMOrder.Monitor;
using Quartz;
using Quartz.Impl;
using Qua... |
src/Sportradar.OddsFeed.SDK.Entities.REST/Internal/EntitiesImpl/SeasonInfo.cs | sportradar/UnifiedOddsSdkNet | 15 | 7032046 | /*
* Copyright (C) Sportradar AG. See LICENSE for full license governing this code
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using Sportradar.OddsFeed.SDK.Entities.REST.Internal.Caching.CI;
using Sportradar.OddsFeed.SDK.Messages;
namespace Sportradar.OddsFeed.SDK.Entities.REST.Int... |
RedditSharp/Subreddit Information/SubredditSettings.cs | cwhitman/RedditSharp-Unity | 0 | 7032047 | <reponame>cwhitman/RedditSharp-Unity<gh_stars>0
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using RedditSharp.Things;
using RestSharp.Extensions.MonoHttp;
namespace RedditSharp
{
public class SubredditSettings
{
private const string SiteAdminUrl = "/api/site_admin";
private const string... |
src/Covfefe/Properties/Settings.Designer.cs | jsmarsch/covfefe | 0 | 7032048 | <gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-gen... |
src/SixLabors.Fonts/Tables/General/OS2Table.cs | TechnologicalPizza/SixLabors.Fonts | 189 | 7032049 | <reponame>TechnologicalPizza/SixLabors.Fonts
// Copyright (c) <NAME>.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.Fonts.Tables.General
{
[TableName(TableName)]
internal sealed class OS2Table : Table
{
internal const string TableName = "OS/2";
private readonly ush... |
NetMicro.Routing.Binding/JsonContentParser.cs | NetMicro/NetMicro | 0 | 7032050 | using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace NetMicro.Routing.Binding
{
public class JsonContentParser : IContentParser
{
public async Task<TContent> Parse<TContent>(Stream stream)
{
try
{
... |
LOGIN-RENTA-A-CAR-master/RAC/FrmFacturas.cs | ARV95/LOGIN-RENTA-A-CAR | 0 | 7032051 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using RAC.BL;
namespace RAC
{
public partial class FrmFacturas : Form
{
F... |
MustacheSharpen/Mustache/KeyNotFoundEventArgs.cs | HamedFathi/MustacheSharpen | 0 | 7032052 | using System;
// ReSharper disable All
namespace MustacheSharpen
{
public class KeyNotFoundEventArgs : EventArgs
{
internal KeyNotFoundEventArgs(string key, string missingMember, bool isExtension)
{
Key = key;
MissingMember = missingMember;
IsExtension = is... |
client/MonitoringServiceApiCaller/Models/ListDataUrlMonitoringObjectModel.cs | NovichikhinAlexey/MonitoringService | 0 | 7032053 | namespace Lykke.MonitoringServiceApiCaller.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
public class ListDataUrlMonitoringObjectModel
{
/// <summary>
/// </summary>
[JsonProperty(PropertyName = "data")]
public IList<UrlMonitoringObjectModel> Data { g... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.