content stringlengths 23 1.05M |
|---|
using AuditManagementPortalClientMVC.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AuditManagementPortalClientMVC.Providers
{
public interface IChecklistProvider
{
public List<CQuestions> ProvideChecklist(string audittype);
}
}
|
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using System;
namespace DataAccess
{
public class EwalletContext : IdentityDbContext<User, IdentityRole<int>, int>
{
public DbSet<CardAccount> CardAccounts { get; set; }
... |
using System;
using BEPUphysics.Entities;
using BEPUutilities;
namespace BEPUphysics.Constraints.TwoEntity.Joints
{
/// <summary>
/// Constrains two bodies so that they can rotate relative to each other like a modified door hinge.
/// Instead of removing two degrees of freedom, only one is removed so th... |
using Prism.Regions;
using Semaphore.UI.ViewModels;
namespace Semaphore.Core.ViewModels
{
public class MainWindowViewModel : ViewModelBase
{
public MainWindowViewModel(IRegionManager regionManager) : base(regionManager)
{
}
private string _title = "Semaphore.co SMS Client App";
public string Title
{
... |
using System.Collections.Generic;
namespace PactNet.Mocks.MockHttpService.Comparers
{
using PactNet.Comparers;
internal interface IHttpHeaderComparer : IComparer<IDictionary<string, string>>
{
}
} |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Text;
namespace Kwesoft.Pdf.UnitTests.Internal
{
[TestFixture]
class PdfCrossReferenceTableTests
{
[Test]
public void ConvertToString()
{
var result = new PdfCrossReferenceTable {
ObjectOffsets = new Dictionary<int, i... |
using Nethereum.Contracts;
using Nethereum.RPC.Eth.DTOs;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Nethereum.BlockchainProcessing.Processing.Logs
{
public class LogProcessor<TEventDto> : LogProcessorBase<TEventDto> where TEventDto : class, new()
{
public L... |
namespace Examples.ContentEditorCulture
{
public sealed class Constants
{
public const string TimezoneUserProfileFieldKey = "Timezone";
}
} |
using Rye.Cache.Redis.Internal;
using Rye.Cache.Store;
using System;
using System.Threading.Tasks;
using static CSRedis.CSRedisClient;
namespace Rye.Cache.Redis.Store
{
public class MutilCacheStore : IMutilCacheStore
{
private readonly IMemoryStore _memoryStore;
private readonly IRedisStore ... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Crowdin.Api.Protocol
{
internal static class RequestBodySerializer
{
public static IEnumerable<(String, Object)> Serial... |
namespace Bitmex.Client.Websocket.Responses.Instruments
{
public enum InstrumentMarkMethod
{
Undefined,
FairPrice,
LastPrice
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using Bieb.Domain.Entities;
namespace Bieb.Web.Localization
{
public static class EnumDisplayer
{
public static string GetResource(LibraryStatus status)
{
return BiebResources.Enums.ResourceManager.GetStr... |
using Messages.App.Models;
using Messages.Data;
using Messages.Models;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Messages.App.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class MessagesCont... |
using System;
using CMS.Base.Web.UI;
using CMS.DataEngine;
using CMS.DocumentEngine;
using CMS.FormEngine;
using CMS.Helpers;
using CMS.LicenseProvider;
using CMS.Localization;
using CMS.Membership;
using CMS.PortalEngine;
using CMS.SiteProvider;
using CMS.UIControls;
public partial class CMSModules_Blogs_Controls_... |
using MimeDetective.Engine;
using MimeDetective.Storage;
using System;
using System.Collections.Immutable;
using System.Linq;
namespace MimeDetective {
public class MimeTypeToFileExtensionLookup {
public ImmutableDictionary<string, ImmutableArray<FileExtensionMatch>> Values { get; }
public strin... |
@{
ViewBag.Title = "ViewStatistic";
}
<h2>ViewStatistic</h2>
|
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Softuni.Community.Data.Models;
namespace Softuni.Community.Data.EntityConfigurations
{
internal class QuestionsTagsConfig : IEntityTypeConfiguration<QuestionsTags>
{
public void Configure(EntityTypeBuilde... |
namespace APIMocker
{
using System.Collections.Generic;
using System.IO;
public static class FileScanner
{
public static Dictionary<string, string> ScanFromMockLibrary()
{
string currentpath = Directory.GetCurrentDirectory();
string mocklibraryPath = Path.Join(c... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
namespace SwmSuite.Data.BusinessObjects {
/// <summary>
/// Enumerator defining all months.
/// </summary>
[Serializable]
[XmlType( Namespace = "SwmSuite_v1" )]
public enum Months {
/// <summary>
... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template and will be re-created if deleted
// with default implementation.
// </auto-generated>
//---------------------------------------------------------------------------... |
using System;
using System.Runtime.InteropServices;
using static Win32DotNet.Kernel32;
using static Win32DotNet.User32;
namespace HelloWorld
{
public static class Program
{
public static void Main(string[] args)
{
IntPtr hInstance = GetModuleHandle(null);
WNDCLASSEX wc... |
using Microsoft.AspNetCore.Authorization;
using System.Linq;
using System.Security.Claims;
using System.Threading;
using System.Threading.Tasks;
namespace Easy.Endpoints.TestService.Endpoints.Auth
{
[Authorize]
public class UserInfoEndpoint : IEndpoint
{
public Task<AuthRequest> HandleAsync(Claims... |
namespace OwnID.Extensibility.Flow.Contracts
{
public class AddConnectionRequest : GetStatusRequest
{
public string Payload { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace ArangoDBNetStandard.DocumentApi.Models
{
/// <summary>
/// Options used when calling ArangoDB PUT document endpoint
/// to replace multiple document.
/// </summary>
public class PutDocumentsQuery
{
/// <summar... |
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
namespace Global.Input
{
public delegate void RaycastCallback(RaycastHit hit);
public class Raycaster
{
private Dictionary<int, List<RaycastCallback>> _callbacksDict = new Dictionary<int, List<RaycastCallback>>();... |
using LottoGame.Games;
using LottoGame.ConcreteGames;
using System;
namespace LottoGame
{
public class SALotto : GameFactory
{
readonly IDivisionFactory divisionFactory;
public SALotto (IDivisionFactory divisionFactory)
{
this.divisionFactory = divisionFactory;
}
... |
using Newtonsoft.Json;
using System.Collections.Generic;
namespace SchulIT.IccImport.Models
{
internal class FreeLessonTimespansData
{
[JsonProperty("free_lessons")]
public IList<FreeLessonTimespanData> FreeLessons { get; set; }
}
}
|
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace Microsoft.Data.Entity.Design.EntityDesigner.View
{
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using Microsoft.Data.Entity.Design.Model;
u... |
namespace CrackSharp.Core.Des.BruteForce
{
public interface IBruteForceParams
{
int MaxTextLength { get; }
string Characters { get; }
}
} |
namespace Microsoft.eCommerceOnContainers.Services.Basket.API.Services;
public class IdentityService : IIdentityService
{
#region Fields
private IHttpContextAccessor _context;
#endregion
#region Ctor
public IdentityService(IHttpContextAccessor context)
{
_context = context ?? throw ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Automation;
namespace ThunderbirdTray.WindowStateHooks
{
public class UIAutomation : IWindowStateHook
{
public event EventHandler<WindowStateChangeEve... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Collections.Generic;
using Microsoft.PowerFx.Core.App.ErrorContainers;
using Microsoft.PowerFx.Core.Binding;
using Microsoft.PowerFx.Core.Entities;
using Microsoft.PowerFx.Core.Errors;
using Microsoft.PowerFx.Core.Functions;
using... |
using Newtonsoft.Json;
namespace Lexicala.NET.Response.Search
{
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
public class SearchResponse
{
[JsonProperty("n_results")]
public int NResults { get; set; }
[JsonProperty("page_number")]
p... |
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Licensed under the MIT license.
using System;
using System.Collections;
using UnityEngine;
namespace Microsoft.AppCenter.Unity.Internal.Utils
{
#if UNITY_WSA_10_0
using WSAApplication = UnityEngine.WSA.Application;
#endif
public class UnityC... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using Microsoft.Extensions.Localization;
namespace OrchardCore.Autoroute.Models
{
public static class AutoroutePartExtensions
{
public static IEnumerable<ValidationResult> ValidatePathFieldVa... |
namespace AgileObjects.ReadableExpressions.UnitTests.Translations.Reflection
{
using System;
using Common;
using ReadableExpressions.Translations.Reflection;
#if !NET35
using Xunit;
#else
using Fact = NUnit.Framework.TestAttribute;
[NUnit.Framework.TestFixture]
#endif
public class WhenWor... |
namespace RazorViewCompress
{
internal class RazorCompressorFactory : ICompressorFactory
{
public BaseCompressor CreateCompressor()
{
return new RazorCompressor();
}
}
} |
@{
ViewData["Title"] = "Globbing Page";
}
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@section footerContent {
<!-- File wildcard -->
<script asp-src-include="/js/dist/dashboard*.js"></script>
<!-- RazorClassLib folder wildcard -->
<script asp-src-include="/_content/RazorPagesClassLibrar... |
using System.IO;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MsgReader.Outlook;
namespace MsgReaderTests
{
[TestClass]
public class RemoveAttachmentTests
{
[TestMethod]
public void RemoveAttachments()
{
using (var inputStream = File.Ope... |
using Newtonsoft.Json;
namespace CmlLib.Core.Auth
{
public class MSession
{
public MSession()
{
}
public MSession(string username, string accesstoken, string uuid)
{
Username = username;
AccessToken = accesstoken;
UUID = uuid;
... |
/**********************************************************************
* Copyright © 2009, 2010, 2011, 2012 OPC Foundation, Inc.
*
* The source code and all binaries built with the OPC .NET 3.0 source
* code are subject to the terms of the Express Interface Public
* License (Xi-PL). See http://www.opcfoundation... |
using System;
using System.Text.Json.Serialization;
namespace Ycode.AspNetCore.Mvc.GroupVersioning.Test.Models
{
public class BadRequestResponseModel
{
public class ErrorModel
{
[JsonPropertyName("code")]
public string Code { get; set; }
[JsonPropertyName("m... |
using Ultraviolet.Core;
using Ultraviolet.Input;
using Ultraviolet.Presentation;
using Ultraviolet.Presentation.Controls;
using Ultraviolet.Presentation.Input;
namespace UvDebug.UI.Screens
{
/// <summary>
/// Represents the view model for <see cref="GameMenuScreen"/>.
/// </summary>
public sealed clas... |
//
// MenuScene.cs
// ProductName Ling
//
// Created by toshiki sakamoto on 2020.11.07
//
using UnityEngine;
using Cysharp.Threading.Tasks;
using UniRx;
using Ling.Common.Scene.Menu;
using Zenject;
using Ling.Common.Input;
using UnityEngine.InputSystem;
using System.Collections.Generic;
using Lin... |
#region References
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Speedy.Extensions;
using Speedy.Sync;
#endregion
namespace Speedy.Website.Data.Entities
{
public class AddressEntity : SyncEntity<long>
{
#region Constructors
[SuppressMessage("ReSharper", "VirtualM... |
using IntegrationTool.SDK.ConfigurationsBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IntegrationTool.Module.LoadFromSharepoint
{
public class LoadFromSharepointConfiguration : SourceConfiguration
{
public string Lis... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DumpMemory
{
public static class Log
{
[Flags]
public enum LogLevel
{
Debugging,
Errors,
... |
using Photon.Pun;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
namespace PUNLobby
{
public class NetworkStatusPanel : MonoBehaviour
{
[SerializeField]
private TextMeshProUGUI _statusText;
private void Update()
{
if (_statusText == null) return;
_statusText.text = PhotonNetwork.NetworkClientS... |
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AlibabaCloud.SDK.Vod20170321.Models
{
public class GetAuditHistoryResponse : TeaModel {
[NameInMap("RequestId")]
[Validation(Required=true)]
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
namespace kinectApp.Entities.Germs
{
/*
A Default Germ, uses IEntity
*/
public interface IGerm : IEntity
{
int Id { get; }
int Health { get; }
... |
using Partiality.Modloader;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using UnityEngine;
namespace PassiveEnemies
{
public class PassiveEnemies : PartialityMod
{
public static Script script;
public PassiveEnemies()
{
... |
namespace _07.CountEachNumberOccurence
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Startup
{
public static void Main()
{
var array = new int[] { 3, 4, 4, 2, 3, 3, 4, 3, 2 };
var dictionary = new Dictionary<int, int>();
... |
using UnityEngine;
using System.Collections;
public class PingPongMotion : MonoBehaviour
{
//Original position
private Vector3 OrigPos = Vector3.zero;
//Axes to move on
public Vector3 MoveAxes = Vector2.zero;
//Speed
public float Distance = 3f;
void Start()
{
//Copy original position
OrigPos = transfo... |
using System;
namespace Examples.AutoRetry
{
public interface IWebPageService
{
[RetryAspect(RetriesCount = 3, DelayMs = 300)]
string GetPageContent(string url);
}
public class WebPageService : IWebPageService
{
private static readonly double FailureRate = 0.6;
... |
// Copyright (c) KhooverSoft. 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.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Khooversoft.Toolbox
{
//... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Baseline.Validate.Internal.Extensions;
namespace Baseline.Validate
{
/// <summary>
/// Base validator used by other validators in the library. Contains common functionality between them all.
/// </summar... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WCMS.Common
{
public class LogManager
{
public LogManager()
{
Loggers = new List<ILogger>();
}
public LogManager(IEnumerable<ILogger> loggers)
: this()
... |
/*
* Copyright 2019 Carnegie Technologies
*
* 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 ... |
public class Graft {
public struct VertexPair {
public int Source { get; }
public int Target { get; }
public VertexPair(int source, int target) {
Source = source;
Target = target;
}
}
public VertexPair[] VertexPairs { get; }
public int[] HiddenFaces { get; }
public Graft(VertexPair[] vertexPairs,... |
using BluePointLilac.Controls;
using BluePointLilac.Methods;
using ContextMenuManager.Controls.Interfaces;
using ContextMenuManager.Methods;
using System;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using static ContextMenuManager.Methods.ObjectPath;
namespace ContextMenuManager.Controls
{
... |
using AutoMapper;
using CookBook.Common.Enums;
using System;
namespace CookBook.DAL.Entities
{
public class IngredientAmountEntity : EntityBase
{
public double Amount { get; set; }
public Unit Unit { get; set; }
public Guid RecipeId { get; set; }
public RecipeEntity Recipe { g... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UnityEngine;
namespace ZenGlue {
public class ZMesh : IDisposable, MaterialMesh {
[DllImport("zenglue", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.Cdecl)]
priva... |
using System;
using System.Threading.Tasks;
using ChainLink.ChainBuilders;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ChainLink.Tests
{
[TestClass]
public class ProcessTests
{
[TestMethod]
public async Task HelloWorldChain()
{
IChain chain = new Chai... |
namespace XPlat.Storage
{
using System;
using XPlat.Foundation.Collections;
public class ApplicationDataContainer : IApplicationDataContainer
{
private readonly ApplicationDataContainerSettings settings;
/// <summary>
/// Initializes a new instance of the <see cref="Applicati... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.Storage;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitive... |
using System.Collections.Generic;
using Deadspell.Map;
using Sirenix.OdinInspector;
using UnityEngine;
using UnityEngine.Tilemaps;
namespace Deadspell.Data
{
[CreateAssetMenu(menuName = "Deadspell/Maps/Theme")]
public class MapTheme : SerializedScriptableObject
{
public Renderable Default = new Re... |
using System.Collections.Generic;
using System.Linq;
using Merchello.Core.Models;
using NUnit.Framework;
namespace Merchello.Tests.Base.Visitors
{
public class MockLineItemVistor : ILineItemVisitor
{
private readonly List<ILineItem> _visited;
public MockLineItemVistor()
{
... |
/*
Copyright (c) 2017, pGina Team
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the follo... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace BubblePops
{
[System.Serializable]
public struct BallSerializedData
{
public int number;
public BubblePops.Balls.BallColors balColor;
}
public class Level : ScriptableObject
{
[Se... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AssemblyInspector.Loader
{
public enum ResolvedAssemblyResultEnum
{
NoMatch,
ExactMatch,
BestMatch,
}
}
|
using System.Threading.Tasks;
using Havit.AskMe.Web.Blazor.Shared.Contracts.Account;
namespace Havit.AskMe.Web.Blazor.Client.Services.Security {
public interface IAuthenticationClientFacade {
Task<LoginVM> Login(LoginIM inputModel);
}
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Comm100.Domain.Repository;
using Comm100.Extension;
using Comm100.Runtime.Exception;
using FileService.Domain.Entities;
using FileService.Domain.Interfaces;
using File = FileService.Domain.Entities.File;
names... |
using System;
using System.Collections.Generic;
using Comformation.IntrinsicFunctions;
namespace Comformation.EMR.StudioSessionMapping
{
/// <summary>
/// AWS::EMR::StudioSessionMapping
/// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studiosessionmapping.html
/// </s... |
using System;
using System.Diagnostics;
using System.Drawing.Imaging;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Remote;
namespace Autodash.MsTest.SeleniumTests
{
//http://localhost:4444/gr... |
using System;
using System.IO;
using Microsoft.Office.Interop.Word;
namespace HafiyelnarnurFeferjicher
{
class Program
{
static void Main(string[] args)
{
var applicationClass = new ApplicationClass();
//applicationClass.Visible = false; 默认值就是 false 值
var fo... |
// DigitalRune Engine - Copyright (C) DigitalRune GmbH
// This file is subject to the terms and conditions defined in
// file 'LICENSE.TXT', which is part of this source code package.
using System;
using System.Threading.Tasks;
using DigitalRune.Editor.Documents;
using DigitalRune.Editor.Status;
using DigitalRune.Edi... |
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
using Microsoft.EntityFrameworkCore.Utilities;
// ReSharper disable once CheckNamespace
namespac... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace L2Package.DataStructures
{
public class UPointRegion
{
public Index Zone { set; get; }
public int iLeaf { set; get; }
public byte ZoneNumber { set; get; }
}... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ChangeTiles
{
class Program
{
static void Main(string[] args)
{
var savedMoney = double.Parse(Console.ReadLine());
var floorWidth = double.Parse... |
namespace SteamAutoMarket.UI.Utils.ItemFilters
{
using SteamAutoMarket.UI.Models;
using SteamAutoMarket.UI.Utils.ItemFilters.Strategies;
public static class SteamItemsFilters<T>
where T : SteamItemsModel
{
public static readonly ISteamItemsFilter<T> RealGameFilter = new RealGameFilter<... |
using NEFBDAACommons.Shared.DynamicQuery;
using System;
using System.Collections.Generic;
namespace NEFBDAACommons.DynamicForms.Attributes
{
[System.AttributeUsage(System.AttributeTargets.Property)]
public abstract class FormAssociationAttributes : System.Attribute
{
public Type AssociationType { get; set; ... |
using System.Threading.Tasks;
namespace Pass.Components.Dialog;
public interface IDialogPresenter
{
Task Show(IDialog dialog);
} |
using Prism.Commands;
using Prism.Mvvm;
using Prism.Navigation;
using System;
using System.Collections.Generic;
using System.Linq;
namespace TruthOrDareUI.ViewModels
{
public class AboutPageViewModel : BindableBase
{
private readonly INavigationService _navigationService;
private DelegateComm... |
/*
* Sometimes you want things to happen
* one at a time, first this
* then that, then the other
* then again, over and over
*
* You can make it random
* or use it in a line
* you can have it grow
* then shrink the next time
*/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
... |
namespace IntoTheCodeExample.DomainLanguage.Executers.Expression
{
public class ExpVariable<TType> : ExpTyped<TType>
{
public ExpVariable(string name)
{
Name = name;
}
public string Name;
public override TType Compute(Variables runtime)
{
... |
/* ====================================================================
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 ... |
namespace Port.Server.IntegrationTests.SocketTestFramework
{
internal sealed class ByteArrayMessageClientFactory : IMessageClientFactory<byte[]>
{
public IMessageClient<byte[]> Create(
INetworkClient networkClient)
{
return new ByteArrayMessageClient(networkClient);
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class FlowerAlertPageMongMongHandler : MonoBehaviour
{
public Text QuoteText;
public string[] Quotes;
public AudioClip[] Voices;
public void OnEnable() {
SoundHandler.Instance.MongMongS... |
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Http;
namespace GlobalServer.Properties.Response.Models
{
public abstract class ResponseBase
{
protected abstract int GetStatusCode();
protected abstract IHeaderDictionary GetHeaders();
protected abstract s... |
using System;
using static Ryujinx.Graphics.Gal.Shader.ShaderDecodeHelper;
namespace Ryujinx.Graphics.Gal.Shader
{
static partial class ShaderDecode
{
private enum IntType
{
U8 = 0,
U16 = 1,
U32 = 2,
U64 = 3,
S8 = 4,
S16... |
// This file is part of Core WF which is licensed under the MIT license.
// See LICENSE file in the project root for full license information.
using System.ComponentModel;
namespace System.Activities.XamlIntegration;
public sealed class OutArgumentConverter : TypeConverterBase
{
public OutArgumentConverter()
... |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using System.IO;
using Microsoft.CodeAnalysis.Emit;
using System.Reflection;
namespace Shiny.Calculator.Evaluation
{
public enum SyntaxRunType
{
Unknown,
Keywor... |
using System.Drawing;
namespace Utilities
{
public interface ILoggingProvider
{
void ReportProgressChanged(int progress);
void RaiseError(string error, int rank = 0);
void RaiseWarning(string warning, int rank = 0);
void RaiseMessage(string message, int rank = 0, bool... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Stations.Models;
namespace Stations.Data.Configurations
{
public class TripConfig : IEntityTypeConfiguration<Trip>
{
public void Configure(EntityTypeBuilder<Trip> builder)
{
builder.Ha... |
using Microsoft.EntityFrameworkCore;
namespace Factory.Models
{
public class FactoryContext : DbContext
{
public DbSet<Engineer> Engineers { get; set; }
public DbSet<Location> Locations { get; set; }
public DbSet<Machine> Machines { get; set; }
public DbSet<EngineerLocationMachine> EngineerLocation... |
using System;
using System.ComponentModel;
using System.Windows.Forms;
namespace DLC.Framework.UI.Forms
{
public static class FormsExtensions
{
/// <summary>
/// The DesignMode property does not correctly tell you if you are in design mode.
/// InVSDesigner is a corrected version of that property.
/// See ht... |
// <copyright file="IRewardCycleStorageProvider.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace Microsoft.Teams.Apps.RewardAndRecognition.Providers
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Teams.Apps.RewardAndRecog... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.ComponentModel.DataAnnotations;
using System.Text;
using EPlikt.Models;
using EPlikt.Feed;
using log4net;
using log4net.Config;
namespace EPlikt.Controllers
{
public clas... |
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
namespace SwaggerIntegration.Controllers
{
//This blows up swagger
//[ApiVersion("3.0-RC")]
//[Route("api/values")]
//[ApiController]
//public class Values3Controller : Values2Controller
//{
// [HttpGet, MapToApiVersion("... |
namespace MySharp.Logging.Slf4net
{
public interface ILoggerFactory
{
Logger GetLogger(string name);
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.