content stringlengths 23 1.05M |
|---|
using System.Collections.Generic;
namespace ArticulationUtility.UseCases.Values.Json.ForArticulation
{
public class JsonRoot
{
public const string ThisFormatVersion = "0.0.1";
public string FormatVersion { get; set; } = ThisFormatVersion;
public Info Info { get; set; } = new Info();
... |
using System.IO;
using System.IO.Compression;
namespace BinaryIO.Compression
{
public class ZlibStream : DeflateStream
{
private const int mod = 65521;
private uint adler32 = 1;
public int Checksum => (int) adler32;
private uint Update(uint adler, byte[] s, int offset, int co... |
using System;
using Microsoft.AspNetCore.Mvc;
namespace MailCat.API.Results
{
public abstract class TypedResult<T>
{
}
public class FailedTypedResult<T> : TypedResult<T>
{
public FailedTypedResult(Exception e)
{
Error = e;
}
public Exception Error { ge... |
using Xunit;
namespace KDPgDriver.Tests.UnitTests.Queries
{
public class DeleteQuery
{
static DeleteQuery()
{
MyInit.Init();
}
[Fact]
public void DeleteSimple()
{
var q = Builders<MyModel>.Delete();
Utils.AssertRawQuery(q, @"DELETE FROM model");
}
[Fact]
pu... |
using System.Collections.Generic;
using DeepDiveIntoEnglishLanding.Data;
using DeepDiveIntoEnglishLanding.Interfaces;
using DeepDiveIntoEnglishLanding.Models;
using System.Linq;
namespace DeepDiveIntoEnglishLanding.Repository
{
public class GalleryRepo : IGallery
{
private readonly AppDbContext _contex... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Configuration;
using System.Diagnostics;
using System.Linq;
using System.Web;
using System.Xml;
using personal_site.ViewModels;
namespace personal_site.Services
{
public class SocialMediaService
{
... |
using Nacos.AspNetCore.V2;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddNacosAspNet(x =>
{
x.ServerAddresses = new List<string> { "http://localhost:8848/" };
x.Namespace = "cs";
// keep lowecase here will be better
x.ServiceName = "sample";
... |
using System;
using Ncqrs.Commanding.CommandExecution.Mapping.Attributes;
namespace Ncqrs.Commanding
{
/// <summary>
/// A command message. A command should contain all the information and
/// intend that is needed to execute an corresponding action.
/// </summary>
public interface IComma... |
using System.Collections.Generic;
using JetBrains.Annotations;
using RevenueCat.SimpleJSON;
public partial class Purchases
{
public class Offering
{
public readonly string Identifier;
public readonly string ServerDescription;
public readonly List<Package> AvailablePackages;
[Can... |
using System.Security.AccessControl;
using System;
namespace Domain.Models
{
public class AnoLetivo: Entity
{
public AnoLetivo():base(new Guid()) { }
public string Ano { get; set; }
public DateTime DataInicio { get; set; }
public DateTime DataFinal { get... |
using System.Web.Mvc;
using StackExchange.Opserver.Data.Redis;
using StackExchange.Opserver.Helpers;
using StackExchange.Opserver.Models;
using StackExchange.Opserver.Views.Redis;
namespace StackExchange.Opserver.Controllers
{
[OnlyAllow(Roles.Redis)]
public partial class RedisController : StatusController
... |
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Media;
#if CONTRACTS_FULL
using System.Diagnostics.Contracts;
#else
using PixelLab.Contracts;
#endif
namespace PixelLab.Wpf
{
public abstract class WrapperElement<TElement> : FrameworkElement
where TElement : U... |
namespace VetClinic.Data.Contracts
{
public interface IEmployee: IPerson
{
string PrintInfo();
}
}
|
namespace SqlDataProvider.Data
{
public class DropItem
{
public int BeginData
{
get;
set;
}
public int DropId
{
get;
set;
}
public int EndData
{
get;
set;
}
public int Id
{
get;
set;
}
public bool IsBind
{
get;
set;
}
public bool IsLogs
{
get;
... |
using System;
using ArenaLS.Model;
using ArenaLS.Utilities;
using SkiaSharp;
using ArenaLS.UI.Views.Combat.Utilities;
using ArenaLS.UI.Views.Combat.Views;
using ArenaLS.UI.Views.Combat.Renderers;
using ArenaLS.UI.Utilities;
using ArenaLS.UI.Scenes;
namespace ArenaLS.UI.Views
{
class CombatView : View
{
CharacterR... |
using Newtonsoft.Json;
namespace NotionApi.Rest.Response.Objects
{
public class PersonObject : UserObject
{
[JsonProperty("person")] public object Person { get; set; }
[JsonProperty("person.email")] public object Email { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Elsa.Dashboard.Web.Data
{
public class Approve
{
public Guid Id { get; set; }
public int WfInstanceId { get; set; }
public int WfActivityInstanceId { get; set; }
//0:待审... |
using System;
using System.Xml.Serialization;
namespace Terminals.Data
{
/// <summary>
/// Container of stored user authentication.
/// </summary>
public interface ICredentialSet : ICredentialBase
{
/// <summary>
/// Gets or sets the unique identifier of this instance. Th... |
using System;
namespace NodeEditorFramework
{
[Serializable]
public abstract class NodeCanvasTraversal
{
public NodeCanvas nodeCanvas;
public NodeCanvasTraversal (NodeCanvas canvas)
{
nodeCanvas = canvas;
}
public virtual void OnLoadCanvas () { }
public virtual void OnSaveCanvas () { }
public a... |
using System;
using System.Linq;
using System.Collections.Generic;
using UIKit;
using Foundation;
using CoreGraphics;
namespace DigitDetection
{
// 2 points can give a line and this class is just for that purpose, it keeps a record of a lin
public class Line
{
public CGPoint Start { get; }
public CGPoint End {... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class SceneBase
{
public SceneBase()
{
eventMgr = new InterchangeableEventListenerMgr(this.OnHandler,2);
}
public InterchangeableEventListenerMgr eventMgr;
public bool isLoadingSho... |
namespace Assets.ProceduralLevelGenerator.Editor
{
using System.Collections.Generic;
using NodeBasedEditor;
using UnityEditor;
using UnityEngine;
public class NodeBasedEditorWindow : EditorWindow
{
private readonly List<Node> nodes = new List<Node>();
public void OnGUI()
{
DrawNodes();
ProcessEvent... |
namespace Disqord.Events
{
public sealed class VoiceStateUpdatedEventArgs : DiscordEventArgs
{
public CachedMember Member { get; }
public VoiceState OldVoiceState { get; }
public VoiceState NewVoiceState { get; }
internal VoiceStateUpdatedEventArgs(CachedMember memb... |
using System.Linq;
namespace OnlyM.Core.Extensions
{
public static class StringExtensions
{
public static string? GetNumericPrefix(this string? value)
{
if (string.IsNullOrEmpty(value))
{
return null;
}
return new string(value.Ta... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Text;
using TMPro;
public class UICraftComponentInfo : MonoBehaviour
{
[SerializeField] private TextMeshProUGUI _componentInfo;
public ItemRecipe Recipe;
public int HaveValue;
public int NeedValue;
public ... |
using System.Collections.Generic;
using Lightest.Api.ResponseModels.Checker;
using Lightest.Api.ResponseModels.Language;
using Lightest.Data.Models;
using Lightest.Data.Models.TaskModels;
namespace Lightest.Api.ResponseModels.TaskViews
{
public class CompleteTaskView : BasicNameView
{
public Category ... |
/**
* Copyright(c) Live2D Inc. All rights reserved.
*
* Use of this source code is governed by the Live2D Open Software license
* that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
*/
/* THIS FILE WAS AUTO-GENERATED. ALL CHANGES WILL BE LOST UPON RE-GENERATION. */
... |
using System.Reflection;
using System.Runtime.InteropServices;
using log4net;
namespace titanfall2_rp.updater
{
/// <summary>
/// An empty updater class that does nothing because you're not an a supported OS.
/// </summary>
public class StubUpdater : UpdateHelper
{
private static readonly I... |
using DataStructures.LinkedLists;
using Challenges.LinkedListChallenges;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace Challenges.tests.LinkedListChallenges
{
public class LLZipTests
{
[Fact]
public void ZipLists_returns_list2_if_list1_is_empty() // ... |
using System;
using System.IO;
namespace OTFontFile.Rasterizer
{
public class RasterInterf
{
public delegate void RastTestErrorDelegate (string sStringName, string sDetails);
public delegate void UpdateProgressDelegate (string s);
static public RasterInterf getInstance()
{
... |
using System ;
namespace Selkie.DefCon.One.Common
{
public class GuardIgnoreAttribute : Attribute
{
}
} |
//Problem 11. Bitwise: Extract Bit #3
//Using bitwise operators, write an expression for finding the value of the bit #3 of a given unsigned integer.
//The bits are counted from right to left, starting from bit #0.
//The result of the expression should be either 1 or 0.
using System;
class ExtractBitThree
{
sta... |
using ProtoBuf;
using UnityEngine;
/// <summary>
/// Contains serializable versions of all game objects.
/// </summary>
public static class SaveDataObjects
{
/// <summary>
/// A serializable version of a Vector3Int.
/// </summary>
[ProtoContract]
public struct Vector3IntSaveData
{
[P... |
namespace Stratis.SmartContracts
{
public sealed class Message : IMessage
{
/// <inheritdoc/>
public Address ContractAddress { get; }
/// <inheritdoc/>
public Address Sender { get; }
/// <inheritdoc/>
public ulong Value { get; }
public Message(Address ... |
using System.Collections.Generic;
using Kudu.Core.SourceControl;
namespace Kudu.Web.Model {
public class ChangeSetDetailViewModel {
public ChangeSetDetailViewModel(ChangeSetDetail detail) {
if (detail.ChangeSet != null) {
ChangeSet = new ChangeSetViewModel(detail.ChangeSet);
... |
using System;
using System.IO;
namespace DE.Editor.DataTableTools
{
public sealed partial class DataTableProcessor
{
private sealed class EnumProcessor<T> : GenericDataProcessor<int>
where T : struct, IConvertible
{
static EnumProcessor()
{
if... |
using System;
namespace Dax.Template.Exceptions
{
public class TemplateException : Exception
{
public TemplateException()
: base()
{
}
public TemplateException(string message)
: base(message)
{
}
}
public class TemplateConfigura... |
@model eBank.Models.Student
@{
ViewBag.Title = "ViewStudent";
}
<h2>View Student</h2>
<fieldset>
<legend>Student</legend>
<table>
<caption><h2>@Model.FirstName @Model.LastName</h2></caption>
<thead>
<tr>
<th>Classroom</th>
<th>Email Address</t... |
using System;
namespace HalconDotNet
{
internal class DevGetWindowDelegate
{
private Func<IntPtr, int> devGetWindow;
public DevGetWindowDelegate(Func<IntPtr, int> devGetWindow)
{
this.devGetWindow = devGetWindow;
}
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace LeetCode.Algorithm
{
/// <summary>
/// 买卖股票的最佳时机 II
/// </summary>
class Q122
{
public int MaxProfit(int[] prices)
{
int maxProfit = 0;
for (int i = 1; i < prices.Length; i++)
... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Coolstore;
using VND.CoolStore.Services.Cart.v1.Grpc;
namespace VND.CoolStore.Services.Cart.Domain
{
public interface ICatalogGateway
{
Task<CatalogProductDto> GetProductByIdAsync(Guid id);
Task<IEnumerable<Cata... |
using System;
using CommonAlgo.ADT.Interfaces;
namespace CommonAlgo.ADT.Queue
{
public class ResizingArrayQueue<T> : IQueue<T> where T : IComparable
{
private T[] _array;
private int _capacity;
private int _count;
private int _head;
private int _tail;
public Re... |
using System.Collections.Generic;
using Player;
using UnityEngine;
namespace Enemy
{
[RequireComponent(typeof(Enemy))]
[RequireComponent(typeof(Rigidbody))]
public class EnemyCollisionHandler : MonoBehaviour
{
[Header("Explosion VFX")]
[SerializeField] private ParticleSystem explosionAf... |
namespace Calculator.Tests.TestValues
{
public static class Tangens
{
public static object[] TestSource =
{
new object[] {-350, -3.380889674884},
new object[] {-343, -0.635902261726},
new object[] {-324, -0.441731593866},
new object[] {-309, -2... |
using UnityEngine;
using System.Collections;
using UnityEngine.Networking;
public class CustomNetworkDiscovery : NetworkDiscovery {
// Use this for initialization
void Start () {
Initialize ();
StartAsClient();
Debug.Log ("Started as Client");
}
public override void OnReceivedBroadcast(stri... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class LogoutBtn : MonoBehaviour
{
public string LogoutUrl;
// Start is called before the first frame update
void Start()
{
LogoutUrl = "dustn1259.cafe24.com/Logout.php";
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class CheckPoints : MonoBehaviour
{
[SerializeField] private GameObject _snake;
[SerializeField] private Vector3 _checkPointsCoordinates;
[SerializeField] private bool _cl... |
//---------------------------------------------------------------------
// <copyright file="ODataStreamReferenceValueTests.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//----------------------... |
namespace Darwinizator.Domain
{
public class Mass
{
public float PosX { get; set; }
public float PosY { get; set; }
public int Width { get; set; }
public int Height { get; set; }
public float Left => PosX;
public float Right => PosX + Width;
public float... |
// **********************************************************************************************\
// Module Name: Drug.cs
// Project: ElementLab.Drugscreening.Contracts
//
// Copyright (c) Element Lab LLC
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
// EITHER EXPRESSED O... |
using Newtonsoft.Json;
using System;
namespace Armory_CORE.Core.WorldOfWarcraft.Models.Profile
{
public class Character
{
[JsonProperty("key")]
public Key Key { get; internal set; }
[JsonProperty("id")]
public int Id { get; internal set; }
[JsonProperty("name")]
... |
namespace PCG.Terrain.Core.DataTypes
{
public struct SliderValueMessage
{
public float Value;
public SliderValueCode SliderValueCode;
}
} |
// AbstractMultiStateHandler
using Disney.Kelowna.Common.SEDFSM;
using System.Collections;
public abstract class AbstractMultiStateHandler : PassiveStateHandler
{
public string[] HandledStates;
protected StateMachine rootStateMachine;
public bool IsInHandledState
{
get;
private set;
}
protected virtual vo... |
using System;
using System.IO;
using System.Collections.Generic;
using System.Globalization;
using System.Xml;
namespace Filetypes {
/*
* Decodes a DBFile to the format used by CA's Assembly Kit.
*/
public class ModToolDBCodec : Codec<DBFile> {
const string DATE_FORMAT = "ddd d. MMM HH:mm:ss ... |
using System;
namespace Krystals4ObjectLibrary
{
public class PointR
{
#region Constructor
public PointR(float radius, float degrees) // degrees in range 0.0f..360.0f
{
_radius = radius;
_radians = (degrees % 360.0f) / 180.0f * (float)Math.PI;
}
... |
namespace GeometryDashAPI
{
public readonly struct Property
{
public readonly string Key;
public readonly string Value;
public Property(object key, object value)
{
Key = key.ToString();
Value = value.ToString();
}
public override string ... |
using Ardalis.Specification;
namespace PluralsightDdd.SharedKernel.Interfaces
{
public interface IRepository<T> : IRepositoryBase<T> where T : class, IAggregateRoot
{
}
// You can add your own interface or extend the one provided in Ardalis.Specification, which is designed
// to work with specifications
... |
using System;
using UnityEngine;
namespace Extend.Switcher.Action {
public interface ISwitcherAction {
void ActiveAction();
}
[Serializable, UnityEngine.Scripting.Preserve]
public abstract class SwitcherAction : ISwitcherAction {
public abstract void ActiveAction();
#if UNITY_EDITOR
[SerializeField]
priv... |
using System.Reflection;
namespace ComplexClassStructureRename.Lib {
[Obfuscation(Exclude = false, Feature = "-rename")]
public class PublicClass1 : ITestEvents {
public void FireLog(string message) { }
}
}
|
using CommandLine;
namespace EfsTools.CommandLineOptions
{
[Verb("webDavServer", HelpText = "Start WebDAV server")]
internal class StartWebDavServerOptions
{
[Option('p', "port", Required = true, HelpText = "Port number")]
public int Port { get; set; }
[Option('l', "logLevel", Req... |
namespace Selenium.Serializer {
/// <summary>
/// Json serializer exception
/// </summary>
class JsonException : SeleniumException {
internal JsonException(string message)
: base(message) { }
internal JsonException(string message, byte[] data, int index)
: ba... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using RThomasHyde.PluginFramework.Abstractions;
namespace WebAppWithRoslyn.Controllers
{
[ApiController]
[Route("[... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Random = UnityEngine.Random;
public class Asteroid : MonoBehaviour
{
private float _colliderHalfRadius;
private const float MinImpulse = 1f;
private const float MaxImpulse = 2f;
// Start is called b... |
using System;
namespace Meadow.Foundation
{
/// <summary>
/// Exception thrown when a device or peripheral is misconfigured for a requested action, activity or behavior.
/// </summary>
public class DeviceConfigurationException : Exception
{
public DeviceConfigurationException(string messag... |
// Copyright (c) 2014-2020 DataStax Inc.
// Copyright (c) 2020, Rafael Almeida (ralmsdevelper)
// Licensed under the Apache License, Version 2.0. See LICENCE in the project root for license information.
namespace Scylla.Net.Serialization
{
/// <summary>
/// Base serializer for custom types.
/// </summary>... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using UnityEditor.VFX;
using UnityEngine;
using UnityEngine.Experimental.VFX;
namespace FluvioFX.Editor.Blocks
{
[VFXInfo(category = "FluvioFX/Solver")]
class NeighborSearch : FluvioFXBlock
{
publ... |
using WakeOnLan.CrossCutting.Configuration.AppSettingsModels;
namespace WakeOnLan.CrossCutting.Configuration
{
public sealed class AppSettings
{
public string AppName { get; set; }
public JwtConfig JwtSettings { get; set; }
public AuthConfig Auth { get; set; }
public WakeUpConf... |
using System;
using IntervalEval.Core;
using NUnit.Framework;
namespace IntervalEval.Tests
{
public class Tests
{
[Test]
public void TestAnd()
{
var bool1 = IntervalBoolean.True;
var bool2 = IntervalBoolean.True;
var bool3 = bool1 && bool2;
... |
using System;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Threading.Tasks;
namespace JobSpawn.Client
{
public class PackageClient
{
private HttpClient CreateClient()
{
var client = new HttpClient();
client.BaseAddress = new Uri(new Uri("http://... |
using System.Windows.Controls;
using System.Windows.Threading;
using Hqub.Speckle.Core;
namespace Hqub.Speckle.GUI.Controls
{
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Runtime.CompilerSe... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Recruitment : MonoBehaviour
{
public Text members;
int m;
public void Fund()
{
m += Random.Range(0, 2);
members.GetComponent<Text>().text = "" + m;
}
}
|
namespace Agenda.Web.Mappers
{
public interface IMapper<TFrom, TTo>
{
TTo MapTo(TFrom source);
TFrom MapFrom(TTo source);
}
} |
using AElf.Types;
namespace AElf.Contracts.TestContract.Events
{
public partial class EventsContract
{
public Hash GetIssueOrderId(OrderInput input)
{
var hash1 = HashHelper.ComputeFromMessage(input);
var hash2 = Context.TransactionId;
return HashHelper.Conc... |
using System;
using Moq;
using NGineer.BuildGenerators;
using NGineer.Internal;
using NGineer.Utils;
using NUnit.Framework;
using Range = NGineer.Internal.Range;
using System.Collections.Generic;
namespace NGineer.UnitTests.Types
{
public class TestBuilder : IConfiguredBuilder, IBuilder
{
public IEnumer... |
@model DailyPhoto
<form asp-action="UploadPhoto" method="POST" enctype="multipart/form-data">
<label for="photoFile">Select a photo:</label>
<input type="file" name="photoFile" accept="image/*" style="margin-bottom: 10px" />
<br />
<label asp-for="Comment">Add a comment:</label>
<input asp-for="Com... |
using Skahal.Infrastructure.Framework.Domain;
using System;
namespace Skahal.Infrastructure.Repositories.UnitTests
{
[Serializable]
public class EntityStub : EntityBase, IEntityStub
{
public string Name { get; set; }
}
} |
using System;
using System.Text;
namespace TDSProtocol
{
public static class Unicode
{
public static readonly Encoding Instance = new UnicodeEncoding(false, false, false);
}
}
|
using System;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Text.RegularExpressions;
using Xamarin.Forms;
namespace DemoApp.Commons.Converters
{
public class TextToInitialConverter : IValueConverter
{
public object Convert(object value, Type targetType, object p... |
using UnityEngine;
using UnityEngine.UI;
// ReSharper disable once CheckNamespace
public class StyledItem : MonoBehaviour
{
public virtual void Populate(object o) {}
// most things boil down to these basic elements, so fill out virtuals
// hmm... I really wish there was a better way to abstract this via
// gene... |
using System.Collections.Generic;
using NUnit.Framework;
using SqlToGraphite.Conf;
using SqlToGraphite.Config;
namespace SqlToGraphite.UnitTests
{
using Rhino.Mocks;
// ReSharper disable InconsistentNaming
[TestFixture]
public class With_RolesConfig
{
private string hostName;... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum SimpNpcList {bell, teddybear};
public class SimpleNPC : MonoBehaviour
{
public bool isActive=false;
// Update is called once per frame
void Update()
{
if (isActive)
NPCUpdate();
}
... |
using System;
using NuGet.Configuration;
using NuGet.ProjectManagement;
namespace Test.Utility
{
public class TestSourceControlManagerProvider : ISourceControlManagerProvider
{
private TestSourceControlManager TestSourceControlManager { get; }
public TestSourceControlManagerProvider(TestSourc... |
using g3;
using gs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Thing.Domain.SolidModeling.Models;
namespace Thing.Domain.SolidModeling;
public class HoleDesigner : IFeatureDesigner
{
private HoleFeature _feature;
public HoleDe... |
namespace MiCamConfig.App.Core.ViewModels
{
partial class SubmittingRequestViewModel
{
#region Fields
private bool _isRequesting;
private string _loadingMessage, _propertyTitle, _rawResponse, _rawResponseTitle, _successTitle, _valueTitle;
#endregion
#region Properties
... |
using UniLife.Server.Middleware.Wrappers;
using UniLife.Shared.DataInterfaces;
using UniLife.Shared.Dto.Definitions;
using System;
using System.IO;
using System.Threading.Tasks;
using static Microsoft.AspNetCore.Http.StatusCodes;
namespace UniLife.Server.Managers
{
public class HarcManager : IHarcManager
{
... |
using Newtonsoft.Json;
using System;
namespace WeatherAPI.NET.Entities
{
public class LocationEntity
{
#region Properties
/// <summary>
/// Gets or sets the name of the country.
/// </summary>
[JsonProperty("country")]
public string Country { get; set; }
... |
//==============================================================================
// TorqueLab -> AlterVerse Tools adaptation script
// Copyright (c) 2015 All Right Reserved, http://nordiklab.com/
//------------------------------------------------------------------------------
//=========================================... |
using System.ComponentModel.DataAnnotations;
namespace ApiTemplApiProject.Core.Service
{
/// <summary>
/// 代码生成参数类
/// </summary>
public class CodeGenPageInput : PageInputBase
{
/// <summary>
/// 数据库表名
/// </summary>
public string TableName { get; set; }
}
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Runtime.InteropServices;
using System.Text;
namespace Steamworks
{
internal abstract class SteamInterface
{
public virtual IntPtr GetUserInterfacePointer() => IntPtr.Zero;
... |
using System;
using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json;
namespace CurrencyConverter.Data.Models.Currency
{
public class ExchangeRate
{
[Key]
[JsonIgnore]
public int Id { get; set; }
[JsonIgnore]
public string AssetBaseId { get; set; }
... |
using Cirrious.MvvmCross.ViewModels;
using System.Collections.Generic;
namespace MoreControls.Core.ViewModels
{
public class FirstViewModel
: MvxViewModel
{
private List<Shape> _shapes = new List<Shape>() { Shape.Circle, Shape.Square, Shape.Triangle };
public List<Shape> Shapes
... |
using JobOpportunities.BLL.Abstract;
using JobOpportunities.DAL.Abstract;
using JobOpportunities.DAL.Concrete.EntityFramework.DAL;
using JobOpportunities.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JobOpportunities.B... |
//-----------------------------------------------------------------------
// <copyright company="Sherlock">
// Copyright 2013 Sherlock. Licensed under the Apache License, Version 2.0.
// </copyright>
//-----------------------------------------------------------------------
//---------------------------------... |
/*
* Created by Mika Taskinen on 30.1.2017
* Copyright: University of Turku & Mika Taskinen
*/
using System;
namespace Marin2.Decawave.Unity3d
{
public class Anchor
{
/// <summary>
/// Creates Anchor object, usable only by library
/// </summary>
/// <param name="receiver">... |
using System;
using System.Linq;
using Comet.Graphics;
using Microsoft.Maui;
using Microsoft.Maui.Graphics;
using Microsoft.Maui.Hosting;
using System.Collections.Generic;
using Comet;
using System.IO;
namespace CometApp1
{
public class App : CometApp
{
[Body]
View view() => new MainPage();
public override vo... |
using LiteNetLib;
using LiteNetLib.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace OTransport.NetworkChannel.UDP
{
public class UDPClientChannel : INetworkChanne... |
using System;
namespace Cake.Docker
{
/// <summary>
/// Settings for docker stop [OPTIONS] CONTAINER [CONTAINER...].
/// Stop one or more running containers
/// </summary>
public sealed class DockerContainerStopSettings : AutoToolSettings
{
/// <summary>
/// --time, -t
/// default: 10
/// Seconds to wait... |
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
namespace SUNRUSE.PatternMatchingActorSystems.Shared.Expressions
{
/// <summary>Returned to indicate that an <see cref="IExpression" /> has failed to match... |
// Copyright (c) 2020, Phoenix Contact GmbH & Co. KG
// Licensed under the Apache License, Version 2.0
using System.Runtime.Serialization;
using System.Windows;
using Moryx.Configuration;
namespace Moryx.ClientFramework
{
/// <summary>
/// Configuration for the main window of this application
/// </summar... |
using System;
namespace Squazz.HotCiv
{
class City : ICity
{
public Player Owner { get; private set; }
public int Size { get; private set; }
public String Production { get; set; }
public int Vault { get; set; }
public String WorkforceFocus { get; private set; }
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.