content stringlengths 23 1.05M |
|---|
// Copyright (c) 2019 Lykke Corp.
// See the LICENSE file in the project root for more information.
namespace Axle.Dto
{
using Contracts;
using MessagePack;
[MessagePackObject]
public class TerminateSessionNotification
{
[Key(0)]
public int SessionId { get; set; }
... |
namespace UnityForge.Serialization
{
interface ISerializable<T> : ILoader<T>, ISaver<T>
{
}
}
|
using System;
using System.Collections;
namespace Source
{
public class StringList
{
private readonly Hashtable _underlyingDataStructure;
public int Length { get; private set; }
public StringList()
{
_underlyingDataStructure = new Hashtable();
Length = 0... |
// The following code example demonstrates several members of the RegionInfo class.
// <snippet1>
using System;
using System.Globalization;
public class SamplesRegionInfo {
public static void Main() {
// Displays the property values of the RegionInfo for "US".
RegionInfo myRI1 = new RegionInfo( "U... |
// <copyright file="ConstructorTests.cs" company="QuantifEye">
// Copyright (c) QuantifEye. All rights reserved.
// Licensed under the Apache 2.0 license. See LICENSE.txt file in the project root for full license information.
// </copyright>
namespace Qtfy.QMath.Tests.BigRationalTests
{
using System;
using Sy... |
namespace GenRepo.Tests
{
public class TestItem
{
private readonly int _id;
public string Name;
public int Salary;
public TestItem(int id)
{
_id = id;
}
public override bool Equals(object obj)
{
return ob... |
using Blog.Core.IServices.BASE;
using Blog.Core.Model.Models;
using Blog.Core.Model.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.IServices
{
public interface IBlogArticleServices :IBaseServices<BlogArticle>
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace PerformanceEfCore.Entities
{
public partial class VSalesPersonSalesByFiscalYears
{
[Column("SalesPersonID")]
public int? SalesPersonId { ge... |
using System;
using System.Media;
using System.Windows.Forms;
namespace CricBlast_GUI.UI
{
public partial class ExitMessage : Form
{
protected override CreateParams CreateParams
{
get
{
CreateParams cp = base.CreateParams;
cp.ExStyle |= 0... |
// Copyright (c) Simple Injector Contributors. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for license information.
namespace SimpleInjector.Advanced.Internal
{
using System;
/// <summary>
/// This is an internal type. Only depend on this type when... |
using System;
using System.Collections.Generic;
using WasteMan.Common.Data.Enums;
namespace WasteMan.Common.Data
{
public class GarbageBin
{
public string Name { get; set; }
public Coordinate Location { get; set; }
public LidStates LidSate { get; set; }
public TimeSpan LidState... |
using System;
using System.Text.Json.Serialization;
namespace Spotify.Authentication
{
internal class TokenResponse
{
private DateTime _expiresOn;
[JsonPropertyName("expires_in")]
public double Expires_In
{
get => (_expiresOn - DateTime.UtcNow).TotalSeconds;
... |
namespace IFPS.Factory.Domain.Model
{
public class ManualLaborPlan : Plan
{
}
}
|
using System.Collections.Immutable;
namespace ExRam.Gremlinq.Core
{
public sealed class InStep : DerivedLabelNamesStep
{
public static readonly InStep Empty = new InStep(ImmutableArray<string>.Empty);
public InStep(ImmutableArray<string> labels) : base(labels)
{
}
}
}
|
// This file is auto-generated by BuildVersion
// Before editting, check out the application's build environment for use of BuildVersion
using System;
namespace org.herbal3d.Ragu {
public class VersionInfo {
public static string appVersion = "2.0.7";
public static string longVersion = "2.0.7-2... |
namespace Task2
{
/// <summary>
/// Functions to work with list
/// </summary>
/// <typeparam name="T">Type of list elements</typeparam>
public interface IList<T>
{
/// <summary>
/// Add element to list by position
/// </summary>
/// <param name="value">Value to ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameManagerMenu : MonoBehaviour
{
#region Serialized Variables
#region Datas
[Space, Header("Datas")]
public GameManagerData gmData;
#endregion
#region Audio
[Space, Header("A... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Assets.Soraphis.Spirits.Scripts;
using DG.Tweening;
using UnityEngine.SceneManagement;
public class Fog : MonoBehaviour {
[System.Serializable]
public struct RandomEncounterData {
public string SpiritType;
pub... |
#region CVS Version Header
/*
* $Id$
* Last modified by $Author$
* Last modified at $Date$
* $Revision$
*/
#endregion
using System;
using System.Collections;
using System.Windows.Forms;
using RssBandit.Resources;
namespace RssBandit.WinGui.Dialogs
{
/// <summary>
/// Summary description for... |
using System;
using FluentAssertions;
using MyCouch.HttpRequestFactories;
using MyCouch.Net;
using MyCouch.Requests;
using MyCouch.Testing;
using Xunit;
namespace MyCouch.UnitTests.HttpRequestFactories
{
public class GetChangesHttpRequestFactoryTests : UnitTestsOf<GetChangesHttpRequestFactory>
{
publi... |
using System;
namespace MakeYourBusinessGreen.Tests.Integration.Commands.SuggestionCommands;
[Collection("TestBase")]
public class CreateSuggestionTests
{
private readonly TestBase _testBase;
public CreateSuggestionTests(TestBase testBase)
{
_testBase = testBase;
_testBase.ResetStateAsyn... |
namespace MassTransit.Serialization.JsonConverters
{
using System;
using System.Text.Json;
using System.Text.Json.Serialization;
public class TypeMappingJsonConverter<TType, TImplementation> : JsonConverter<TType>
where TImplementation : TType
{
public override TType Read(ref Utf8... |
/************************************* Module Header **************************************\
* Module Name: MainForm.cs
* Project: CSWinFormLocalization
* Copyright (c) Microsoft Corporation.
*
* The Windows Forms Localization example demonstrates how to localize Windows Forms
* application.
*
* This source i... |
using System.Collections.Generic;
using Composable.Contracts;
using Composable.SystemCE.LinqCE;
namespace Composable.SystemCE.CollectionsCE.GenericCE
{
/// <summary>A collection of extensions to work with <see cref="HashSet{T}"/></summary>
static class HashSetCE
{
/// <returns>A set containing all ... |
namespace WalletWasabi.WabiSabi.Client.CredentialDependencies
{
public class CredentialDependency
{
public CredentialDependency(RequestNode from, RequestNode to, CredentialType credentialType, long value)
{
From = from;
To = to;
CredentialType = credentialType;
Value = value;
}
public RequestNode... |
namespace Frontend.Packets.Play
{
public readonly struct UpdateViewPosition : IWriteablePacket
{
public int Id => 0x41;
public readonly int ChunkX;
public readonly int ChunkY;
public UpdateViewPosition(int chunkX, int chunkY)
{
ChunkX = chunkX;
C... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Encapsulamento
{
public class Conta
{
public string _titular;
private double _saldo;
public int _agencia;
//Metodos Construtores
... |
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace IqOptionApi.Models
{
public class OptionClosed : OptionOpened
{
[JsonProperty("result")]
[JsonConverter(typeof(StringEnumConverter))]
public OrderResult Result { get; set; }
[JsonProperty("actual_e... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
namespace ServiciosWCF.Servicios.messages
{
[ServiceContract]
public interface IMessagesService
{
[OperationContract]
int InsertarMessages(Dominio.... |
using System;
using QifApi.Transactions;
using Xunit;
namespace QifApi.Tests
{
public class LocalizationTests
{
[Fact]
public void Can_read_resources()
{
Assert.NotNull(new BasicTransaction().ToString());
}
[Fact]
public void Can_fallback_with_missin... |
@using TeamLegend.Web
@using TeamLegend.Web.Models
@using CloudinaryDotNet;
@using CloudinaryDotNet.Actions;
@using TeamLegend.Common;
@using TeamLegend.Infrastructure.Extensions;
@using Microsoft.AspNetCore.Identity
@using TeamLegend.Models;
@using TeamLegend.Services.Contracts;
@addTagHelper *, Microsoft.AspNetCore.... |
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UnityEngine;
using UnityEditor;
#if UNITY_5
#if UNITY_EDITOR_WIN
// 来回切网易云音乐实在是太麻烦了
[InitializeOnLoadAttribute]
public static class NeteaseMusicAutomatic
{
private static bool isMusicAppRunning = false;
[... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class VMath
{
static Vector2 FindIntersection(Vector2 s1, Vector2 e1, Vector2 s2, Vector2 e2)
{
float a1 = e1.y - s1.y;
float b1 = s1.x - e1.x;
float c1 = a1 * s1.x + b1 * s1.y;
float a2 = e2... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Tao.OpenGl;
using Box2D.Net;
using System.Reflection;
namespace TestBed.Net
{
public partial class MainWindow : Form
{
... |
using System;
using Xunit;
namespace UtilService.Tests
{
public class OneDistanceAwayTest
{
[Fact]
public void It_Should_Return_True_If_Same_String()
{
var isOneAway = Util.OneEditAway("test", "test");
Assert.True(isOneAway);
}
}
}
|
namespace Walrus.CLI.Commands
{
using System;
using System.Collections.Generic;
using System.CommandLine;
using System.CommandLine.Invocation;
using System.Text.Json;
using Core;
using Microsoft.Extensions.Logging;
/// <summary>
/// Shows information about the specified Walrus ... |
using NHibernate.Cfg;
using TauCode.Db;
namespace TauCode.WebApi.Testing
{
public class SQLiteTestConfigurationBuilder
{
public SQLiteTestConfigurationBuilder()
{
var tuple = DbUtils.CreateSQLiteConnectionString();
this.TempDbFilePath = tuple.Item1;
this.Con... |
using SharedLibraryCore;
using SharedLibraryCore.Interfaces;
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Serilog.Context;
using ILogger = Microsoft.Extensions.Logging.ILogger;
namespace IW4MAdmin.Application.IO
{
public class GameLogEventDetection
{... |
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Banco_Api.Model
{
public abstract class Cliente
{
public int ID { get; set; }
public int Cod_Cli { get; set; }
public int Cod_TipoCli { get; set; }
public Tip... |
using System.Diagnostics.Tracing;
using System.Linq;
using Microsoft.AspNetCore.Identity;
using Piranha.AspNetCore.Identity.EF;
using Piranha.AspNetCore.Identity.EF.Code;
using Piranha.AspNetCore.Identity.EF.Data;
using Piranha.AspNetCore.Identity.EF.Extensions;
namespace Piranha.AspNetCore.Identity.EF.Manager.Areas.... |
using System;
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{
/// <summary>
/// <para>表示 [POST] /apply4subject/applyment 接口的请求。</para>
/// </summary>
public class CreateApplyForSubjectApplymentRequest : WechatTenpayRequest
{
public static class Typ... |
using System.Collections.Generic;
using SuperMemoAssistant.Sys.IO.Devices;
namespace SuperMemoAssistant.Services.IO.HotKeys
{
public class HotKeyCfg
{
public Dictionary<string, HotKey> HotKeyMap { get; set; } = new Dictionary<string, HotKey>();
}
}
|
using OpenTK;
using OpenTK.Graphics.OpenGL;
using SFGenericModel.VertexAttributes;
namespace SFShapes
{
/// <summary>
/// A simple struct for rendering a 3d vertex.
/// </summary>
public struct Vertex3d
{
/// <summary>
/// The position of the vertex
/// </summary>
[... |
using UnityEngine;
using UnityEditor;
using System.Collections;
namespace Invector
{
[CanEditMultipleObjects]
[CustomEditor(typeof(WeaponHolder), true)]
public class WeaponHolderEditor : Editor
{
GUISkin skin;
private Texture2D m_Logo = null;
void OnEnable()
{
... |
namespace FlatFiles
{
/// <summary>
/// Holds information about the column currently being processed.
/// </summary>
public interface IColumnContext
{
/// <summary>
/// Gets information about the record currently being processed.
/// </summary>
IRecordContext RecordC... |
// MIT License
// Copyright (c) 2020 KrylovBoris
// License information: https://github.com/KrylovBoris/OFFICE-HACKER/blob/main/LICENSE
using System;
using NPC;
using TMPro;
using UnityEngine;
using UnityEngine.Assertions;
using UnityEngine.UI;
namespace Player
{
public class PasswordPeek : MonoBeha... |
namespace HR.ATS.WebAPI.Security.Roles
{
public class RolesConstants
{
public const string AtsCandidate = "ATS_CANDIDATE";
public const string AtsRecruiter = "ATS_RECRUITER";
}
} |
using System;
using System.Collections.Generic;
using BurningKnight.debug;
using BurningKnight.entity.projectile;
using BurningKnight.state;
using BurningKnight.ui.imgui;
using ImGuiNET;
using Lens;
using Lens.assets;
using Lens.entity;
using Lens.entity.component.logic;
using Lens.graphics;
using Lens.graphics.gameren... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
using System.Data;
using System.Data.SqlClient;
using System.Data;
namespace Datos
{
public class PagosComprasDAO : ConexionSQL
{
SqlDataReader... |
using System.Threading.Tasks;
namespace Lykke.Service.LiquidityEngine.Domain.Repositories
{
public interface IQuoteTimeoutSettingsRepository
{
Task<QuoteTimeoutSettings> GetAsync();
Task InsertOrReplaceAsync(QuoteTimeoutSettings quoteTimeoutSettings);
}
}
|
using Sharpen;
namespace android.net
{
[Sharpen.Stub]
public interface IConnectivityManager : android.os.IInterface
{
[Sharpen.Stub]
void setNetworkPreference(int pref);
[Sharpen.Stub]
int getNetworkPreference();
[Sharpen.Stub]
android.net.NetworkInfo getActiveNetworkInfo();
[Sharpen.Stub]
androi... |
using System.Linq;
namespace Saritasa.BoringWarehouse.Domain.Products.Queries
{
using System.Collections.Generic;
using Entities;
public class ProductQueries
{
private readonly IAppUnitOfWork uow;
public ProductQueries(IAppUnitOfWork uow)
{
this.uow = uow;
... |
using System;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using HttpMultipartParser;
using Microsoft.Azure.Functions.Worker;
using Microsoft.Azure.Functions.Worker.Http;
using RapidCMS.Api.Core.Abstractions;
using RapidCMS.Api.Functio... |
using System;
using System.Runtime.InteropServices;
using System.IO;
using System.Linq;
using System.Reflection;
namespace NNanomsg
{
[StructLayout(LayoutKind.Sequential)]
unsafe struct nn_iovec
{
public void* iov_base;
public int iov_len;
}
[StructLayout(LayoutKind... |
using System;
/// <summary>
/// An enum class for the possible states of a plane
/// </summary>
public enum PlaneState
{
FOLLOWING_PATH = 0,
READY_TO_LAND = 1, // when the plane is on the "landing point"
LANDING = 2, // when the plane is performing landing action
STOP_ON_LAND = 3, // post-state af... |
/*
The MIT License (MIT)
Copyright (c) 2018 Helix Toolkit contributors
*/
using SharpDX;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
#if NETFX_CORE
namespace HelixToolkit.UWP.Model.Scene2D
#else
namespace HelixToolkit.Wpf.SharpDX.Model.Scene2D
#endif
{
... |
//----------------------------------------------
// NGUI: Next-Gen UI kit
// Copyright © 2011-2013 Tasharen Entertainment
//----------------------------------------------
using UnityEngine;
using System.Text;
using System.Collections.Generic;
/// <summary>
/// MemoryStream.ReadLine has an interesting oddi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Decia.Business.Common.Permissions
{
public enum RequestState
{
Pending,
Accepted,
Declined
}
} |
using DisCatSharp.Entities;
using DisCatSharp.Lavalink;
using System;
using System.Collections.Generic;
namespace MeekPlush
{
public class GuildList
{
public string GuildName { get; set; }
public string Prefix { get; set; }
public bool Repeat { get; set; }
public bool RepeatAl... |
using UnityEngine;
using Verse;
namespace SmartFarming
{
[StaticConstructorOnStartup]
internal static class ResourceBank
{
public static readonly Texture2D sowIconOn = ContentFinder<Texture2D>.Get("UI/Owl_Sow", true);
public static readonly Texture2D sowIconOff = ContentFinder<Texture2D>.Get("UI/Owl_N... |
namespace GamingForum.Services.Attributes
{
using Contracts;
using System;
using System.ComponentModel.DataAnnotations;
using static InputModels.Constants.ErrorMessages;
[AttributeUsage(AttributeTargets.Property)]
public class CategoryTitleExistsAttribute : ValidationAttribute
{
IC... |
namespace ISPSystem.DomainEntities.Enums
{
public enum StatusEnum
{
pendente = 1,
aprovada,
concluida,
rejeitada
}
}
|
// Special thanks to Sergio Pedri for this design from Legere
// Sergio's GitHub: https://github.com/Sergio0694
// Legere: https://www.microsoft.com/store/apps/9PHJRVCSKVJZ
using GalaSoft.MvvmLight.Ioc;
using GalaSoft.MvvmLight.Messaging;
using JetBrains.Annotations;
using Quarrel.SubPages.Interfaces;
using Quarrel.V... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class SimpleAIController : MonoBehaviour
{
public float range;
public GameObject target;
public Vector3 start;
//
public float health;
public float attackCD;
private float attackTime... |
using B_Lectura_E2K.Entidades;
using System.Collections.Generic;
namespace BibliotecaE2K.Core
{
public interface IGetFrameSections
{
List<ISection> GetConcreteFrameSection(string[] dummy,
string FrameName, string Temp_material, Material Material_du... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace NET.StringExtension.Test
{
[TestClass]
public class StringExtensionsTests
{
[TestMethod]
public void String_IsNull()
{
string source = null;
Assert.IsTrue(source.IsNull());
}... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.ServiceBus.Messaging;
using Newtonsoft.Json;
using ThomasClaudiusHuber.EventHub.Common.Model;
namespace ThomasClaudiusHuber.EventHub.Rec... |
using System;
using System.Text.RegularExpressions;
namespace FPEDemo
{
class Program
{
enum Action { Encrypt, Decrypt };
static void Main(string[] args)
{
byte[] key = { (byte) 0x2B, (byte) 0x7E, (byte) 0x15, (byte) 0x16, (byte) 0x28, (byte) 0xAE, (byte) 0xD2,
... |
namespace Swisschain.Extensions.Idempotency.EfCore
{
public class OutboxEntity
{
public string IdempotencyId { get; set; }
public string Response { get; set; }
public string Events { get; set; }
public string Commands { get; set; }
public bool IsDispatched { get; set; }
... |
using A4CoreBlog.Data.Models;
using Microsoft.EntityFrameworkCore;
namespace A4CoreBlog.Data
{
public interface IBlogSystemContext
{
DbSet<Blog> Blogs { get; set; }
DbSet<BlogComment> BlogComments { get; set; }
DbSet<Post> Posts { get; set; }
DbSet<PostComment> PostComments { g... |
namespace Microsoft.Mixer
{
/// <summary>
/// The object returned from the interactive text APIs.
/// </summary>
public struct InteractiveTextResult
{
/// <summary>
/// The participant who entered the text.
/// </summary>
public InteractiveParticipant Participant
... |
// .net6.0
// Input CSV file to convert, passed from arguments.
using CsvHelper;
using CsvHelper.Configuration.Attributes;
using System.Globalization;
using System.Xml.Serialization;
if(String.IsNullOrEmpty(args[0]))
throw new ConversionException("Filename was not specified.");
string filename = args[0];
if(!Fil... |
using AlemdarLabs.ColorPalette.MachineLearning.Helpers;
using System.Collections.Generic;
namespace AlemdarLabs.ColorPalette.MachineLearning
{
public partial class Octree
{
private class Node
{
/// <summary>
/// Constructor.
/// </summary>
/// <p... |
using Microsoft.AspNetCore.Authorization;
namespace Leaves.Api
{
public class HasPersistentTokenRequirement : IAuthorizationRequirement
{
public HasPersistentTokenRequirement(
string loginProvider, string tokenName)
{
LoginProvider = loginProvider;
TokenName... |
/*
* Your rights to use code governed by this license http://o-s-a.net/doc/license_simple_engine.pdf
* Ваши права на использование кода регулируются данной лицензией http://o-s-a.net/doc/license_simple_engine.pdf
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.T... |
using Microsoft.EntityFrameworkCore;
using SimpleStore.DataAccess.Data.Repository.IRepository;
using SimpleStore.Models.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimpleStore.DataAccess.Data.Repository
{
public class Accoun... |
namespace CqrsDemo.Domain.SeedWork
{
public interface Entity
{
}
} |
using System.Threading.Tasks;
using DevOpen.Domain;
using DevOpen.Domain.Model;
using DevOpen.Domain.Model.Credits;
namespace DevOpen.Application.Repositories
{
public interface ICreditRootRepository
{
Task<Credit> GetById(CreditId id);
Task Save(Credit credit);
}
} |
// 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 System.Collections.Generic;
using System.Threading;
namespace Reaqtive
{
/// <summary>
... |
// Authored by Scott B. Norton
namespace DotNetHero.Core.Components
{
class MathEx
{
public static bool Between(int val, int min, int max)
{
return val >= min && val <= max;
}
}
} |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Rally.RestApi.Test
{
[TestClass()]
public class RefTest
{
[TestMethod()]
public void ShouldDetectValidRefs()
{
Assert.IsTrue(Ref.IsRef("/defect/1234"), "Valid relative ref");
Assert.IsTrue(Ref.IsRef("/defect/1234.js"), "Valid relative ref w/... |
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class SelectionMode : MonoBehaviour, IEditorMode
{
public Transform propertyParent;
public PropertyInput propertyInput;
public GameObject noProperties;
public Text currentObjectLabel;
public Text deleteLabel;
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ContosoUniversity.DAL;
using ContosoUniversity.ViewModels;
namespace ContosoUniversity.Controllers {
public class GradebookController : Controller {
private readonly ISchoolContext _db;
... |
using System;
using System.Collections.Generic;
using FunnelWeb.Model.Authentication;
namespace FunnelWeb.Web.Areas.Admin.Views.SqlAuthentication
{
public class IndexModel
{
public bool IsUsingSqlAuthentication { get; set; }
public IEnumerable<User> Users { get; set; }
}
}
|
using Verse;
namespace Elves
{
public class HediffGiver_GiveRacialTraits : HediffGiver
{
public override void OnIntervalPassed(Pawn pawn, Hediff cause)
{
HealthUtility.AdjustSeverity(pawn, this.hediff, 1f);
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.ChangeTracking;
using Microsoft.EntityFrameworkCore.Storage;
namespace Reposify.EfCore
{
public class EfCoreRepository :
IRep... |
namespace Stize.Domain.Model
{
public interface IModel: IObject
{
}
public interface IModel<TKey> : IModel, IObject<TKey>
{
}
} |
using System.IO;
using Newtonsoft.Json;
namespace MarauderEngine.Utilities
{
[System.Obsolete("use game data ", true)]
public class SaveGame<T>
{
private string path;
private const string folderPath = @"Saves\";
public SaveGame(string path)
{
this.path = path;
... |
// ONI, Copyright (c) Nathan MacAdam, All rights reserved.
// MIT License (See LICENSE file)
using UnityEngine;
namespace Oni.Internal
{
/// <summary>
/// Update Unity events
/// </summary>
public enum UpdateMethod
{
Default,
Fixed,
Late,
External
}
/// <s... |
using Microsoft.Extensions.Configuration;
using Npgsql;
namespace BlankApiModel.Dao.DbConnections
{
/// <summary>
/// Class used to make connections in database
/// This use the <see cref="IConfiguration"/> to get the connectionString
/// </summary>
public class PostgreeBaseDao : BaseDao
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VsSolutionRenamer.Entities.Models.Files.Projects
{
public class ProjectSection
{
public string filename { get; set; }
public string filenameEquals { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using BuildsAppReborn.Contracts.Models;
namespace BuildsAppReborn.Contracts
{
public interface IBuildMonitorBasic : IProgressComponent
{
Boolean IsConfigured { get; }
Task BeginPollingBuildsAsync();
event B... |
//---------------------------------------------------------------------
// <copyright file="JsonLightMaintainPropertyOrderAnnotation.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//------------... |
namespace IPCUtilities.IpcPmrep.CommandObjects
{
public class PmrepModifyFolder:AbstractRepoFolder
{
private string _newFolderName;
private string _osProfile;
public string NewFolderName { get { return _newFolderName; } set { _newFolderName = " -r " + value; } }
public string O... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DDD.DomainServices.RestaurantBooking.Model
{
public class RestaurantBooking
{
// see entities chapter for options when injecting services
private IRestaurantNotifier re... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpawnObstacles : MonoBehaviour
{
[Header("Base Required Components")]
public GameObject[] spawnPoints;
public GameObject obstaclePrefab;
[Space]
[Header("Spawn Delays")]
public float levelOneSpawnDelay =... |
using DevExpress.EasyTest.Framework;
using Fasterflect;
namespace Xpand.TestsLib.EasyTest.Commands.Automation{
public class SetHtmlElementValueCommand:EasyTestCommand{
public SetHtmlElementValueCommand(string identifier,bool byName=false){
}
protected override void ExecuteCore(ICommandAda... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reactive.Linq;
using System.Reactive.Concurrency;
using System.Reactive.Disposables;
using System.Reactive.Subjects;
using Uno.Collections;
using Uno.Extensions;
using System.Threading;
namespace Nventive.Persistence
{
... |
using System;
using System.Collections.Generic;
using Hyperledger.Aries.Agents;
using Newtonsoft.Json;
namespace Hyperledger.Aries.Features.ProblemReport
{
/// <inheritdoc />
/// <summary>
/// A general problem report message.
/// </summary>
public class ProblemReportMessage : AgentMessage
{
... |
using System;
using System.Linq.Expressions;
namespace PostMagnet.Domain.SpecificationFramework
{
public class OrSpecification<T> : CompositeSpecificationBase<T>
{
public OrSpecification(ISpecification<T> left, ISpecification<T> right)
: base(left, right)
{
}
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.