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/Framework.CustomReports.Domain/Domain/ICustomReportParameter.cs | Luxoft/BSSFramework | 18 | 7025319 | <filename>src/Framework.CustomReports.Domain/Domain/ICustomReportParameter.cs
namespace Framework.CustomReports.Domain
{
public interface ICustomReportParameter
{
string Name{get;}
string TypeName { get; }
bool IsRequired { get; }
int Order { get; }
... |
sdk/eventgrid/Azure.Messaging.EventGrid/src/Customization/ResourceDeleteCancelEventData.cs | gjy5885/azure-sdk-for-net | 1 | 7025320 | <reponame>gjy5885/azure-sdk-for-net
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
using System.ComponentModel;
using System.Text.Json;
using Azure.Core;
namespace Azure.Messaging.EventGrid.SystemEvents
{
public partial class Reso... |
Assets/Scripts/OpenHyperlinks.cs | ajaybirla/UnityDocs | 0 | 7025321 | using TMPro;
using UnityEngine;
using UnityEngine.EventSystems;
[RequireComponent (typeof (TextMeshProUGUI))]
public class OpenHyperlinks : MonoBehaviour, IPointerClickHandler
{
[Space (10)]
public TextMeshProUGUI hyperlinkText;
public void OnPointerClick (PointerEventData eventData)
{
int ... |
src/Hatra/Views/Shared/ErrorN.cshtml | Amirarsalan99m/HatraDuplicate | 1 | 7025323 | @model ErrorViewModel
@{
ViewData["Title"] = Model.Title;
Layout = Layout = "~/Views/Shared/_LayoutN.cshtml";
this.Context.Response.StatusCode = Model.StatusCode;
}
<div class="tm-breadcrumb-area tm-padding-section text-center" data-overlay="1" data-bgimage="/lib/deconsultrtl/assets/images/bg/bg-breadcru... |
sdk/dotnet/Compute/Alpha/Outputs/BackendBucketCdnPolicyResponse.cs | AaronFriel/pulumi-google-native | 44 | 7025324 | <reponame>AaronFriel/pulumi-google-native
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pu... |
eFormAPI/Plugins/CaseManagement.Pn/CaseManagement.Pn/Infrastructure/Models/Calendar/CalendarEventMeta.cs | Gid733/eform-angular-basiccasemgmt-plugin | 0 | 7025325 | namespace CaseManagement.Pn.Infrastructure.Models.Calendar
{
public class CalendarEventMeta
{
public string CalendarUserName { get; set; }
public string CaseId { get; set; }
}
} |
cs/calculatorInteract.cs | hdert/2020 | 0 | 7025326 | <filename>cs/calculatorInteract.cs
using System;
namespace Calculator
{
class Interact
{
static void Main()
{
while (true)
{
Console.WriteLine("Please enter your first number press enter then enter your second number");
checked
... |
src/Runtime/Runtime/Windows.UI.Xaml.Media/Polygon.cs | bstoinev/OpenSilver | 0 | 7025327 | <filename>src/Runtime/Runtime/Windows.UI.Xaml.Media/Polygon.cs
/*===================================================================================
*
* Copyright (c) Userware/OpenSilver.net
*
* This file is part of the OpenSilver Runtime (https://opensilver.net), which is
* licensed under the MIT licens... |
Pages/Shared/Components/Settings/SettingsViewComponent.cs | vjdw/piperpicker | 0 | 7025328 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using LiteDB;
using Microsoft.AspNetCore.Mvc;
using piperpicker.Database;
using PiperPicker.Models;
using PiperPicker.Proxies;
namespace PiperPicker.Pages.Components.Light
{
public class SettingsViewComponent : ViewCo... |
Usage/AzureTenant.cs | realmjoin/SlimLib.Auth.Azure | 0 | 7025329 | <reponame>realmjoin/SlimLib.Auth.Azure
using SlimLib.Auth.Azure;
using System;
namespace Usage
{
public readonly struct AzureTenant : IAzureTenant
{
public AzureTenant(Guid id)
{
Identifier = id.ToString();
}
public AzureTenant(string name)
{
Id... |
TP/Game/Program.cs | Whacky0/TO2021 | 0 | 7025330 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using Engine.Profiling;
namespace Game
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
... |
branches/msmq_integration/Zyan.Communication/Protocols/Msmq/Transport/Sender.cs | mikel785/Zyan | 85 | 7025332 | <reponame>mikel785/Zyan
//=============================================================================
// The MSMQChannel - Sender Custom Channel
// (C) Copyright 2003, <NAME> (<EMAIL>)
// All rights reserved.
// The code and information is provided "as-is" without waranty of any kind,
// either expresed or impl... |
Utils/Mnemox.Web.Utils/WebFilesManager.cs | mnemox-monitoring/mnemox-server | 1 | 7025333 | <reponame>mnemox-monitoring/mnemox-server
using Mnemox.Logs.Models;
using Mnemox.Shared.Models.Settings;
using System;
using System.IO;
namespace Mnemox.Web.Utils
{
public class WebFilesManager : IWebFilesManager
{
private readonly IServerSettings _serverSettings;
private readonly ILogsManage... |
TDD/Inlämning1/Benny/Shapes - inlämning TDD/Tests/GeoMetricCalculatorTest.cs | marcusjobb/NET20D | 1 | 7025334 | using NUnit.Framework;
using System;
namespace Shapes___inlämning_TDD
{
[TestFixture]
internal class GeoMetricCalculatorTest
{
/// <summary>
/// Testing the GetPerimeter method of the GeoMetricCalculator.
/// Creates invalid array containing null objects
/// </summary>
... |
Image2Ascii/Program.cs | petitpal/Image2Ascii | 0 | 7025335 | <reponame>petitpal/Image2Ascii<filename>Image2Ascii/Program.cs
using Image2Ascii.Applicaton;
using Image2Ascii.Services;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using System.IO;
namespace Image2Ascii
{
class Program
{
/// <param name="sourceFile">Source file... |
Gu.Localization.Analyzers.Tests/GULOC05TranslateResourceTests/CodeFix.cs | GuOrg/Gu.Localization | 37 | 7025336 | <reponame>GuOrg/Gu.Localization<gh_stars>10-100
namespace Gu.Localization.Analyzers.Tests.GULOC05TranslateResourceTests
{
using Gu.Roslyn.Asserts;
using NUnit.Framework;
public static class CodeFix
{
private static readonly MemberAccessAnalyzer Analyzer = new();
private static readonly... |
AWSSDK_DotNet35/Amazon.OpsWorks/Model/Internal/MarshallTransformations/CreateAppRequestMarshaller.cs | virajs/aws-sdk-net | 1 | 7025337 | <reponame>virajs/aws-sdk-net
/*
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/... |
Challenge2/Challenge2/Solution.cs | Recognos/CodeChalenges | 0 | 7025338 | using System;
using System.Threading;
using System.Threading.Tasks;
namespace Challenge2
{
class Solution
{
const int MaxConcurrency = 5;
const int TotalNumberOfExecutions = 20;
static int currentlyActiveOperations = 0;
static int startedOperations = 0;
static Semapho... |
TcpUdpTool/ViewModel/SendViewModel.cs | llibetter/tcp-udp-tool | 18 | 7025339 | <reponame>llibetter/tcp-udp-tool<gh_stars>10-100
using Microsoft.Win32;
using System;
using System.Collections.ObjectModel;
using System.IO;
using System.Net;
using System.Windows.Input;
using TcpUdpTool.Model.Parser;
using TcpUdpTool.Model.Util;
using TcpUdpTool.ViewModel.Item;
using TcpUdpTool.ViewModel.Base;
names... |
Puzzle/Puzzle/Game1.cs | groundh0g/MonoGame-CodeCamps-Book-Examples | 0 | 7025340 | <reponame>groundh0g/MonoGame-CodeCamps-Book-Examples
#region Using Statements
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Storage;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Input.Touch;
using Codetopia.Xna.Framework;
usin... |
Fabric.Shared.ReliableHttp/Interceptors/DummyHttpRequestInterceptor.cs | HealthCatalyst/Fabric.Databus | 6 | 7025341 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="DummyHttpRequestInterceptor.cs" company="">
//
// </copyright>
// <summary>
// Defines the DummyHttpRequestInterceptor type.
// </summary>
// --------------------------------... |
Samples.Specifications.Tests.EndToEnd.White/ScreenObjects/ShellScreenObject.cs | OwenMcDonnell/Samples.Specifications | 3 | 7025342 | <filename>Samples.Specifications.Tests.EndToEnd.White/ScreenObjects/ShellScreenObject.cs
using Samples.Specifications.Tests.Contracts.ScreenObjects;
namespace Samples.Specifications.Tests.EndToEnd.ScreenObjects
{
internal sealed class ShellScreenObject : IShellScreenObject
{
public StructureHelper Str... |
vrsPORT/Photon Server/Photon-OnPremise-Server-SDK_v4-0-29-11263/src-server/Lite/Lite.NUnit/TcpTests.cs | urbanlab/V-Air-Sport | 0 | 7025343 | <reponame>urbanlab/V-Air-Sport
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TcpTests.cs" company="Exit Games GmbH">
// Copyright (c) Exit Games GmbH. All rights reserved.
// </copyright>
// <summary>
// The test base.
/... |
Assets/Amazing Assets/Feel/NiceVibrations/Demos/_Common/Scripts/NiceVibrationsDemoHelpers.cs | random-agile/slowmo_mobile | 0 | 7025344 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MoreMountains.NiceVibrations
{
public static class NiceVibrationsDemoHelpers
{
public static float Round(float value, int digits)
{
float mult = Mathf.Pow(10.0f, (float)digits);
... |
DataStructuresAndAlgos/StringsAndArrays/RomanToInteger.cs | manasa-konidena/DataStructuresAndAlgos | 0 | 7025345 | <gh_stars>0
using NUnit.Framework;
namespace DataStructuresAndAlgos.StringsAndArrays;
public class RomanToInteger
{
[Test]
public void Test_RomanToInteger()
{
Assert.That(ConvertRomanToInteger("MCMXCIV"), Is.EqualTo(1994));
Assert.That(ConvertRomanToInteger("MCDLXXVI"), Is.EqualTo(1476));
... |
SimpleTextInput/EditableCoreTextView.cs | susairajs/ios-samples | 863 | 7025346 | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using CoreGraphics;
using System.Linq;
using System.Text;
using Foundation;
using UIKit;
using ObjCRuntime;
using CoreText;
namespace SimpleTextInput
{
[Adopts ("UITextInput")]
[Adopts ("UIKeyInput")]
[Adopts ("UITextInputTraits")]
[Register ("Edit... |
src/MinimalApis.Extensions/Results/Html.cs | ScriptBox99/MinimalApis.Extensions | 0 | 7025347 | using MinimalApis.Extensions.Metadata;
namespace MinimalApis.Extensions.Results;
/// <summary>
/// Represents an <see cref="IResult"/> that returns HTML content in the response body.
/// </summary>
public class Html : ResultBase, IProvideEndpointResponseMetadata
{
private const string HtmlMediaType = "text/html"... |
Projects/AAXDataEntityPerfTest/ODataUtility/Connected Services/D365/ExpenseCashAdvance.cs | NathanClouseAX/AAXDataEntityPerfTest | 1 | 7025348 | //------------------------------------------------------------------------------
// <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-generated>
//--... |
src/Bicep.Core/Syntax/ResourceDeclarationSyntax.cs | marknic/BicepXray | 0 | 7025349 | <filename>src/Bicep.Core/Syntax/ResourceDeclarationSyntax.cs
// Copyright (c) <NAME>. All Rights Reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using Bicep.Core.Diagnostics;
using Bicep.Core.Navigation;
using Bicep.Core.Parsing;
using Bicep.Core.Resou... |
src/Epam.GraphQL/Types/SortDirectionGraphType.cs | idzmitry/epam-graphql | 19 | 7025350 | <gh_stars>10-100
// Copyright © 2020 EPAM Systems, Inc. All Rights Reserved. All information contained herein is, and remains the
// property of EPAM Systems, Inc. and/or its suppliers and is protected by international intellectual
// property law. Dissemination of this information or reproduction of this material is ... |
TestNetworkCore/Networks/TestNestedSubstreams.cs | zalf-rpm/csharpfbp | 0 | 7025352 | using System;
using System.IO;
using FBPLib;
using Components;
namespace TestNetworks.Networks
{
public class TestNestedSubstreams : Network
{
/* *
* Copyright 2007, 2008, 2009, <NAME>. At your option, you may copy,
* distribute, or make derivative works unde... |
OQueue/NameServer/RequestHandlers/SetQueueNextConsumeOffsetForClusterRequestHandler.cs | OceanChip/OQueue | 0 | 7025353 | <gh_stars>0
using OceanChip.Queue.Protocols.Brokers.Requests;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OceanChip.Common.Remoting;
using OceanChip.Queue.Protocols.Brokers.Requests;
using OceanChip.Queue.Protocols;
using OceanChip.Queue.Pro... |
Assets/Script/World/WorldManager.cs | lixiaobing/DAL2Client | 1 | 7025354 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace World
{
public class WorldManager:MonoBehaviour
{
public GameObject mainActor;
public static WorldManager Instance
{
get;
... |
ExRam.Gremlinq.Core/Queries/Steps/PropertiesStep.cs | javaadpatel/ExRam.Gremlinq | 0 | 7025355 | <reponame>javaadpatel/ExRam.Gremlinq<filename>ExRam.Gremlinq.Core/Queries/Steps/PropertiesStep.cs
using ExRam.Gremlinq.Core.Serialization;
namespace ExRam.Gremlinq.Core
{
public sealed class PropertiesStep : Step
{
public PropertiesStep(string[] keys)
{
Keys = keys;
}
... |
Scripts/ShapeEditor/Gui/GuiTextbox.cs | Henry00IS/ShapeEditor | 26 | 7025356 | #if UNITY_EDITOR
using Unity.Mathematics;
using UnityEditor;
using UnityEngine;
namespace AeternumGames.ShapeEditor
{
/// <summary>Represents a textbox control inside of a window.</summary>
public class GuiTextbox : GuiControl
{
/// <summary>Do not access directly, use <see cref="text"/>.</summar... |
test/CheckoutSdkTest/Customers/CustomersClientTest.cs | checkout/checkout-sdk-net | 13 | 7025357 | using System.Threading;
using System.Threading.Tasks;
using Checkout.Common;
using Moq;
using Shouldly;
using Xunit;
namespace Checkout.Customers
{
public class CustomersClientTest : UnitTestFixture
{
private readonly SdkAuthorization _authorization = new SdkAuthorization(PlatformType.Default, ValidDef... |
Assets/_Packages/GTAttributes/Editor/Other/QuickView.cs | GhooTS/PlanetExplorer | 0 | 7025358 | <reponame>GhooTS/PlanetExplorer
using UnityEngine;
using UnityEditor;
namespace GTAttribute.Editor
{
public static class QuickView
{
public static void Show(SerializedProperty property)
{
Show(property.objectReferenceValue);
}
public static void Show(Object objectT... |
Source-branch/Framework.UI/Controls/ElasticPicker/Picker/ElasticPicker.cs | RehanSaeed/Elysium-Extra | 69 | 7025359 | <filename>Source-branch/Framework.UI/Controls/ElasticPicker/Picker/ElasticPicker.cs<gh_stars>10-100
namespace Framework.UI.Controls
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using Syste... |
src/SPOEmulators/UrlHelper.cs | wulfland/SPOEmulators | 2 | 7025361 | namespace SPEmulators
{
using System;
internal static class UrlHelper
{
public static string Construct(string parentWebUrl, string webName)
{
if (webName != string.Empty)
{
var baseUri = new Uri(parentWebUrl.TrimEnd('/') + '/');
retur... |
Persistence/Invoice.cs | hungchoke/PF15-N02-IphoneStore | 0 | 7025362 | using System;
using System.Collections.Generic;
namespace Persistence
{
public static class InvoiceStatus
{
public const int CREATE_NEW_ORDER = 1;
public const int INVOICE_INPROGRESS = 2;
}
public class Invoice
{
public int? InvoiceNo {set;get;}
public DateTime Invoi... |
samples/snippets/csharp/VS_Snippets_CLR_System/system.collections.generic.ienumerableex/cs/program.cs | antmdvs/docs | 2 | 7025363 | //<snippet1>
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public class App
{
// Excercise the Iterator and show that it's more
// performant.
public static void Main()
{
TestStreamReaderEnumerable();
Console.WriteLine("--... |
csharp/src/Apache.Arrow/Arrays/Array.cs | jblondin/arrow | 3 | 7025364 | <gh_stars>1-10
// 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
// (the "License... |
Src/Black.Beard.RabbitMq/Exceptions/ConnectionFailureException.cs | JTOne123/Brokers | 0 | 7025365 | <gh_stars>0
using System;
namespace Bb.Exceptions
{
[System.Serializable]
public class ConnectionFailureException : BrokerException
{
public ConnectionFailureException() : base() { }
public ConnectionFailureException(string message) : base(message) { }
public ConnectionFailureExce... |
spine-csharp/src/SkeletonJson.cs | vhristov/spine-runtimes | 0 | 7025366 | <filename>spine-csharp/src/SkeletonJson.cs
/******************************************************************************
* Spine Runtimes License Agreement
* Last updated January 1, 2020. Replaces all prior versions.
*
* Copyright (c) 2013-2020, Esoteric Software LLC
*
* Integration of the Spine Runtimes into s... |
src/samples/WebSample/Data/Pgsql/PgsqlTestDataService.cs | FluiTec/FluiTec.AppFx.Data | 0 | 7025367 | using System;
using FluiTec.AppFx.Data.Dapper;
using FluiTec.AppFx.Data.Dapper.DataServices;
using FluiTec.AppFx.Data.Dapper.UnitsOfWork;
using FluiTec.AppFx.Data.DataServices;
using FluiTec.AppFx.Data.Migration;
using FluiTec.AppFx.Data.UnitsOfWork;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Optio... |
MatchModule_New/Games.NB_MatchModule.Emulator.WPF/Main.xaml.cs | cool8868/Soccer-King | 0 | 7025368 | <reponame>cool8868/Soccer-King
/*****************************************************************************
* 文件名:Main.xaml
*
* 创建人:
*
* 创建时间:2009-11-12 16:22:52
*
* 功能说明:Represents the main window.
*
* 历史修改记录:
*
* ***************************************************************************/
using Sy... |
XIVEVENT/Audio/TTSMessageData.cs | FFXIVAPP/xivevent | 2 | 7025369 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="TTSMessageData.cs">
// Copyright© 2021 <NAME>
// Licensed under the MIT license. See LICENSE.md in the solution root for full license information.
// </copyright>
// <summary>... |
Client/GUI/DirectXHook/Hook/Hook.cs | PourrezJ/platform | 27 | 7025370 | using System;
using System.Runtime.InteropServices;
using EasyHook;
namespace GTANetwork.GUI.DirectXHook.Hook
{
// Thanks to remcoros for the initial version of the following helper classes
/// <summary>
/// Extends <see cref="Hook"/> with support for accessing the Original method from within a hook dele... |
source/WebAppOnVmss/Sample.WebApp/Pages/Index.cshtml.cs | krishsub/vmscalesets | 1 | 7025371 | <reponame>krishsub/vmscalesets<gh_stars>1-10
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace Sample.WebApp.Pages
{
public class IndexModel : PageModel
{
public string MachineName { get; priva... |
src/Schema/Tags/ArtistTags.cs | 7digital/SevenDigital.Api.Schema | 1 | 7025372 | using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using SevenDigital.Api.Schema.Attributes;
namespace SevenDigital.Api.Schema.Tags
{
[Serializable]
[ApiEndpoint("artist/tags")]
[XmlRoot("tags")]
public class ArtistTags : HasPaging
{
[XmlElement("tag")]
public List<Tag> TagLis... |
Sources/Libraries/Dxflib4NET/DL_Attributes.cs | treeDiM/PackLib4ES | 0 | 7025373 | namespace Dxflib4NET
{
public class DL_Attributes
{
#region Constructors
/// <summary>
/// Default constructor
/// </summary>
public DL_Attributes()
{
Color = 0;
Width = 0;
LineType = "BYLAYER";
}
/// <summary>
... |
src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/ProviderBase/DbConnectionPoolOptions.cs | v-kaywon/SqlClient | 0 | 7025374 | // 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 Microsoft.Data.ProviderBase
{
using System;
internal sealed class DbConnectionPoolGroupOptions
... |
WSSSecurityProvider/WSSSecurityProvider/WSSSecurityProvider/Code_Provider/SqlSiteMembershipProvider.cs | szysse/Codeplex | 0 | 7025375 | <gh_stars>0
using System;
using System.Collections.Specialized;
using System.Web.Security;
using System.Web;
using System.Web.Configuration;
using System.Configuration;
using System.Configuration.Provider;
using System.Data;
using System.Data.SqlClient;
using Microsoft.SharePoint;
using MyLocalBroadband.Logging;
name... |
src/CampaignKit.WorldMap.UI/Startup.cs | open-campaign-logger/world-map | 1 | 7025377 | // <copyright file="Startup.cs" company="<NAME> - IT-Service">
// Copyright (c) 2017-2021 <NAME>, <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/... |
QCloudCSharpSDK/COSXML/Model/Object/GetObjectRequest.cs | liuyl1992/qcloud-sdk-dotnet | 0 | 7025378 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using COSXML.Common;
using COSXML.CosException;
using System.IO;
namespace COSXML.Model.Object
{
/// <summary>
/// 下载对象
/// <see cref="https://cloud.tencent.com/document/product/436/7753"/>
/// </summary>
public sealed... |
src/CatLib.Framework/Translation/ISelector.cs | yb199478/catlib | 129 | 7025379 | /*
* This file is part of the CatLib package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Document: http://catlib.io/
*/
namespace CatLib.Translation
{
/// <summary>
/// 选择器
/// </summa... |
Jellyfin.Plugin.NextPVR/Responses/ListingsResponse.cs | emveepee/jellyfin-plugin-nextpvr | 0 | 7025380 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using MediaBrowser.Controller.LiveTv;
using MediaBrowser.Model.LiveTv;
using Microsoft.Extensions.Logging;
using MediaBrowser.Model.Serialization;
using Jellyfin.Plugin.NextPVR.Helpers;
namespac... |
Source/Word/DispatchInterfaces/LinkFormat.cs | DominikPalo/NetOffice | 2 | 7025381 | using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.WordApi
{
/// <summary>
/// DispatchInterface LinkFormat
/// SupportByVersion Word, 9,10,11,12,14,15,16
/// </summary>
/// <remarks> MSDN Online: http://msdn.microsoft.com/en-us/en-us/libr... |
test/Quantic.Cache.InMemory.UnitTest/Util/WrongCacheKeyProviderQueryHandler.cs | turkelk/Quantic | 3 | 7025382 | <filename>test/Quantic.Cache.InMemory.UnitTest/Util/WrongCacheKeyProviderQueryHandler.cs
using System.Threading.Tasks;
using Quantic.Core;
namespace Quantic.Cache.InMemory.UnitTest
{
[DecorateInMemoryCache(cacheKeyProviderType:typeof(WrongCacheKeyProviderQuery))]
public class WrongCacheKeyProviderQuery... |
Botje.Messaging/Core/Utils/ExceptionUtils.cs | JTOne123/botje | 0 | 7025383 | using System;
using System.Collections;
using System.Linq;
using System.Text;
namespace Botje.Core.Utils
{
/// <summary>
/// Methods for helping the software deal with exceptions.
/// </summary>
public static class ExceptionUtils
{
private static string[] HiddenProperties = new string[] { ... |
test/Finbuckle.MultiTenant.AspNetCore.Test/MultiTenantOptionsCacheShould.cs | muffadalis/Finbuckle.MultiTenant | 0 | 7025384 | // Copyright 2018 <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 applica... |
samples/snippets/csharp/VS_Snippets_Remoting/SoapClientFormatterSinkProvider_BaseChannelSinkWithProperties/CS/SoapClientFormatterSinkProvider_CreateSink_Client.cs | antmdvs/docs | 2 | 7025385 | <reponame>antmdvs/docs<gh_stars>1-10
// System.Runtime.Remoting.Channels.SoapClientFormatterSinkProvider.CreateSink
// System.Runtime.Remoting.Channels.BaseChannelSinkWithProperties
/*
The following example demonstrates the 'BaseChannelSinkWithProperties'
class and 'CreateSink' method of 'SoapClientFormatterSin... |
MineProtocol.net/Events/MinecraftPlayerEventArgs.cs | inku25253/MineProtocol.net | 0 | 7025386 | <reponame>inku25253/MineProtocol.net
namespace MineProtocol.net.Events
{
public class MinecraftPlayerEventArgs :MinecraftEventArgs
{
public MinecraftClient Client { get; private set; }
public MinecraftPlayerEventArgs(MinecraftClient client)
{
Client = client;
}
}
}
|
SmartEnergyAzureDemo/DataMining/ApiDataMiners/ApiMinerConfigLayout.cs | anurooba/Smartenergy | 0 | 7025387 |
// --------------------------------------------------------------------------------------------------------------------
// This code is published under the The MIT License (MIT). See LICENSE.TXT for details.
// Copyright(c) Microsoft and Contributors
// ---------------------------------------------------------------... |
source/PlayniteSDK/IResourceProvider.cs | Donkeyfumbler/Playnite | 1 | 7025388 | <reponame>Donkeyfumbler/Playnite<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Playnite.SDK
{
/// <summary>
/// Describes application resource provider.
/// </summary>
public interface IResourcePro... |
src/SFA.DAS.EmployerDemand.Application/Demand/Commands/CreateCourseDemand/CreateCourseDemandCommandHandler.cs | SkillsFundingAgency/das-employerdemand-web | 0 | 7025389 | using System.Threading;
using System.Threading.Tasks;
using MediatR;
using SFA.DAS.EmployerDemand.Domain.Interfaces;
namespace SFA.DAS.EmployerDemand.Application.Demand.Commands.CreateCourseDemand
{
public class CreateCourseDemandCommandHandler : IRequestHandler<CreateCourseDemandCommand, Unit>
{
priva... |
ExchangeMAPI/Source/MS-OXCFXICS/Adapter/Helper/FastTransferStream/Syntactical/MessageChildren.cs | v-yahan/Interop-TestSuites | 29 | 7025390 | namespace Microsoft.Protocols.TestSuites.MS_OXCFXICS
{
using System.Collections.Generic;
/// <summary>
/// The MessageChildren element represents children of the Message objects:
/// Recipient and Attachment objects.
/// MessageChildren = [ PidTagFXDelProp ] [ *Recipient ]
/// ... |
Core/Design/IObjectDesigner.cs | superowner/Unity-WinForms | 1 | 7025391 | <reponame>superowner/Unity-WinForms
namespace System.Windows.Forms.Design
{
public interface IObjectDesigner
{
object Value { get; }
object Draw(int width, int height);
}
}
|
FluentBuild/FluentFs.Build/Default.cs | SkightTeam/eLiteWeb | 8 | 7025392 | <filename>FluentBuild/FluentFs.Build/Default.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentBuild;
using FluentBuild.Core;
using FluentFs.Core;
namespace FluentFs.Build
{
public class Default : BuildFile
{
private Directory directory_base;
... |
tests/Stl.Fusion.Tests/Model/Chat.cs | servicetitan/Stl | 0 | 7025393 | using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore;
namespace Stl.Fusion.Tests.Model;
[Index(nameof(Title))]
public record Chat : LongKeyedEntity
{
[Required, MaxLength(120)]
public string Title { get; init; } = "";
[Required]
public User Author { get; init; } = default!;... |
Nuages.AWS/S3/S3CloudStorage.cs | martin-masse/nuages-aws | 0 | 7025394 | <reponame>martin-masse/nuages-aws
using System.Diagnostics.CodeAnalysis;
using System.Net;
using Amazon;
using Amazon.Runtime;
using Amazon.S3;
using Amazon.S3.Model;
// ReSharper disable MemberCanBePrivate.Global
// ReSharper disable MemberCanBeMadeStatic.Global
namespace Nuages.AWS.S3;
#region
#endregion
/... |
sources/Hb.HexEditor/FormFind.cs | ramdemi/Hb.Hexeditor2 | 3 | 7025395 | using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using Hb.Windows.Forms;
using System.Collections.Generic;
using System.Text;
namespace Hb.HexEditor2
{
/// <summary>
/// Summary description for FormFind.
/// </summary>
public class FormFind ... |
Day4/Day4-1/Program.cs | ParaSwarm/AdventOfCode2021 | 1 | 7025396 | <filename>Day4/Day4-1/Program.cs
namespace HelloWorld
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
var cards = new List<BingoCard>();
var drawPile = new Queue<int>();
bool readFirstLine = false;
... |
LianLianXuan_Prj/Model/Grid.cs | marklang1993/LianLianXuan_Prj | 0 | 7025397 | using System;
using System.Collections.Generic;
using System.Linq;
namespace LianLianXuan_Prj.Model
{
public class Grid
{
private Block[][] _map; // 2D Map of blocks
private HashSet<int> _remainedBlockPair; // Remained Block Pair IDs
/// <summary>
/// Constructor
/// <... |
Nemesis.TextParsers.Tests/AggressionBased/AggressionBased.cs | nemesissoft/Nemesis.TextParsers | 19 | 7025398 | <reponame>nemesissoft/Nemesis.TextParsers
using JetBrains.Annotations;
using System;
using System.Collections;
using System.ComponentModel;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using Nemesis.Essentials.Runtime;
using Nemesis.TextParsers.Parsers;
usi... |
Library/DiscUtils.Core/IWindowsFileSystem.cs | fantasydr/DiscUtils | 535 | 7025399 | //
// Copyright (c) 2008-2011, <NAME>
//
// 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, publis... |
CarRental.Data/Migrations/20181030102933_RemoveBookingCar.Designer.cs | TeknikhogskolanGothenburg/CarRental_WCF_Service_Rasmus_Berg | 0 | 7025400 | // <auto-generated />
using System;
using CarRental.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace CarRen... |
console/Packages/com.cronyx.console/Runtime/Scripts/UI/ConsoleView.cs | cronyxllc/DeveloperConsole | 2 | 7025401 | <reponame>cronyxllc/DeveloperConsole
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using TMPro;
using UnityEngine.UI;
using UnityEngine.EventSystems;
// Disable 'Field is never asigned to, and will always have it... |
Labs/HallamNathan_Lab02/Assets/Scripts/PhotonManager.cs | Knightofthewind5/NHTIAGGP225C | 0 | 7025402 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using Photon.Pun;
using Photon.Realtime;
using TMPro;
public class PhotonManager : MonoBehaviourPunCallbacks
{
#region Variables and Singletons
/// <summary>
/// Version of game
/// </summary>
string... |
ExEnSilver/Graphics/SpriteBatch.cs | ARLM-Attic/ExEn | 0 | 7025403 | <reponame>ARLM-Attic/ExEn
using Microsoft.Xna.Framework;
using System;
using System.Text;
using System.Diagnostics;
using ExEnSilver.Renderer;
using ExEnSilver.Effects;
namespace Microsoft.Xna.Framework.Graphics
{
public enum SpriteSortMode
{
Deferred,
// These are not supported and currently beha... |
Bilal/PrayTimes.cs | MahmoudHasheesh/Bilal | 0 | 7025404 | <filename>Bilal/PrayTimes.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bilal
{
public class PrayTimes
{
}
public enum TimeNames
{
Imsak,
Fajr,
Sunrise,
Dhuhr,
Asr,
... |
GGNet/Geoms/Point.cs | 23min/GGNet | 73 | 7025405 | <filename>GGNet/Geoms/Point.cs
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components.Web;
using GGNet.Scales;
using GGNet.Facets;
using GGNet.Shapes;
namespace GGNet.Geoms
{
public class Point<T, TX, TY> : Geom<T, TX, TY>
where TX : struct
where TY : struct
{
... |
src/RestEaseUnitTests/ImplementationBuilderTests/MethodInfoTests.cs | jinseoung-lee/RestEase | 1 | 7025406 | using Moq;
using RestEase;
using RestEase.Implementation;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace RestEaseUnitTests.ImplementationBuilderTests
{
public class MethodInfoTests
{
public ... |
06-Csharp OOP Advanced/14-EXERCISE OBJECTS AND EVENTS/ObjectAndEventsExercises/01-EventImplementation/StartUp.cs | MrPIvanov/SoftUni | 0 | 7025407 | using System;
public class StartUp
{
static void Main()
{
INameChangeable dispatcher = new Dispatcher("Ivan");
INameChangeHandler handler = new NameChangeHandler();
dispatcher.NameChangeEvent += handler.OnDispatcherNameChange;
string name;
while ((name = Console.ReadL... |
test/FeatureBits.Data.Test/FeatureBitsEfDbContextTests.cs | shawnadrockleonard/featurebits | 21 | 7025409 | <filename>test/FeatureBits.Data.Test/FeatureBitsEfDbContextTests.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 FeatureBits.Data.EF;
using FluentAssertions;
using Xunit;
namespace Feat... |
Project_1/project_1.test/UnitTest1.cs | 12142020-dotnet-uta/DanielGeiserRepo1 | 0 | 7025410 | <reponame>12142020-dotnet-uta/DanielGeiserRepo1
using BusinessLayer;
using Microsoft.EntityFrameworkCore;
using ModelLayer;
using RepositoryLayer;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xunit;
namespace project_1.test
{
public class UnitTest1
{
static StoreA... |
src/Skybrud.Umbraco.Search/SearchUtils.cs | skybrud/Skybrud.Umbraco.Search | 2 | 7025411 | <reponame>skybrud/Skybrud.Umbraco.Search<filename>src/Skybrud.Umbraco.Search/SearchUtils.cs
namespace Skybrud.Umbraco.Search {
/// <summary>
/// Static class with various utility and helper methods related to search and indexing.
/// </summary>
public static partial class SearchUtils { }
} |
source/Novicell.Examine.ElasticSearch.Tests/TestBaseIndex.cs | mcl-sz/Novicell.Examine.ElasticSearch | 13 | 7025412 | <filename>source/Novicell.Examine.ElasticSearch.Tests/TestBaseIndex.cs
using System.Collections.Generic;
using System.IO;
using Examine;
using Examine.LuceneEngine;
using Novicell.Examine.ElasticSearch.Indexers;
using Umbraco.Core.Logging;
namespace Novicell.Examine.ElasticSearch.Tests
{
public class TestBaseInde... |
PasPasPas.Parsing/src/SyntaxTree/CompilerDirectives/Hints.cs | prjm/paspaspas | 0 | 7025414 | #nullable disable
using PasPasPas.Globals.Options.DataTypes;
using PasPasPas.Globals.Parsing;
namespace PasPasPas.Parsing.SyntaxTree.CompilerDirectives {
/// <summary>
/// hints directive
/// </summary>
public class Hints : CompilerDirectiveBase {
/// <summary>
/// ... |
GPA/LocationPredictions.cs | ajsmithsw/Xamarin.iOS.GooglePlacesAutocomplete | 4 | 7025415 | <filename>GPA/LocationPredictions.cs
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace DurianCode.iOS.Places
{
public class LocationPredictions
{
public LocationPredictions() { }
[JsonProperty("status")]
public string Status { get; set; }
[JsonProperty... |
NewLife.Core/Serialization/Json/JsonWriter.cs | luoshulin/X | 1 | 7025416 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Globalization;
using System.Text;
using NewLife.Reflection;
namespace NewLife.Serialization
{
/// <summary>Json写入器</summary>
public class JsonWriter
{
#region 属... |
Wallace.IDE/SalesForceData/TestRunItemResult.cs | natewallace/walli | 0 | 7025417 | /*
* 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"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publi... |
Assets/[Scripts]/Enemy/EnemyFactory.cs | No0ot/GAME2014-F2021-Assignment2 | 0 | 7025418 | // Author : <NAME>
// StudentID : 100818050
// Date Modified : October 22, 2021
// File : EnemyFactory.cs
// Description : This script contains the methods used to instantiate different enemys along with the method to Increment health of any enemys to be instanti... |
AnyStore/UI/frmUsers.cs | musmanmalik/anystore | 55 | 7025419 | <filename>AnyStore/UI/frmUsers.cs
using AnyStore.BLL;
using AnyStore.DAL;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace AnyStore.UI
{
pu... |
TravellerTools/Grauenwolf.TravellerTools.Characters/CareerHistory.cs | TedTschopp/TravellerTools | 29 | 7025420 | namespace Grauenwolf.TravellerTools.Characters
{
public class CareerHistory
{
public CareerHistory(string career, string assignment, int rank, int commissionRank = 0)
{
CommissionRank = commissionRank;
Rank = rank;
Career = career;
Assignment = as... |
src/TygaSoft/Model/ProductRepairExtendInfo.cs | fdhgfg/abc123 | 61 | 7025421 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TygaSoft.Model
{
public partial class ProductRepairExtendInfo
{
public ProductRepairInfo ProductRepairInfo { get; set; }
public ProductInfo ProductInfo { get; set; }
}
}
|
src/Raider.Validation/Internal/PropertyValidators/EqualValidator.cs | raider-net/Raider | 3 | 7025422 | using Raider.Extensions;
using Raider.Validation.Internal;
using System;
using System.Collections;
using System.Collections.Generic;
namespace Raider.Validation
{
internal class EqualValidator<T, TProperty> : PropertyValidator<T, TProperty>
{
public override ValidatorType ValidatorType { get; } = ValidatorType.Eq... |
exercises/practice/forth/Forth.cs | Leefrost/csharp | 0 | 7025423 | using System;
public static class Forth
{
public static string Evaluate(string[] instructions)
{
throw new NotImplementedException("You need to implement this function.");
}
} |
src/Lucene.Net/Util/OfflineSorter.cs | geocom-gis/lucenenet | 0 | 7025424 | using Lucene.Net.Store;
using Lucene.Net.Support;
using Lucene.Net.Support.IO;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
namespace Lucene.Net.Util
{
/*
* Licensed to the Apache Software Foundatio... |
src/Physics Constraints/Assets/Physics Constraints/Util/Pool.cs | studentutu/unity-physics-constraints | 104 | 7025426 | <reponame>studentutu/unity-physics-constraints<filename>src/Physics Constraints/Assets/Physics Constraints/Util/Pool.cs
/******************************************************************************/
/*
Project - Physics Constraints
https://github.com/TheAllenChou/unity-physics-constraints
Author ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.