text stringlengths 1 932k |
|---|
/*
* 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"); you ... |
// File generated automatically by ReswPlus. https://github.com/rudyhuyn/ReswPlus
// The NuGet package PluralNet is necessary to support Pluralization.
using System;
using Windows.ApplicationModel.Resources;
using Windows.UI.Xaml.Markup;
using Windows.UI.Xaml.Data;
namespace MultiResources.Strings {
[global::Syste... |
using UnityEngine;
using System.Collections;
using GDGeek;
public class Ctrl : MonoBehaviour {
public VoxelEmitter _emitter;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
} |
namespace DataContext.Enums
{
public enum RentalTypeEnum
{
Unknown,
House,
Room,
Sofa,
Bed
}
} |
using FMOD.Studio;
using Microsoft.Xna.Framework;
using Monocle;
using Celeste;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YamlDotNet.Serialization;
using MonoMod.Utils;
using MonoMod;
namespace Celeste.Mod.Core {... |
using System;
namespace LearnCS
{
public class MainClass //Create a public class, public classes can be accessed outside of the origin namespace
{
public static void main(string[] args)
{
SecondClass.Print("Hello User");
//SecondClass.PrivateMethod(); -If were to un... |
namespace NutritionRecommendationEngine.Engine.Mutator
{
public interface IMutator
{
void MutatePopulation(Population population);
}
} |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ExpressiveExpressionTrees.Tests.CompareExpressionBaseTests
{
[TestClass]
public abstract class CompareNewArrayBaseTests : CompareExpressionTestBase
{
[TestMethod]
public virtual void Test001()
{
... |
using System.Threading.Tasks;
using TRMDesktopUI.Library.Models;
namespace TRMDesktopUI.Library.Api
{
public interface ISaleEndpoint
{
Task PostSale(SaleModel sale);
}
} |
using System;
namespace Heroes
{
public class StartUp
{
public static void Main(string[] args)
{
//Initialize the repository
HeroRepository repository = new HeroRepository();
//Initialize entity
Item item = new Item(23, 35, 48);
//Pri... |
namespace Consul
{
public class OperationResult
{
public static OperationResult SuccessResult { get; private set; }
public static OperationResult UnexpectedError
{
get
{
var result = new OperationResult();
OperationErrors.Init( re... |
using System;
using System.Collections.Generic;
using System.Linq;
using MailCheck.Common.Messaging.Abstractions;
using MailCheck.DomainStatus.Contracts;
using MailCheck.Spf.Contracts.Evaluator;
using MailCheck.Spf.Contracts.SharedDomain;
using MailCheck.Spf.Entity.Config;
using Microsoft.Extensions.Logging;
using Mes... |
using UnityEngine;
namespace Utility
{
public static class GameObjectExtensionMethod
{
public static T GetOrAddComponent<T>(this GameObject obj) where T : Component
{
if (obj.TryGetComponent<T>(out T retComponent))
{
return retComponent;
}
... |
@model Hotel_Management_Project.Models.RoomModel
<h4>RoomModel</h4>
<hr />
<div class="row">
<div class="col-md-4">
<form asp-action="ProcessInsert">
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
<div class="form-group">
<label asp-for="RoomID" ... |
// This file is part of Silk.NET.
//
// You may modify and distribute Silk.NET under the terms
// of the MIT license. See the LICENSE file for details.
using System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Text;
using Silk.NET.Core;
using Silk.NET.Core.Native;
using Si... |
using System;
using System.Threading.Tasks;
using InterestCalculatorBackend.Abstractions.Application;
using InterestCalculatorBackend.Application.DTOs;
using InterestCalculatorBackend.Core.Entities;
namespace InterestCalculatorBackend.Application.Services
{
public class InterestCalculatorService : IInterestCalcula... |
using System;
using System.Collections.Generic;
using Mono.Data.Sqlite;
using UnityEngine;
public class EnchantmentEffectEnchantmentData : global::DataCore
{
public int Id { get; private set; }
public global::EnchantmentId EnchantmentId { get; private set; }
public global::EnchantmentId EnchantmentIdEffect { get... |
namespace Esquire.Models
{
/// <summary>
/// ReturnDto for a SchemeQuestionFlag
/// Inherits from BaseFlagReturnDto which contains fields common to all flag types.
/// </summary>
public class SchemeQuestionFlagReturnDto : BaseFlagReturnDto
{
}
} |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace FinnovationLabs.OpenBanking.Library.BankApiModels.UkObRw.V3p1p2.Pisp.Models
{
using Microsoft.Rest;
using Newton... |
using System.Collections.Generic;
using System.Linq;
namespace AdventOfCode.Day4
{
public class Phrase
{
public Phrase(string phrase)
{
Words = phrase.Split().Where(s => s != string.Empty).Select(w=>new AnagramWord(w)).ToArray();
}
public IEnumerable<AnagramWord> W... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ConTinTrap : Trap
{
public override float AttackHealth(float charactorHealth)
{
return trapPoint;
}
} |
using AutoMapper;
using Couchbase.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using RestfulJobPattern.Data.Repositories;
using RestfulJob... |
using System;
using System.Collections.Generic;
using System.Security.AccessControl;
using System.Linq;
using System.Text;
using System.IO;
namespace HTLib2
{
public static partial class HStaticStream
{
public static String[] HReadAllLines(this Stream stream)
{
//http://stackoverfl... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace StackExchange.Opserver.Data.SQL
{
public partial class SQLNode
{
private Cache<List<AvailabilityGroupListener>> _availabilityGroupListeners;
public Cache<List<AvailabilityGroupListener>> AvailabilityGroupListeners
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using ILRuntime.CLR.TypeSystem;
using ILRuntime.CLR.Method;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using ILRuntime.Reflection... |
//
// Author:
// Aaron Bockover <abock@xamarin.com>
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using Xunit;
namespace Xamarin.Interactive.Representations.Reflection
{
pu... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Movement : MonoBehaviour {
[SerializeField] private float moveSpeed = 8;
[SerializeField] LayerMask moveLayerMask;
public bool canMove = true;
Rigidbody2D rb;
Collider2D col;
void Start() {
rb = GetComponent<Rigidbo... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace BasicWebSite.Controllers.ContentNegotiation
{
public class TextPlainControl... |
using Newtonsoft.Json;
namespace BTCPayServer.Services.Altcoins.Monero.RPC.Models
{
public class GetTransferByTransactionIdRequest
{
[JsonProperty("txid")] public string TransactionId { get; set; }
[JsonProperty("account_index")] public long AccountIndex { get; set; }
}
} |
using System;
using System.Collections.Generic;
namespace RI.DesktopServices.UiContainer
{
/// <summary>
/// Region adapter which maps between containers (associated with a region) and its elements.
/// </summary>
public interface IRegionAdapter
{
/// <summary>
/// Activ... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Pierres Treats!</title>
<link rel='stylesheet' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css'>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Cou... |
namespace FlashDebugger.Controls
{
partial class ImmediateUI
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace WebApi.Models
{
public class ProviderModel
{
[Key]
public int id { get; set; }
[C... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Buffers;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Net.Http.H... |
namespace JerryPlat.Models.Dto
{
public class AdminUserDto
{
public AdminUser AdminUser { get; set; }
public string GroupName { get; set; }
}
} |
using System.Runtime.Serialization;
namespace MarketingBox.Affiliate.Service.Messages.CampaignBoxes
{
[DataContract]
public class CampaignBoxRemoved
{
[DataMember(Order = 1)]
public long CampaignBoxId { get; set; }
[DataMember(Order = 2)]
public long Sequence { get; set; }... |
using Microsoft.Data.Sqlite;
using ReceiverDB;
using StankinsInterfaces;
using System;
namespace ReceiverDBSQLite
{
public class ReceiverTableSQLiteDateTime : ReceiverTableSQLite<DateTime>
{
public ReceiverTableSQLiteDateTime(DBTableData<DateTime,SqliteConnection> dtd) : base(dtd)
{
}
... |
using System;
using System.Linq;
using UnityEditor.Experimental.GraphView;
using UnityEditor.Graphing;
using UnityEngine;
using UnityEngine.UIElements;
using ContextualMenuManipulator = UnityEngine.UIElements.ContextualMenuManipulator;
using ContextualMenuPopulateEvent = UnityEngine.UIElements.ContextualMenuPopulateEv... |
// <Snippet2>
using System;
public class Example
{
public static void Main()
{
TimeZoneInfo localZone = TimeZoneInfo.Local;
Console.WriteLine("Local Time Zone ID: {0}", localZone.Id);
Console.WriteLine(" Display Name is: {0}.", localZone.DisplayName);
Console.WriteLine(" Standard nam... |
/*
* Copyright 2010-2014 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/apache2.0
*
* or in the "l... |
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
namespace UncommonSense.CBreeze.Core
{
public class OptionStringProperty : StringProperty
{
internal OptionStringProperty(string name)
: base(name)
{
}
public override b... |
namespace BinarySerializer.Ray1
{
public class PS1_FontData : BinarySerializable
{
public Pointer SpritesPointer { get; set; }
public Pointer ImageBufferPointer { get; set; }
public byte SpritesCount { get; set; }
public SpriteCollection SpriteCollection { get; set; }
p... |
/*
*
* 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"); y... |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
// This file contains tests for Contains...
#pragma warning disable xUnit2017 // Do not use Contains() to check if a value exists in a collection
namespac... |
using Heart.Parsing;
using NUnit.Framework;
namespace Heart.Tests.ExpressionPatternTests
{
[TestFixture]
public class OperatorExpressionVariableTests
{
private static readonly PatternParser s_parser = ParsingHelper.BuildPatternParser("./TestGrammars/operator-expression-variable.hg");
priva... |
using System.Text;
namespace KMLSharp.Models;
public class KMLGroup : KMLSection
{
public override string Text { get; }
public KMLSection[] Children { get; }
public KMLGroup(params KMLSection[] children)
{
Children = children;
StringBuilder sb = new();
foreach (var child in ... |
namespace Microsoft.Protocols.TestSuites.MS_WDVMODUU
{
using System.Collections.Specialized;
using Microsoft.Protocols.TestSuites.Common;
using Microsoft.Protocols.TestTools;
using Microsoft.VisualStudio.TestTools.UnitTesting;
/// <summary>
/// Traditional tests for IgnoredHeaders scenario.... |
using System;
using RogueElements;
namespace RogueEssence.LevelGen
{
[Serializable]
public class RoomGenEdgeIn<T> : PermissiveRoomGen<T> where T : ITiledGenContext
{
public RandRange Width;
public RandRange Height;
public RoomGenEdgeIn() { }
public RoomGenEdgeIn(RandRang... |
//------------------------------------------------------------------------------
// <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>
//--... |
#if CAN_DYNAMIC
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace TG.JSON
{
internal class DynamicObjectHandler : System.Dynamic.DynamicObject
{
public DynamicObjectHandler(JsonObject obj)
... |
//
// StackDecoder.cs
//
// Authors:
// Alexander Chebaturkin (chebaturkin@gmail.com)
//
// Copyright (C) 2011 Alexander Chebaturkin
//
// 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 ... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//-----------------------------------------------------------------------
// </copyright>
// <summary>Tests for the ElementLocation class</summary>
//------------------... |
using CodeHub.Core.ViewModels.Repositories;
namespace CodeHub.iOS.Views.Repositories
{
public class RepositoriesStarredView : BaseRepositoriesView<RepositoriesStarredViewModel>
{
public RepositoriesStarredView()
{
Title = "Starred";
}
}
} |
using System;
using System.Diagnostics;
using System.Text;
namespace AvalonStudio.TextEditor.Utils
{
// Class used to represent a node in the tree.
// There are three types of nodes:
// Concat nodes: height>0, left!=null, right!=null, contents==null
// Leaf nodes: height==0, left==null, right==null, co... |
using OpenTK;
namespace star
{
public static class ProjectionCameraTransform
{
public static Matrix4d GetProjectionCameraMatrix(Matrix4d projectionTransform, Matrix4d cameraTransform)
{
return Matrix4d.Mult(projectionTransform, cameraTransform);
}
}
} |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis.CSharp
{
// DO NOT CHANGE NUMBERS ASSIGNED TO EXISTING KINDS OR YOU WILL BREAK BINARY COMPATIBILITY
public enum Synt... |
using System.Globalization;
using System.Linq.Dynamic.Core.Exceptions;
using System.Text.RegularExpressions;
namespace System.Linq.Dynamic.Core.Parser
{
/// <summary>
/// Parse a Double and Single Quoted string.
/// Some parts of the code is based on https://github.com/zzzprojects/Eval-Expression.NET
... |
using System.Collections.Generic;
using NHSD.BuyingCatalogue.SolutionLists.Contracts.Persistence;
namespace NHSD.BuyingCatalogue.SolutionLists.Application.Domain
{
internal sealed class SolutionListItem
{
public SolutionListItem(ISolutionListResult item)
{
Id = item.SolutionId;
... |
namespace FluentArgs
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
public interface IParsingErrorPrinter
{
Task PrintArgumentMissingError(
IReadOnlyCollection<string>? aliases,
Type targetType,
string description,
... |
@model INotFoundPageViewModel
@{
var title = "404: Not Found";
ViewBag.Title = title;
}
<h1>@title</h1>
<p>
Sorry, that page could not be found
</p> |
using System;
using System.IO;
using System.Linq;
using System.Text;
using Octopus.CommandLine.Plumbing;
namespace Octopus.CommandLine.ShellCompletion
{
public abstract class PowershellCompletionInstallerBase : ShellCompletionInstaller
{
protected PowershellCompletionInstallerBase(ICommandOutputProvide... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Orleans.Configuration;
using Orleans.Runtime;
using Orleans.Storage;
using Xunit;
namespace UnitTests.StorageTests
{
public class HierarchicalKeyStoreTests : IClassFixture<HierarchicalKeyStoreTests.Fixture>
{
... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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 Pulumi.Serialization;
names... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Unity.EditorCoroutines.Editor;
using UnityEditor;
using UnityEngine;
using UnityEngine.Networking;
namespace SynapseGames.AssetBundle
{
/// <summary>
/// Functionality for building and preparing ... |
using ArchShop.Business;
using ArchShop.Interfaces.Commands;
using ArchShop.Models;
using MediatR;
using System.Threading;
using System.Threading.Tasks;
namespace ArchShop.Handlers
{
public class DeleteOrderHandler : IRequestHandler<DeleteOrder, Unit>
{
private readonly OrderLogic _orderLogic;
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Zephyr.Utils.ExcelLibrary.SpreadSheet
{
public class CellFormat
{
private CellFormatType formatType;
private string formatString;
public CellFormat(CellFormatType type, string fmt)
{
forma... |
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.MSHTMLApi
{
/// <summary>
/// DispatchInterface DispHTMLRichtextElement
/// SupportByVersion MSHTML, 4
/// </summary>
[SupportByVersion("MSHTML", 4)]
[EntityType(EntityType.IsDispatchInte... |
using System;
using System.Collections.Generic;
using System.Text;
namespace SmbAbstraction
{
[Serializable]
public class SMBException : Exception
{
public SMBException() : base()
{
}
public SMBException(string message) : base(message)
{
}
public ... |
// Copyright 2013-2020 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
//
// https://www.imagemagick.org/script/license.php
//
// Unless req... |
using System;
using System.Linq;
using System.Windows.Forms;
using Maths_Quiz.Forms;
namespace maths_quiz.Forms
{
public partial class FormQuiz : FormBase
{
private readonly Random _random = new Random();
private readonly int _levelId;
private readonly int _profileId;
private i... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using Microsoft.Toolkit.Win32.UI.Controls.Test.WebView.Shared;
using Microsoft.VisualStudio.TestTools.... |
// This code is distributed under MIT license.
// Copyright (c) 2015 George Mamaladze
// See license.txt or http://opensource.org/licenses/mit-license.php
using System.Windows.Forms;
namespace Gma.System.MouseKeyHook.Implementation
{
internal class GlobalEventFacade : IDisposableMouseEvents
{
privat... |
using System;
using System.Collections.Generic;
public class DenseArray3D<T> : IEnumerable<T>
{
private T[] _dataarray;
private int[] _rowindexes;
//private int[] _columnindexes;
/// <summary>
/// Calculates the row indexes
/// </summary>
private void CalculateCacheIndexes()
{
... |
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Exceptionless.Core.Validation;
using Exceptionless.Core.Models;
using Exceptionless.Core.Plugins.EventParser;
using Foundatio.Utility;
using Microsoft.Extensions.Logging;
using Xunit;
using Xunit.Abstraction... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Linq;
using AppGM.Core;
using CoolLogs;
namespace AppGM
{
/// <summary>
/// Convierte un <see cref="ViewModel"/> a un <see cref="UserControl"/>.
... |
using System.ComponentModel;
namespace EncompassApi.Loans.Enums
{
/// <summary>
/// YNOrOther
/// </summary>
public enum YNOrOther
{
/// <summary>
/// No
/// </summary>
[Description("No")]
N = 0,
/// <summary>
/// Yes
/// </summary>
... |
// Copyright 2009-2017 Josh Close and Contributors
// This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0.
// See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0.
// https://github.com/Jos... |
using Synergy.Core;
namespace Synergy.NHibernate.Test
{
public class SynergyNHibernateTestLibrary : Library
{
public SynergyNHibernateTestLibrary() : base(
new SynergyNHibernateLibrary()
)
{
}
}
} |
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or ... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Benchmarks.ClientJob;
using Benchmarks.ServerJob;
namespace Benchm... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
//niamam obfuskator i zatova sym cepil na ryka, kojto mu se padne, da ne me tyrsi, zaminavam v cuzbina v kurmandirovka
namespace BalloonsPops
{
public class igra
{
const int shirina = 5;
const int lengt... |
using System.Linq;
using System.Runtime.InteropServices;
namespace Cmf.Common.Cli.Builders
{
/// <summary>
///
/// </summary>
/// <seealso cref="Cmf.Common.Cli.Builders.ProcessCommand" />
/// <seealso cref="Cmf.Common.Cli.Builders.IBuildCommand" />
public class NPMCommand : ProcessCommand, IBui... |
namespace ShellBoost.Samples.FolderService
{
partial class ShellFolderService
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... |
using Mkh.Data.Abstractions;
namespace Mkh.Mod.Admin.Core.Domain.JwtAuthInfo;
/// <summary>
/// JWT认证信息仓储
/// </summary>
public interface IJwtAuthInfoRepository : IRepository<JwtAuthInfoEntity>
{
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraController : MonoBehaviour
{
public Transform player;
public float verticalDistance = 1.3f;
public float horizontalDistance = 0f;
// LateUpdate is called after Update in each frame
void LateUpdat... |
using JsonApiDotNetCore.Resources;
namespace JsonApiDotNetCore.Services;
/// <summary />
public interface IUpdateService<TResource, in TId>
where TResource : class, IIdentifiable<TId>
{
/// <summary>
/// Handles a JSON:API request to update the attributes and/or relationships of an existing resource. Only... |
using Foundation;
namespace Test
{
[BaseType (typeof (NSObject))]
interface SimServiceConnectionManager {}
// Both these should produce the same output,
// both calling xamarin_IntPtr_objc_msgSend_exception
[BaseType (typeof (NSObject))]
interface MarshalOnProperty
{
[Static]
[Export ("sharedConnectionMana... |
using System;
using DotNetCore.CAP;
using Microsoft.Extensions.DependencyInjection;
using Wiwi.Shared.Common.EventBus.Base;
namespace Wiwi.Shared.Common.EventBus.RabbitMQ
{
public static class ServiceCollectionExtensions
{
public static IServiceCollection AddCapRabbitMq(this IServiceCollection service... |
using System;
using System.Linq;
using System.Linq.Expressions;
namespace R8.Lib.JsonExtensions
{
/// <summary>
/// An static class to get some information about specified type.
/// </summary>
/// <typeparam name="T">A generic type of class.</typeparam>
public static class JsonHandler<T> where T :... |
using Eliboo.Application.Repositories;
using Eliboo.Domain.Entities;
using Eliboo.Infrastructure.DataAccess;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Eliboo.Infrastructure.Repositories
{
class ListRepository : IListRepository... |
/*
* Copyright 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/apache2.0
*
* or in the "license" fi... |
using PKISharp.WACS.Services;
using System.Collections.Generic;
using System.Threading.Tasks;
using TransIp.Library.Dto;
namespace TransIp.Library
{
public class DnsService : BaseServiceAuthenticated
{
public DnsService(AuthenticationService authenticationService, ProxyService proxyService) :
... |
#if ASPNET50
using System;
using System.Collections.Concurrent;
using Autofac;
using Autofac.Core;
namespace MvcSample.Web
{
/// <summary>
/// Summary description for MonitoringModule
/// </summary>
public class MonitoringModule : Module
{
private static ConcurrentDictionary<Tuple<Type, ICo... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3082
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... |
namespace SB.Enums
{
public enum EntityOperation
{
Added = 0,
Modified = 1,
Deleted = 2,
}
} |
using Microsoft.Extensions.DependencyInjection;
namespace ArnabDeveloper.HttpHealthCheck.DI;
/// <summary>
/// Service collection extensions
/// </summary>
public static class ServiceCollectionExtensions
{
/// <summary>
/// Add http health check
/// </summary>
/// <param name="services">IServiceColle... |
using HelpMyStreet.Utils.Utils;
using NUnit.Framework;
using System;
namespace HelpMyStreet.UnitTests
{
public class DistanceConverterTests
{
[Test]
public void ConvertMetresToMiles()
{
double result = DistanceConverter.MetresToMiles(1000);
Assert.AreEqual(0.6... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tralus.Framework.BusinessModel.Entities;
namespace Mahan.Infrastructure.BusinessModel
{
[Table("ImportMasterDataLog", Schema = "Infrastructu... |
namespace Example_WindowsForms {
partial class NuklearForm {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resourc... |
using System;
namespace PracticeSingleResponsibilityPrinciple.Sample1.BeforeSRP
{
/// <summary>
/// This class is temporary class to run the sample code.
/// </summary>
public class DataContext : IDisposable
{
public void Dispose()
{ }
public DataContext Orders => this;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.