content stringlengths 23 1.05M |
|---|
using Mirage;
using UnityEngine;
namespace SyncVarTests.SyncVarsUnityComponent
{
class SyncVarsUnityComponent : NetworkBehaviour
{
[SyncVar]
TextMesh invalidVar;
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace SP579emulator {
/// <summary>
/// Calculates the checksum of a record
/// </summary>
public partial class T... |
using Enterspeed.Source.Sdk.Api.Providers;
using Enterspeed.Source.Sdk.Configuration;
namespace Enterspeed.Source.UmbracoCms.V8.Providers
{
public class InMemoryEnterspeedUmbracoConfigurationProvider : IEnterspeedConfigurationProvider
{
public InMemoryEnterspeedUmbracoConfigurationProvider(EnterspeedC... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace SynthTree
{
[Serializable]
public class Settings
{
public static Settings Instance { get; private set;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Liepzig.Services.IService;
using Liepzig.Services;
using Liepzig.Services.Service;
namespace Forest.Controllers
{
public class LiepzigMusicController : Controller
{
private Liepzig.Services... |
using System.Threading.Tasks;
using Blockexplorer.Core.Domain;
namespace Blockexplorer.Core.Interfaces
{
public interface IBlockProvider
{
Task<Block> GetBlock(string id);
Task<Block> GetLastBlock();
}
}
|
//---------------------------------------------------------------------
// <copyright file="ContentFormat.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <summary>
// List of content formats that data web service supports
// </summary>
//
// @owner [... |
// Copyright(C) David W. Jeske, 2013
// Released to the public domain. Use, modify and relicense at will.
using System;
using OpenTK;
namespace SimpleScene
{
public class SSCamera : SSObject
{
protected float pitchAngle = 0f;
protected float yawAngle = 0f;
public SSCamera () : base() {
... |
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.MSComctlLibApi
{
/// <summary>
/// DispatchInterface ITreeView
/// SupportByVersion MSComctlLib, 6
/// </summary>
[SupportByVersion("MSComctlLib", 6)]
[EntityType(EntityType.IsDispatchInt... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Headway.Core.Model
{
public class ConfigContainer
{
public ConfigContainer()
{
ConfigContainers = new List<ConfigContainer>();
}
public int ConfigContainerId { get; set; }
... |
//MIT, 2016-present, WinterDev
// some code from icu-project
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html#License
using System;
using Typography.OpenFont;
namespace Typography.TextBreak
{
public enum SurrogatePairBreakingOption
{
On... |
using Pea.Geometry.General;
namespace Pea.Geometry2D.Transformations
{
public abstract class Transformation2D : Matrix<Vector2D>
{
public Transformation2D() : base(3)
{
}
public static Transformation2D operator *(Transformation2D transformation1, Transformation2D transformation2)
{
return ((Matrix<V... |
namespace SharedViewModels.Helpers
{
public static class StaticMessageBoxSpawner
{
public static IMessageBoxSpawner Spawner { get; set; }
public static void Show(string message)
=> Spawner.Show(message);
public static MessageBoxResult Show(string message, string ... |
using System.Collections.Generic;
using System.Linq;
using Microsoft.WindowsAzure.Storage.Table;
namespace TableQueryParser.Core
{
public static class QueryParser
{
public static bool Validate<T>(string query, T data) where T : TableEntity
{
return ExpressionList
... |
using System;
using Exemplo002_Composicao.Entities;
using Exemplo002_Composicao.Entities.Enums;
namespace Exemplo002_Composicao
{
class Program
{
static void Main(string[] args)
{
string nameDept, nome;
double salarioBase;
int numContratos, mes, ano;
... |
using gifty.Shared.CQRS.Contracts;
using gifty.Shared.CQRS.Handlers;
using gifty.Shared.IoC;
using RawRabbit;
using RawRabbit.vNext;
namespace gifty.Shared.ServiceBus
{
internal sealed class ServiceBus : IServiceBus
{
private readonly IBusClient _busClient;
private readonly ICustomDependencyRes... |
using NUnit.Framework;
using QuakeConsole.Tests.Utilities;
namespace QuakeConsole.Tests
{
[TestFixture]
public class AssignmentAutocompletionTestses : TestsBase
{
private const string FirstInstanceName = "instance";
private const string StaticClassName = "Podobranchia";
private con... |
namespace SkylordsRebornAPI.Replay.Data
{
public struct Card
{
public ushort Id { get; set; }
public ushort Upgrades { get; set; }
public byte Charges { get; set; }
}
} |
using System.Collections.Generic;
using TodoRESTService.Models;
namespace TodoRESTService.Services
{
public interface ITodoRepository
{
bool DoesItemExist(string id);
IEnumerable<TodoItem> All { get; }
TodoItem Find(string id);
void Insert(TodoItem item);
void Update(To... |
using System.Collections.Generic;
using System.IO;
namespace Model.CsvReader
{
public static class CsvReader
{
public static IEnumerable<IEnumerable<string>> ReadCsv(string filePath)
{
using (var reader = new StreamReader(new FileStream(filePath, FileMode.Open)))
{
... |
using NUnit.Framework;
using System;
using System.Collections.Generic;
namespace BankSafe.Tests
{
public class BankVaultTests
{
private Dictionary<string, Item> vaultCells;
private BankVault bankVault;
private Item item;
[SetUp]
public void Setup()
{
... |
using System;
using System.Threading;
using System.Threading.Tasks;
using Windows.Foundation;
namespace Trippit.ExtensionMethods
{
public static class TaskExtensions
{
public static void DoNotAwait(this Task task) { }
public static void DoNotAwait<T>(this Task<T> task) { }
public sta... |
using Microsoft.AspNetCore.Components;
namespace BlazorComponent
{
public partial class BTimelineItemOpposite<TTimelineItem> where TTimelineItem : ITimelineItem
{
public RenderFragment OppositeContent => Component.OppositeContent;
}
}
|
using Microsoft.Extensions.Configuration;
using System;
using YamlDotNet.Core;
using System.IO;
namespace SpoiledCat.Extensions.Configuration
{
public class YamlConfigurationProvider : FileConfigurationProvider
{
public YamlConfigurationProvider(YamlConfigurationSource source) : base(source) { }
... |
using LineBotKit.Client.Request;
using LineBotKit.Client.Response;
using LinetBotKit.Common.Model;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace LineBotKit.Client
{
public class UserClient: Request.LineClientBase,IUserClient
{
public UserCli... |
using Alabo.Properties;
using Microsoft.AspNetCore.Identity;
namespace Alabo.Security.Identity.Describers {
/// <summary>
/// Identity中文错误描述
/// </summary>
public class IdentityErrorChineseDescriber : IdentityErrorDescriber {
/// <summary>
/// 密码太短
/// </summary>
... |
using Newtonsoft.Json;
namespace TheMovieDbNet.Models.Common
{
/// <summary>
/// Represents a generic class that holds data about paged data.
/// </summary>
public class PagedResult<T> where T : Entity
{
[JsonConstructor]
internal PagedResult(T[] results, int total_results, int total_pages, int page)
{
R... |
using System;
using TechTalk.SpecFlow;
namespace RestaurantApp.Voting.AcceptanceTests.Transforms
{
[Binding]
public class DateTimeTransforms
{
protected VotingTestContext VotingTestContext { get; set; }
public DateTimeTransforms(VotingTestContext context)
{
VotingTestCo... |
using DockerVirtualBoxExpose.Common.Entities;
using DockerVirtualBoxExpose.DockerAgent.HostNotification;
using DockerVirtualBoxExpose.DockerAgent.Watchdog;
using NSubstitute;
using Xunit;
namespace DockerVirtualBoxExpose.DockerAgent.Tests.Watchdog
{
public class ExposedServiceWatcherTest
{
[Fact]
... |
using NUnit.Framework;
using SQMImportExport.Import.Context;
using SQMImportExport.Import.DataSetters;
namespace SQMImportExport.Tests.Import
{
[TestFixture]
public class DoublePropertySetterTests
{
private double? _value;
private DoublePropertySetter _doublePropertySetter;
[SetUp... |
using System.Linq;
using FluentAssertions;
using NSubstitute;
using Wox.Plugin.Links;
using Wox.Plugin.Links.Parsers;
using Wox.Plugins.Common;
using Xunit;
namespace Wox.Links.Tests.Parsers {
public class ImportParserTests {
public ImportParserTests() {
var storage = Substitute.For<IStorage>()... |
using System;
namespace Magnesium
{
[Flags]
public enum MgColorComponentFlagBits : byte
{
R_BIT = 0x00000001,
G_BIT = 0x00000002,
B_BIT = 0x00000004,
A_BIT = 0x00000008,
}
}
|
using System.Runtime.CompilerServices;
namespace System.Reflection {
[Imported(TypeCheckCode = "{this}.type === 8")]
[Serializable]
public class MethodInfo : MethodBase {
public Type ReturnType { get; private set; }
[InlineCode("{$System.Script}.midel({this})")]
public Delegate CreateDelegate(Type delegateTy... |
namespace Verno.Portal.Web.Modules.Returns
{
public static class ReturnsPermissionNames
{
public const string Documents = "Documents";
public const string Documents_Returns = Documents + ".Returns";
public const string Documents_Returns_GetFile = Documents_Returns + ".GetFile";
... |
// ****************************************************************
// This is free software licensed under the NUnit license. You may
// obtain a copy of the license at http://nunit.org
// ****************************************************************
using System;
using System.Collections.Generic;
using Sy... |
using System;
using System.Reflection;
using Glimpse.Mvc.Message;
namespace Glimpse.Mvc.Model
{
public class ExecutionModel
{
public ExecutionModel(IExecutionMessage message)
{
IsChildAction = message.IsChildAction;
ExecutedType = message.ExecutedType;
Execut... |
using UnityEngine;
using UnityEditor;
using UnityEditor.AssetImporters;
namespace Pugrad {
// Supported colormap type list
public enum ColormapType { Viridis, Plasma, Magma, Inferno, Turbo, HSLuv }
// Custom importer for .pugrad files
[ScriptedImporter(1, "pugrad")]
public sealed class PugradImporter : ScriptedImpor... |
//-----------------------------------------------------------------------------
// Runtime: 104ms
// Memory Usage: 28.4 MB
// Link: https://leetcode.com/submissions/detail/257942576/
//-----------------------------------------------------------------------------
using System;
namespace LeetCode
{
public class _01... |
/*
* Copyright 2016-2021 Disig a.s.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
using UnityEngine;
namespace AAV.Drone.Script.PID {
/// <summary>
///
/// </summary>
[System.Serializable]
public class PidController {
/// <summary>
///
/// </summary>
[SerializeField] double _Kp;
/// <summary>
///
/// </summary>
[SerializeField] double _Ki;
/// <summary... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace projetoJogo1
{
public class pontos
{
bool condicao = false, bloquedo = false;
PictureBox pct;
public void ge... |
using System;
using System.Threading.Tasks;
using Autofac.Bot.Api.Services.Abstractions.Models;
namespace Autofac.Bot.Api.Services.Abstractions
{
public interface IProjectPublisher
{
Task<ProjectPublishResult> PublishAsync(Uri projectUri, Uri cloneBasePath);
}
} |
using Engine;
namespace Test
{
static internal partial class Program
{
static void Main()
{
Debug.OpenConsole();
E1M1();
Debug.Log("Releasing resources...");
}
}
}
|
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace ApiTest
{
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
internal str... |
using System.Runtime.CompilerServices;
namespace SFML.Graphics
{
public record RenderStates(
BlendMode BlendMode,
Transform Transform,
Texture? Texture,
Shader? Shader)
{
public static readonly RenderStates Default = new();
public RenderStates() : this(BlendMode.Alpha) { }
public RenderStates(BlendM... |
using Tizen.NUI;
using Tizen.NUI.BaseComponents;
using Tizen.NUI.CommonUI;
namespace NuiCommonUiSamples
{
public class DropDown : IExample
{
private SampleLayout root;
private Tizen.NUI.CommonUI.DropDown dropDown = null;
private Tizen.NUI.CommonUI.DropDown dropDown2 = null;
pri... |
using System.ComponentModel;
namespace LinqAn.Google.Dimensions
{
/// <summary>
/// DCM Floodlight advertiser ID associated with the floodlight conversion (premium only).
/// </summary>
[Description("DCM Floodlight advertiser ID associated with the floodlight conversion (premium only).")]
public class DcmFloodli... |
using System;
namespace iSukces.Code.Interfaces
{
public partial class Auto
{
/// <summary>
/// Treat null as string.Empty or collection without elements
/// </summary>
public class NullIsEmptyAttribute : Attribute
{
}
}
} |
namespace CursoFoop_Exercicio3
{
class CalcularImposto
{
public decimal Calcular(ICalcularImpostoPais icalc)
{
return icalc.CalcularValorImposto();
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FluentValidation.WebApi.Models
{
public class ResponseModel
{
public bool IsValid { get; set; }
public List<string> ValidationMessages { get; set; }
public ResponseModel()
... |
// <summary>
// Length, Height and Distance.
// </summary>
// <copyright file="Distance.cs" company="LiSoLi">
// Copyright (c) LiSoLi. All rights reserved.
// </copyright>
// <author>Lennie Wennerlund (lempa)</author>
// https://www.nottingham.ac.uk/manuscriptsandspecialcollections/researchguidance/weightsandmeasures... |
using System.ComponentModel.Composition;
namespace Beeffective.Presentation.Common
{
public class ContentViewModel : CoreViewModel
{
[ImportingConstructor]
public ContentViewModel(Main.Core core) : base(core)
{
}
private bool isSelected;
public bool IsSelected... |
using System.ComponentModel.DataAnnotations;
using Abp.Application.Services.Dto;
using YoYoCms.AbpProjectTemplate.UserManagement.Users;
namespace YoYoCms.AbpProjectTemplate.Configuration.Host.Dto
{
public class SendTestEmailInput
{
[Required]
[MaxLength(User.MaxEmailAddressLength)]
pub... |
using Application.Contracts.Persistence;
using Domain.Entities;
using Infrastructure.Persistence;
namespace Infrastructure.Repositories {
public class UserRepository : MongoDBRepositoryBase<User>, IUserRepository {
//* İhtiyaca yönelik User repository
public UserRepository (UserMongoContext contex... |
using IOTCS.EdgeGateway.Application;
using IOTCS.EdgeGateway.Core;
using IOTCS.EdgeGateway.Logging;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace IOTCS.EdgeGateway.Infrastructure.WebApi.F... |
using System.Collections.Generic;
using System.Linq;
using Azure;
using Microsoft.Extensions.Logging;
using PcHubFunctionApp.Helper;
using PcHubFunctionApp.Model;
namespace PcHubFunctionApp.Dao;
internal class ComputerDao : Dao<Computer>
{
public ComputerDao(Config config, ILogger logger) : base(config, logger)
... |
using System.Linq;
namespace LivescoreDAL.Description
{
public interface ISearcher<TEntity>
{
IQueryable<TEntity> Search(IQueryable<TEntity> source);
}
}
|
using UnityEngine;
public class AutoRotation : MonoBehaviour
{
public float degPerSec = 60.0f;
public Vector3 rotAxis = Vector3.up;
private void Start()
{
rotAxis.Normalize();
}
private void Update()
{
transform.Rotate(rotAxis, degPerSec * Time.deltaTime);
}
}
|
using System;
using System.IO;
using DataTools.SqlBulkData.Serialisation;
using NUnit.Framework;
namespace DataTools.SqlBulkData.UnitTests.Serialisation
{
[TestFixture]
public class ChunkedFileReaderTests
{
[Test]
public void RestrictsChunkStreamToChunkDataSectionLength()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace _05.NetherRealms
{
class Program
{
static void Main(string[] args)
{
string input = Console.ReadLine();
Regex paternDemons = new Regex(@... |
using System.Runtime.InteropServices;
namespace NetShare.WLAN.WinAPI
{
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
public struct NDIS_OBJECT_HEADER
{
public string Type;
public string Revision;
public ushort Size;
}
} |
using System;
using System.Windows.Input;
using CarbonEmissionTool.Models;
namespace CarbonEmissionTool.ViewModels
{
/// <summary>
/// The <see cref="ICommand"/> to run <see cref="CarbonEmissionToolMain"/> mainline function.
/// </summary>
public class RunHbertCommand : ICommand
{
private ... |
@model DansBlog.ViewModels.BlogPostViewModel
@{
ViewBag.Title = "Home";
}
@{
Html.RenderPartial("_BlogPost", Model);
}
|
using System.ComponentModel.DataAnnotations;
using PS.Build.Types;
namespace PS.Build.Services
{
/// <summary>
/// Macro resolver service. Add possibility to resolve macro in strings.
/// </summary>
public interface IMacroResolver
{
#region Members
/// <summary>
/// ... |
/// Used with permission from Mariano Omar Rodriguez
/// http://weblogs.asp.net/marianor/archive/2007/10/15/a-wpf-wrapper-around-windows-form-notifyicon.aspx
namespace WPFTaskbarNotifier
{
public enum BalloonTipIcon
{
None = 0,
Info = 1,
Warning = 2,
Error = 3,
}
} |
using System.Collections.Generic;
using Wkb2Gltf;
namespace B3dm.Tileset
{
public static class NodeRecursive
{
public static List<BoundingBox3D> GetBoundingBoxes3D(Node node)
{
var bboxes = new List<BoundingBox3D>();
foreach (var f in node.Features) {
bb... |
using System;
using System.Management.Automation;
using Migratio.Core;
using Migratio.Models;
namespace Migratio
{
[Cmdlet(VerbsCommon.Get, "MgScriptsForLatestIteration")]
[OutputType(typeof(Migration[]))]
public class GetMgScriptsForLatestIteration : DbCmdlet
{
public GetMgScriptsForLatestIter... |
namespace BackTesting.Model.MarketData
{
public static class Symbols
{
public static readonly string Sber = "sber";
public static readonly string Vtbr = "vtbr";
}
}
|
using System.Collections.Generic;
using System.Reactive.Linq;
using Caliburn.Micro;
using Espera.Core.Mobile;
using Espera.Core.Settings;
using Espera.View.ViewModels;
namespace Espera.View.DesignTime
{
internal class DesignTimeShellViewModel : ShellViewModel
{
public DesignTimeShellViewModel()
... |
namespace IdentityManager.Core
{
public class IdentityManagerResult<T> : IdentityManagerResult
{
public T Result { get; private set; }
public IdentityManagerResult(T result)
{
Result = result;
}
public IdentityManagerResult(params string[] errors)
... |
using System;
using System.Text.RegularExpressions;
namespace AdditionTask
{
class Program
{
static void Main()
{
string petternLogin = @"^[A-Za-z]+$";
string petternPassword = @"^[A-Za-z0-9\S]+$";
Console.Write("Введите логин: ");
string login ... |
using MBP.Contracts.Entities;
using Microsoft.AspNetCore.Identity;
using System;
namespace MBP.Identity.Data.Entities
{
public class MbpRole : IdentityRole<Guid>, ICreatedEntity, IUpdatedEntity
{
public DateTime? CreatedAt { get; set; }
public string CreatedBy { get; set; }
public DateTime? UpdatedAt { get; s... |
namespace HotChocolate.Types.Filters
{
public interface ISingleFilter<out T> : ISingleFilter
{
T Element { get; }
}
}
|
using System;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace Comandante.Tests.Commands
{
public class CommandTests
{
private IServiceProvider _provider;
public CommandTests()
{
var conf = ... |
namespace StrangeAttractor.Util.Functional.Interfaces
{
/// <summary>
/// Encapsulates a value.
/// </summary>
/// <typeparam name="T"></typeparam>
public interface IValue<out T>
{
T Value { get; }
bool HasValue { get; }
}
} |
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace HateoasNet.Core.Sample.Models
{
public class Guild
{
public Guid Id { get; set; } = Guid.NewGuid();
public string Name { get; set; }
[JsonIgnore] public ICollection<Member> Members { get; set... |
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using NvimClient.API;
using NvimClient.API.NvimPlugin;
using NvimClient.API.NvimPlugin.Attributes;
namespace NvimPluginHost
{
internal static class ... |
using System.Collections.Generic;
using FluentAssertions;
using SeatsioDotNet.Events;
using SeatsioDotNet.HoldTokens;
using Xunit;
namespace SeatsioDotNet.Test.Events
{
public class ReleaseObjectsTest : SeatsioClientTest
{
[Fact]
public void Test()
{
var chartKey = CreateTe... |
using System;
using System.IO;
using System.Configuration;
using System.Collections;
using TidyNet.Dom;
/*
HTML parser and pretty printer
Copyright (c) 1998-2000 World Wide Web Consortium (Massachusetts
Institute of Technology, Institut National de Recherche en
Informatique et en Automatique, Keio University). All Ri... |
using System;
using System.Collections.Generic;
using EasyEventSourcing.Domain.Orders;
using EasyEventSourcing.EventSourcing.Domain;
using EasyEventSourcing.Messages.Orders;
using EasyEventSourcing.Messages.Store;
using System.Linq;
namespace EasyEventSourcing.Domain.Store
{
public class ShoppingCart : Aggregate
... |
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
namespace eQuantic.Core.Outcomes.Results
{
public class ListResult<T> : BasicResult
{
public virtual List<T> Items { get; set; }
[JsonProperty("__metadata", NullValueHandling = NullValueHandling.Ignore)]
publi... |
using FluentAssertions;
using System;
using Xunit;
namespace Atomiv.Core.Domain.UnitTest
{
public class PrimitiveIdentityTest
{
[Fact]
public void GuidIdentityCannotBeEmptyGuidValue()
{
Action action = () => new GuidIdentity(Guid.Empty);
action.Should().Throw<D... |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 18.10.2020.
using NUnit.Framework;
using xEFCore_c
=Lcpi.EntityFrameworkCore.DataProvider.LcpiOleDb.Basement.EF.Db... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class PlayerData
{
public int mapOneHighScore;
public int mapTwoHighScore;
public long mapOneHighestWave;
public long mapTwoHighestWave;
}
|
/****************************************************************
Copyright 2021 Infosys Ltd.
Use of this source code is governed by Apache License Version 2.0 that can be found in the LICENSE file or at
http://www.apache.org/licenses/
***************************************************************/
using Syst... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
namespace Ripple.Testing.Utils
{
public class PartitionedTests
{
public const string TestPrefixPattern = @"^(P(\d+)).*$";
private readonly SortedList<int, MethodInf... |
// <copyright file="Solution.cs" company="Ocean">
// Copyright (c) Ocean. All rights reserved.
// </copyright>
namespace Questions.LeetCode.No5.LongestPalindromicSubstring
{
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// The solution of LeetCode No.5 question: Longest Palindro... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Lsj.Util.Win32.NativeUI.Dialogs
{
/// <summary>
/// Base Dialog
/// </summary>
public abstract class BaseDialog
{
/// <summary>
/// Show Dialog
/// </summary>
/// <returns></returns>
... |
using UnityEngine;
namespace Zenject.Tests.Factories.PrefabFactory
{
public class Foo : MonoBehaviour
{
public bool WasInitialized;
[Inject]
public void Init()
{
WasInitialized = true;
}
public class Factory : PlaceholderFactory<Object... |
using System.Globalization;
using System.Numerics;
namespace OpenSeaClient
{
internal static class BigIntegerExtensions
{
internal static int NumberOfDigits(this BigInteger value)
{
return (value * value.Sign).ToString().Length;
}
internal static BigInteger ParseIn... |
using HtmlReader.Attributes.Prototypes;
using System;
namespace HtmlReader
{
[AttributeUsage(AttributeTargets.Property)]
public class ContentAttribute : HtmlElementAttribute
{
public bool TextOnly { get; }
public ContentAttribute()
{
}
public ContentAttribute(bool... |
@model IEnumerable<BazaPoklona.Models.Poklon>
@{
ViewData["Title"] = "Index";
}
<h1>OstvareniPromet</h1>
<table class="table">
<thead>
<tr>
<th>@Html.DisplayNameFor(model => model.Naziv)</th>
<th>@Html.DisplayNameFor(model => model.VrstaRobe)</th>
<th>@Html.DisplayN... |
namespace ME.ECS {
public interface IModuleBase {
void OnConstruct();
void OnDeconstruct();
}
public interface IModule<TState> : IModuleBase where TState : class, IState<TState>, new() {
IWorld<TState> world { get; set; }
void Update(TState state, float deltaTim... |
using System;
using System.Collections.Generic;
namespace abc_bank
{
public class Account
{
public AccountType accountType {get; set;}
public List<Transaction> transactions;
public Account(AccountType accountType)
{
this.accountType = accountType;
tra... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Threading.Tasks;
namespace AntDesign
{
public interface IModalTemplate
{
/// <summary>
/// Call back when OK button is triggered
/// 点击确定按钮时调用,可以重写它来放入自己的逻辑
/// </summar... |
namespace Quilt4.Service.Interface.Business
{
public interface IEmailSender
{
void Send(string to, string subject, string body);
}
} |
using System;
namespace CG.Olive.Web.Services
{
/// <summary>
/// This class provides access to important HTTP related tokens.
/// </summary>
public class TokenProvider
{
// *******************************************************************
// Properties.
// **************... |
using System;
using System.Diagnostics;
using System.Xml.Schema;
namespace Xml.Schema.Linq.CodeGen
{
internal class ListSimpleTypeInfo : ClrSimpleTypeInfo
{
private ClrSimpleTypeInfo itemType;
public ClrSimpleTypeInfo ItemType
{
get
{
if (this.itemType == null)
{
XmlSchemaSimpleType st = ba... |
using Microsoft.Azure.Storage;
using Microsoft.Azure.Storage.File;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Neptuo.Recollections.Entries
{
public class AzureFileSto... |
using System;
using System.Collections.Generic;
using System.Text;
namespace LoginApp.ViewModels
{
class BookMarkPageViewModel
{
public string Name { get; set; }
public BookMarkPageViewModel()
{
this.Name = "BookMark";
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.