content stringlengths 23 1.05M |
|---|
using AutoSandbox.Materials;
using AutoSandbox.Units;
namespace AutoSandbox.Automotive.Components.Tubing {
/// <summary>
/// Base type that defines basic properties of a type that is typically cylindrical and used
/// either as a mechanism to contain lengths or transport certain types of materials
///... |
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
namespace Gear.CloudStorage.Abstractions.Infrastructure
{
public interface ICloudStorageDb
{
DbSet<IdentityUserToken<Guid>> AspNetUserTokens { get; set; }
... |
using DotJEM.Json.Validation.Context;
using DotJEM.Json.Validation.Descriptive;
using Newtonsoft.Json.Linq;
namespace DotJEM.Json.Validation.Constraints.Common
{
[JsonConstraintDescription("null or empty")]
public class NullOrEmptyConstraint : JsonConstraint
{
public override bool Matches(JToken to... |
using System;
using System.Linq;
using System.Linq.Expressions;
using GrobExp.Compiler;
using NUnit.Framework;
namespace Mutators.Tests
{
[Parallelizable(ParallelScope.All)]
public class ExpressionHashCalculatorTest : TestBase
{
[Test]
public void Test1()
{
Expression<... |
@{
var contentPickerField = (Orchard.ContentPicker.Fields.ContentPickerField)Model.ContentField;
string text = "";
if(contentPickerField.ContentItems.Count() > 0) {
Orchard.ContentManagement.ContentItem item = contentPickerField.ContentItems.FirstOrDefault();
dynamic titlePart = item.Parts.... |
using System.IO;
using Aperture;
using Captain.Common;
using SharpDX.WIC;
using static Captain.Application.Application;
namespace Captain.Application {
/// <inheritdoc />
/// <summary>
/// Implements a WIC-enabled PNG image codec
/// </summary>
[Aperture.DisplayName("PNG")]
[MediaType("image... |
using System;
using System.Linq.Expressions;
namespace DevZest
{
internal static partial class ObjectExtensions
{
internal static Action<T> GetPropertyOrFieldSetter<T>(this object obj, string propertyName)
{
var constantExpression = Expression.Constant(obj);
ParameterE... |
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace Meziantou.GitLab
{
public interface IAuthenticator
{
Task AuthenticateAsync(HttpRequestMessage message, CancellationToken cancellationToken);
}
}
|
#region License
// Distributed under the MIT License
// ============================================================
// Copyright (c) 2016 Hotcakes Commerce, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and associated documentation files (the "Software")... |
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using NSeed;
using SmokeTests.ServiceConfiguration;
namespace SmokeTests.Seeds
{
class SeedingSetup : ISeedingSetup
{
public IConfiguration BuildConfiguration(string[] commandLineArguments)
{
... |
using Skahal.Common;
namespace Buildron.Domain.Mods
{
/// <summary>
/// The kind of preference that a mod can expose to an user.
/// </summary>
public enum PreferenceKind
{
/// <summary>
/// String value.
/// </summary>
String,
/// <summary>
/// Integer value.
/// </summary>
In... |
using System;
using LimitedLiability.Content;
using LimitedLiability.Descriptors;
using System.Collections.Generic;
namespace LimitedLiability.UserInterface
{
public class PurchasableItemPlacedEventArgs : EventArgs
{
public IPurchasable PurchasableItem { get; private set; }
public IReadOnlyList<MapCell> HoveredM... |
using System;
using System.Collections.Generic;
using System.Linq;
public class GreedyTimes
{
private static readonly Dictionary<string, decimal> goldBag = new Dictionary<string, decimal>();
private static readonly Dictionary<string, decimal> gemBag = new Dictionary<string, decimal>();
private static read... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Gun : MonoBehaviour
{
public GameObject bullet = null; // 발사할 총알 오브젝트
public Transform shotTransform = null; // 총알이 발사될 위치
public float interval = 1.0f; // 총알을 발사하는 간격(방아쇠를 당기는 간격)
public int ... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Ditch.EOS.Contracts.Eosio.Actions;
using Ditch.EOS.Contracts.Eosio.Structs;
using Ditch.EOS.Models;
using Ditch.EOS.Tests.Apis;
using NUnit.Framework;
namespace Ditch.EOS.Tests.Examples
{
[TestFixture]
public class HowToRunCommandsFromContr... |
@{
var message = "Hello, World!";
}
@message |
namespace FireDaemon.Api
{
using System.IO;
using System.Net;
using Newtonsoft.Json;
public class FireDaemonApiClient
{
public FireDaemonApiClient(string url)
{
if (!url.EndsWith("/"))
{
url += "/";
}
BaseUrl = url;
... |
using System;
using System.Collections.Generic;
using NZap.Entities;
namespace Securitytesting.Helpers
{
public static class AlertHelper
{
public static void PrintAlertsToConsole(ICollection<IAlertResult> alerts)
{
foreach (var alert in alerts)
{
Console... |
// Copyright (c) Nicola Biancolini, 2019. All rights reserved.
// Licensed under the MIT license. See the LICENSE file in the project root for full license information.
using System;
using Cake.Board.Testing;
using Cake.Testing;
namespace Cake.Board.AzureBoards.Tests.Fixtures
{
public class WorkItemCommandFixtur... |
////////////////////////////////////////////////////////////////////////////////
//
// Microsoft Research Singularity
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// File: MetaDataParser.cs
//
// TODO: fix comments in this file
//
// Note: This is a best-approximation of statically deter... |
using System.Linq;
using System.Web.Http;
using XamarinCRM.Models;
namespace XamarinCRMv2DataService.Controllers
{
/// <summary>
/// Products API.
/// </summary>
public class ProductController : BaseController<Product>
{
// GET tables/Product
public IQueryable<Product> GetAllProduc... |
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
namespace day07
{
class Program
{
static void Main(string[] args)
{
var lines = File.ReadAllLines("data.txt");
part1(lines);
part2(lines);
}
static void part1... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Twitter.Models.UserModels;
namespace Twitter.Models.GroupModels
{
public class Reply
{
[Key]
public int Id { get; set; }
public int TweetId { get; set; }
[Fore... |
using System;
using GTA_RP.Items;
namespace GTA_RP.Misc
{
/// <summary>
/// Class that represents loot from loot table
/// </summary>
public class Loot
{
public int chance, itemId; // chance is a number from 1 to 1000 which is the drop chance, -1 always drop
public Loot(int itemId,... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DeusClientCore.Packets
{
public abstract class PacketAnswer : Packet
{
public bool IsSuccess { get; set; }
public PacketAnswer(EPacketType type) : base(typ... |
using Landis.Species;
using Wisc.Flel.GeospatialModeling.Landscapes.DualScale;
namespace Landis.Succession
{
/// <summary>
/// Default implementations of some of the reproduction delegates.
/// </summary>
public static class ReproductionDefaults
{
/// <summary>
/// The default metho... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using SoulsFormats;
// Infomation to link a Unity Map to a DS3 MSB for exporting purposes
public class MSBAssetLink : MonoBehaviour
{
public string Interroot;
public string MapID;
public string MapPath;
}
|
using System;
using Metal;
namespace Magnesium.Metal
{
public class AmtBlitCopyBufferToImageRegionRecord
{
public nuint BufferImageAllocationSize { get; internal set; }
public nuint BaseArrayLayer { get; internal set; }
public uint ImageLayerCount { get; internal set; }
public MTLOrigin ImageOffset { get;... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RunScript : MonoBehaviour {
public void Run (Rigidbody2D rigidBody, float Speed)
{
print("Run!!!");
rigidBody.velocity = new Vector2(Speed, rigidBody.velocity.y);
}
}
|
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using NetworthDomain.Enums;
namespace NetworthInfrastructure.Persistence.Configuration
{
public class AccountTypesConfiguration : IEntityTypeConfiguration<AccountType>
{
public void Configure(EntityTypeBuilder<... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.FxCopAnalyzers.Design;
namespace Microsof... |
//<Snippet5>
// Example of the decimal.ToSingle and decimal.ToDouble methods.
using System;
class DecimalToSgl_DblDemo
{
static string formatter = "{0,30}{1,17}{2,23}";
// Convert the decimal argument; no exceptions are thrown.
public static void DecimalToSgl_Dbl( decimal argument )
{
object S... |
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace GaitoBotEditor
{
public class EULA : Form
{
private bool _bestaetigt;
private bool _darfSchliessen;
private IContainer components = null;
private WebBrowser webBrowserEULA;
private Button buttonDrucke... |
namespace SecondMonitor.F12019Connector.Datamodel
{
using System;
using System.Runtime.InteropServices;
[Serializable]
[StructLayout(LayoutKind.Sequential, Pack = 1)]
internal struct PacketMotionData
{
public PacketHeader MHeader; // Header
[Marshal... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
using System;
using UnityEngine.Events;
public class StatuesController : MonoBehaviour
{
[SerializeField] private UnityEvent GimmickClearEvent = new UnityEvent();
[SerializeField] private int[] answer;
priva... |
// Copyright (c) SimpleIdServer. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using Microsoft.Extensions.DependencyInjection;
using SimpleIdServer.OAuth;
using SimpleIdServer.Uma.Domains;
using SimpleIdServer.Uma.Persistence;
using Sim... |
using System.Collections.Generic;
using System.Web.Http;
using TvTube.Search.Models;
using TvTube.Search.Repositories;
using TvTube.Search.Services;
namespace TvTube.Search.Controllers {
public class TvTubeSearchController : ApiController {
[HttpGet]
[HttpHead]
public string Ping() {
... |
using UnityEngine;
using UnityEngine.UI;
using Debug = UnityEngine.Debug;
[RequireComponent(typeof(Slider))]
public class StatSliderDisplay : MonoBehaviour
{
private Slider m_slider;
private Text m_statText;
private bool m_hasText;
[SerializeField] private string statName = "Stat";
[SerializeFiel... |
using System.Threading.Tasks;
using HReader.Core.Storage;
using Nito.AsyncEx;
namespace HReader.Utility
{
internal class MetadataRepositoryFactory
{
public MetadataRepositoryFactory(MetadataRepository repository)
{
data = new AsyncLazy<IMetadataRepository>(async () =>
{... |
using CDL.Tests.Configuration;
using Common;
using EdgeRegistry;
using Microsoft.Extensions.Options;
using System.Collections.Generic;
using System.Threading.Tasks;
using static EdgeRegistry.EdgeRegistry;
namespace CDL.Tests.Services
{
public class EdgeRegistryService
{
private EdgeRegistr... |
using System;
namespace ReMi.BusinessEntities.ReleasePlan
{
public class ReleaseTaskAttachmentView
{
public Guid ExternalId { get; set; }
public string Name { get; set; }
public string ServerName { get; set; }
public string Type { get; set; }
public int Size { get; s... |
using Orleans;
using System;
using WPFDemoCore.Enums;
using WPFDemoCore.Message;
namespace WPFDemoCore.Interfaces
{
/// <summary>
/// Use this interface to FetchService, don't dependency Orleans.IGrainFacotry
/// </summary>
public interface IServiceManager
{
T FetchFunction<T>(Guid key, st... |
using System;
using System.Collections.Generic;
namespace Dx29.Data
{
public partial class Gene
{
public Gene()
{
Diseases = new List<Association>();
Symptoms = new List<Association>();
}
public Gene(string id, string name) : this()
{
... |
// 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;
namespace Microsoft.Dnx.Testing.Framework
{
internal static class TestLogger
{
public static void TraceError(string mess... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using Caterative.Brick.Balls;
namespace Caterative.Brick.TheShieldBoss
{
public class ShieldMinionC : MonoBehaviour
{
Shield shield;
ShieldBossFigure figure;
public int health = 2;
pub... |
namespace Osklib
{
internal sealed class UnsupportedOsOnScreenKeyboardController
: OnScreenKeyboardController
{
public override bool Close()
{
return false;
}
public override bool IsOpened()
{
return false;
}
public override void Show()
{
}
}
}
|
namespace XIVLauncher.Common
{
public enum ClientLanguage
{
Japanese,
English,
German,
French
}
public static class ClientLanguageExtensions
{
public static string GetLangCode(this ClientLanguage language)
{
switch (language)
... |
using UnityEditor;
using UnityEngine;
using GameplayIngredients.Editor;
static class SamplePlayFromHere
{
[InitializeOnLoadMethod]
static void SetupPlayFromHere()
{
PlayFromHere.OnPlayFromHere += PlayFromHere_OnPlayFromHere;
}
private static void PlayFromHere_OnPlayFromHere(Vector3 positio... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UIEnginePlayerButton : MonoBehaviour
{
bool active;
public bool IsActivated { get => active; set => Activate(value); }
[SerializeField] int player; //white = 0, black = 1
[SerializeField] ... |
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
using FairyGUI;
namespace UI.Story.QuizGame
{
public class QuizGameBinder
{
[UnityEngine.RuntimeInitializeOnLoadMethod(UnityEngine.RuntimeInitializeLoadType.BeforeSceneLoad)]
public static void BindAll()
... |
using AutoMapper;
using project.application.Common.Interfaces;
using project.domain.Notifications;
namespace project.application.Common.Models
{
/// <summary>
/// Classe abstrata para padronização dos resultados dos Commands Response
/// </summary>
public abstract class CommandHandler : IHttpCommandRe... |
using webModels = VirtoCommerce.Content.Web.Models;
using coreModels = VirtoCommerce.Content.Data.Models;
using Omu.ValueInjecter;
namespace VirtoCommerce.Content.Web.Converters
{
public static class MenuLinkConverter
{
public static coreModels.MenuLink ToCoreModel(this webModels.MenuLink link)
{
va... |
namespace RollTheCredits.Common
{
public enum PlatformTypes
{
Large,
Small,
YouWin,
Top,
Middle
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Senparc.Weixin.QY.Entities
{
public class MpNewsArticle
{
public string Title { get; set; }
public string ThumbMediaId { get; set; }
public string Author { get; set; }
public string ... |
using System;
namespace AudioSharp
{
/// <summary>
/// A device for streaming audio to. Creates <see cref="AudioSharp.IStreamingAudio"/> instances.
/// </summary>
public interface IAudioDevice : IDisposable
{
/// <summary>
/// Creates an IStreamingAudio to stream audio to
/// </summary>
/// <returns>A us... |
namespace System.Diagnostics.Contracts
{
[Bridge.Enum(Bridge.Emit.Name)]
[Bridge.External]
public enum ContractFailureKind
{
Precondition,
Postcondition,
PostconditionOnException,
Invariant,
Assert,
Assume,
}
} |
#pragma warning disable CS1591 // Fehledes XML-Kommentar für öffentlich sichtbaren Typ oder Element
namespace CenterDevice.Model.Groups
{
public enum GroupsFilter
{
AllVisibleGroupsForCurrentUser = 0,
MembershipsOfCurrentUser = 1
}
}
#pragma warning restore CS1591 // Fehledes XML-Kommentar... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectExpire : MonoBehaviour
{
public float secondsBeforeRemoval = 5;
void Start()
{
// Removes this object from the game
Destroy(gameObject, secondsBeforeRemoval);
}
}
|
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#nullable enable
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text.Json;
using System.Text.Json.Serialization;
using NumSharp;
namespace Microsoft.Quantum.Experimental
{
public cla... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NRoles.Engine.Test.Support {
public interface IEquality {
bool Equals(IEquality other);
bool Differs(IEquality other);
}
[RoleTest(
OtherRoles = new Type[] { typeof(Magnitude) },
Composi... |
using System;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Support.UI;
namespace WebAddressbookTests
{
[TestFixture]
public class AAAAAAAAAA
{/*
[Test]
pu... |
using UnityEngine;
using System.Collections;
#if UNITY_EDITOR
using UnityEditor;
#endif
[ExecuteInEditMode]
public abstract class OnlineTexture : MonoBehaviour {
public bool textureLoaded = false;
protected WWW request_;
public void Start()
{
// When in edit mode, start downloading a texture preview.
if (!A... |
namespace Tomataboard.Services.Photos
{
public class Photo
{
public string Service { get; set; }
public string Name { get; set; }
public string AuthorName { get; set; }
public string PhotoPage { get; set; }
public string Url { get; set; }
}
} |
namespace IPSI.Services.Models.ViewModels.Company
{
using IPSI.Data.Models;
using IPSI.Services.Mapping;
public class CompanyViewModel : IMapFrom<Company>
{
public int Id { get; set; }
public string Name { get; set; }
public string Logo { get; set; }
public string Br... |
using System;
using System.Windows;
using NUnit.Framework;
using StoryTeller.Domain;
using StoryTeller.Testing.UserInterface.Exploring;
using StoryTeller.UserInterface;
using StoryTeller.UserInterface.Commands;
using StoryTeller.UserInterface.Dialogs;
using StoryTeller.UserInterface.Eventing;
using StoryTeller... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Base class for all interactable item that implements interface InteractableInterface
/// </summary>
public class BasicItem : MonoBehaviour,InteractableInterface {
// Use this for initialization
void Start ()... |
using System;
using System.Collections.Generic;
using System.Text;
using WFE.Models;
using System.IO;
using System.Reflection;
namespace WFE.Lib
{
public class TemplateReader
{
private static readonly string _templateDirectory;
private static readonly string _defaultTemplateDirecto... |
using System.IO;
using FileParty.Core.Interfaces;
namespace FileParty.Core.Models
{
/// <summary>
///
/// </summary>
/// <typeparam name="TFilePartyModule"></typeparam>
public abstract class StorageProviderConfiguration<TFilePartyModule> : IStorageProviderConfiguration
where TFilePartyMod... |
#region Using Statements
using System;
using WaveEngine.Common.Math;
using WaveEngine.Components.Gestures;
using WaveEngine.Components.Graphics2D;
using WaveEngine.Framework;
using WaveEngine.Framework.Graphics;
using WaveEngine.Framework.Physics2D;
using WaveEngine.Framework.Services;
#endregion
namespace TiledMapPr... |
using Microsoft.Azure.KeyVault.WebKey;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using SigningPortalDemo.AuthApi;
using System;
using System.Globalization;
using System.IO;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Runtime.Serialization.Json;
using System.Text;
namespace Sig... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ShopifySharp.Filters;
using Xunit;
namespace ShopifySharp.Tests
{
[Trait("Category", "GiftCard")]
public class GiftCard_Tests : IClassFixture<GiftCard_Tests_Fixture>
{
public static decimal GiftC... |
using Examine;
using Our.Umbraco.FullTextSearch.Interfaces;
using Our.Umbraco.FullTextSearch.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;
using Umbraco.Core.Logging;
using Umbraco.Core.Services;
using Umbraco.Examine;... |
using Products.Domain.Core;
namespace Products.Domain.Service
{
public interface IJwtGenerator
{
string CreateToken(AppUser user);
}
}
|
using System;
using Higliter2nd.Internals;
using Higliter2nd.Overlay;
using Overlay.NET.Common;
namespace Higliter2nd
{
public static class Program
{
[STAThread]
public static void Main(string[] args)
{
Log.Register("Console", new ConsoleLog());
Log.Debug("Start... |
using System.Collections.Generic;
using FineCodeCoverage.Engine.Model;
namespace FineCodeCoverage.Engine
{
internal interface ICoverageToolOutputManager
{
void SetProjectCoverageOutputFolder(List<ICoverageProject> coverageProjects);
void OutputReports(string unifiedHtml, string processedReport... |
using System;
using System.Linq;
using System.Threading.Tasks;
using TellagoStudios.Hermes.Business.Data.Queries;
using TellagoStudios.Hermes.Business.Events;
using TellagoStudios.Hermes.Business.Model;
namespace TellagoStudios.Hermes.RestService.Pushing
{
public class NewMessagePusher : IEventHandler<Ne... |
using System;
interface IOperable
{
string Operate();
}
class Inoperable
{
}
class Operable : IOperable
{
public string Operate()
{
return "Delegate implementation.";
}
}
class Delegator : IOperable
{
object Delegate;
public string Operate()
{
var operable = Delegate as ... |
namespace InventorShaftGenerator.Models
{
public class ReliefDimensions
{
public float MinInclusive { get; set; }
public float MaxInclusive { get; set; }
public float Width { get; set; }
public float Width1 { get; set; }
public float Width2 { get; set; }
public f... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DevZest.Data
{
[TestClass]
public class ColumnsTests
{
[TestMethod]
public void Columns_New()
{
{
var column1 = new _Int32();
Assert.AreEqual(column1, Columns.New(column1));
... |
using System;
using System.Threading;
namespace MyDAL.Test.Common
{
internal class SyncState
: ClassInstance<SyncState>
{
//
public SyncState()
{
var seedStr = DateTime.Now.Ticks.ToString();
var seed = seedStr.Substring(seedStr.Length - 9, 9);
... |
using System.Collections.Generic;
namespace Journey.Domain.Entities
{
public class JourneyList
{
public JourneyList()
{
Trips = new List<JourneySelection>();
}
public IList<JourneySelection> Trips { get; set; }
public int Id { get; set; }
public stri... |
using System;
using Microsoft.Xna.Framework;
namespace WeaponWizard
{
public class Timer
{
public Guid ID { get; set; }
public GameTime StartTime { get; set; }
public TimeSpan Time { get; set; }
public bool DestroyAtEnd { get; set; }
public Action Callback { get; set; }
public Timer ()
{
}
}
}... |
using System;
using System.Collections.Generic;
namespace Design_Patterns_in_CSharp.Observer
{
public abstract class Observer
{
public virtual void Notify() => Console.Error.WriteLine("Abstract Method!");
}
public class Subject
{
private LinkedList<Observer> observers = new Linked... |
/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... |
using System;
using System.Data;
using System.Data.SqlClient;
using System.Web;
using Appleseed.Configuration;
using Appleseed.Settings;
namespace Appleseed.DesktopModules
{
/// <summary>
/// Database access code for the Monitoring Module
/// Written by Paul Yarrow, paul@paulyarrow.com
/// </summary>
public clas... |
using FluentValidation;
namespace Application.Groups.Command.ChangeGroupName
{
public class ChangeGroupNameCommandValidator : AbstractValidator<ChangeGroupNameCommand>
{
public ChangeGroupNameCommandValidator()
{
// group name
RuleFor(x => x.Name)
.NotEmp... |
namespace SharpPad.InformationStuff
{
public enum InfoTypes
{
Information, Status, Warning, Error,
FileIO, FileExplorerError
}
}
|
using Spine.Unity;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NpcAnimator : CharacterAnimator
{
//public SkeletonAnimation body;
//public PlayerSkeletons bodyData;
//Can be replaced with skin lenght if I figure out how.
private int minSkinId = 1;
p... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using DG.Tweening;
using Type = GamePlay.Client.View.PlayerEffectManager.Type;
using Mahjong.Logic;
namespace GamePlay.Client.View.SubManagers
{
public class EffectManager : MonoBehaviour
{
public Im... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace VoiceModel.TropoModel
{
public class TAction
{
public string name { get; set; }
public int attempts { get; set; }
public string disposition { get; set; }
public int confidence { get;... |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using System;
using System.IO;
using System.Reflection;
using System.Text;
namespace JitProblem
{
class Program
{
static void Main(string[] args)
{
for (var i = 0; i < 1000; i++)
{
// Gen... |
namespace BootstrapMvc.Controls
{
using System;
using BootstrapMvc.Core;
using System.Collections.Generic;
public class SelectOptGroup : ContentElement<SelectOptGroupContent>, ISelectItem, IDisableable
{
public bool Disabled { get; set; }
public string Label { get; set; }
... |
using DataAccess.Database;
using DataAccess.Repositories;
using GUI_Interface.ViewModels;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Diagnostics;
using System.IO;
u... |
/*
Copyright 2010 Google Inc
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 to in writing, soft... |
namespace Ryujinx.HLE.HOS.Services.Sdb.Pl.Types
{
public enum SharedFontType
{
JapanUsEurope = 0,
SimplifiedChinese = 1,
SimplifiedChineseEx = 2,
TraditionalChinese = 3,
Korean = 4,
NintendoEx = 5,
Count
}
} |
namespace EnergyManagementScheduler.WebJob.Contracts
{
public class Results
{
public Output1 Output1 { get; set; }
}
} |
using System.Threading.Tasks;
namespace RoslynPad.UI
{
public interface IDialog
{
Task ShowAsync();
void Close();
}
} |
using JitEvolution.Core.Models.Queue;
using JitEvolution.Core.Repositories.Queue;
using Microsoft.EntityFrameworkCore;
namespace JitEvolution.Data.Repositories.Queue
{
internal class QueueItemRepository : BaseCrudRepository<QueueItem>, IQueueItemRepository
{
public QueueItemRepository(JitEvolutionDbCo... |
using System;
using UnityEngine;
using UnityEngine.Tilemaps;
[Serializable]
public class Painter
{
public TileBase tile;
private const int wallTile = 1;
public void DrawRectangleRoom(Vector2Int startPosition, Vector2Int endPosition, Tilemap tilemap)
{
if (tile != null)
{
f... |
using FlatRedBall.Glue.Errors;
using FlatRedBall.Glue.SaveClasses;
using System.Security.Cryptography;
namespace FlatRedBall.Glue.Plugins.ExportedInterfaces.CommandInterfaces
{
public interface IRefreshCommands
{
/// <summary>
/// Refreshes everything for the selected TreeNode
/// </su... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.