content stringlengths 23 1.05M |
|---|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ChilliSource.Cloud.Web.Api
{
public class StreamedHttpFile
{
public StreamedHttpFile(string fileName, string contentType, Stream stream)
{
... |
using System;
using UnityEngine;
namespace TouchThrottle
{
[Serializable]
public class TouchThrottledParameter
{
[SerializeField] private int _throttleFrame = 2;
public int ThrottleFrame => _throttleFrame;
[SerializeField] private float _throttleTimeInSeconds = 0f;
public f... |
using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using CodeAFriend.DataModel;
using Microsoft.AspNetCore.Mvc;
using System.Net;
using System.Threading.Tasks;
using CodeAFriend.Facade;
namespace CodeAFriend.ApiService.Controllers
{
/// <summary>
/// Api Methods dealing with... |
using Antrv.FFMpeg.Interop;
namespace Antrv.FFMpeg.Model.IO;
internal static class StreamParametersFactory
{
internal static StreamParameters CreateStreamParameters(in AVStream stream, in AVCodecParameters pars)
{
switch (pars.CodecType)
{
case AVMediaType.Video:
r... |
using Microsoft.DirectX.Direct3D;
using TGC.Core.SceneLoader;
using TGC.Core.SkeletalAnimation;
namespace TGC.Core.MeshFactory
{
/// <summary>
/// Factory default que crea una instancia de la clase TgcMesh
/// </summary>
public class DefaultSkeletalMeshFactory : ISkeletalMeshFactory
{
... |
namespace Merchello.Plugin.Payments.Braintree.Provider
{
/// <summary>
/// Marker interface for the Braintree Web hook Record Payment Gateway Method.
/// </summary>
public interface IBraintreeSubscriptionRecordPaymentGatewayMethod
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ScriptingUtilities
{
public class PreventBrokenBatchesProfileExtension_Dispatch : CustomExtensionDispatcher
{
public PreventBrokenBatchesProfileExtension_Dispatch()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Exercise_08_CustomComparator
{
public class CustomComparator
{
public static void Main(string[] args)
{
ReceiveInput();
}
//Receives numbers from the console.
public static void Re... |
using System.Collections.Generic;
using System.Linq;
using Kodefoxx.Studying.CsDesignPatterns.Iterator.News;
using Kodefoxx.Studying.CsDesignPatterns.Shared.Domain.People;
namespace Kodefoxx.Studying.CsDesignPatterns.Iterator.Newsletters
{
public sealed class TeacherNewsletter : INewsletter
{
/// <sum... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Cvl.NodeNetwork.Communication.TransportLayer;
using Cvl.NodeNetwork.Communication.TransportLayer.Model;
namespace Cvl.NodeNetwork.Server
{
public interface IServiceHostNotification
{
void Notificatio... |
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
name... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Newtonsoft.Json;
namespace SensorThings.Core
{
public class Thing : AbstractEntity
{
private string _name;
private string _description;
private IDictionary<string, object> _properties;
private string... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Xappium.UITest.MSTest
{
[DoNotParallelize]
public abstract class XappiumTestBase
{
protected ITestEngine Engine { get; private set; }
[TestInitialize]
public virtual void StartApp()
{
A... |
// 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.
#nullable disable
using Xunit;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Micros... |
using Opcomunity.Service.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Opcomunity.Service.Interface
{
public interface IGiftService
{
List<GiftTransactionModel> GetTrasactionList(int pageIndex, int pageSize, string... |
namespace EA.Prsd.Core.Tests.Stubs
{
using System.Web;
public class StubbedHttpPostedFile : HttpPostedFileBase
{
private readonly string _contentType;
public override string ContentType
{
get { return _contentType; }
}
public StubbedHttpPostedFile(stri... |
using System.IO;
namespace Just.Anarchy.Test.Common.Extensions
{
public static class StreamExtensions
{
public static string ConvertToString(this Stream stream)
{
stream.Position = 0;
var sr = new StreamReader(stream);
return sr.ReadToEnd();
}
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SingleInstance<T> where T: class,new()
{
private static T _instance;
public static T instance {
get {
if (null == _instance) {
_instance = new T();
SingleInstance<T>... |
using System.Collections.Generic;
using Umbraco.Headless.Client.Models;
namespace UmbracoHeadlessCore.Models
{
public class HeroContainer : ContentItem
{
public IEnumerable<Hero> Children { get; set; }
}
} |
namespace Umbraco.Cms.Infrastructure.Persistence;
/// <summary>
/// Provides a mapping function for <see cref="UmbracoDatabase.ExecuteScalar{T}(string, object[])"/>
/// </summary>
public interface IScalarMapper
{
/// <summary>
/// Performs a mapping operation for a scalar value.
/// </summary>
object M... |
using Jint.Native;
using Jint.Native.Argument;
using Jint.Native.Function;
using Jint.Runtime.Environments;
using Jint.Runtime.References;
namespace Jint.Pooling
{
/// <summary>
/// Cache reusable <see cref="Reference" /> instances as we allocate them a lot.
/// </summary>
internal sealed class Argume... |
using System.Runtime.CompilerServices;
public class Error {
private string msg = string.Empty;
private Error encapsulated = null;
public string Message {
get {
if (encapsulated == null) {
return msg;
} else {
return $"{msg}\n{encapsulated.Mess... |
using EmployeePayroll.Entities;
using EmployeePayroll.Helpers;
using EmployeePayroll.Model;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EmployeePayroll.Services
{
public class DataRepository : IData
{
p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
using UnityEngine.UI;
using UnityEngine.Events;
public class AvatarHolder : MonoBehaviour
{
private int styleID;
[SerializeField]
private TextMeshProUGUI _name;
[SerializeField]
private RectTransform _rect;
... |
namespace StrategyPattern.Models
{
public class ShippingDetails
{
public string Receiver { get; set; }
public string AddressLine1 { get; set; }
public string AddressLine2 { get; set; }
public string PostalCode { get; set; }
public string DestinationCountry { get; init... |
using System;
using System.Threading.Tasks;
using Dapr.Actors;
namespace RestaurantService.Interfaces
{
public interface IOrderActor : IActor
{
Task PlaceOrderAsync(OrderData order);
Task<OrderData> GetOrderAsync();
}
}
|
using System.Collections.Generic;
namespace AppBlocks.Apps
{
public interface IApp
{
List<Dictionary<string, object>> App(Dictionary<string, object> parameters = null);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MovieLib
{
/// <summary>This class represents the entity Movie</summary>
/// <remarks>This will represent the fields and properties of the class</remarks>
public class Movie
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering;
using UnityEditor;
namespace Pintos.FiniteStateMachine
{
[RequireComponent(typeof(Animator), typeof(Rigidbody2D))]
public abstract class FiniteController : MonoBehaviour
{
public StateMachin... |
using System.Text;
namespace pgdiff.schema
{
public class PgIndex
{
public PgIndex(string name)
{
Name = name;
}
public string Comment { get; set; }
public string Definition { get; set; }
public string Name { get; }
public string TableName... |
using System;
namespace FriendTab
{
public class NoParseDataException : ApplicationException
{
public NoParseDataException (string className)
: base (string.Format ("{0} must be fetched from Parse to allow this operation", className))
{
}
}
}
|
using System;
using System.Collections.Generic;
namespace Andtech.Ego
{
public class DynamicsFactory<TArgs, TTask>
{
private readonly Dictionary<Type, Func<TArgs, TTask>> factories = new Dictionary<Type, Func<TArgs, TTask>>();
public void Add<T>(Func<TArgs, T> objectFactory) where T : TTa... |
using System;
namespace CSharp_Shell
{
public static class Program
{
public static void Main()
{
Console.Write("Numero ");
string entrada1 = Console.ReadLine();
Convert.ToInt32(entrada1);
Console.Write("Elevado a ");
string entrada2 = Console.ReadLine();
Convert.ToInt32(entrada2);
Console... |
using System;
using System.Collections.Generic;
using System.Text;
using Prism.Common;
using Prism.Forms.Tests.Mvvm.Mocks.ViewModels;
using Prism.Navigation;
using Xunit;
namespace Prism.Forms.Tests.Mvvm
{
public class AutoInitializeFixture
{
[Fact]
public void ThrowsAnExceptionWithoutRequired... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum DashState
{
Inactive,
Active,
Timeout
}
public class PlayerController : MonoBehaviour
{
public static PlayerController instance;
[SerializeField]
float moveSpeed = 5f;
[SerializeFiel... |
using Redbus.Events;
using SchulIT.UntisExport.Exams;
using System.Collections.Generic;
namespace UntisExportService.Core.Inputs.Exams
{
public class ExamEvent : EventBase
{
public IEnumerable<Exam> Exams { get; private set; }
public ExamEvent(IEnumerable<Exam> exams)
{
Ex... |
@page
@model Teacher.Website.Feature.Routing.IndexModel
@{
ViewData["Title"] = "Routing";
}
<h4>@ViewData["Title"]</h4>
<p>Znaleziono @Model.Data.Routes.Count ścieżek</p>
<table class="table table-hover">
<thead>
<tr>
<th scope="col">Nazwa</th>
</tr>
</thead>
<tbody>
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class MainMenuController : MonoBehaviour
{
[SerializeField] GameObject optionsScreen = default;
[SerializeField] GameObject mainMenu = default;
[SerializeField] Slider musicSlider = default;
[Se... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace YourConfigIsInAnotherCastle.Models
{
public class Tag
{
public int Id { get; set; }
public string Value { get; set; }
public virtual List<ConfigurationValue> ConfigurationValues { get; pri... |
namespace DESEncodeDecodeLib
{
/// <summary>
/// <para>This custom data type simulates manipulating elementary binary data (bit).</para>
/// <example>
/// Bit bit1 = 0;
/// Bit bit2 = 1;
/// Console.Out.WriteLine(bit1.IsSet ? $"Bit is 1 [{bit1}]" : $"Bit is 0 [{b... |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace EOS.Client.Models
{
public class AbiBinToJsonResult
{
[JsonProperty("args")]
public IDictionary<string, object> Args { get; set; }
[JsonProperty("required_scope")]
public IEnumerable<string> RequiredScope { get... |
#define USE_BSON_TYPE
using UnityEngine;
using System.Collections;
//using GameDB;
//using Noriatti;
using System.IO;
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Bson;
#if !USE_BSON_TYPE
public class DatabaseManager : MonoSingleton<DatabaseManager>
{
protected sta... |
// 2015,2014, MIT, WinterDev
namespace PixelFarm.Drawing
{
public abstract class Image : System.IDisposable
{
public abstract void Dispose();
public abstract int Width { get; }
public abstract int Height { get; }
public abstract System.IDisposable InnerImage { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
namespace perpustakaan_app.model
{
class rak_buku
{
public string count_rak_buku()
{
var result = db.get_data("select count(*) from tb_rak_buku");
return result.Rows... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Xunit;
namespace SampleDynamicTests
{
public class OperatorTest
{
private int _total = 0;
public static string operator +... |
using System;
using System.Collections.Generic;
using System.Linq;
using Autofac;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ChessOk.ModelFramework.Tests
{
[TestClass]
public class ModelContextTests
{
private IContainer _container;
[TestInitialize]
... |
@model UserViewModel
@{
Html.RenderPartial("_Filtering", Model.Filter);
}
<div class="table">
<div class="tr th">
<div class="td" style="flex-grow: 3;">Puno ime</div>
<div class="td" style="flex-grow: 2;">Kompanija</div>
<div class="td" style="flex-grow: 3;">Email</div>
<div c... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StatusBoard.Core.StandardChecks
{
public class GoogleHttpCheck : HttpCheck
{
public GoogleHttpCheck()
: base("GoogleHttpCheck", new Uri("http://google.com"))
... |
using FProtect.External.Assembler;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FProtect.External.Encryption
{
public class RoutineInfo
{
/// <summary>
/// Entropy used for XOR / ADD / SUB functions
/// </... |
using System;
namespace R5T.T0034.X004
{
public static partial class ITypeNameExtensions
{
public static string GetTypeNameStemForInterfaceName_Unchecked(this ITypeName _,
string interfaceName)
{
var output = interfaceName[1..];
return output;
}
... |
/*
* Florence - A charting library for .NET
*
* HistogramPlot.cs
* Copyright (C) 2003-2006 Matt Howlett and others.
* Copyright (C) 2013 Scott Stephens
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following condi... |
namespace DotCommerce.Domain
{
public class SortingCriteria
{
public SortingField Field { get; set; }
public SortingDirection Direction { get; set; }
public override string ToString()
{
return Field + " " + Direction;
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DanpheEMR.ServerModel.LabModels
{
public class LabMasterModel
{
public string PatientName { get; set; }
public int PatientId { get; set; }
public string Patient... |
/*<FILE_LICENSE>
* Azos (A to Z Application Operating System) Framework
* The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
</FILE_LICENSE>*/
using System;
using System.Collections.Generic;
using System.Threading.T... |
using UnityEngine;
public partial class TOD_Sky : MonoBehaviour
{
private float timeSinceLightUpdate = float.MaxValue;
private float timeSinceAmbientUpdate = float.MaxValue;
private float timeSinceReflectionUpdate = float.MaxValue;
private void UpdateQualitySettings()
{
if (Headless) return;
Mesh sp... |
using Contracts.Models;
using System.Threading.Tasks;
namespace API.Models.Documents
{
public interface IDocumentService
{
Task<CW_Document> Get(string documentTitle);
}
}
|
using MagicalLifeAPI.World.Base;
using ProtoBuf;
namespace MagicalLifeAPI.World.Items
{
[ProtoContract]
public class StoneRubble : Item
{
public StoneRubble(int count) :
base("Stone Rubble", 200,
new System.Collections.Generic.List<string>()
{
"S... |
using System.Threading.Tasks;
namespace Conreign.Server.Contracts.Communication
{
public interface ITopicFactory
{
Task<ITopic> Create(string id);
}
} |
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using CompilerContract;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
namespace RoslynCompiler
{
public class RoslynCompiler : ICompiler
{
/// Gets the compilation options.
public CSharpCompilationO... |
#nullable enable
namespace Microsoft.Maui
{
public interface IFileImageSource : IImageSource
{
string File { get; }
}
} |
using System.Runtime.InteropServices;
namespace AgileCli.Services
{
internal class SystemProcessFactory
{
public static ISystemProcess Create()
{
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
return new WindowsSystemProcess();
return new Syst... |
using Opdex.Platform.Common.Enums;
using Opdex.Platform.Common.Models;
namespace Opdex.Platform.Application.Abstractions.Models.TransactionEvents.Vaults;
public class VaultProposalWithdrawPledgeEventDto : TransactionEventDto
{
public ulong ProposalId { get; set; }
public Address Pledger { get; set; }
publ... |
using System;
using UnityEditor.Graphing;
using UnityEngine;
namespace UnityEditor.ShaderGraph.Internal
{
[Serializable]
[FormerName("UnityEditor.ShaderGraph.Vector3ShaderProperty")]
[BlackboardInputInfo(3)]
public sealed class Vector3ShaderProperty : VectorShaderProperty
{
internal Vector3... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BeltController : MonoBehaviour
{
public bool isCorner;
public Vector2 direction;
public float speed;
private GameObject _spitz;
private SpitzController _spitzController;
private Col... |
using Newtonsoft.Json;
using System;
namespace A.FreshDesk.ApiClient.Models
{
[JsonObject(MemberSerialization.OptIn)]
public class Comment
{
/// <summary>
/// ID of the comment
/// </summary>
[JsonProperty(PropertyName = "id", NullValueHandling = NullValueHandling.Ignore)]
... |
// Generated class v2.50.0.0, don't modify
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
namespace NHtmlUnit
{
public partial class CookieManager : ObjectWrapper
{
static CookieManager()
{
ObjectWrap... |
using System;
using XGamingRuntime.Interop;
namespace XGamingRuntime
{
//enum class XblTitleManagedStatType : uint32_t
//{
// Number,
// String
//};
public enum XblTitleManagedStatType : UInt32
{
Number = 0,
String = 1,
}
} |
using BusinessLogicService.Abstract;
using DataAccessLayer.Abstract;
using EntityLayer.Concrete;
using System;
using System.Collections.Generic;
using System.Text;
namespace BusinessLogicService.Concrete
{
public class BrandManager : IBrandService
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataExplorer.Domain.Filters;
using DataExplorer.Domain.Rows;
namespace DataExplorer.Application.Application
{
public interface IApplicationStateService
{
bool GetIsStartMenuVisible... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
namespace JuvStudios.TextEditor.Utils
{
internal static unsafe class StringHelper
{
public static void ReplaceCharacter(this string text, char replaced, char replacedWith)
{
fixed (char* buffer = text)
{
for (int i = 0; i < text.Length; i++)
{
if (buffer[i] == replaced)
{
buffer[i] ... |
using System.IO.Pipelines.Testing;
using System.Linq;
using BenchmarkDotNet.Attributes;
namespace System.IO.Pipelines.Performance.Tests
{
[Config(typeof(CoreConfig))]
public class Enumerators
{
private const int InnerLoopCount = 512;
private ReadableBuffer _readableBuffer;
[Setup]... |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
namespace DaanV2.Sudoku {
public partial class Cell : IEquatable<Cell> {
/// <summary>
///
/// </summary>
/// <param name="obj"></param>
/// <returns></returns>
public override B... |
using System;
using System.Threading.Tasks;
using Polly;
using RabbitMQ.Client.Exceptions;
using RawRabbit.Configuration.Queue;
using RawRabbit.Enrichers.Polly;
using RawRabbit.Instantiation;
using RawRabbit.IntegrationTests.TestMessages;
using RawRabbit.Pipe;
using Xunit;
namespace RawRabbit.IntegrationTests.Enriche... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windo... |
using System;
using FK_CLI;
namespace FK_CLI_RBez
{
class RBez
{
static void Main(string[] args)
{
var window = new fk_AppWindow();
var model = new fk_Model();
var curv = new fk_RBezCurve();
window.Size = new fk_Dimension(800, 800);
... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Product.Common;
using Product.Infrastructure;
using Product.Services;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace ProductModel.WebAPI
{
[ApiController]
[Produces("application/json")]
[Route("api/products")... |
#region License
// <copyright>
// iGeospatial Geometries Package
//
// This is part of the Open Geospatial Library for .NET.
//
// Package Description:
// This is a collection of C# classes that implement the fundamental
// operations required to validate a given geo-spatial data set to
// a known top... |
using AutoMapper;
using Google.Protobuf.WellKnownTypes;
using ProductGrpcMicroService.Models;
using ProductGrpcMicroService.Protos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ProductGrpcMicroService.Mapper
{
public class ProductProfile : Profile
... |
namespace NuGet
{
public static class FeedDiscoveryConstants
{
public static class Discovery
{
public static readonly string PackagesV1 = "nuget-v1-packages";
public static readonly string PackagesV2 = "nuget-v2-packages";
public static readonly string PushV1... |
namespace Starnight.Internal.Rest;
using System.Net;
/// <summary>
/// Represents a base interface for REST results.
/// </summary>
public interface IRestResult
{
public HttpStatusCode StatusCode { get; }
}
|
private bool _isGrabbing = false;
private float _lastObjectDistance; |
namespace Shared.DataObjects
{
public class VersionFieldsType
{
public int? VersionNumber { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
//public class DamageEvent : EventArgs
//{
// public float damage
//}
public class DelegateManager : MonoBehaviour
{
public static DelegateManager Instance
{
get;
set;
}
void Awake()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gemstar.BSPMS.HotelScanOrder.Common.Common
{
public class PostType
{
#region 餐饮
private const string CYKey = "CY";
/// <summary>
/// 获取酒店信息
//... |
namespace VkQueue.VkObjects
{
interface IVkResponse
{
int Ts { get; set; }
dynamic[] Updates { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Globalization;
using Sdl.ProjectAutomation.FileBased;
using Sdl.ProjectAutomation.Core;
using Sdl.Core.Globalization;
using Sdl.Core.Settings;
using Sdl.ProjectAutomation.Settings;
namespace... |
public class Solution {
private List<char> rBrackets = new List<char>(){ ')', ']', '>', '}' };
private List<char> lBrackets = new List<char>(){ '(', '[', '<', '{' };
public bool IsValid(string s) {
if (string.IsNullOrWhiteSpace(s)) return false;
var stack = new Stack<char>();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace TestableSample2.App
{
public static class MainFlow
{
public static async Task Run()
{
var typedValues = ReadTypedValues();
foreach (var tv in typedValues)
... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement
{
/// <summary>
/// The event configuration for the Focus InteractionState.
/// </summary>
public class FocusEvents : BaseInteractionEventConfigur... |
using System;
using AppRopio.Base.Core.Services.Router;
namespace AppRopio.Base.Contacts.Core.Services.Implementation
{
public class ContactsRouterSubscriber : RouterSubsriber
{
}
} |
using FluentAssertions;
using System.Net.Http;
using System.Threading.Tasks;
using Xunit;
namespace JustFakeIt.Tests.AcceptanceTests
{
public class FakeServerJsonComparisonScenarios
{
[Fact]
public async Task FakeServer_ExpectPostWithPartialExpectedJsonBody_ResponseMatchesExpected()
{
... |
namespace NoRealm.Phi.DataEngine.Abstractions
{
/// <summary>
/// Represent a data engine command
/// </summary>
public interface ICommand
{
}
}
|
#if NETFX_CORE
using System;
#endif
using ZXing;
using UnityEngine;
public class Placeholder : MonoBehaviour
{
public Transform textMeshObject;
private void Start()
{
this.textMesh = this.textMeshObject.GetComponent<TextMesh>();
this.OnReset();
}
public void OnScan()
{
... |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Linq;
using System.Collections.Generic;
namespace ICSharpCode.SharpDevelop
{
/// <summary>
/// A... |
using System;
namespace GG.Portafolio.Shared.Dealer
{
public record TimeCalculated(int Id, DateTime Time, byte Status, byte Distributor)
{
public TimeCalculated InclementTime(DateTime date)
{
DateTime now = Time.AddMinutes(30);
return this with { Time = now, Id = Id + 1... |
using System.Collections.Generic;
namespace DuplicatesFinder.Common.Resources
{
public interface IResourcesContainer
{
IEnumerable<IResource> GetResources();
}
} |
using System;
using System.Threading;
using System.Windows;
using System.Windows.Input;
namespace PTR.SplashScreen
{
/// <summary>
/// Interaction logic for SplashScreen.xaml
/// </summary>
public partial class SplashScreen : Window, ISplashScreen
{
public SplashScreen()
... |
//This is a dummy version for TDTK_Free
//it doesnt really create or manage any pool
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class ObjectPoolManager : MonoBehaviour{
public static ObjectPoolManager instance;
void Awake(){
if(instance!=null) return;
instance=th... |
using Aspose.Cells;
using Aspose.Cells.Drawing;
using Aspose.Cells.Properties;
using Aspose.Cells.Rendering;
namespace VerifyTests;
public static partial class VerifyAspose
{
static ImageOrPrintOptions options = new()
{
ImageType = ImageType.Png,
OnePagePerSheet = true,
GridlineType =... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.