content stringlengths 23 1.05M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RestSharp;
namespace WinDynamicDesktop
{
class LocationIQData
{
public string place_id { get; set; }
public string licence { get; set; }
public string ... |
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Globalization;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using Mediachase.Ibn.Core.Business;
using Mediachase.Ibn.Data;
namesp... |
namespace Microsoft.Build.Logging.Query.Token
{
public class EqualToken : Token
{
public static EqualToken Instance { get; } = new EqualToken();
private EqualToken() : base()
{
}
}
} |
using Grace.DependencyInjection;
using Grace.Tests.Classes.Simple;
using Xunit;
namespace Grace.Tests.DependencyInjection.Decorator
{
public class GenericDecoratorTests
{
public class DecoratorDependentService<T> : IDependentService<T>
{
private readonly IDependentService<T> _servi... |
using UnityEngine;
using UnityEditor;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Assets.Editor
{
public class CharSetGenerator : EditorWindow
{
string folder;
string searchPattern = "*.*";
string outputFile = "";
HashSet<char> c... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class DevicePowerManager
{
/// <summary>
/// 远程关闭计算机(需要设计Guest用户)
/// </summary>
/// <param name="ip"></param>
/// <returns></returns>
public static bool RemotePowerOff(... |
using MahApps.Metro.Controls;
using System.Text.RegularExpressions;
using MorninBytes.ViewModels;
using MorninBytes.Models;
using System.Windows.Input;
using System.Windows;
using System;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Documents;
using System.ComponentModel;
namespace ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class puckStart : MonoBehaviour
{
public List<puckData> puckOptions;
public puckData selectedPuck;
// Start is called before the first frame update
void Start()
{
int puckNum = Random.Range(0, puckOption... |
using System.Collections.Generic;
using System.Linq;
using Cemiyet.Core.Entities;
namespace Cemiyet.Core.Extensions
{
public static class SeriesExtensions
{
public static IEnumerable<Author> GetAuthors(this IEnumerable<SeriesBooks> query)
{
var uniqueAuthors = new HashSet<Author>()... |
using System;
using DiveO.Models.Model_Attributes;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace DiveO.ViewModels
{
public class PhotoViewModel
{
public List<Photo> Photos { get; set; }
}
} |
namespace AnnualLeaveSystem.Models.Leaves
{
public enum LeaveSorting
{
StartDate = 0,
RequestDate = 1,
Fullname = 2,
TotalDays = 3,
}
}
|
using System.Data;
namespace DeviceManager.Api.Data.Management.Dapper
{
/// <summary>
/// Base dapper repository
/// </summary>
public abstract class DapperRepositoryBase
{
/// <summary>
/// Gets the transaction.
/// </summary>
/// <value>
/// The transactio... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UserBehavior.Objects
{
public class ArticleRating
{
public int ArticleID { get; set; }
public double Rating { get; set; }
public ArticleRating(int articleId, ... |
using System;
namespace IdOps.Model
{
// TODO: Should it be IResource ?
public class IdentityServer : IResource
{
public Guid Id { get; set; }
public Guid EnvironmentId { get; set; }
public string Name { get; set; }
public string Url { get; set; }
public string T... |
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace DotVVM.Framework.Compilation.Parser.Binding.Parser
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class ConditionalExpressionBindingParserNode : BindingParserNode
{
public BindingParserNode ConditionExpress... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Efl
{
namespace Ui
{
namespace Wearable
{
/// <summary>
/// The ICircleWidget interface.
/// </summary>
/// <since_tizen> 6 </since_tizen>
public interface IC... |
// Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace Dolittle.Runtime.Events.Store.MongoDB.Events
{
/// <summary>
/// Repres... |
<script src="~/js/govuk.js"></script>
<script>
window.GOVUKFrontend.initAll();
</script> |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Microsoft.FeatureManagement.Core.Attributes;
namespace Microsoft.FeatureManagement.Data.Models
{
[EntityName("User")]
public class User : ChangeHistory
{
public User()
{
Groups = n... |
using Windows.UI.Xaml.Controls;
using Orion.UWP.ViewModels.Contents;
using Orion.UWP.ViewModels.Partials;
// The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236
namespace Orion.UWP.Views.Partials
{
public sealed partial class PostAreaPage : Page
{
public Po... |
using System.Collections.Generic;
using FluentNHibernate.Mapping;
using FluentNHibernate.Utils;
using NUnit.Framework;
namespace FluentNHibernate.Testing.DomainModel
{
[TestFixture]
public class MemberAccessResolverTests
{
[Test]
public void AutoProperty()
{
... |
// Role.cs
// Author: Ondřej Ondryáš
using System.ComponentModel.DataAnnotations;
namespace KachnaOnline.Data.Entities.Users
{
public class Role
{
[Key] public int Id { get; set; }
[Required(AllowEmptyStrings = false)]
[StringLength(64)]
public string Name { get; set; }
}
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.Compute.Models
{
/// <summary> A disk access SAS uri. </summary>
public partial class AccessUri
{
/// <summary> Initializes a new ... |
using System;
using System.Reflection;
namespace Unleash.Internal
{
internal static class SdkVersionHelper
{
public static string SdkVersion => GetSdkVersion.Value;
private static readonly Lazy<string> GetSdkVersion = new Lazy<string>(
() =>
{
var assemb... |
// Copyright (c) Allan hardy. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace App.Metrics.Extensions.Owin.Internal
{
internal static class Constants
{
public static class DefaultRoutePaths
{
... |
using Hcm.Database.Models;
namespace Hcm.Database.Repositories
{
public class SallaryRepository : Repository<Sallary>, ISallaryRepository
{
public SallaryRepository(DatabaseContext context)
: base(context)
{
}
}
}
|
@model UserViewModel
@{
ViewBag.Title = SiteStrings.SiteSettings_UserManagement_AddEditor_Title;
ViewData["UsersActive"] = true;
}
<script type="text/javascript">
$(document).ready(function ()
{
// Form validation
var validationRules =
{
NewUsername: {
required: true
},
Password: {... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VRage.Game.ModAPI;
namespace Torch.API.Managers
{
/// <summary>
/// API for multiplayer functions that exist on servers and lobbies
/// </summary>
public interface IMultiplayerMana... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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://w... |
using Autofac;
using CooKit.Models;
using CooKit.Services;
namespace CooKit.ViewModels.Editor.Designers
{
public sealed class IngredientDesignerViewModel : BaseSimpleDesignerViewModel<IIngredient, IIngredientBuilder>
{
public IngredientDesignerViewModel() : base(App.Container.Resolve<IIngredientStore>... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Core.Util
{
public static class DateUtility
{
public static string[] Meses = { "N/A", "Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio",
"Julio", "Agosto", "Septiem... |
using System.ServiceModel;
using VimApi_65;
namespace EnvironmentAssessment.Common.VimApi
{
public class HostVMotionSystem : ExtensibleManagedObject
{
protected HostVMotionNetConfig _netConfig;
protected HostIpConfig _ipConfig;
public HostVMotionNetConfig NetConfig
{
get
{
return this._netConfig;
... |
namespace OnlyT.Report.Models
{
using System;
public class MeetingTimedItem
{
public string Description { get; init; } = null!;
public TimeSpan Start { get; set; }
public TimeSpan End { get; set; }
public bool IsSongSegment { get; set; }
public TimeSpan ... |
namespace ToDoList.Data.Enums
{
public enum Status : byte
{
Inbox,
Todo,
Done,
Cancelled
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.DependencyInjection;
using ProductManager.Core.Domain;
using ProductManager.Core.Exceptions;
using ProductManager.C... |
namespace SkbKontur.EdiApi.Client.Types.Organization
{
public class BankAccount
{
public string BankAccountNumber { get; set; }
public string CorrespondentAccountNumber { get; set; }
public string BankId { get; set; }
public string BankName { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
namespace CrusadeTracker
{
public class UnitTallyViewData : MonoBehaviour
{
public UnitTallyEventHandler eventHandler;
public UnitDataViewModel UnitScreen;
[SerializeField] ForceDataViewModel For... |
using System;
using System.Collections.Generic;
namespace ecommerse.Models
{
public class Orders
{
public int Id { get; set; }
public string Firstname { get; set; }
public string Lastname { get; set; }
public string Adress { get; set; }
public int Zipcode { get; set; }
... |
using System;
using System.Collections.Generic;
using System.IO;
using MinerWarsMath;
using MinerWars.AppCode.Game.Entities;
using MinerWars.AppCode.Game.Utils;
using MinerWars.CommonLIB.AppCode.Utils;
using SysUtils.Utils;
// This save the scene so it can be later played as a trailer. It loads correct voxel maps, t... |
/*
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, software
dist... |
using CTimers;
using UnityEngine;
/// <summary>
/// Tests the OnComplete method of the timer. If OnComplete is invoked the test is passed.
/// </summary>
public class OnCompleteTest : MonoBehaviour
{
private void Start()
{
CTimer.Start(1f).SetOnComplete(TestComplete);
}
private void TestCompl... |
using KsWare.Presentation.ViewModelFramework;
using NUnit.Framework;
namespace KsWare.Presentation.Tests.ViewFramework {
[TestFixture]
public class RefVMTests {
[Test]
public void T001_Target_Set() {
var refVM = new RefVM<StringVM>();
refVM.Target=new StringVM();
}
[Test]
public void T002_TargetC... |
// 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.Linq;
using System.Text.RegularExpressions;
using Syst... |
using Bossr.Lib.Models.Interfaces;
namespace Bossr.Api.Repositories.Interfaces
{
public interface ICrudable<T> :
ICreateable<T>,
IDeletableById<T>,
IListable<T>,
IReadableById<T>,
IUpdatable<T>
where T : IEntity
{
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CopyLocation : MonoBehaviour
{
public Transform _target;
Vector3 _offset;
float y;
// Start is called before the first frame update
void Start()
{
y=transform.position.y;
_offset = transform.position-_ta... |
namespace POETradeHelper.PathOfExileTradeApi.Services
{
public interface IItemDataService
{
string GetType(string name);
string GetCategory(string type);
}
} |
using FluentValidation;
namespace WebApi.BookOperations.DeleteBook
{
public class DeleteBookCommandValidator:AbstractValidator<DeleteBookCommand>
{
public DeleteBookCommandValidator()
{
RuleFor(command =>command.Id).GreaterThan(0);
}
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WinForm.UI.Test
{
public partial class TempForm : Form
{
public TempForm()
... |
@using Microsoft.Owin.Security
@model OrisCenter.Key.ViewModels.ContaLoginViewModel
@{
ViewBag.Title = "Login";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Login</h2>
@using (Html.BeginForm())
{
@Html.ValidationSummary("", new { @class = "text-danger" })
@Html.EditorForModel()
@Html.Actio... |
using System;
namespace MobaFrame.SkillAction
{
public class SubPerformReplaceAction : BaseHighEffAction
{
public Units targetUnit;
protected override void StartHighEff()
{
if (this.targetUnit == null)
{
return;
}
if (this.data.param2 != 0f)
{
if (this.data.param2 != 3f)... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
namespace GraphQLDemo.MiddleWare
{
public static class GraphQlMiddlewareExtensions
{
public static IApplicationBuilder UseGraphQL(this IApplicationBuilder builder) {
... |
using System.Threading.Tasks;
namespace NameChk.CLI
{
interface IProvider
{
Task<(string, bool)>[] CheckAvailability(string[] names);
}
} |
namespace LogoFX.Bootstrapping.Specs
{
interface IServiceContract
{}
} |
using System;
using Android.BillingClient.Api;
namespace Companova.Xamarin.InAppPurchase.Service
{
internal static class Extensions
{
public static PurchaseError ToPurchaseError(this BillingResponseCode code)
{
PurchaseError error;
switch (code)
{
... |
namespace IoTEdgeConversationDashboard.Data
{
public class DirectMethodResponse
{
public DirectMethodResponse()
{
}
public int ResponseStatus { get; set; }
public string ResponseException { get; set; }
public virtual void DeserializePayload(string json)
... |
using System.Xml.Serialization;
namespace NPOI.OpenXmlFormats.Spreadsheet
{
public class CT_DateGroupItem
{
private ushort yearField;
private ushort monthField;
private bool monthFieldSpecified;
private ushort dayField;
private bool dayFieldSpecified;
private ushort hourField;
private bool hourFi... |
using Vision2.Attributes;
using Vision2.Enum;
namespace Vision2.QueryObject {
public class PaymentQO : BaseQO {
[QO("PackageID")]
public int? PackageID { get; set; }
}
}
|
using System.Runtime.CompilerServices;
namespace SDD.Application.Composition
{
/// <summary>
/// Application skeleton.
/// </summary>
///
/// <remarks>
/// To deal with a complex application we have to decompose it in smaller
/// parts, then probably decompose some of them and so on. Comp... |
namespace lab3.Vehicles
{
abstract class AirVehicle : VehicleBase
{
public abstract double ReduceDistance(double distance);
public override double CalculateTime(double distance)
{
var realDistance = ReduceDistance(distance);
return realDistance / Speed;
}
}
}
|
namespace System
{
public static class EventArgsExtensions
{
public static EventArgs<T> ToEventArgs<T>(this T source)
{
return new EventArgs<T>(source);
}
}
} |
using System;
using System.Globalization;
using System.IO;
using System.Linq;
using SerializationUtilities.SerializationGraph;
using Utilities.Json;
namespace SerializationUtilities
{
public class JSONSerializer : BaseSerializer
{
private const string TYPES_FIELD = "types";
private const string ROOT_FIELD = "ro... |
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
namespace Exceptions_Homework.UnitTests.Student_Tests
{
[TestFixture]
public class Constructor_Should
{
[TestCase(null)]
[TestCase("")]
[TestCase(" ")]
[TestCase("\t")]
[TestCase("\n"... |
namespace Profile.Core
{
public enum ProfileType
{
Customer = 0,
Bussiness = 1,
Market = 3,
}
public enum ECardType
{
CreditCard = 0,
Bank = 1,
DebitCard = 2
}
}
|
using System;
namespace Feedz.Client.Resources
{
public class PackageHeaderResource : IResource
{
public Guid Id { get; set; }
public string Type { get; set; }
public string PackageId { get; set; }
public string Version { get; set; }
public bool IsPrerelease { get; set;... |
using System.ComponentModel.DataAnnotations;
namespace JRPC_HMS.Models
{
public class StockItem
{
[Key]
public int Id { get; set; }
[Display(Name = "Stock Name")]
public string StockName { get; set; }
public decimal Unit { get; set; }
public decimal Price { get;... |
using System;
using System.Collections.Generic;
using JetBrains.Annotations;
using Laraue.CodeTranslation.Abstractions.Metadata;
namespace Laraue.CodeTranslation.Abstractions.Output
{
/// <summary>
/// Provider which can resolve some dependencies.
/// </summary>
public interface IOutputTypeProvider
{
/// <summ... |
using System;
namespace SlimMessageBus.Host.Config
{
public interface IConsumerEvents
{
/// <summary>
/// Called whenever a consumer receives a message.
/// </summary>
Action<IMessageBus, AbstractConsumerSettings, object, string> OnMessageArrived { get; set; }
/// <sum... |
using System;
using Insight.Database;
namespace Sample.Core.Models.Entities
{
/// <summary>
/// Base Entity class that represents MemberRole - Intended to be extended
/// for business rule implementation
/// </summary>
public abstract class MemberRoleEntity
{
#region Primary Key Properties
/// <summary>
... |
using System;
namespace DolDoc.Editor.Forms
{
public class FormHeaderFunctionAttribute : Attribute
{
public FormHeaderFunctionAttribute(string function)
{
Function = function;
}
public string Function { get; }
}
}
|
internal class SimpleBinaryExpression : BinaryExpression // TypeDefIndex: 2209
{
// Fields
[CompilerGeneratedAttribute] // RVA: 0xBF2D0 Offset: 0xBF3D1 VA: 0xBF2D0
private readonly ExpressionType <NodeType>k__BackingField; // 0x20
[CompilerGeneratedAttribute] // RVA: 0xBF2E0 Offset: 0xBF3E1 VA: 0xBF2E0
private rea... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace OpcPublisher.Conf... |
using System;
using System.Collections.Generic;
using Registration.Application.EventSourcedNormalizers;
using Registration.Domain.ReadModel.Security;
namespace Registration.Application.Interfaces
{
public interface ISecurityService : IDisposable
{
void RegisterTenant(Tenant tenant, Staff administrator... |
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;... |
using System.Threading.Tasks;
using NUnit.Framework;
using Zu.AsyncWebDriver;
namespace Zu.AsyncChromeDriver.Tests
{
[TestFixture]
public class TagNameTest : DriverTestFixture
{
[Test]
public async Task ShouldReturnInput()
{
await driver.GoToUrl(formsPage);
I... |
using Client.Scripts.Cameras.Components;
using Client.Scripts.Inputs.Components;
using Client.Scripts.Levels.Components;
using Leopotam.Ecs;
using StubbUnity.StubbFramework.Extensions;
namespace Client.Scripts.Inputs.Systems
{
public class DragInputSystem : IEcsRunSystem
{
private readonly EcsWorld _w... |
using System;
using System.Drawing;
using System.Windows.Forms;
class HexCal : Form
{
Button btnResult;
ulong ulNum = 0;
ulong ulFirstNum = 0;
bool bNewNum = true;
char cOperation = '=';
public static void Main()
{
Application.Run(new HexCal());
}
public ... |
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace PdfMakeNet.Extensions
{
public static class StreamExtensions
{
public static byte[] ToByteArray(this Stream stream)
{
var streamLength = (int)stream.Length;
var data = new byte[streamLength... |
using System;
using System.Collections.Generic;
using PhotoMSK.ViewModels.Routes.Photostudio;
namespace PhotoMSK.ViewModels.Realisation
{
public interface IEventLocker
{
bool Lock(Guid calendarID, DateTime start, DateTime end, Guid uid);
IEnumerable<EventViewModel> GetLockers(Guid calendarID);... |
namespace Fenix
{
public sealed class ChannelEvents
{
public const string Close = "phx_close";
public const string Error = "phx_error";
public const string Join = "phx_join";
public const string Reply = "phx_reply";
public const string Leave = "phx_leave";
intern... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Trifolia.Web.Models.IGManagement
{
public class ListModel
{
public ListModel()
{
this.Organizations = new List<FilterItem>();
this.Items = new List<ImplementationGuideItem>();... |
/*
* Copyright 2009 ZXing authors
*
* 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 ... |
using Microsoft.EntityFrameworkCore;
using P01_HospitalDatabase.Data.Models;
namespace P01_HospitalDatabase.Data
{
public class HospitalContext : DbContext
{
DbSet<Diagnose> Diagnoses { get; set; }
DbSet<Medicament> Medicaments { get; set; }
DbSet<Patient> Patients { get; set; }
... |
using System.Transactions;
using Common.Logging;
using Rhino.ServiceBus.Transport;
namespace Rhino.ServiceBus.Msmq
{
using System;
using System.Messaging;
using Exceptions;
public class OpenedQueue : IDisposable
{
private readonly QueueInfo info;
private readonly OpenedQueue parent;
private r... |
namespace HandyControl.Data
{
public enum ShowAnimation
{
None,
HorizontalMove,
VerticalMove,
Fade
}
}
|
using System.Collections.Generic;
using CityPlace.Domain.Interfaces.Cache;
namespace CityPlace.Domain.Utils
{
/// <summary>
/// Реализация строкового кеша с помощью словаря - глобальная кеширующая таблица строк
/// </summary>
public class DictionaryStringCache: IStringCache
{
/// <summary>... |
using Xamarin.Forms.Platform.iOS;
using Xamarin.Forms;
using UIKit;
using RSSReader;
using RSSReader.iOS;
using Foundation;
using System.Xml.Linq;
[assembly: ExportRenderer (typeof(myHtmlLabel), typeof(myHtmlLabelRenderer))]
namespace RSSReader.iOS
{
public class myHtmlLabelRenderer : LabelRenderer
{
... |
using System;
using EXCEPTION_EXERCISE.Entities.Exceptions;
namespace EXCEPTION_EXERCISE.Entities
{
class Account
{
private string _holder;
public int Number { get; private set; }
public double Balance { get; private set; }
public double WithDrawLimit { get; private set; }
... |
using System.Collections.Generic;
namespace Microsoft.StandardUI.Media
{
[UIModelObject]
public interface IPathFigure
{
IEnumerable<IPathSegment> Segments { get; set; }
Point StartPoint { get; set; }
[DefaultValue(false)]
bool IsClosed { get; set; }
[DefaultValue... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Account.API.Entities;
using Account.Model.Request;
namespace Account.Dal.Abstract.Repositories
{
public interface IPetRepository<T> where T:struct
{
Task<IEnumerable<Pet>> GetPets();
Task<Pet> GetPetById(int petId);
... |
using org.apache.zookeeper;
using System;
using System.Threading.Tasks;
using TestExtensions;
using Xunit;
namespace Tester.ZooKeeperUtils
{
public static class ZookeeperTestUtils
{
private static readonly Lazy<bool> EnsureZooKeeperLazy = new Lazy<bool>(() => EnsureZooKeeperAsync().Result);
pu... |
using DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL.EF;
namespace BLL
{
public class UserManager
{
public static userinfo Login(string name,string pwd) {
return UserDAL.Login(name,pwd);
}
public static bool AddUser(us... |
using System.Windows.Controls;
namespace CShell.Modules.Workspace.Views
{
/// <summary>
/// Interaction logic for WorkspaceView.xaml
/// </summary>
public partial class WorkspaceView : UserControl
{
public WorkspaceView()
{
InitializeComponent();
}
/// <summary>
/// Hack to access th... |
using System;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
using JamSoft.Helpers.Serialization;
using Xunit;
namespace JamSoft.Helpers.Tests
{
public class Utf8StringWriterTests
{
[Serializable]
public class TestObject
{
public string SomeProperty { ... |
using System.Windows;
using System.Windows.Input;
using TCC.Data;
namespace TCC.Controls.ChatControls
{
/// <summary>
/// Interaction logic for DefaultMessageBody.xaml
/// </summary>
public partial class DefaultMessageBody
{
public DefaultMessageBody()
{
InitializeCompo... |
// Copyright (c) 2020, Phoenix Contact GmbH & Co. KG
// Licensed under the Apache License, Version 2.0
using Caliburn.Micro;
namespace Moryx.ClientFramework.Tests.Playground
{
public class BigDialogViewModel : Screen
{
protected override void OnInitialize()
{
base.OnInitialize();
... |
using System.Collections.Generic;
namespace DFC.Api.JobProfiles.IntegrationTests.Model.API.JobProfileDetails
{
public class MoreInformation
{
public List<string> Registrations { get; set; }
public List<object> CareerTips { get; set; }
public List<object> ProfessionalAndIndustryBodies... |
using EasyNetQ;
namespace Corporate.MyFilmes.Schedule.Api.Consumers.NewFilme
{
[Queue(nameof(NewFilmeMessage))]
public class NewFilmeMessage
{
public decimal Preco { get; set; }
public string? Titulo { get; set; }
public string? Nome { get; set; }
public string? UrlImagem {... |
using XUCore.Template.Razor.Applaction.Article;
using XUCore.Template.Razor.DbService.Article;
namespace XUCore.Template.Razor.Web.Pages.Admin
{
[Authorize]
[NoAccessControl]
public class IndexModel : PageModel
{
public IndexModel()
{
}
}
} |
using Moq;
using NUnit.Framework;
using UnityEngine.Advertisements.Platform;
using UnityEngine.Advertisements.Platform.Unsupported;
namespace UnityEngine.Advertisements.Tests
{
[TestFixture]
public class UnsupportedPlatformTests
{
[Test]
public void InitialState()
{
var ... |
using System;
using Microsoft.Extensions.DependencyInjection;
using Phema.DateTime.Internal;
using Phema.DateTime.Test;
namespace Phema.DateTime
{
public static class TestDateTimeExtensions
{
public static IServiceCollection AddTestDateTime(
this IServiceCollection services,
Action<TestDateTimeOptions> optio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.