content stringlengths 23 1.05M |
|---|
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Core.Domain.Security
{
[Table("SecurityGroup", Schema = "dbo")]
public class SecurityGroup : BaseEntity
{
//[Key]
//public int SecurityGroupId { get;... |
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
using System.Text;
#pragma warning disable IDE1006 // Naming Styles
namespace KerbDump
{
public class LSASecret : IDisposable
{
private const string ADVAPI32 = "advapi32.dll";
private const uint POLICY_GET_PRIVAT... |
namespace AtomicusChart.Demo.Views
{
internal partial class StatusbarView
{
public StatusbarView()
{
InitializeComponent();
}
}
}
|
#region License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
#endregion
namespace ClearCanvas.ImageViewer.Graphics
{
/... |
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// 事件的代理
/// </summary>
public delegate void SceneHook(IScene scene);
/// <summary>
/// 场景管理器
/// </summary>
/// <author>zhulin</author>
public class SceneM
{
/// <summary>
/// Unload事件
/// </summary>
pu... |
using CarDiaryX.Domain.Vehicles;
namespace CarDiaryX.Application.Common.Helpers
{
public static class PermissionsHelper
{
public static bool IsPaidUser(Permission userPermission)
=> userPermission?.PermissionType == PermissionType.Premium
|| userPermission?.PermissionType ... |
using System;
using Data.Infrastructure;
namespace Data.Entity.SystemSecurity
{
public class LogEntity : IEntity
{
/// <summary>
/// 日期
/// </summary>
public DateTime? Date { get; set; }
/// <summary>
/// 用户名
/// </summary>
public string UserNa... |
using System;
using Xunit;
namespace service.test
{
public class MockTests
{
public MockTests()
{
}
[Fact]
public void TestStockItemsAreThere()
{
Assert.Equal(4, service.Mock.StockItems.Count);
}
[Fact]
public void TestDisco... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using NHibernate;
using NLog;
using Shoko.Commons.Extensions;
using Shoko.Models.Enums;
using Shoko.Server.Databases;
using Shoko.Server.Extensions... |
using System;
using FubuCore;
using FubuCore.Conversion;
using FubuMVC.Core.Json;
using Shouldly;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using NUnit.Framework;
namespace FubuMVC.Tests.Json
{
[TestFixture]
public class respects_the_injected_settings_in_serialization
{
[Test]... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SuperSpeed
{
class UserData
{
//{"CommitGcid":"","Message":"文件名中包含违规内容,无法添加到高速通道","Result":509,"SubId":5}
public const string COMMIT_GCID = "CommitGcid";
public const string MESSAGE = "Messa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Data;
using System.Data.SqlClient;
using System.Threading;
using System.Threading.Tasks;
namespace CS_lazy
{
class Order
{
public override string ToString()
{
return "Order";
}
}
clas... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace com.DaHuotu
{
public partial class frmSetting : Form
{
public frmSetting()
{
InitializeComponent();
... |
using System.Runtime.InteropServices;
using FluentAssertions;
using Xunit;
namespace ConcurrencyUtilities.Tests
{
public class PaddedAtomicLongTests
{
private PaddedAtomicLong num = new PaddedAtomicLong();
[Fact]
public void PaddedAtomicLong_ShouldHaveCorrectSize()
{
... |
using _4_gRPC;
using Google.Protobuf.WellKnownTypes;
using Grpc.Net.Client;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace _4_Client
{
class Program
{
static async Task Main(string[] args)
{
using var channel = GrpcChannel.ForAddress("https://localhost:5001");
var client = ... |
using ACMESharp.Protocol.Resources;
namespace ACMESharp.MockServer.Storage
{
public class DbAuthorization
{
public int Id { get; set; }
public int OrderId { get; set; }
public string Url { get; set; }
public Authorization Payload { get; set; }
}
} |
// ****************************************************************
// This is free software licensed under the NUnit license. You
// may obtain a copy of the license as well as information regarding
// copyright ownership at http://nunit.org.
// ****************************************************************
using S... |
using System.Collections.Generic;
namespace Uno.UI.TestComparer.Comparer
{
internal class CompareResult
{
public CompareResult(string platform)
=> Platform = platform;
public int TotalTests { get; internal set; }
public int UnchangedTests { get; internal set; }
public List<CompareResultFile> Tests { get... |
using System.Globalization;
using System.Linq;
using System.Reflection;
using HarmonyLib;
using UnityEngine;
namespace ServerDevcommands;
public class MouseWheelBinding {
///<summary>Runs any bound commands.</summary>
public static void Execute(float ticks) {
if (ticks == 0f || !Settings.MouseWheelBinding) retu... |
//
// System.Runtime.Remoting.Contexts.SynchronizationAttribute.cs
//
// Author:
// Lluis Sanchez Gual (lluis@ximian.com)
//
// (C) Novell, Inc. http://www.ximian.com
// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy o... |
using Microsoft.EntityFrameworkCore;
using Moq;
using SportStore.Data;
using SportStore.Models;
using SportStore.Services;
using SportStore.Services.Abstract;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace SportStore.Tests.Car... |
using System;
namespace Idfy.IdentificationV2
{
/// <summary>
/// Prefilled input values.
/// </summary>
public class PrefilledInput
{
/// <summary>
/// Prefill the user's national identification number.
/// </summary>
public string Nin { get; set; }
/// <su... |
using System.Collections.Generic;
namespace AzureTranslator.Models
{
public class TranslationResult
{
public DetectedLanguage? DetectedLanguage { get; set; }
public TextResult? SourceText { get; set; }
public IEnumerable<Translation>? Translations { get; set; }
}
public clas... |
using System;
using System.Collections.Generic;
using System.Text;
namespace NetLib {
public class PacketBuilder : IDisposable {
private List<byte> _data;
private bool _isDisposed = false;
public PacketBuilder(ushort packetType){
_data = new List<byte>();
Write(packetType);
}
public void Write(byte ... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AliyunStorageOptions.cs" company="Hämmer Electronics">
// The project is licensed under the MIT license.
// </copyright>
// <summary>
// The Aliyun storage options class.
// </s... |
using System;
using Cats.Errors;
namespace Cats.Infrastructure.Resilience.Failures;
public sealed class UnavailableFailure : IFailure
{
public UnavailableFailure(string method, string type)
{
Method = method ?? throw new ArgumentNullException(nameof(method));
Type = type ?? throw new ArgumentN... |
using AutoMapper;
using Vidly.Dtos;
using Vidly.Models;
namespace Vidly.App_Start
{
public class MappingProfile : Profile
{
public static void Run()
{
Mapper.Initialize(a => a.AddProfile<MappingProfile>());
}
public MappingProfile()
{
CreateMap<... |
using System;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Tumble.Core;
namespace Tumble.Client.Handlers
{
public class ClientRequest : IPipelineHandler
{
public TimeSpan RequestTimeout { get; set; } = new TimeSpan(0, 1, 0);
public asyn... |
@using System.Web.Optimization
@using Fpm.MainUI
@using Fpm.MainUI.Helpers
@model Fpm.ProfileData.Entities.Profile.ContentItem
<link href="@(AppConfig.JsPath)tiny_mce/skins/lightgray/skin.min.css" rel="stylesheet" type="text/css" />
<script src="@(AppConfig.JsPath)tiny_mce/tinymce.min.js" type="text/javascript"></scri... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace Symbolics
{
public class Subtraction : Operation
{
public Subtraction()
{
Operator = "-";
ParseOrder = ParseOrders.Subtraction;
}
public overr... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
namespace Api.AppStart
{
public static class CorsConfig
{
public static void ConfigureCors(this IApplicationBuilder app, IHostingEnvironment env)
{
app.UseCors(x => x
//.WithOrigins("h... |
// SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
using System;
using System.Linq;
using EdFi.Ods.A... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using System.Drawing;
namespace L2Package.DataStructures
{
public class UColor : IXmlSerializable, IUnrealExportable
{
[UEExport]
public byte r { set; get; }
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using IniParser;
using IniParser.Model;
namespace Kana2Romaji
{
static class Program
{
public static IniData UstData;
private static Dictionary<string,string> RmDictionary = new Di... |
using ApprovalCenter.Domain.Core.Commands;
using System;
namespace ApprovalCenter.Domain.Category.Commands
{
public abstract class CategoryCommand : CommandIdentity
{
public string Name { get; protected set; }
public string Description { get; protected set; }
public DateTime DateCreate... |
using System;
namespace DesignLibrary
{
[AttributeUsage(AttributeTargets.All)]
public sealed class GoodCustomAttribute : Attribute
{
string mandatory;
string optional;
public GoodCustomAttribute(string mandatoryData)
{
mandatory = mandatoryData;
}
... |
using Newtonsoft.Json;
namespace SalesforceSdk.Models
{
public class CreateJobRequest
{
/// <summary>
/// The column delimiter used for CSV job data.
/// </summary>
/// <remarks>
/// Values include:
/// BACKQUOTE—backquote character(`)
/// CARET—caret ch... |
namespace TakTikan.Tailor.Web.DashboardCustomization
{
public class WidgetViewDefinition : ViewDefinition
{
public byte DefaultWidth { get; }
public byte DefaultHeight { get; }
public WidgetViewDefinition(
string id,
string viewFile,
string javascri... |
using System;
using System.ComponentModel;
using System.Drawing;
using System.Runtime.CompilerServices;
using System.Windows.Forms;
using LiveSplit.VampireSurvivors.Attributes;
using LiveSplit.VampireSurvivors.Images;
using LiveSplit.VampireSurvivors.Model.SaveData;
using DescriptionAttribute = LiveSplit.VampireSurviv... |
using System;
namespace DearInventoryLib.Model.Common
{
public class AttachmentLineModel : DIModel
{
public string ContentType { get; set; }
public bool IsDefault { get; set; }
public string FileName { get; set; }
public string DownloadUrl { get; set; }
}
}
|
// 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.Collections.ObjectModel;
using System.IdentityModel.Tok... |
using System;
using OutlookMatters.Core.Chat;
using OutlookMatters.Core.Mattermost.v4.Interface;
namespace OutlookMatters.Core.Mattermost.v4
{
public class ChatFactory : IChatFactory, IChatChannelFactory, IChatPostFactory
{
public ISession NewInstance(IRestService restService, Uri baseUri, string toke... |
using System;
using Moq;
using NUnit.Framework;
using SisoDb.Dac;
using SisoDb.DbSchema;
using SisoDb.Structures.Schemas;
using SisoDb.UnitTests.TestFactories;
namespace SisoDb.UnitTests.DbSchema
{
[TestFixture]
public class DbSchemaManagerTests : UnitTestBase
{
private IStructureSchem... |
using System;
using System.Linq;
using System.Linq.Expressions;
using CrmSystem.Domain;
using CrmSystem.Domain.Models;
using CrmSystem.Domain.Repositories;
using CrmSystem.EntityFramework.Repositories;
namespace CrmSystem.EntityFramework
{
public class UnitOfWork:IUnitOfWork
{
private CrmSystemContext... |
using Neutronium.BuildingBlocks.Application.ViewModels;
using Neutronium.SPA.ViewModel.Common;
namespace Neutronium.SPA.ViewModel
{
/// <summary>
/// ViewModel for the "about" route
/// </summary>
public class AboutViewModel
{
public ApplicationInformation Information => GlobalApplication... |
using System.Collections.Generic;
using EdFi.Security.DataAccess.Models;
namespace EdFi.Security.DataAccess.Caching
{
public class InstanceSecurityRepositoryCacheObject
{
public Application Application { get; }
public List<Action> Actions { get; }
public List<ClaimSet> ClaimSets { ge... |
using System.Collections.Generic;
using System.IO;
using System.IO.Abstractions;
using System.Linq;
using Common.YamlDotNet;
using FluentValidation;
using TrashLib.Config;
using YamlDotNet.Core;
using YamlDotNet.Core.Events;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;
namespace T... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace AzureIoTEdgeModbus.Slave
{
public class WriteOperation : ModbusOperation
{
[JsonProperty(Required = Required.Always)]
public string HwId { get; set; }
[Json... |
using Android.App;
using Java.Lang;
using Android.OS;
using Android.Content;
namespace AlarmDemo
{
[Activity(Label = "AlarmDemo", MainLauncher = true)]
public class MainActivity : Activity
{
protected override void OnCreate(Bundle savedInstanceState)
{
base.OnCreate(savedInstan... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSharpBasic.Basic
{
public class DateTimeDemo
{
public static void TestDemo()
{
TimeSpan ts = DateTime.Now - DateTime.Parse("2017/3/24 19:19:00");
... |
using System;
using System.Collections.ObjectModel;
using System.Linq;
using DasBlog.Tests.Support.Interfaces;
using Microsoft.Extensions.Logging;
namespace DasBlog.Tests.Support
{
public class BashScriptPlatform : IScriptPlatform
{
private ILogger<BashScriptPlatform> logger;
public BashScriptPlatform(ILogger<Ba... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GenVarStorage : MonoBehaviour
{
// Save these numbers so you can pass them over
public int ChunkGridSize = 0;
public int ChunkSizeX = 0;
public int ChunkSizeZ = 0;
}
|
using DnsClient;
using Masuit.Tools.Config;
using System;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Net;
using System.Text.RegularExpressions;
namespace Masuit.Tools.Core.Validator
{
/// <summary>
/// 邮箱校验
/// </summary>
public class IsEmailAttribute : ValidationAttr... |
using clean.architecture.core.Entities;
using clean.architecture.core.SharedKernel;
using System;
using System.Collections.Generic;
using System.Text;
namespace clean.architecture.core.Events
{
public class ToDoItemCompletedEvent : BaseDomainEvent
{
private ToDoItem completedItem;
public ToD... |
namespace MicroLite.Tests.Core
{
using System;
using System.Data;
using MicroLite.Core;
using MicroLite.Dialect;
using MicroLite.Driver;
using MicroLite.Listeners;
using MicroLite.Mapping;
using MicroLite.Tests.TestEntities;
using Moq;
using Xunit;
/// <summary>
/// Uni... |
using System;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using ICSharpCode.SharpZipLib.Zip.Compression;
using Wabbajack.Common;
using Wabbajack.DTOs.BSA.FileStates;
using Wabbajack.DTOs.Streams;
using Wabbajack.Paths;
namespace Wabbajack.Compression.BSA.FO4Archive;
publi... |
namespace LostTech.IO.Links {
using System.Runtime.InteropServices;
public static class Symlink {
static readonly IFileSystemLinks Impl =
RuntimeInformation.IsOSPlatform(OSPlatform.Windows)
? (IFileSystemLinks)new WindowsLinks()
: new UnixLinks();
/... |
namespace BoatRacingSimulator.Controllers
{
using System;
using System.Collections.Generic;
using Contracts;
using Enumerations;
using Utility;
public class CommandHandler : ICommandHandler
{
public CommandHandler()
: this(new BoatSimulatorController())
... |
using System.Collections.Generic;
using System.Reflection;
namespace Spencer.NET
{
public interface IConstructorInvoker
{
object InvokeConstructor(ConstructorInfo constructor, IEnumerable<object> parameters);
object InvokeConstructor(IConstructor constructor, IEnumerable<object> parameters);
... |
using System.Runtime.InteropServices;
namespace WebView2WrapperWpfTest
{
[ComVisible(true)]
public class TestObject
{
public string Name { get; set; }
public int GetStringLen()
{
return this.Name.Length;
}
public string GetValue(string input)
{... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using d60.Cirqus.Aggregates;
using d60.Cirqus.Config;
using d60.Cirqus.Events;
using d60.Cirqus.Serialization;
using d60.Cirqus.Testing.Internals;
using d60.Cirqus.Views;
using d60.Cirqus.Views.ViewManag... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Windows.Forms;
using System.Xml;
using DigitalPlatform;
using DigitalPlatform.CirculationClient;
using Digital... |
using System;
using System.Collections.Generic;
using System.Text;
namespace MDBX
{
using Interop;
[Flags]
public enum CursorDelOption : int
{
Unspecific = 0,
/// <summary>
/// Enter the new key/data pair only if it does not already appear in the
/// database. This f... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Azure.Storage.Blobs;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.AspNetCore.DataProtection.KeyManagement;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options... |
using Salix.Extensions;
namespace Demo;
public class InputDemo : IConsoleOperation
{
public string OperationName => "input";
public string HelpText =>
"Command to show possibilities of input extensions.";
public Task<int> DoWork()
{
var items = new HashSet<string>
{
... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace ApiPager.Core.Models
{
/// <summary>
/// Summary details for a user
/// </summary>
public class PagedResults<T> : IPagedResults
{
#region private fields
private FilterPageAndSortInfo filterPageAndSortInfo;
#... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
namespace JOD.Writer.Models.com
{
public class TableTableCell : TableCellBase
{
[XmlAttribute(WriterKeyword.table_style_name)]
public string table_style_name { get; set; }
[XmlAttribute(... |
using System;
using System.IO;
using System.Threading.Tasks;
using SampleApp.Domain;
using UnityEngine;
namespace SampleApp.Infrastructure
{
public class JsonSaveDataRepsitory : ISaveDataRepository
{
private readonly string _dataPath;
public JsonSaveDataRepsitory()
{
_data... |
// <copyright file="RecipeToml.cs" company="Soup">
// Copyright (c) Soup. All rights reserved.
// </copyright>
using Opal;
using Soup.Build.Runtime;
using System;
using System.Threading.Tasks;
using Tomlyn;
using Tomlyn.Syntax;
namespace Soup.Build.Utilities
{
/// <summary>
/// The recipe Toml serialize mana... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenCV.Net;
using System.Runtime.InteropServices;
using System.Reactive.Linq;
using System.ComponentModel;
namespace Bonsai.Vision
{
[Description("Undistorts the observed point coordinates using the specified in... |
using System;
namespace LeanCloud.Realtime.CLI.Services
{
public class AppService
{
public AppService()
{
}
}
}
|
using MovieManager.Core.Contracts;
using MovieManager.Core.Entities;
using System.Collections.Generic;
using System.Linq;
namespace MovieManager.Persistence
{
internal class CategoryRepository : ICategoryRepository
{
private readonly ApplicationDbContext _dbContext;
public CategoryRepository(... |
using SysCommand.ConsoleApp;
using SysCommand.Mapping;
namespace SysCommand.Tests.UnitTests.Common.Commands.T37
{
public class Command1 : Command
{
[Argument(ShortName = 'a', LongName = "a1")]
public string A1 { get; set; }
public Command1()
{
EnablePositionalArgs ... |
/***********************************************************************************************\
* (C) KAL ATM Software GmbH, 2021
* KAL ATM Software GmbH licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
\*********************************************... |
using Knyaz.Optimus.ScriptExecuting;
namespace Knyaz.Optimus.Dom.Elements
{
/// <summary>
/// Represents <optgroup> html element.
/// </summary>
[JsName("HTMLOptGroupElement")]
public class HtmlOptGroupElement : HtmlElement
{
internal HtmlOptGroupElement(Document ownerDocument) : base(ownerDoc... |
namespace DaJet.Export
{
public sealed class BatchInfo
{
public int RowNumber1 { get; set; }
public int RowNumber2 { get; set; }
public bool IsNacked { get; set; }
public int MessagesSent { get; set; }
}
} |
using System.Dynamic;
namespace applicationApi.Models
{
public class SensorsDatabaseSettings : ISensorsDatabaseSettings
{
public string WindSensorsCollectionName { get; set; }
public string PressureSensorsCollectionName { get; set; }
public string TemperatureSensorsCollectionName { get;... |
namespace ToyBoxHHH
{
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// Useful script to toggle children using gameObject.SetActive()
///
/// made by @horatiu665
/// </summary>
public class ToggleChildren : MonoBehaviour
{
... |
public class Private : Soldier, IPrivate
{
private double salary;
public Private(int id, string firstName, string lastName, double salary)
: base(id, firstName, lastName)
{
Salary = salary;
}
public double Salary
{
get => salary;
private set => salary = value;
... |
using System;
using System.Net;
using SocketFlow;
using SocketFlow.Client;
namespace Examples
{
public class ClientExample
{
private static FlowClient client;
private static readonly FlowOptions options = new FlowOptions()
{
DefaultNonPrimitivesObjectUsingAsJson = true
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using Anno.Domain.Member;
using Anno.Common;
using Anno.Domain.Repository;
namespace Anno.Domain.Service
{
public class MemberService : IMemberService
{
//private readonly SqlSugar.SqlSugarClient _db;
privat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Shawn.Utils;
namespace Demo
{
public class MatchProviderInfo : NotifyPropertyChangedBase
{
private string _name;
public string Name
{
get => _name;
... |
using System;
using System.Collections.Generic;
using GSoft.Dynamite.Taxonomy;
using Microsoft.Office.Server.UserProfiles;
namespace GSoft.Dynamite.UserProfile
{
/// <summary>
/// User profile property information.
/// </summary>
public class UserProfilePropertyInfo
{
private readonly IDic... |
using System.Collections.Generic;
using System.Linq;
namespace LightBDD.Framework.Reporting.Formatters.Html
{
internal class TagBuilder : IHtmlNode
{
private readonly List<KeyValuePair<string, string>> _attributes = new List<KeyValuePair<string, string>>();
private bool _skipEmpty;
priv... |
/**
* 缓冲区
**/
using System;
using System.Text;
namespace cocosocket4unity
{
public class ByteBuf
{
private byte[] data;
private int readerIndex;
private int writerIndex;
private int markReader;
private int markWriter;
/**
* 初始化
**/
public ByteBuf (int capacity)
{
this.d... |
/*
* Copyright (c) 2014-2015 Håkan Edling
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* http://github.com/piranhacms/piranha.vnext
*
*/
using AutoMapper;
using System;
using System.Collections.Generic;
using System... |
namespace Microsoft.Web.Mvc
{
public enum SerializationMode
{
Signed = 0,
EncryptedAndSigned = 1
}
}
|
using System;
using System.Windows.Forms;
namespace Sdl.SDK.LanguagePlatform.Samples.TmLookup
{
public partial class frmSettings : Form
{
public frmSettings()
{
InitializeComponent();
}
#region "PropFuzzy"
// Property for setting the minimum fu... |
using DarkMatterWasm.Shared;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DarkMatterWasm.Shared.Models;
using DarkMatterWeb.Services;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
namespace DarkMatterWasm.Server.Co... |
using System;
using IniParser.Model;
using NUnit.Framework;
namespace IniFileParser.Tests.Unit.Model
{
[TestFixture, Category("Test of data structures used to hold information retrieved for an INI file")]
public class SectionDataTests
{
[Test]
public void check_default_values()
{
... |
@model Test.Models.NewsViewModel
@{
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h1>Sport</h1>
<h2>@Model.Title</h2>
<p>@Model.Content</p> |
namespace Windows.Foundation
{
public enum AsyncStatus
{
Canceled = 2,
/// <summary>The operation has completed.</summary>
Completed = 1,
Error = 3,
/// <summary>The operation has started.</summary>
Started = 0
}
} |
using System;
namespace Initio_4tronix.CarController
{
public class Motor
{
public MotorController MotorController { get; set; }
public int MotorNumber { get; set; }
public int MotorPwmPin { get; set; }
public int MotorIn1Pin { get; set; }
public int MotorIn2Pin { get; ... |
using System.ComponentModel;
namespace Grasews.Domain.Enums
{
public enum ResetPasswordStatusEnum
{
[Description("The password reset has been requested")]
Requested = 0,
[Description("The password reset has been processed")]
Processed = 1,
}
} |
namespace BinaryDataSerialization.Test.Issues.Issue90
{
public abstract class TxpFile
{
[FieldOrder(0)] public char[] Magic = { 'T', 'X', 'P' };
[FieldOrder(1)]
[Subtype("Magic", "TXP", typeof(TxpTexture))]
[Subtype("Magic", "TXP", typeof(TxpTextureAtlas))]
public TxpB... |
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.IO;
using System.IO.Compression;
using System.Threading;
using OpenTK;
using Util;
namespace Terrain
{
public class ChunkCache
{
public Int32 byteCount { get; set; } //a 0 offset means it's just air
pu... |
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// ZhimaCustomerBehaviorSyncModel Data Structure.
/// </summary>
public class ZhimaCustomerBehaviorSyncModel : AlipayObject
{
/// <summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Goodreads8.ViewModel.Model
{
class Topic
{
public int Id { get; set; }
public String Title { get; set; }
public DateTime LastCommentAt { get; set; }... |
using System.Collections.Generic;
using NUnit.Framework;
using Nvelope.Data;
namespace Nvelope.Tests.Data
{
[TestFixture]
public class DataProxyTests
{
[Test]
public void NoOverrides()
{
var data = new
{
Name = "Brian",
... |
using Example.Core.ExternalApi.ExampleAuthApi.Dto.Data;
using Example.Core.ExternalApi.ExampleAuthApi.Dto.Login;
using Example.Domain.Model.Integration;
using System.Collections.Generic;
namespace Example.Core.ExternalApi.ExtenalApiExample
{
internal class ExampleAuthApi : BaseExternalApi
{
public Exa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.