content stringlengths 23 1.05M |
|---|
using System;
using Xamarin.Essentials;
using Xamarin.Forms;
namespace XamThemes
{
public partial class App : Application
{
public App()
{
InitializeComponent();
var theme = Preferences.Get("OSAppTheme", Enum.GetName(typeof(OSAppTheme), OSAppTheme.Unspecified));
App.Curre... |
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Ahk.Grader.Trx.Tests
{
[TestClass]
public class TrxReaderTests
{
[TestMethod]
public async Task GradeSample1Trx()
{
var reader = new Tr... |
using Smod2;
using Smod2.Commands;
namespace Overwatch
{
class Overwatch_Version : ICommandHandler
{
private Plugin plugin;
public Overwatch_Version(Plugin plugin)
{
this.plugin = plugin;
}
public string GetCommandDescription()
{
return "Version for this plugin.";
}
public string GetUsage()... |
using System.ComponentModel;
using System.Runtime.InteropServices;
namespace DCSoft.Writer.Controls
{
/// <summary>StatusTextChangedEventArgs 的COM接口</summary>
[Browsable(false)]
[Guid("AEF26CE0-0989-4320-A3F0-4FD86FBB179B")]
[EditorBrowsable(EditorBrowsableState.Never)]
[InterfaceType(ComInterfaceType.InterfaceIs... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Zenject;
namespace TinyGameCollections
{
/// <summary>
/// プレゼンタークラスのジェネリック用ベースクラスです
/// </summary>
/// <typeparam name="TView"></typeparam>
/// <typeparam name="TModel"></typeparam>
public abstract class GenericPresenterBase<T... |
using System;
namespace MyCQRS.QueryServices.DTOs
{
public class PostQueryEntity
{
public Guid PostId { get; set; }
/// <summary>
/// 标题
/// </summary>
// ReSharper disable once BuiltInTypeReferenceStyle
public String Title { get; set; }
/// <summary>
... |
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using AddonCraft.Application;
using AddonCraft.Infrastructure;
using AddonCraft.Infrastructure.Persistence;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace Addo... |
using AspNetScaffolding.Extensions.Cors;
using AspNetScaffolding.Extensions.JsonSerializer;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using PackUtils;
using System.IO;
using System.Linq;
using WebApi.Models.Exceptions;
using WebApi.Models.Response;
n... |
using System;
using Moq;
using Xunit;
using TimeTortoise.DAL;
using TimeTortoise.TestHelper;
using TimeTortoise.Model;
namespace TimeTortoise.ViewModel.Tests.ExceptionTests
{
/// <summary>
/// This class contains unit tests that verify that exceptions are thrown when required.
/// The Microsoft code coverage sys... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum TransitionType {FROM_THIS_TASK, TO_THIS_TASK}
public class Transition : MonoBehaviour {
public TransitionType TypeOfTransition;
[HideInInspector]
public AITaskManager MasterAI;
[HideInInspector]
public Goal Parent... |
using System;
using System.ComponentModel;
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
using System.Text.Json.Serialization;
using Stl.Time.Internal;
namespace Stl.Time
{
[DataContract]
[JsonConverter(typeof(MomentJsonConverter))]
[Newtonsoft.Json.... |
namespace Allors.Domain
{
using Allors.Meta;
public partial class Users
{
protected override void CustomPrepare(Setup config)
{
base.CustomPrepare(config);
config.AddDependency(this.ObjectType, M.Locale.ObjectType);
config.AddDependency(this.ObjectType,... |
using System.IO;
using Azure.Storage.Blobs;
using Microsoft.Extensions.Configuration;
using Azure.Storage.Blobs.Models;
using System.Text;
namespace Kodekit.Features;
public class UploadService
{
private readonly string connectionString = "";
private readonly string containerName = "kits";
private readon... |
using Hainz.InterfaceCommands.TypeReaders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Hainz.InterfaceCommands
{
public class HandlerInvoker
{
public InvokeHandler Invoker { get; private set; }
... |
@using Microsoft.AspNetCore.Identity
@using HardwareShop.Areas.Identity
@using HardwareShop.Data
@namespace HardwareShop.Areas.Identity.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Subdiv
{
public class Vertex
{
public Vector3 p;
public List<Edge> edges;
public List<Triangle> triangles;
public Vertex updated;
// reference index to original vertex
pub... |
using System.Collections.Generic;
namespace DocaLabs.HybridPortBridge.ClientAgent.Config
{
public sealed class PortMappingOptions
{
public string EntityPath { get; set; }
public int RemoteConfigurationKey { get; set; }
public string BindToAddress { get; set; }
public List<strin... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "ScriptableCookbook/Actions/TriggerAnimation")]
public class TriggerAnimationAction : ScriptableAction
{
public string triggerName = "StartFall";
public override void PerformAction(GameObject obj)
... |
namespace WarpDeck.Domain.Property.Descriptors
{
public class PropertyDescriptor
{
public string Key { get; set; }
public PropertyType Type { get; set; }
public string FriendlyName { get; set; }
public string Description { get; set; }
public string Default { get; set; }... |
using System;
using Community.VisualStudio.Toolkit;
using EnvDTE;
using Microsoft.VisualStudio.Shell;
using Task = System.Threading.Tasks.Task;
namespace InsertGuid
{
[Command(PackageIds.MyCommand)]
internal sealed class MyCommand : BaseCommand<MyCommand>
{
protected override async Task ExecuteAsy... |
using System;
using NUnit.Framework;
namespace ServiceStack.Redis.Tests.Issues
{
public class RedisCharacterizationTests
{
private IRedisClientsManager _db1ClientManager;
private IRedisClientsManager _db2ClientManager;
[SetUp]
public void SetUp()
{
foreach ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace YouRate
{
public partial class NewVideo : System.Web.UI.Page
{
ServiceReference1.Service1Client service1Client;
protected void Page_Load(object ... |
using Furion.Extras.Admin.NET;
using System;
using System.ComponentModel.DataAnnotations;
namespace Admin.NET.Application
{
/// <summary>
/// 项目信息输入参数
/// </summary>
public class ProjectInput : PageInputBase
{
/// <summary>
/// 负责人
/// </summary>
public virtual stri... |
using System;
using System.Collections;
using System.Collections.Generic;
namespace Opal.Productions
{
public interface ITerminals: IEnumerable<TerminalBase>
{
TerminalBase this[int index] { get; }
int Length { get; }
IReduction Reduction(ReduceContext context);
IReduceExpr ... |
namespace NServiceBus.AcceptanceTests.Configuration
{
using EndpointTemplates;
using AcceptanceTesting;
using NUnit.Framework;
using Settings;
public class When__startup_is_complete : NServiceBusAcceptanceTest
{
[Test]
public void Configure_and_setting_should_be_avail... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Polly;
using Resilience;
namespace User.Identity.Infrastructure
{
public class ResilienceClientFactory
{
... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.IO;
using System.Text;
namespace Microsoft.Coyote.IO
{
/// <summary>
/// Logger that writes text to the console.
/// </summary>
/// <remarks>
/// See <see href="/coyote/concepts/actors/logging" >... |
using System;
using System.Collections.Generic;
namespace URF.Core.EF.Tests.Models
{
internal class MyProductComparer : IEqualityComparer<MyProduct>
{
public bool Equals(MyProduct x, MyProduct y)
=> x.Id == y.Id && (string.Compare(x.Name, y.Name, StringComparison.InvariantCulture) == 0) &&... |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace TheGameApp.Tests
{
[TestFixture]
[Category("Unit")]
public class CardDeckTests
{
private readonly Random random = new();
[Test]
[Retry(3)]
public void DrawCard_CardsAreD... |
using System;
namespace HuePat.IMPoseNorm.Eval {
static class Random {
private static readonly object LOCK = new object();
[ThreadStatic]
private static System.Random generator;
private static System.Random globalGenerator = new System.Random(DateTime.Now.Millisecond);
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cozy.LearnCSharp.F
{
// 定义重载的类
class OperatorClass
{
public int value;
// 用int构造
public OperatorClass(int n)
{
this.value = n;
... |
using System;
using System.Collections.Generic;
namespace ConnectFour.Core
{
public class Diagonal : BoardLine
{
public readonly int ColumnIndex;
public readonly int RowIndex;
public readonly DiagonalDirection Direction;
public Diagonal(int columnIndex,
... |
namespace Bearded.Utilities.Input.Actions
{
abstract class DigitalAction : IAction
{
public abstract bool Hit { get; }
public abstract bool Active { get; }
public abstract bool Released { get; }
public bool IsAnalog => false;
public float AnalogAmount => Active ? 1 : 0;
... |
using Database.Models.Security.Authorization;
using System;
namespace Database.Models.Logs
{
class HistoryError
{
public int Id { get; set; }
public DateTime DateTimeUtc { get; set; }
public string UserId { get; set; }
public string DynamicLibraryName { get; set; }
pu... |
using CompanySales.Repository.Common;
using CompanySales.Repository.Models;
using CompanySales.Repository.Parameter;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CompanySales.Repository.DAO
{
public class ProductDAO
{
public static List<Product> GetLi... |
using NRepository.Attributes;
namespace NRepository.Abstractions
{
/// <summary>
/// Interface creating row in container.
/// </summary>
/// <typeparam name="TModel">Model repository</typeparam>
/// <typeparam name="TKey">Key repository</typeparam>
[RepositoryContract("IsCreate")]
... |
namespace LogJoint.PacketAnalysis.UI.Presenters.NewLogSourceDialog.Pages.WiresharkPage
{
public interface IView
{
object PageView { get; }
string PcapFileNameValue { get; set; }
string KeyFileNameValue { get; set; }
void SetError(string errorOrNull);
};
}; |
using Microsoft.Graph;
using System;
using System.Collections.Generic;
namespace Graph.Community
{
class SiteScriptCollectionRequestBuilder : BaseRequestBuilder, ISiteScriptCollectionRequestBuilder
{
private readonly IEnumerable<Option> options;
public SiteScriptCollectionRequestBuilder(
string re... |
using GrandTheftMultiplayer.Server.API;
using GrandTheftMultiplayer.Server;
using GrandTheftMultiplayer.Server.Elements;
using GrandTheftMultiplayer.Shared;
using GrandTheftMultiplayer.Server.Constant;
using GrandTheftMultiplayer.Shared.Math;
using GrandTheftMultiplayer.Server.Managers;
namespace Roleplay.GlobalVars
... |
namespace OnlineSpreadsheet.Web.Application.Controllers
{
using System;
using System.Configuration;
using System.IO;
using System.Web.Mvc;
using OnlineSpreadsheet.Data.Services.Contracts;
[Authorize]
public class DownloadController : BaseController
{
private readonly IProjectFi... |
namespace Krafteq.ElsterModel
{
using System;
public class TaxTimestamp
{
public TaxYear Year { get; }
public TaxTimePeriod TimePeriod { get; }
public TaxTimestamp(TaxYear year, TaxTimePeriod timePeriod)
{
this.Year = year ?? throw new ArgumentNullException(name... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Waher.Networking.HTTP;
namespace Daddoon.Blazor.Xam.Interop
{
public class StdWebResponse : IWebResponse
{
private HttpRequest _request = null;
private HttpResponse _response = null;
public StdWe... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Nito.Guids
{
/// <summary>
/// Namespaces defined by RFC-4122.
/// </summary>
public static class GuidNamespaces
{
/// <summary>
/// For names that are fully-qualified domain names.
/// </summary>
... |
using DotJEM.Diagnostic.Model;
namespace DotJEM.Diagnostic.Writers
{
public interface ITraceEventFormatter
{
string Format(TraceEvent evt);
}
public class DefaultTraceEventFormatter : ITraceEventFormatter
{
public string Format(TraceEvent evt) => evt.ToString();
}
} |
using UnityEngine;
using System.Collections;
public class botonComprar : MonoBehaviour {
public int id;
public string tipo;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
public void actualizarCostoArma( int _id){
id = _id;
/*if (id < 10) {
... |
namespace NServiceBus.Core.Tests.AssemblyScanner
{
using System;
using Hosting.Helpers;
using NUnit.Framework;
[TestFixture]
public class AssemblyScannerTests
{
[Test]
public void System_assemblies_should_be_excluded()
{
Assert.IsTrue(AssemblyS... |
///
/// -- Code adopted from https://gist.github.com/mzaks/ec261ac853621af8503b73391ebd18f1
///
using Sparkler.Utility;
using System;
using System.Collections.Generic;
using Unity.Entities;
using UnityEditor.IMGUI.Controls;
namespace Sparkler.Editor.Components.SizeAnalysis
{
public class ComponentAnalyzerTreeView... |
using System;
using System.Collections.Generic;
using System.Text;
namespace iot.solution.entity.Response
{
public class CompanyModel
{
public Guid Guid { get; set; }
public Guid EntityGuid { get; set; }
public Guid? Parentguid { get; set; }
public Guid? AdminUserGuid { get; se... |
namespace AutoParts.Core.Implementation.Users.NotificationValidators
{
using MediatR;
using FluentValidation;
using Constants.ValidationConstants;
using Contracts.Users.Notifications;
using Contracts.Suppliers.Requests;
public class UserSignUpNotificationValidator : AbstractValidator<UserS... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace IFSSharedObjects.IO
{
public class IFSReader
{
private String _path;
public IFSReader(String path)
{
_path = path;
}
public void ReadTo(Models.IFS ifs)
{
String currentLine;
char[... |
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace OmniSharp.Extensions.LanguageServer.Protocol.Models
{
public class TextDocumentItem : TextDocumentIdentifier
{
/// <summary>
/// The text document's language identifier.
/// </summary>
public string LanguageI... |
using AdventOfCode.Exec;
namespace AdventOfCode.Tests
{
public class ProgramTests
{
[Fact]
public void Main_DoesNotThrow()
{
var main = () => Program.Main(Array.Empty<string>());
main.Should().NotThrow();
}
}
}
|
using Qkmaxware.Units;
namespace Qkmaxware.Units.MagneticFlux {
public interface IMagneticFlux : IUnit {}
} |
using System;
namespace u2vis
{
/// <summary>
/// Interface that represents a DataProvider which all data providers need to implement.
/// </summary>
public interface IDataProvider
{
/// <summary>
/// gets the DataSet this DataProvider provides.
/// </summary>
... |
using System;
using Google.Protobuf;
using HBaseNet.Utility;
using Pb;
namespace HBaseNet.HRpc
{
public class GetProcedureStateCall : BaseCall
{
public override string Name => "getProcedureResult";
public ulong ProcId { get; }
public GetProcedureStateCall(ulong procId)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
namespace Brainary.Commons.Web.Annotations
{
using System;
public class RequireAuthenticationAttribute : Attribute
{
public readonly bool RequireAuthentication = false;
public RequireAuthenticationAttribute(bool value)
{
RequireAuthentication = value;
}
}
}... |
using UnityEngine;
namespace Vrsys
{
public class ViewingSetupAnatomy : MonoBehaviour
{
public GameObject childAttachmentRoot;
public GameObject mainCamera;
private void Awake()
{
ParseComponents();
}
protected virtual void ParseComponents()
... |
using System.Collections;
using System.IO;
using System.Collections.Generic;
using UnityEngine;
using SimpleJSON;
//UtilScript uses a collection of static functions
//to make programming more convinent in Unity.
//You can think of it as a very basic version of a
//library, like UnityEngine or System.
public class Uti... |
using GraphQL.Types;
using GraphQLTest.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GraphQLTest.GraphQl.Types
{
public class EmployeeType : ObjectGraphType<Employee>
{
public EmployeeType()
{
Name = "Employee";
... |
namespace WeatherAppApi.Models
{
public class WeatherReportAllApiCurrent
{
public ApixuCurrentReport ApixuCurrentReport { get; set; }
public SunRIseSunSetCurrentReport SunRIseSunSetCurrentReport { get; set; }
public DarkSkyCurrentReport DarkSkyCurrentReport { get; set; }
}
publ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Serialization;
namespace IPChanger
{
public class SavedInterface : InterfaceInformation
{
public string SavedInterfaceName { get; set... |
using AbstractFactory.Cars.AbstractCars;
namespace AbstractFactory.Cars.ConcreteCars
{
class MercedesSportsCar : SportsCar
{
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class VFXSpawner : MonoBehaviour
{
public GameObject vfxPrefab;
// Non-looping VFX will destroy themselves when done. The looping
// ones do not, so we track them in these dictionaries and destroy
// them when the c... |
namespace UnityForgeEditor.GameConfigs
{
public interface IGameConfigsEditor
{
string EditorToolbarText { get; }
void DrawEditorGUI();
}
}
|
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SqlSugar
{
public class JsonDeleteableProvider : IJsonDeleteableProvider<JsonDeleteResult>
{
private ISqlSugarClient context;
private JObject jObject;
private Jso... |
#region
using System;
using System.Collections.Generic;
using Sirenix.OdinInspector;
using Sirenix.Serialization;
using UnityEngine;
#endregion
public class ExampleOdinSerializedScript : SerializedMonoBehaviour
{
// Unity will not serialize. Serialized by Odin.
public Dictionary<int, string> FirstDictionary... |
using System;
using System.Collections.Generic;
using System.Linq;
using GeometricAlgebraSymbolicsLib.Cas.Mathematica.Expression;
using GeometricAlgebraSymbolicsLib.Exceptions;
using GeometricAlgebraSymbolicsLib.Multivectors;
using GeometricAlgebraSymbolicsLib.Multivectors.Intermediate;
using Wolfram.NETLink;
namespa... |
#if NET5_0
using System;
using Bunit.TestAssets.BlazorE2E;
using Bunit.TestAssets.SampleComponents;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Rendering;
using Microsoft.AspNetCore.Components.Web;
using Shouldly;
using Xunit;
namespace Bunit.Rendering.Internal
{
public partial class... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(SpriteRenderer))]
public class FadeoutObject : MonoBehaviour {
public float lifetime = 5.0f;
private SpriteRenderer sprite;
private float startTime;
private float startingAlpha;
private void ... |
using System;
using Windows.UI.Core;
namespace SystemDot
{
public class MainThreadDispatcher
{
readonly CoreDispatcher dispatcher;
public MainThreadDispatcher()
{
this.dispatcher = CoreWindow.GetForCurrentThread().Dispatcher;
}
public async void Dispatch(Ac... |
using tvn.cosine.text;
using tvn.cosine.ai.learning.framework.api;
using tvn.cosine.text.api;
namespace tvn.cosine.ai.learning.framework
{
public class NumericAttributeSpecification : IAttributeSpecification
{
// a simple attribute representing a number represented as a double .
private strin... |
using System.Collections.Generic;
using store.Src.UserModule.Entity;
using store.Src.UserModule.Interface;
using store.Src.UserModule.DTO;
namespace store.Src.UserModule
{
public class AdminService : IAdminService
{
private readonly IUserRepository userRepository;
public AdminService(IUserRepos... |
namespace SSLTerminate.ACME.AcmeModels
{
public class AcmeAuthorizationStatus
{
public const string Pending = "pending";
public const string Revoked = "revoked";
public const string Valid = "valid";
public const string Invalid = "invalid";
public const string Deactivated... |
using System;
using Xunit;
namespace EasyJwtProvider.Tests
{
public class JwtProviderOptionsTests
{
[Fact]
public void JwtProviderOptions_Null_Test()
{
Assert.Throws<ArgumentNullException>(() => new JwtProviderOptions(null, null));
}
}
}
|
namespace Meilisearch.Tests
{
using Microsoft.AspNetCore.WebUtilities;
using Xunit;
public class ObjectExtensionsTests
{
[Theory]
[InlineData("simple")]
[InlineData("com pl <->& ex")]
public void QueryStringsAreEqualsForPrimaryKey(string key)
{
string... |
namespace StockApi.Contracts
{
using System;
using System.Threading.Tasks;
using StockApi.Models;
/// <summary>
/// Provides operations on <see cref="StockItemDto" /> instances.
/// </summary>
public interface IStockService
{
/// <summary>
/// Clear all entries from database.
/// </summ... |
using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Media;
namespace Tick42.HotButtons.Utils.Converters
{
/// <summary>
/// Converts a string to a Brush
/// </summary>
public class StringToBrushConverter : MarkupExtensionSelfProviderBase, IValueConverter... |
using System;
namespace MeuMundo.Domain.Entities
{
public class Agenda
{
public int AgendaId { get; set; }
public int DiaSemanaId { get; set; }
public int TipoNotificacaoId { get; set; }
public TimeSpan Hora { get; set; }
public TimeSpan Duracao { get; set; }
pu... |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using MonoMod;
using MonoMod.Utils;
// ReSharper disable once CheckNamespace
namespace StardewValley
{
// ReSharper disable once Arran... |
using System.Collections.Generic;
using UnityEngine;
namespace Level_Systems
{
public class RandomPlatformSpawn : MonoBehaviour
{
[SerializeField] private List<PlatformSpawner> _platforms = new List<PlatformSpawner>();
[SerializeField] private SpawnableObjectData _spawnableObjects = null;
... |
using System.Threading.Tasks;
using Negum.Core.Containers;
using Negum.Core.Managers.Types;
using Xunit;
namespace Negum.Core.Tests.Managers
{
/// <summary>
/// </summary>
///
/// <author>
/// https://github.com/TheNegumProject/Negum.Core
/// </author>
public class FontManagerTests : TestB... |
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\dxcapi.h(435,9)
namespace DirectN
{
public enum DXC_OUT_KIND
{
DXC_OUT_NONE = 0,
DXC_OUT_OBJECT = 1,
DXC_OUT_ERRORS = 2,
DXC_OUT_PDB = 3,
DXC_OUT_SHADER_HASH = 4,
DXC_OUT_DISASSEMBLY = 5,... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ploeh.AutoFixture.Xunit;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.AutoMoq;
namespace Ploeh.Samples.Commerce.UpdateCurrency.ApplicationServices.UnitTest
{
public class AutoMoqDataAttribute : AutoDataAttribute
{
... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using GraphQL;
namespace BasketGraphQLAPI
{
public class StarWarsData
{
private readonly List<Human> _humans = new List<Human>();
public StarWarsData()
{
_humans.Add(new Human
{
... |
using MediatR;
using QuinntyneBrownPhotography.Data;
using QuinntyneBrownPhotography.Features.Core;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Linq;
using System.Data.Entity;
namespace QuinntyneBrownPhotography.Features.PhotoGalleries
{
public class GetPhotoByIdQuery
{
... |
using System;
using System.Linq.Expressions;
namespace PS
{
/// <summary>
/// </summary>
public static class FastActivator
{
#region Static members
public static T Create<T>() where T : new()
{
return FastActivatorImpl<T>.NewFunction();
}
#endregio... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Verse;
namespace Rimworld_Animations {
public class PawnWithHandsAndFeetKeyframe : Keyframe
{
public float? bodyAngle;
public float? headAngle;
public float? genit... |
using UnityEngine;
namespace pooledList
{
public class PoolEmptyObject : MonoBehaviour
{
public IPooledListData data { get; set; }
public Component item { get; set; }
}
}
|
using System.Net.Http;
using System.Text;
namespace Skarp.HubSpotClient.Core
{
public class JsonContent : StringContent
{
public JsonContent(string json) : this(json, Encoding.UTF8)
{
}
public JsonContent(string json, Encoding encoding) : base(json, encoding, "application/json"... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Security.Cryptography.Xml;
using System.Text;
using System.Xml;
using Xunit;
namespace CodeSnippets.Windows.Tests
{
public class XmlDsigTests
{
... |
using System;
using Autumn.Mvc.Configurations;
using Microsoft.AspNetCore.Mvc.ModelBinding;
namespace Autumn.Mvc.Models.Paginations
{
public class PageableModelBinderProvider : IModelBinderProvider
{
private readonly AutumnSettings _autumnSettings;
public PageableModelBinderProvider(AutumnSet... |
#region Copyright
// DotNetNuke® - http://www.dotnetnuke.com
// Copyright (c) 2002-2014
// by DotNetNuke Corporation
// All Rights Reserved
#endregion
#region "Usings"
using System;
using DotNetNuke.Modules.PreviewProfileManagement.Components;
using DotNetNuke.Modules.PreviewProfileManagement.ViewModels;
using DotN... |
using iDi.Blockchain.Framework.Exceptions;
using System.Collections.Generic;
using iDi.Blockchain.Framework.Protocol;
namespace iDi.Blockchain.Framework.Execution
{
public class Pipeline : IPipeline
{
private readonly List<IPipelineStage> _stages;
public Pipeline(List<IPipelineStage> stages)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Web.Mvc;
using SmartStore.Core.Domain.Catalog;
using SmartStore.Core.Domain.Common;
using SmartStore.Core.Domain.Customers;
using SmartStore.Core.Domain.Messages;
using SmartStore.Core.Domain.Seo;
using... |
using System;
namespace Sporty.ViewModel
{
public class MetricView
{
public int Id { get; set; }
public DateTime Date { get; set; }
public double? Weight { get; set; }
public int? RestingPulse { get; set; }
public double? SleepDuration { get; set; }
... |
using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Radzen.Blazor
{
/// <summary>
/// Class RadzenUpload.
/// Implements the <see cref="Radzen.RadzenComponent" />
/// </summary>
... |
namespace EPiServer.Vsf.Core.Mapping
{
public interface IMapper<TSource, TDestination> where TDestination : class
{
TDestination Map(TSource source);
}
} |
/* --------------------------------------------------------------------------
* Copyrights
*
* Portions created by or assigned to Cursive Systems, Inc. are
* Copyright (c) 2002-2008 Cursive Systems, Inc. All Rights Reserved. Contact
* information for Cursive Systems, Inc. is available at
* http://www.cursive.ne... |
using Microsoft.Data.Sqlite;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
namespace FactoryMethodConsoleOld
{
internal class Program
{
private static void Main(string[] args)
{
var client = new Client(ConfigurationManager.AppSettings... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.