content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Microsoft.Identity.Client.Cache.Items;
using Microsoft.Identity.Client.Cache.Keys;
using Microsoft.Identity.Client.Internal.Requests;
namespace Microsoft.Identity.Client.Cache
{
/// <summary>
/// Responsible for computing:
/// - external distributed cache key (from request and responses)
/// - internal cache partition keys (as above, but also from cache items)
///
/// These are the same string, but MSAL cannot control if the app developer actually uses distributed caching.
/// However, MSAL's in-memory cache needs to be partitioned, and this class computes the partition key.
/// </summary>
internal static class CacheKeyFactory
{
public static string GetKeyFromRequest(AuthenticationRequestParameters requestParameters)
{
if (GetOboOrAppKey(requestParameters, out string key))
{
return key;
}
if (requestParameters.ApiId == TelemetryCore.Internal.Events.ApiEvent.ApiIds.AcquireTokenSilent ||
requestParameters.ApiId == TelemetryCore.Internal.Events.ApiEvent.ApiIds.RemoveAccount)
{
return requestParameters.Account?.HomeAccountId?.Identifier;
}
if (requestParameters.ApiId == TelemetryCore.Internal.Events.ApiEvent.ApiIds.GetAccountById)
{
return requestParameters.HomeAccountId;
}
return null;
}
public static string GetExternalCacheKeyFromResponse(
AuthenticationRequestParameters requestParameters,
string homeAccountIdFromResponse)
{
if (GetOboOrAppKey(requestParameters, out string key))
{
return key;
}
if (requestParameters.IsConfidentialClient ||
requestParameters.ApiId == TelemetryCore.Internal.Events.ApiEvent.ApiIds.AcquireTokenSilent)
{
return homeAccountIdFromResponse;
}
return null;
}
public static string GetInternalPartitionKeyFromResponse(
AuthenticationRequestParameters requestParameters,
string homeAccountIdFromResponse)
{
return GetExternalCacheKeyFromResponse(requestParameters, homeAccountIdFromResponse) ??
homeAccountIdFromResponse;
}
private static bool GetOboOrAppKey(AuthenticationRequestParameters requestParameters, out string key)
{
if (requestParameters.ApiId == TelemetryCore.Internal.Events.ApiEvent.ApiIds.AcquireTokenOnBehalfOf)
{
key = GetOboKey(requestParameters.LongRunningOboCacheKey, requestParameters.UserAssertion);
return true;
}
if (requestParameters.ApiId == TelemetryCore.Internal.Events.ApiEvent.ApiIds.AcquireTokenForClient)
{
string tenantId = requestParameters.Authority.TenantId ?? "";
key = GetClientCredentialKey(requestParameters.AppConfig.ClientId, tenantId);
return true;
}
key = null;
return false;
}
public static string GetClientCredentialKey(string clientId, string tenantId)
{
return $"{clientId}_{tenantId}_AppTokenCache";
}
public static string GetOboKey(string oboCacheKey, UserAssertion userAssertion)
{
return !string.IsNullOrEmpty(oboCacheKey) ? oboCacheKey : userAssertion?.AssertionHash;
}
public static string GetOboKey(string oboCacheKey, string homeAccountId)
{
return !string.IsNullOrEmpty(oboCacheKey) ? oboCacheKey : homeAccountId;
}
public static string GetKeyFromCachedItem(MsalAccessTokenCacheItem accessTokenCacheItem)
{
string partitionKey = GetOboKey(accessTokenCacheItem.OboCacheKey, accessTokenCacheItem.HomeAccountId);
return partitionKey;
}
public static string GetKeyFromCachedItem(MsalRefreshTokenCacheItem refreshTokenCacheItem)
{
string partitionKey = GetOboKey(refreshTokenCacheItem.OboCacheKey, refreshTokenCacheItem.HomeAccountId);
return partitionKey;
}
// Id tokens are not indexed by OBO key, only by home account key
public static string GetIdTokenKeyFromCachedItem(MsalAccessTokenCacheItem accessTokenCacheItem)
{
return accessTokenCacheItem.HomeAccountId;
}
public static string GetKeyFromAccount(MsalAccountCacheKey accountKey)
{
return accountKey.HomeAccountId;
}
public static string GetKeyFromCachedItem(MsalIdTokenCacheItem idTokenCacheItem)
{
return idTokenCacheItem.HomeAccountId;
}
public static string GetKeyFromCachedItem(MsalAccountCacheItem accountCacheItem)
{
return accountCacheItem.HomeAccountId;
}
}
}
| 37.824818 | 116 | 0.652065 | [
"MIT"
] | AzureAD/microsoft-authentication-library-for-dotnet | src/client/Microsoft.Identity.Client/Cache/CacheKeyFactory.cs | 5,184 | C# |
//-----------------------------------------------------------------------------
// Copyright : (c) Chris Moore, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
using System.Runtime.InteropServices;
using static Root;
/// <summary>
/// 4x256 / 2x512
/// </summary>
[StructLayout(LayoutKind.Sequential, Size = 128), Vector(NativeTypeWidth.W1024)]
public readonly struct Vector1024<T>
where T : unmanaged
{
/// <summary>
/// The lo 256 bit segment
/// </summary>
public readonly Vector256<T> A;
/// <summary>
/// The second 256-bit segment
/// </summary>
public readonly Vector256<T> B;
/// <summary>
/// The third 256-bit segment
/// </summary>
public readonly Vector256<T> C;
/// <summary>
/// The hi 256-bit segment
/// </summary>
public readonly Vector256<T> D;
/// <summary>
/// The number of cells covered by the vector
/// </summary>
public static int Count => 2*Vector256<T>.Count;
[MethodImpl(Inline)]
public static implicit operator Vector1024<T>(in (Vector512<T> a, Vector512<T> b) src)
=> new Vector1024<T>(src.a, src.b);
[MethodImpl(Inline)]
public static implicit operator Vector1024<T>(in (Vector256<T> a, Vector256<T> b, Vector256<T> c, Vector256<T> d) src)
=> new Vector1024<T>(src.a, src.b, src.c, src.d);
[MethodImpl(Inline)]
public static bool operator ==(in Vector1024<T> a, in Vector1024<T> b)
=> a.Equals(b);
[MethodImpl(Inline)]
public static bool operator !=(in Vector1024<T> a, in Vector1024<T> b)
=> a.Equals(b);
[MethodImpl(Inline)]
public Vector1024(Vector256<T> a, Vector256<T> b, Vector256<T> c, Vector256<T> d)
{
A = a;
B = b;
C = c;
D = d;
}
[MethodImpl(Inline)]
public Vector1024(Vector512<T> lo, Vector512<T> hi)
{
this.A = lo.Lo;
this.B = lo.Hi;
this.C = hi.Lo;
this.D = hi.Hi;
}
public T this[int i]
{
[MethodImpl(Inline)]
get => default;
}
public Vector512<T> Lo
{
[MethodImpl(Inline)]
get => (A,B);
}
public Vector512<T> Hi
{
[MethodImpl(Inline)]
get => (C,D);
}
[MethodImpl(Inline)]
public void Deconstruct(out Vector256<T> a, out Vector256<T> b, out Vector256<T> c, out Vector256<T> d)
{
a = this.A;
b = this.B;
c = this.C;
d = this.D;
}
[MethodImpl(Inline)]
public void Deconstruct(out Vector512<T> lo, out Vector512<T> hi)
{
lo = default;
hi = default;
}
/// <summary>
/// Interprets the pair over an alternate domain
/// </summary>
/// <typeparam name="U">The alternate type</typeparam>
[MethodImpl(Inline)]
public Vector1024<U> As<U>()
where U : unmanaged
=> Unsafe.As<Vector1024<T>,Vector1024<U>>(ref Unsafe.AsRef(in this));
[MethodImpl(Inline)]
public bool Equals(in Vector1024<T> rhs)
=> A.Equals(rhs.A) && B.Equals(rhs.B);
public override int GetHashCode()
=> HashCode.Combine(A,B);
public override bool Equals(object obj)
=> obj is Vector1024<T> x && Equals(x);
}
} | 28.425373 | 126 | 0.491205 | [
"BSD-3-Clause"
] | 0xCM/z0 | src/core/src/vectors/Vector1024.cs | 3,809 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace ConsoleLogSearch.Migrations
{
public partial class Initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "HelixConsoleLogs",
columns: table => new
{
Id = table.Column<int>(type: "int", nullable: false)
.Annotation("SqlServer:Identity", "1, 1"),
ConsoleLog = table.Column<string>(type: "nvarchar(max)", nullable: false),
ConsoleLogUri = table.Column<string>(type: "varchar(1000)", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_HelixConsoleLogs", x => x.Id);
});
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "HelixConsoleLogs");
}
}
}
| 34 | 96 | 0.534156 | [
"MIT"
] | jaredpar/ConsoleLogSearch | ConsoleLogSearch/Migrations/20210516204543_Initial.cs | 1,056 | C# |
// 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 Microsoft.ML.Runtime;
using Microsoft.ML.Runtime.CommandLine;
using Microsoft.ML.Runtime.Data;
using Microsoft.ML.Runtime.EntryPoints;
using Microsoft.ML.Runtime.Training;
using Newtonsoft.Json.Linq;
[assembly: LoadableClass(typeof(void), typeof(OneVersusAllMacro), null, typeof(SignatureEntryPointModule), "OneVersusAllMacro")]
namespace Microsoft.ML.Runtime.EntryPoints
{
/// <summary>
/// This macro entrypoint implements OVA.
/// </summary>
public static class OneVersusAllMacro
{
public sealed class SubGraphOutput
{
[Argument(ArgumentType.Required, HelpText = "The predictor model for the subgraph exemplar.", SortOrder = 1)]
public Var<IPredictorModel> Model;
}
public sealed class Arguments : LearnerInputBaseWithWeight
{
// This is the subgraph that describes how to train a model for submodel. It should
// accept one IDataView input and output one IPredictorModel output.
[Argument(ArgumentType.Required, HelpText = "The subgraph for the binary trainer used to construct the OVA learner. This should be a TrainBinary node.", SortOrder = 1)]
public JArray Nodes;
[Argument(ArgumentType.Required, HelpText = "The training subgraph output.", SortOrder = 2)]
public SubGraphOutput OutputForSubGraph = new SubGraphOutput();
[Argument(ArgumentType.AtMostOnce, HelpText = "Use probabilities in OVA combiner", SortOrder = 3)]
public bool UseProbabilities = true;
}
public sealed class Output
{
[TlcModule.Output(Desc = "The trained multiclass model", SortOrder = 1)]
public IPredictorModel PredictorModel;
}
private static Tuple<List<EntryPointNode>, Var<IPredictorModel>> ProcessClass(IHostEnvironment env, int k, string label, Arguments input, EntryPointNode node)
{
var macroNodes = new List<EntryPointNode>();
// Convert label into T,F based on k.
var remapper = new Legacy.Transforms.LabelIndicator
{
ClassIndex = k,
Column = new[]
{
new Legacy.Transforms.LabelIndicatorTransformColumn
{
ClassIndex = k,
Name = label,
Source = label
}
},
Data = { VarName = node.GetInputVariable(nameof(input.TrainingData)).ToJson() }
};
var exp = new Experiment(env);
var remapperOutNode = exp.Add(remapper);
var subNodes = EntryPointNode.ValidateNodes(env, node.Context, exp.GetNodes());
macroNodes.AddRange(subNodes);
// Parse the nodes in input.Nodes into a temporary run context.
var subGraphRunContext = new RunContext(env);
var subGraphNodes = EntryPointNode.ValidateNodes(env, subGraphRunContext, input.Nodes);
// Rename all the variables such that they don't conflict with the ones in the outer run context.
var mapping = new Dictionary<string, string>();
bool foundOutput = false;
Var<IPredictorModel> predModelVar = null;
foreach (var entryPointNode in subGraphNodes)
{
// Rename variables in input/output maps, and in subgraph context.
entryPointNode.RenameAllVariables(mapping);
foreach (var kvp in mapping)
subGraphRunContext.RenameContextVariable(kvp.Key, kvp.Value);
// Grab a hold of output model from this subgraph.
if (entryPointNode.GetOutputVariableName("PredictorModel") is string mvn)
{
predModelVar = new Var<IPredictorModel> { VarName = mvn };
foundOutput = true;
}
// Connect label remapper output to wherever training data was expected within the input graph.
if (entryPointNode.GetInputVariable(nameof(input.TrainingData)) is VariableBinding vb)
vb.Rename(remapperOutNode.OutputData.VarName);
// Change node to use the main context.
entryPointNode.SetContext(node.Context);
}
// Move the variables from the subcontext to the main context.
node.Context.AddContextVariables(subGraphRunContext);
// Make sure we found the output variable for this model.
if (!foundOutput)
throw new Exception("Invalid input graph. Does not output predictor model.");
// Add training subgraph to our context.
macroNodes.AddRange(subGraphNodes);
return new Tuple<List<EntryPointNode>, Var<IPredictorModel>>(macroNodes, predModelVar);
}
private static int GetNumberOfClasses(IHostEnvironment env, Arguments input, out string label)
{
var host = env.Register("OVA Macro GetNumberOfClasses");
using (var ch = host.Start("OVA Macro GetNumberOfClasses"))
{
// RoleMappedData creation
ISchema schema = input.TrainingData.Schema;
label = TrainUtils.MatchNameOrDefaultOrNull(ch, schema, nameof(Arguments.LabelColumn),
input.LabelColumn,
DefaultColumnNames.Label);
var feature = TrainUtils.MatchNameOrDefaultOrNull(ch, schema, nameof(Arguments.FeatureColumn),
input.FeatureColumn, DefaultColumnNames.Features);
var weight = TrainUtils.MatchNameOrDefaultOrNull(ch, schema, nameof(Arguments.WeightColumn),
input.WeightColumn, DefaultColumnNames.Weight);
// Get number of classes
var data = new RoleMappedData(input.TrainingData, label, feature, null, weight);
data.CheckMultiClassLabel(out var numClasses);
return numClasses;
}
}
[TlcModule.EntryPoint(Desc = "One-vs-All macro (OVA)",
Name = "Models.OneVersusAll",
XmlInclude = new[] { @"<include file='../Microsoft.ML.StandardLearners/Standard/MultiClass/doc.xml' path='doc/members/member[@name=""OVA""]/*'/>" })]
public static CommonOutputs.MacroOutput<Output> OneVersusAll(
IHostEnvironment env,
Arguments input,
EntryPointNode node)
{
Contracts.CheckValue(env, nameof(env));
env.CheckValue(input, nameof(input));
env.Assert(input.Nodes.Count > 0);
var numClasses = GetNumberOfClasses(env, input, out var label);
var predModelVars = new Var<IPredictorModel>[numClasses];
// This will be the final resulting list of nodes that is returned from the macro.
var macroNodes = new List<EntryPointNode>();
// Instantiate the subgraph for each label value.
for (int k = 0; k < numClasses; k++)
{
var result = ProcessClass(env, k, label, input, node);
predModelVars[k] = result.Item2;
macroNodes.AddRange(result.Item1);
}
// Use OVA model combiner to combine these models into one.
// Takes in array of models that are binary predictor models and
// produces single multiclass predictor model.
var macroExperiment = new Experiment(env);
var combinerNode = new Legacy.Models.OvaModelCombiner
{
ModelArray = new ArrayVar<IPredictorModel>(predModelVars),
TrainingData = new Var<IDataView> { VarName = node.GetInputVariable(nameof(input.TrainingData)).VariableName },
Caching = (Legacy.Models.CachingOptions)input.Caching,
FeatureColumn = input.FeatureColumn,
NormalizeFeatures = (Legacy.Models.NormalizeOption)input.NormalizeFeatures,
LabelColumn = input.LabelColumn,
UseProbabilities = input.UseProbabilities
};
// Get output model variable.
if (!node.OutputMap.TryGetValue(nameof(Output.PredictorModel), out var outVariableName))
throw new Exception("Cannot find OVA model output.");
// Map macro's output back to OVA combiner (so OVA combiner will set the value on our output variable).
var combinerOutput = new Legacy.Models.OvaModelCombiner.Output { PredictorModel = new Var<IPredictorModel> { VarName = outVariableName } };
// Add to experiment (must be done AFTER we assign variable name to output).
macroExperiment.Add(combinerNode, combinerOutput);
// Add nodes to main experiment.
var nodes = macroExperiment.GetNodes();
var expNodes = EntryPointNode.ValidateNodes(env, node.Context, nodes);
macroNodes.AddRange(expNodes);
return new CommonOutputs.MacroOutput<Output>() { Nodes = macroNodes };
}
}
}
| 47.690355 | 180 | 0.620862 | [
"MIT"
] | ArieJones/machinelearning | src/Microsoft.ML.Legacy/Runtime/EntryPoints/OneVersusAllMacro.cs | 9,395 | C# |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Pooling;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Objects.Pooling;
namespace osu.Game.Rulesets.Osu.Objects.Drawables.Connections
{
/// <summary>
/// Visualises connections between <see cref="DrawableOsuHitObject"/>s.
/// </summary>
public class FollowPointRenderer : PooledDrawableWithLifetimeContainer<FollowPointLifetimeEntry, FollowPointConnection>
{
public new IReadOnlyList<FollowPointLifetimeEntry> Entries => lifetimeEntries;
private DrawablePool<FollowPointConnection> connectionPool;
private DrawablePool<FollowPoint> pointPool;
private readonly List<FollowPointLifetimeEntry> lifetimeEntries = new List<FollowPointLifetimeEntry>();
private readonly Dictionary<HitObject, IBindable> startTimeMap = new Dictionary<HitObject, IBindable>();
[BackgroundDependencyLoader]
private void load()
{
InternalChildren = new Drawable[]
{
connectionPool = new DrawablePool<FollowPointConnection>(1, 200),
pointPool = new DrawablePool<FollowPoint>(50, 1000)
};
}
public void AddFollowPoints(OsuHitObject hitObject)
{
addEntry(hitObject);
var startTimeBindable = hitObject.StartTimeBindable.GetBoundCopy();
startTimeBindable.ValueChanged += _ => onStartTimeChanged(hitObject);
startTimeMap[hitObject] = startTimeBindable;
}
public void RemoveFollowPoints(OsuHitObject hitObject)
{
removeEntry(hitObject);
startTimeMap[hitObject].UnbindAll();
startTimeMap.Remove(hitObject);
}
private void addEntry(OsuHitObject hitObject)
{
var newEntry = new FollowPointLifetimeEntry(hitObject);
int index = lifetimeEntries.AddInPlace(newEntry, Comparer<FollowPointLifetimeEntry>.Create((e1, e2) =>
{
int comp = e1.Start.StartTime.CompareTo(e2.Start.StartTime);
if (comp != 0)
return comp;
// we always want to insert the new item after equal ones.
// this is important for beatmaps with multiple hitobjects at the same point in time.
// if we use standard comparison insert order, there will be a churn of connections getting re-updated to
// the next object at the point-in-time, adding a construction/disposal overhead (see FollowPointConnection.End implementation's ClearInternal).
// this is easily visible on https://osu.ppy.sh/beatmapsets/150945#osu/372245
return -1;
}));
if (index < lifetimeEntries.Count - 1)
{
// Update the connection's end point to the next connection's start point
// h1 -> -> -> h2
// connection nextGroup
FollowPointLifetimeEntry nextEntry = lifetimeEntries[index + 1];
newEntry.End = nextEntry.Start;
}
else
{
// The end point may be non-null during re-ordering
newEntry.End = null;
}
if (index > 0)
{
// Update the previous connection's end point to the current connection's start point
// h1 -> -> -> h2
// prevGroup connection
FollowPointLifetimeEntry previousEntry = lifetimeEntries[index - 1];
previousEntry.End = newEntry.Start;
}
Add(newEntry);
}
private void removeEntry(OsuHitObject hitObject)
{
int index = lifetimeEntries.FindIndex(e => e.Start == hitObject);
var entry = lifetimeEntries[index];
entry.UnbindEvents();
lifetimeEntries.RemoveAt(index);
Remove(entry);
if (index > 0)
{
// Update the previous connection's end point to the next connection's start point
// h1 -> -> -> h2 -> -> -> h3
// prevGroup connection nextGroup
// The current connection's end point is used since there may not be a next connection
FollowPointLifetimeEntry previousEntry = lifetimeEntries[index - 1];
previousEntry.End = entry.End;
}
}
protected override FollowPointConnection GetDrawable(FollowPointLifetimeEntry entry)
{
var connection = connectionPool.Get();
connection.Pool = pointPool;
connection.Apply(entry);
return connection;
}
private void onStartTimeChanged(OsuHitObject hitObject)
{
removeEntry(hitObject);
addEntry(hitObject);
}
protected override void Dispose(bool isDisposing)
{
base.Dispose(isDisposing);
foreach (var entry in lifetimeEntries)
entry.UnbindEvents();
lifetimeEntries.Clear();
}
}
}
| 37.838926 | 161 | 0.587088 | [
"MIT"
] | peppy/osu-new | osu.Game.Rulesets.Osu/Objects/Drawables/Connections/FollowPointRenderer.cs | 5,492 | C# |
using CommonLib;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GanttChartControl.Models
{
public class GanttProjectModel: NotifyPropertyChanged
{
private string _projectName;
/// <summary>
/// Get or set ProjectName value
/// </summary>
public string ProjectName
{
get { return _projectName; }
set { Set(ref _projectName, value); }
}
private DateTime _startTime;
/// <summary>
/// Get or set StartTime value
/// </summary>
public DateTime StartTime
{
get { return _startTime; }
set { Set(ref _startTime, value); }
}
private double _value;
/// <summary>
/// Get or set Value value
/// </summary>
public double Value
{
get { return _value; }
set { Set(ref _value, value); }
}
private string _unitName;
/// <summary>
/// Get or set UnitName value
/// </summary>
public string UnitName
{
get { return _unitName; }
set { Set(ref _unitName, value); }
}
private DateTime _endTime;
/// <summary>
/// Get or set EndTime value
/// </summary>
public DateTime EndTime
{
get { return _endTime; }
set { Set(ref _endTime, value); }
}
private double _startPointX;
/// <summary>
/// Get or set StartPointX value
/// </summary>
public double StartPointX
{
get { return _startPointX; }
set { Set(ref _startPointX, value); }
}
private double _startPointY;
/// <summary>
/// Get or set StartPointY value
/// </summary>
public double StartPointY
{
get { return _startPointY; }
set { Set(ref _startPointY, value); }
}
private double _endPointX;
/// <summary>
/// Get or set EndPointX value
/// </summary>
public double EndPointX
{
get { return _endPointX; }
set { Set(ref _endPointX, value); }
}
private double _endPointY;
/// <summary>
/// Get or set EndPointY value
/// </summary>
public double EndPointY
{
get { return _endPointY; }
set { Set(ref _endPointY, value); }
}
private bool _isSinglePoint;
/// <summary>
/// Get or set IsSinglePoint value
/// </summary>
public bool IsSinglePoint
{
get { return _isSinglePoint; }
set { Set(ref _isSinglePoint, value); }
}
private bool _isEnd;
/// <summary>
/// Get or set IsEnd value
/// </summary>
public bool IsEnd
{
get { return _isEnd; }
set { Set(ref _isEnd, value); }
}
private bool _isStart;
/// <summary>
/// Get or set IsStart value
/// </summary>
public bool IsStart
{
get { return _isStart; }
set { Set(ref _isStart, value); }
}
private ObservableCollection<GanttProjectModel> _children = new ObservableCollection<GanttProjectModel>();
/// <summary>
/// Get or set Children value
/// </summary>
public ObservableCollection<GanttProjectModel> Children
{
get { return _children; }
set { Set(ref _children, value); }
}
}
}
| 19.615894 | 108 | 0.641458 | [
"Apache-2.0"
] | daixin10310/GanttChartWPF | GanttChartControl/Models/GanttProjectModel.cs | 2,964 | C# |
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using System.Collections.Generic;
using System.IO;
#if Q8
using QuantumType = System.Byte;
#elif Q16
using QuantumType = System.UInt16;
#elif Q16HDRI
using QuantumType = System.Single;
#else
#error Not implemented!
#endif
namespace ImageMagick
{
/// <summary>
/// Class that contains basic information about an image.
/// </summary>
public sealed partial class MagickImageInfo : IMagickImageInfo
{
/// <summary>
/// Initializes a new instance of the <see cref="MagickImageInfo"/> class.
/// </summary>
public MagickImageInfo()
{
}
/// <summary>
/// Initializes a new instance of the <see cref="MagickImageInfo"/> class.
/// </summary>
/// <param name="data">The byte array to read the information from.</param>
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
public MagickImageInfo(byte[] data)
: this()
=> Read(data);
/// <summary>
/// Initializes a new instance of the <see cref="MagickImageInfo"/> class.
/// </summary>
/// <param name="data">The byte array to read the information from.</param>
/// <param name="offset">The offset at which to begin reading data.</param>
/// <param name="count">The maximum number of bytes to read.</param>
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
public MagickImageInfo(byte[] data, int offset, int count)
: this()
=> Read(data, offset, count);
/// <summary>
/// Initializes a new instance of the <see cref="MagickImageInfo"/> class.
/// </summary>
/// <param name="file">The file to read the image from.</param>
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
public MagickImageInfo(FileInfo file)
: this()
=> Read(file);
/// <summary>
/// Initializes a new instance of the <see cref="MagickImageInfo"/> class.
/// </summary>
/// <param name="stream">The stream to read the image data from.</param>
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
public MagickImageInfo(Stream stream)
: this()
=> Read(stream);
/// <summary>
/// Initializes a new instance of the <see cref="MagickImageInfo"/> class.
/// </summary>
/// <param name="fileName">The fully qualified name of the image file, or the relative image file name.</param>
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
public MagickImageInfo(string fileName)
: this()
=> Read(fileName);
/// <summary>
/// Gets the color space of the image.
/// </summary>
public ColorSpace ColorSpace { get; private set; }
/// <summary>
/// Gets the compression method of the image.
/// </summary>
public CompressionMethod Compression { get; private set; }
/// <summary>
/// Gets the density of the image.
/// </summary>
public Density? Density { get; private set; }
/// <summary>
/// Gets the original file name of the image (only available if read from disk).
/// </summary>
public string? FileName { get; private set; }
/// <summary>
/// Gets the format of the image.
/// </summary>
public MagickFormat Format { get; private set; }
/// <summary>
/// Gets the height of the image.
/// </summary>
public int Height { get; private set; }
/// <summary>
/// Gets the type of interlacing.
/// </summary>
public Interlace Interlace { get; private set; }
/// <summary>
/// Gets the JPEG/MIFF/PNG compression level.
/// </summary>
public int Quality { get; private set; }
/// <summary>
/// Gets the width of the image.
/// </summary>
public int Width { get; private set; }
/// <summary>
/// Read basic information about an image with multiple frames/pages.
/// </summary>
/// <param name="data">The byte array to read the information from.</param>
/// <returns>A <see cref="IMagickImageInfo"/> iteration.</returns>
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
public static IEnumerable<IMagickImageInfo> ReadCollection(byte[] data)
{
using (var images = new MagickImageCollection())
{
images.Ping(data);
foreach (var image in images)
{
var info = new MagickImageInfo();
info.Initialize(image);
yield return info;
}
}
}
/// <summary>
/// Read basic information about an image with multiple frames/pages.
/// </summary>
/// <param name="data">The byte array to read the information from.</param>
/// <param name="offset">The offset at which to begin reading data.</param>
/// <param name="count">The maximum number of bytes to read.</param>
/// <returns>A <see cref="IMagickImageInfo"/> iteration.</returns>
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
public static IEnumerable<IMagickImageInfo> ReadCollection(byte[] data, int offset, int count)
{
using (var images = new MagickImageCollection())
{
images.Ping(data, offset, count);
foreach (var image in images)
{
var info = new MagickImageInfo();
info.Initialize(image);
yield return info;
}
}
}
/// <summary>
/// Read basic information about an image with multiple frames/pages.
/// </summary>
/// <param name="file">The file to read the frames from.</param>
/// <returns>A <see cref="IMagickImageInfo"/> iteration.</returns>
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
public static IEnumerable<IMagickImageInfo> ReadCollection(FileInfo file)
{
Throw.IfNull(nameof(file), file);
return ReadCollection(file.FullName);
}
/// <summary>
/// Read basic information about an image with multiple frames/pages.
/// </summary>
/// <param name="stream">The stream to read the image data from.</param>
/// <returns>A <see cref="IMagickImageInfo"/> iteration.</returns>
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
public static IEnumerable<IMagickImageInfo> ReadCollection(Stream stream)
{
using (var images = new MagickImageCollection())
{
images.Ping(stream);
foreach (var image in images)
{
MagickImageInfo info = new MagickImageInfo();
info.Initialize(image);
yield return info;
}
}
}
/// <summary>
/// Read basic information about an image with multiple frames/pages.
/// </summary>
/// <param name="fileName">The fully qualified name of the image file, or the relative image file name.</param>
/// <returns>A <see cref="IMagickImageInfo"/> iteration.</returns>
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
public static IEnumerable<IMagickImageInfo> ReadCollection(string fileName)
{
using (var images = new MagickImageCollection())
{
images.Ping(fileName);
foreach (var image in images)
{
MagickImageInfo info = new MagickImageInfo();
info.Initialize(image);
yield return info;
}
}
}
/// <summary>
/// Read basic information about an image.
/// </summary>
/// <param name="data">The byte array to read the information from.</param>
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
public void Read(byte[] data)
{
using (var image = new MagickImage())
{
image.Ping(data);
Initialize(image);
}
}
/// <summary>
/// Read basic information about an image.
/// </summary>
/// <param name="data">The byte array to read the information from.</param>
/// <param name="offset">The offset at which to begin reading data.</param>
/// <param name="count">The maximum number of bytes to read.</param>
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
public void Read(byte[] data, int offset, int count)
{
using (var image = new MagickImage())
{
image.Ping(data, offset, count);
Initialize(image);
}
}
/// <summary>
/// Read basic information about an image.
/// </summary>
/// <param name="file">The file to read the image from.</param>
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
public void Read(FileInfo file)
{
using (var image = new MagickImage())
{
image.Ping(file);
Initialize(image);
}
}
/// <summary>
/// Read basic information about an image.
/// </summary>
/// <param name="stream">The stream to read the image data from.</param>
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
public void Read(Stream stream)
{
using (var image = new MagickImage())
{
image.Ping(stream);
Initialize(image);
}
}
/// <summary>
/// Read basic information about an image.
/// </summary>
/// <param name="fileName">The fully qualified name of the image file, or the relative image file name.</param>
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
public void Read(string fileName)
{
using (var image = new MagickImage())
{
image.Ping(fileName);
Initialize(image);
}
}
private void Initialize(IMagickImage<QuantumType> image)
{
ColorSpace = image.ColorSpace;
Compression = image.Compression;
Density = image.Density;
FileName = image.FileName;
Format = image.Format;
Height = image.Height;
Interlace = image.Interlace;
Quality = image.Quality;
Width = image.Width;
}
}
}
| 38.322368 | 119 | 0.56 | [
"Apache-2.0"
] | AFWberlin/Magick.NET | src/Magick.NET/MagickImageInfo.cs | 11,652 | C# |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Description;
using CTAPI.Common;
using CTAPI.Models;
using Couchbase;
using Couchbase.Core;
namespace CTAPI.Controllers
{
/// <summary>
/// Passenger Message Controller
/// </summary>
[RoutePrefix("api")]
public class PassengerMessageController : ApiController
{
#region Private
private readonly IBucket _bucket = ClusterHelper.GetBucket(ConfigurationManager.AppSettings.Get("CouchbaseCRMBucket"));
private readonly string _secretKey = ConfigurationManager.AppSettings["JWTTokenSecret"];
#endregion
/// <summary>
/// Post Passenger Message
/// </summary>
/// <param name="model"></param>
/// <returns>Post</returns>
[Route("car_passng")]
[HttpPost]
[ResponseType(typeof(MessageModel))]
public async Task<IHttpActionResult> RegisterPassengerMessage(PassengerMessageModel model)
{
//Modified by Vishal on 24-07-2018 as per joe email
if (string.IsNullOrEmpty(model.NameEN) && string.IsNullOrEmpty(model.NameAR))
{
return Content(HttpStatusCode.BadRequest, MessageResponse.Message(HttpStatusCode.BadRequest.ToString(), "110-Either arbic name or english name is required"), new JsonMediaTypeFormatter());
}
try
{
if (!ModelState.IsValid)
{
var modelErrors = new List<string>();
foreach (var modelState in ModelState.Values)
{
foreach (var modelError in modelState.Errors)
{
modelErrors.Add(modelError.ErrorMessage);
}
}
return Content(HttpStatusCode.BadRequest, MessageResponse.Message(HttpStatusCode.BadRequest.ToString(), modelErrors[0].ToString()), new JsonMediaTypeFormatter());
}
var userKey = "PassengerMessage_" + model.PassengerID;
if (await _bucket.ExistsAsync(userKey))
{
return Content(HttpStatusCode.Conflict, MessageResponse.Message(HttpStatusCode.Conflict.ToString(), "105-Passenger ID already exists."), new JsonMediaTypeFormatter());
}
List<SawariBookingModel> sawariBookingModels = new List<SawariBookingModel>();
// call third part api to check Vehicle is valid or not
var passengerMessageDoc = new Document<PassengerMessageModel>()
{
Id = userKey,
Content = new PassengerMessageModel
{
//Action = "ADD",
PassengerID = model.PassengerID,
NameEN = model.NameEN,
NameAR = model.NameAR,
MobileNumber = model.MobileNumber,
EmailAddress = model.EmailAddress,
Booking = sawariBookingModels,
// this is only UAT testing for check when ct created.
Created_On = DataConversion.ConvertYMDHMS(DateTime.Now.ToString()),
Created_By = "CarTrack"
}
};
var result = await _bucket.InsertAsync(passengerMessageDoc);
if (!result.Success)
{
return Content(HttpStatusCode.InternalServerError, MessageResponse.Message(HttpStatusCode.InternalServerError.ToString(), result.Message), new JsonMediaTypeFormatter());
}
return Content(HttpStatusCode.OK, MessageResponse.Message(HttpStatusCode.OK.ToString(),MessageDescriptions.Add, result.Document.Id), new JsonMediaTypeFormatter());
}
catch (Exception ex)
{
return Content(HttpStatusCode.InternalServerError, MessageResponse.Message(HttpStatusCode.InternalServerError.ToString(), ex.StackTrace), new JsonMediaTypeFormatter());
}
}
private static string CreateUserKey(string username)
{
var key = Guid.NewGuid(); ; //$"user:{username}";
return key.ToString();
}
}
}
| 43.266667 | 204 | 0.584636 | [
"MIT"
] | DeePatrick/Ajman | V2.0/CTAPI/Controllers/PassengerMessageController.cs | 4,545 | C# |
// --------------------------------------------------------------------------------------------
// Copyright (c) 2019 The CefNet Authors. All rights reserved.
// Licensed under the MIT license.
// See the licence file in the project root for full license information.
// --------------------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
namespace CefGen.CodeDom
{
public sealed class CodeMethod : CodeTypeMember
{
public CodeMethod(string name)
: base(name)
{
}
public List<CodeMethodParameter> Parameters { get; } = new List<CodeMethodParameter>(0);
public CodeMethodParameter RetVal { get; set; }
public bool NoBody
{
get
{
return Attributes.HasFlag(CodeAttributes.Abstract) || Attributes.HasFlag(CodeAttributes.External);
}
}
public bool HasThisArg { get; set; }
public CodeTypeMember Callee { get; set; }
public string Body { get; internal set; }
}
}
| 25.615385 | 102 | 0.580581 | [
"MIT"
] | AigioL/CefNet | CefGen/CodeDom/CodeMethod.cs | 1,001 | C# |
// 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.
#nullable disable
using System.Collections.Immutable;
using System.Reflection.Metadata;
using Microsoft.CodeAnalysis.CSharp.Emit;
using Microsoft.CodeAnalysis.Emit;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.CSharp.Symbols
{
internal partial class
#if DEBUG
PointerTypeSymbolAdapter : SymbolAdapter,
#else
PointerTypeSymbol :
#endif
Cci.IPointerTypeReference
{
#if DEBUG
internal PointerTypeSymbolAdapter(PointerTypeSymbol underlyingPointerTypeSymbol)
{
AdaptedPointerTypeSymbol = underlyingPointerTypeSymbol;
}
internal sealed override Symbol AdaptedSymbol => AdaptedPointerTypeSymbol;
internal PointerTypeSymbol AdaptedPointerTypeSymbol { get; }
#else
internal PointerTypeSymbol AdaptedPointerTypeSymbol => this;
#endif
}
internal partial class PointerTypeSymbol
{
#if DEBUG
private PointerTypeSymbolAdapter _lazyAdapter;
protected sealed override SymbolAdapter GetCciAdapterImpl() => GetCciAdapter();
#endif
internal new
#if DEBUG
PointerTypeSymbolAdapter
#else
PointerTypeSymbol
#endif
GetCciAdapter()
{
#if DEBUG
if (_lazyAdapter is null)
{
return InterlockedOperations.Initialize(ref _lazyAdapter, new PointerTypeSymbolAdapter(this));
}
return _lazyAdapter;
#else
return this;
#endif
}
}
internal partial class
#if DEBUG
PointerTypeSymbolAdapter
#else
PointerTypeSymbol
#endif
{
Cci.ITypeReference Cci.IPointerTypeReference.GetTargetType(EmitContext context)
{
var type = ((PEModuleBuilder)context.Module).Translate(AdaptedPointerTypeSymbol.PointedAtType, syntaxNodeOpt: (CSharpSyntaxNode)context.SyntaxNodeOpt, diagnostics: context.Diagnostics);
if (AdaptedPointerTypeSymbol.PointedAtTypeWithAnnotations.CustomModifiers.Length == 0)
{
return type;
}
else
{
return new Cci.ModifiedTypeReference(type, ImmutableArray<Cci.ICustomModifier>.CastUp(AdaptedPointerTypeSymbol.PointedAtTypeWithAnnotations.CustomModifiers));
}
}
bool Cci.ITypeReference.IsEnum
{
get { return false; }
}
bool Cci.ITypeReference.IsValueType
{
get { return false; }
}
Cci.ITypeDefinition Cci.ITypeReference.GetResolvedType(EmitContext context)
{
return null;
}
Cci.PrimitiveTypeCode Cci.ITypeReference.TypeCode
{
get { return Cci.PrimitiveTypeCode.Pointer; }
}
TypeDefinitionHandle Cci.ITypeReference.TypeDef
{
get { return default(TypeDefinitionHandle); }
}
Cci.IGenericMethodParameterReference Cci.ITypeReference.AsGenericMethodParameterReference
{
get { return null; }
}
Cci.IGenericTypeInstanceReference Cci.ITypeReference.AsGenericTypeInstanceReference
{
get { return null; }
}
Cci.IGenericTypeParameterReference Cci.ITypeReference.AsGenericTypeParameterReference
{
get { return null; }
}
Cci.INamespaceTypeDefinition Cci.ITypeReference.AsNamespaceTypeDefinition(EmitContext context)
{
return null;
}
Cci.INamespaceTypeReference Cci.ITypeReference.AsNamespaceTypeReference
{
get { return null; }
}
Cci.INestedTypeDefinition Cci.ITypeReference.AsNestedTypeDefinition(EmitContext context)
{
return null;
}
Cci.INestedTypeReference Cci.ITypeReference.AsNestedTypeReference
{
get { return null; }
}
Cci.ISpecializedNestedTypeReference Cci.ITypeReference.AsSpecializedNestedTypeReference
{
get { return null; }
}
Cci.ITypeDefinition Cci.ITypeReference.AsTypeDefinition(EmitContext context)
{
return null;
}
void Cci.IReference.Dispatch(Cci.MetadataVisitor visitor)
{
visitor.Visit((Cci.IPointerTypeReference)this);
}
Cci.IDefinition Cci.IReference.AsDefinition(EmitContext context)
{
return null;
}
}
}
| 27.891566 | 197 | 0.6473 | [
"MIT"
] | InfectedLibraries/roslyn | src/Compilers/CSharp/Portable/Emitter/Model/PointerTypeSymbolAdapter.cs | 4,632 | C# |
using DotNetCore.CAP;
using EasyCaching.Core;
using IoTSharp.Data;
using IoTSharp.Extensions;
using IoTSharp.FlowRuleEngine;
using IoTSharp.Storage;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Threading.Tasks;
namespace IoTSharp.Handlers
{
public interface IEventBusHandler
{
public void StoreAttributeData(RawMsg msg);
public void StoreTelemetryData(RawMsg msg);
}
public class EventBusHandler : IEventBusHandler, ICapSubscribe
{
private readonly AppSettings _appSettings;
private readonly ILogger _logger;
private readonly IServiceScopeFactory _scopeFactor;
private readonly IStorage _storage;
private readonly FlowRuleProcessor _flowRuleProcessor;
private readonly IEasyCachingProvider _caching;
public EventBusHandler(ILogger<EventBusHandler> logger, IServiceScopeFactory scopeFactor
, IOptions<AppSettings> options, IStorage storage, FlowRuleProcessor flowRuleProcessor, IEasyCachingProviderFactory factory
)
{
_appSettings = options.Value;
_logger = logger;
_scopeFactor = scopeFactor;
_storage = storage;
_flowRuleProcessor = flowRuleProcessor;
_caching = factory.GetCachingProvider("iotsharp");
}
Dictionary<Guid, DateTime> _check_device_status = new();
[CapSubscribe("iotsharp.services.datastream.attributedata")]
public async void StoreAttributeData(RawMsg msg)
{
using (var _scope = _scopeFactor.CreateScope())
{
using (var _dbContext = _scope.ServiceProvider.GetRequiredService<ApplicationDbContext>())
{
var device = _dbContext.Device.FirstOrDefault(d => d.Id == msg.DeviceId);
if (device != null)
{
var mb = msg.MsgBody;
Dictionary<string, object> dc = new Dictionary<string, object>();
mb.ToList().ForEach(kp =>
{
if (kp.Value.GetType() == typeof(System.Text.Json.JsonElement))
{
var je = (System.Text.Json.JsonElement)kp.Value;
switch (je.ValueKind)
{
case System.Text.Json.JsonValueKind.Undefined:
case System.Text.Json.JsonValueKind.Object:
case System.Text.Json.JsonValueKind.Array:
dc.Add(kp.Key, je.GetRawText());
break;
case System.Text.Json.JsonValueKind.String:
dc.Add(kp.Key, je.GetString());
break;
case System.Text.Json.JsonValueKind.Number:
dc.Add(kp.Key, je.GetDouble());
break;
case System.Text.Json.JsonValueKind.True:
case System.Text.Json.JsonValueKind.False:
dc.Add(kp.Key, je.GetBoolean());
break;
case System.Text.Json.JsonValueKind.Null:
break;
default:
break;
}
}
else
{
dc.Add(kp.Key, kp.Value);
}
});
var result2 = await _dbContext.SaveAsync<AttributeLatest>(dc, device.Id, msg.DataSide);
result2.exceptions?.ToList().ForEach(ex =>
{
_logger.LogError($"{ex.Key} {ex.Value} {Newtonsoft.Json.JsonConvert.SerializeObject(msg.MsgBody[ex.Key])}");
});
_logger.LogInformation($"更新{device.Name}({device.Id})属性数据结果{result2.ret}");
ExpandoObject obj = new ExpandoObject();
dc.ToList().ForEach(kv =>
{
obj.TryAdd(kv.Key, kv.Value);
});
await RunRules(msg.DeviceId, obj, MountType.Telemetry);
}
}
}
}
[CapSubscribe("iotsharp.services.platform.addnewdevice")]
public void AddedNewDevice(Device msg)
{
using (var _scope = _scopeFactor.CreateScope())
{
using (var _dbContext = _scope.ServiceProvider.GetRequiredService<ApplicationDbContext>())
{
}
}
}
[CapSubscribe("iotsharp.services.datastream.devicestatus")]
public void DeviceStatus(DeviceStatus status)
{
try
{
using (var _scope = _scopeFactor.CreateScope())
{
using (var _dbContext = _scope.ServiceProvider.GetRequiredService<ApplicationDbContext>())
{
var dev = _dbContext.Device.FirstOrDefault(d=>d.Id==status.DeviceId);
if (dev != null)
{
if (dev.Online == true && status.Status == false)
{
dev.Online = false;
dev.LastActive = DateTime.Now;
Task.Run(() => RunRules(dev.Id, status, MountType.Online));
//真正掉线
}
else if (dev.Online == false && status.Status == true)
{
dev.Online = true;
dev.LastActive = DateTime.Now;
Task.Run(() => RunRules(dev.Id, status, MountType.Offline));
//真正离线
}
_dbContext.SaveChanges();
}
else
{
_logger.LogWarning( $"未找到设备{status.DeviceId} ,因此无法处理设备状态");
}
}
}
}
catch (Exception ex)
{
_logger.LogError(ex, $"处理{status.DeviceId} 的状态{status.Status} 时遇到异常:{ex.Message}");
}
}
[CapSubscribe("iotsharp.services.datastream.telemetrydata")]
public async void StoreTelemetryData(RawMsg msg)
{
var result = await _storage.StoreTelemetryAsync(msg);
ExpandoObject exps = new ExpandoObject();
result.telemetries.ForEach(td =>
{
exps.TryAdd(td.KeyName, td.ToObject());
});
await RunRules(msg.DeviceId, (dynamic)exps, MountType.Telemetry);
}
private async Task RunRules(Guid devid, object obj, MountType mountType)
{
var rules = await _caching.GetAsync($"ruleid_{devid}_{Enum.GetName(mountType)}", async () =>
{
using (var scope = _scopeFactor.CreateScope())
using (var _dbContext = scope.ServiceProvider.GetRequiredService<ApplicationDbContext>())
{
var guids = await _dbContext.GerDeviceRulesIdList(devid, mountType);
return guids;
}
}, TimeSpan.FromSeconds(_appSettings.RuleCachingExpiration));
if (rules.HasValue)
{
rules.Value.ToList().ForEach(async g =>
{
await _flowRuleProcessor.RunFlowRules(g, obj, devid, EventType.Normal, null);
});
}
else
{
_logger.LogInformation($"{devid}的数据无相关规则链处理。");
}
}
}
} | 40.856459 | 136 | 0.47043 | [
"MIT"
] | NanoFabricFX/IoTSharp | IoTSharp/Handlers/EventBusHandler.cs | 8,649 | C# |
// <auto-generated />
// Built from: hl7.fhir.r5.core version: 4.6.0
// Option: "NAMESPACE" = "fhirCsR5"
using fhirCsR5.Models;
namespace fhirCsR5.ValueSets
{
/// <summary>
/// This value set represents codes for types of edible substances and is provided as a suggestive example. It include codes from [SNOMED CT](http://snomed.info/sct) where concept is-a 762766007 Edible Substance (substance).
/// </summary>
public static class NotConsumedReasonCodes
{
/// <summary>
///
/// </summary>
public static readonly Coding OcclusalWearOfTeeth = new Coding
{
Code = "10017004",
Display = "Occlusal wear of teeth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding TurnerQuoteSTooth = new Coding
{
Code = "10078003",
Display = "Turner's tooth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding RecurrentCholangitis = new Coding
{
Code = "10184002",
Display = "Recurrent cholangitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ThirdDegreePerinealLaceration = new Coding
{
Code = "10217006",
Display = "Third degree perineal laceration",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AlkalineRefluxDisease = new Coding
{
Code = "1027000",
Display = "Alkaline reflux disease",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicViralHepatitis = new Coding
{
Code = "10295004",
Display = "Chronic viral hepatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PancreaticPleuralEffusion = new Coding
{
Code = "10297007",
Display = "Pancreatic pleural effusion",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MesentericPortalFistula = new Coding
{
Code = "1034003",
Display = "Mesenteric-portal fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PrimarySyphilisOfTonsils = new Coding
{
Code = "10345003",
Display = "Primary syphilis of tonsils",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SuppurativeTonsillitis = new Coding
{
Code = "10351008",
Display = "Suppurative tonsillitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteGastrojejunalUlcerWithoutHemorrhageANDWithoutPerforationButWithObstruction = new Coding
{
Code = "10389003",
Display = "Acute gastrojejunal ulcer without hemorrhage AND without perforation but with obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Colonospasm = new Coding
{
Code = "1045000",
Display = "Colonospasm",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ExtravasationCystOfSalivaryGland = new Coding
{
Code = "10480003",
Display = "Extravasation cyst of salivary gland",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HyperplasiaOfIsletAlphaCellsWithGastrinExcess = new Coding
{
Code = "1051005",
Display = "Hyperplasia of islet alpha cells with gastrin excess",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Opisthorchiasis = new Coding
{
Code = "1059007",
Display = "Opisthorchiasis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MumpsPancreatitis = new Coding
{
Code = "10665004",
Display = "Mumps pancreatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InfectionByGiardiaLamblia = new Coding
{
Code = "10679007",
Display = "Infection by Giardia lamblia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EsophagogastricUlcer = new Coding
{
Code = "10699001",
Display = "Esophagogastric ulcer",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IrritableColon = new Coding
{
Code = "10743008",
Display = "Irritable colon",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PosteriorLingualOcclusionOfMandibularTeeth = new Coding
{
Code = "10816007",
Display = "Posterior lingual occlusion of mandibular teeth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PerforationOfRectum = new Coding
{
Code = "10825001",
Display = "Perforation of rectum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalPancreaticEnterokinaseDeficiency = new Coding
{
Code = "10866001",
Display = "Congenital pancreatic enterokinase deficiency",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PerinatalJaundiceDueToHepatocellularDamage = new Coding
{
Code = "10877007",
Display = "Perinatal jaundice due to hepatocellular damage",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GingivalCystOfAdult = new Coding
{
Code = "10883005",
Display = "Gingival cyst of adult",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DisorderOfSalivaryGland = new Coding
{
Code = "10890000",
Display = "Disorder of salivary gland",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicGastrojejunalUlcerWithPerforationANDWithObstruction = new Coding
{
Code = "10897002",
Display = "Chronic gastrojejunal ulcer with perforation AND with obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AbrasionANDORFrictionBurnOfLipWithInfection = new Coding
{
Code = "10920005",
Display = "Abrasion AND/OR friction burn of lip with infection",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InjuryOfSigmoidColonWithOpenWoundIntoAbdominalCavity = new Coding
{
Code = "10998006",
Display = "Injury of sigmoid colon with open wound into abdominal cavity",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding NervousDiarrhea = new Coding
{
Code = "11003002",
Display = "Nervous diarrhea",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CourvoisierQuoteSSign = new Coding
{
Code = "11033009",
Display = "Courvoisier's sign",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalFistulaOfLip = new Coding
{
Code = "11102005",
Display = "Congenital fistula of lip",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GingivalPain = new Coding
{
Code = "11114002",
Display = "Gingival pain",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicAggressiveTypeBViralHepatitis = new Coding
{
Code = "1116000",
Display = "Chronic aggressive type B viral hepatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AbnormalityOfSecretionOfGlucagon = new Coding
{
Code = "11178005",
Display = "Abnormality of secretion of glucagon",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GlycogenStorageDiseaseTypeIV = new Coding
{
Code = "11179002",
Display = "Glycogen storage disease, type IV",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MetallicTaste = new Coding
{
Code = "11193009",
Display = "Metallic taste",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalAnomalyOfAnus = new Coding
{
Code = "11194003",
Display = "Congenital anomaly of anus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalAnomalyOfPharynx = new Coding
{
Code = "11223009",
Display = "Congenital anomaly of pharynx",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MelanosisColi = new Coding
{
Code = "11256005",
Display = "Melanosis coli",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding UpperEsophagealWeb = new Coding
{
Code = "11266002",
Display = "Upper esophageal web",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DiffuseHepaticNecrosis = new Coding
{
Code = "11350001",
Display = "Diffuse hepatic necrosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GingivalAmyloidosis = new Coding
{
Code = "11426004",
Display = "Gingival amyloidosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding StaphylococcalTonsillitis = new Coding
{
Code = "11461005",
Display = "Staphylococcal tonsillitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalMicrocheilia = new Coding
{
Code = "1150009",
Display = "Congenital microcheilia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CompleteCongenitalDuodenalObstruction = new Coding
{
Code = "11552008",
Display = "Complete congenital duodenal obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IntussusceptionOfRectum = new Coding
{
Code = "11578004",
Display = "Intussusception of rectum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GastricDilatationVolvulusTorsionSyndrome = new Coding
{
Code = "11619008",
Display = "Gastric dilatation-volvulus-torsion syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding OrganoaxialGastricVolvulus = new Coding
{
Code = "11672007",
Display = "Organoaxial gastric volvulus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MalakoplakiaOfColon = new Coding
{
Code = "11683003",
Display = "Malakoplakia of colon",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding BiliousVomitingFollowingGastrointestinalSurgery = new Coding
{
Code = "11767005",
Display = "Bilious vomiting following gastrointestinal surgery",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GastrojejunalUlcerWithPerforationButWithoutObstruction = new Coding
{
Code = "11818002",
Display = "Gastrojejunal ulcer with perforation but without obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding TravelerQuoteSDiarrhea = new Coding
{
Code = "11840006",
Display = "Traveler's diarrhea",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Clonorchiasis = new Coding
{
Code = "11938002",
Display = "Clonorchiasis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ErosionOfTeethDueToMedicine = new Coding
{
Code = "11949008",
Display = "Erosion of teeth due to medicine",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FunctionalHyperinsulinism = new Coding
{
Code = "12002009",
Display = "Functional hyperinsulinism",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Rectorrhagia = new Coding
{
Code = "12063002",
Display = "Rectorrhagia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Gastroptosis = new Coding
{
Code = "1208004",
Display = "Gastroptosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalRectocloacalFistula = new Coding
{
Code = "12104008",
Display = "Congenital rectocloacal fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding TuberculousEnteritis = new Coding
{
Code = "12137005",
Display = "Tuberculous enteritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IntestinovaginalFistula = new Coding
{
Code = "12245007",
Display = "Intestinovaginal fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MesioOcclusionOfTeeth = new Coding
{
Code = "12264001",
Display = "Mesio-occlusion of teeth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PostinfectiveGingivalRecession = new Coding
{
Code = "12269006",
Display = "Postinfective gingival recession",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SupernumeraryRoots = new Coding
{
Code = "12270007",
Display = "Supernumerary roots",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcutePepticUlcerWithHemorrhage = new Coding
{
Code = "12274003",
Display = "Acute peptic ulcer with hemorrhage",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CrowdingOfTeeth = new Coding
{
Code = "12351004",
Display = "Crowding of teeth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DuodenalUlcerWithHemorrhageWithPerforationANDWithObstruction = new Coding
{
Code = "12355008",
Display = "Duodenal ulcer with hemorrhage, with perforation AND with obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SecondaryBiliaryCirrhosis = new Coding
{
Code = "12368000",
Display = "Secondary biliary cirrhosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicPepticUlcerWithoutHemorrhageANDWithoutPerforationButWithObstruction = new Coding
{
Code = "12384004",
Display = "Chronic peptic ulcer without hemorrhage AND without perforation but with obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AbrasionANDORFrictionBurnOfAnusWithInfection = new Coding
{
Code = "12435008",
Display = "Abrasion AND/OR friction burn of anus with infection",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InfectiousGastroenteritis = new Coding
{
Code = "12463005",
Display = "Infectious gastroenteritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding NormalBileSecretion = new Coding
{
Code = "12516006",
Display = "Normal bile secretion",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding NoninfectiousGastroenteritis = new Coding
{
Code = "12574004",
Display = "Noninfectious gastroenteritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PepticUlcerWithPerforationButWithoutObstruction = new Coding
{
Code = "12625009",
Display = "Peptic ulcer with perforation but without obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InjuryOfDescendingLeftColonWithoutOpenWoundIntoAbdominalCavity = new Coding
{
Code = "1264004",
Display = "Injury of descending left colon without open wound into abdominal cavity",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding TrifidTongue = new Coding
{
Code = "12721007",
Display = "Trifid tongue",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ForeignBodyInColon = new Coding
{
Code = "12776000",
Display = "Foreign body in colon",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PillEsophagitisDueToTetracycline = new Coding
{
Code = "12777009",
Display = "Pill esophagitis due to tetracycline",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding TraumaticUlcerationOfTongue = new Coding
{
Code = "12779007",
Display = "Traumatic ulceration of tongue",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteDuodenalUlcerWithHemorrhage = new Coding
{
Code = "12847006",
Display = "Acute duodenal ulcer with hemorrhage",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalAbsenceOfBileDuct = new Coding
{
Code = "1287007",
Display = "Congenital absence of bile duct",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CalculusOfCommonBileDuctWithChronicCholecystitisWithObstruction = new Coding
{
Code = "12932003",
Display = "Calculus of common bile duct with chronic cholecystitis with obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PseudopolyposisOfColon = new Coding
{
Code = "13025001",
Display = "Pseudopolyposis of colon",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IschemicStrictureOfIntestine = new Coding
{
Code = "13026000",
Display = "Ischemic stricture of intestine",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding BlisterOfLipWithInfection = new Coding
{
Code = "13114007",
Display = "Blister of lip with infection",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding BurnOfGastrointestinalTract = new Coding
{
Code = "13140001",
Display = "Burn of gastrointestinal tract",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ComplicationOfTransplantedIntestines = new Coding
{
Code = "13160009",
Display = "Complication of transplanted intestines",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CellulitisOfNasopharynx = new Coding
{
Code = "13177009",
Display = "Cellulitis of nasopharynx",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PepticUlcer = new Coding
{
Code = "13200003",
Display = "Peptic ulcer",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteFulminatingTypeBViralHepatitis = new Coding
{
Code = "13265006",
Display = "Acute fulminating type B viral hepatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GastricMotorFunctionDisorder = new Coding
{
Code = "13267003",
Display = "Gastric motor function disorder",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ForeignBodyInRectosigmoidJunction = new Coding
{
Code = "13286006",
Display = "Foreign body in rectosigmoid junction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ForeignBodyInAnus = new Coding
{
Code = "13457005",
Display = "Foreign body in anus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DynamicIleus = new Coding
{
Code = "13466009",
Display = "Dynamic ileus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SensitiveDentin = new Coding
{
Code = "13468005",
Display = "Sensitive dentin",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicUlcerativeIleocolitis = new Coding
{
Code = "13470001",
Display = "Chronic ulcerative ileocolitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InfectionByTrichurisOvis = new Coding
{
Code = "13471002",
Display = "Infection by Trichuris ovis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcquiredHypertrophicPyloricStenosis = new Coding
{
Code = "13483000",
Display = "Acquired hypertrophic pyloric stenosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PillEsophagitis = new Coding
{
Code = "13504006",
Display = "Pill esophagitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AdhesionOfGallbladder = new Coding
{
Code = "13516000",
Display = "Adhesion of gallbladder",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FistulaOfLip = new Coding
{
Code = "13538003",
Display = "Fistula of lip",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CalculusOfCommonDuctWithObstruction = new Coding
{
Code = "1356007",
Display = "Calculus of common duct with obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalDuplicationOfStomach = new Coding
{
Code = "13568007",
Display = "Congenital duplication of stomach",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalAbsenceOfLobeOfLiver = new Coding
{
Code = "13630003",
Display = "Congenital absence of lobe of liver",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InjuryOfSuperiorMesentericArtery = new Coding
{
Code = "1367008",
Display = "Injury of superior mesenteric artery",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MesentericSaponification = new Coding
{
Code = "13771001",
Display = "Mesenteric saponification",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding LeadBreath = new Coding
{
Code = "13883009",
Display = "Lead breath",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MajorLacerationOfLiverWithoutOpenWoundIntoAbdominalCavity = new Coding
{
Code = "13891000",
Display = "Major laceration of liver without open wound into abdominal cavity",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CentrilobularHepaticNecrosis = new Coding
{
Code = "13923006",
Display = "Centrilobular hepatic necrosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding UlcerativeGingivitis = new Coding
{
Code = "13959000",
Display = "Ulcerative gingivitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicPharyngitis = new Coding
{
Code = "140004",
Display = "Chronic pharyngitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding NoninfectiousColitis = new Coding
{
Code = "14066009",
Display = "Noninfectious colitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ExcessiveVomitingInPregnancy = new Coding
{
Code = "14094001",
Display = "Excessive vomiting in pregnancy",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding NonvenomousInsectBiteOfLipWithoutInfection = new Coding
{
Code = "14220008",
Display = "Nonvenomous insect bite of lip without infection",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SevereChronicUlcerativeColitis = new Coding
{
Code = "14311001",
Display = "Severe chronic ulcerative colitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ForeignBodyInMouth = new Coding
{
Code = "14380007",
Display = "Foreign body in mouth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PostprandialDiarrhea = new Coding
{
Code = "14384003",
Display = "Postprandial diarrhea",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalStenosisOfSmallIntestine = new Coding
{
Code = "14430002",
Display = "Congenital stenosis of small intestine",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SwallowedForeignBody = new Coding
{
Code = "14448006",
Display = "Swallowed foreign body",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding UlcerativeTonsillitis = new Coding
{
Code = "14465002",
Display = "Ulcerative tonsillitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DigestiveGlandSignOrSymptom = new Coding
{
Code = "14508001",
Display = "Digestive gland sign or symptom",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Microstomia = new Coding
{
Code = "14582003",
Display = "Microstomia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IdiopathicPostprandialHypoglycemia = new Coding
{
Code = "14725002",
Display = "Idiopathic postprandial hypoglycemia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HerpesLabialis = new Coding
{
Code = "1475003",
Display = "Herpes labialis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Parotitis = new Coding
{
Code = "14756005",
Display = "Parotitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Constipation = new Coding
{
Code = "14760008",
Display = "Constipation",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Cementoclasia = new Coding
{
Code = "14808008",
Display = "Cementoclasia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PostoperativeNauseaAndVomiting = new Coding
{
Code = "1488000",
Display = "Postoperative nausea and vomiting",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AnkylosisOfTooth = new Coding
{
Code = "14901003",
Display = "Ankylosis of tooth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SubphrenicInterpositionSyndrome = new Coding
{
Code = "14911005",
Display = "Subphrenic interposition syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Ranula = new Coding
{
Code = "14919007",
Display = "Ranula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalAnomalyOfLargeIntestine = new Coding
{
Code = "1492007",
Display = "Congenital anomaly of large intestine",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PeritonsillarAbscess = new Coding
{
Code = "15033003",
Display = "Peritonsillar abscess",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CalculusOfBileDuctWithChronicCholecystitisWithObstruction = new Coding
{
Code = "15082003",
Display = "Calculus of bile duct with chronic cholecystitis with obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DuodenalUlcerWithHemorrhageANDWithPerforationButWithoutObstruction = new Coding
{
Code = "15115006",
Display = "Duodenal ulcer with hemorrhage AND with perforation but without obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalStrictureOfBileDuct = new Coding
{
Code = "1512006",
Display = "Congenital stricture of bile duct",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalTranspositionOfStomach = new Coding
{
Code = "15135007",
Display = "Congenital transposition of stomach",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InjuryOfLiverWithOpenWoundIntoAbdominalCavity = new Coding
{
Code = "15151004",
Display = "Injury of liver with open wound into abdominal cavity",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding UrethrorectalFistula = new Coding
{
Code = "15165002",
Display = "Urethrorectal fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding LiverDisorderInPregnancy = new Coding
{
Code = "15230009",
Display = "Liver disorder in pregnancy",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HemorrhageOfEsophagus = new Coding
{
Code = "15238002",
Display = "Hemorrhage of esophagus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ObturationObstructionOfIntestine = new Coding
{
Code = "15270002",
Display = "Obturation obstruction of intestine",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding TuberculosisOfEsophagus = new Coding
{
Code = "15284007",
Display = "Tuberculosis of esophagus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ViralPharyngitis = new Coding
{
Code = "1532007",
Display = "Viral pharyngitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicUlcerativeEnterocolitis = new Coding
{
Code = "15342002",
Display = "Chronic ulcerative enterocolitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CalculusOfPancreas = new Coding
{
Code = "15402006",
Display = "Calculus of pancreas",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalPyloricMembrane = new Coding
{
Code = "15419008",
Display = "Congenital pyloric membrane",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SuperficialInjuryOfAnusWithoutInfection = new Coding
{
Code = "15423000",
Display = "Superficial injury of anus without infection",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AtrophicNonerosiveNonspecificGastritis = new Coding
{
Code = "15445004",
Display = "Atrophic nonerosive nonspecific gastritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AtrophyOfEdentulousMaxillaryAlveolarRidge = new Coding
{
Code = "15492000",
Display = "Atrophy of edentulous maxillary alveolar ridge",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IncreasedFrequencyOfDefecation = new Coding
{
Code = "15510009",
Display = "Increased frequency of defecation",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteNecrosisOfPancreas = new Coding
{
Code = "15528006",
Display = "Acute necrosis of pancreas",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicGastricUlcerWithoutHemorrhageWithoutPerforationANDWithoutObstruction = new Coding
{
Code = "1567007",
Display = "Chronic gastric ulcer without hemorrhage, without perforation AND without obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SecretoryDiarrhea = new Coding
{
Code = "15699003",
Display = "Secretory diarrhea",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HemorrhagicEnteropathyOfTerminalIleum = new Coding
{
Code = "15720001",
Display = "Hemorrhagic enteropathy of terminal ileum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IncipientEnamelCaries = new Coding
{
Code = "15733007",
Display = "Incipient enamel caries",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteCholestaticJaundiceSyndrome = new Coding
{
Code = "15770003",
Display = "Acute cholestatic jaundice syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IncreasedPancreaticSecretion = new Coding
{
Code = "15899001",
Display = "Increased pancreatic secretion",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GastricUlcerWithHemorrhage = new Coding
{
Code = "15902003",
Display = "Gastric ulcer with hemorrhage",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IntramuralEsophagealHematoma = new Coding
{
Code = "15970005",
Display = "Intramural esophageal hematoma",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MixedMicroAndMacronodularCirrhosis = new Coding
{
Code = "15999000",
Display = "Mixed micro and macronodular cirrhosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PrematureToothEruption = new Coding
{
Code = "16000003",
Display = "Premature tooth eruption",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DuodenocolicFistula = new Coding
{
Code = "16010007",
Display = "Duodenocolic fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ToxicNoninfectiousHepatitis = new Coding
{
Code = "16069000",
Display = "Toxic noninfectious hepatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SyphiliticCirrhosis = new Coding
{
Code = "16070004",
Display = "Syphilitic cirrhosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding UlcerOfCecum = new Coding
{
Code = "16101002",
Display = "Ulcer of cecum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GastrojejunalUlcer = new Coding
{
Code = "16121001",
Display = "Gastrojejunal ulcer",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Heartburn = new Coding
{
Code = "16331000",
Display = "Heartburn",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicDiseaseOfTonsilsANDORAdenoids = new Coding
{
Code = "16358007",
Display = "Chronic disease of tonsils AND/OR adenoids",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalDuodenalStenosis = new Coding
{
Code = "16376000",
Display = "Congenital duodenal stenosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Cheilosis = new Coding
{
Code = "16459000",
Display = "Cheilosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding UlcerOfTonsil = new Coding
{
Code = "16485001",
Display = "Ulcer of tonsil",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FamilialDuodenalUlcerAssociatedWithRapidGastricEmptying = new Coding
{
Code = "16516008",
Display = "Familial duodenal ulcer associated with rapid gastric emptying",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GastricUlcerWithHemorrhageButWithoutObstruction = new Coding
{
Code = "16694003",
Display = "Gastric ulcer with hemorrhage but without obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SpontaneousAbortionWithLacerationOfBowel = new Coding
{
Code = "16714009",
Display = "Spontaneous abortion with laceration of bowel",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Esophagitis = new Coding
{
Code = "16761005",
Display = "Esophagitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HemorrhageOfLiver = new Coding
{
Code = "16763008",
Display = "Hemorrhage of liver",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Typhlolithiasis = new Coding
{
Code = "168000",
Display = "Typhlolithiasis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding LeukedemaOfTongue = new Coding
{
Code = "16816002",
Display = "Leukedema of tongue",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding NauseaAndVomiting = new Coding
{
Code = "16932000",
Display = "Nausea and vomiting",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FourthDegreePerinealLacerationInvolvingAnalMucosa = new Coding
{
Code = "16950007",
Display = "Fourth degree perineal laceration involving anal mucosa",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FistulaOfGallbladder = new Coding
{
Code = "16957005",
Display = "Fistula of gallbladder",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CompleteCongenitalAbsenceOfTeeth = new Coding
{
Code = "16958000",
Display = "Complete congenital absence of teeth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding UlcerOfBileDuct = new Coding
{
Code = "1698001",
Display = "Ulcer of bile duct",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteGastricUlcerWithHemorrhageANDWithPerforationButWithoutObstruction = new Coding
{
Code = "17067009",
Display = "Acute gastric ulcer with hemorrhage AND with perforation but without obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InjuryOfAscendingRightColonWithoutOpenWoundIntoAbdominalCavity = new Coding
{
Code = "171008",
Display = "Injury of ascending right colon without open wound into abdominal cavity",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FasciolaGiganticaInfection = new Coding
{
Code = "17110002",
Display = "Fasciola gigantica infection",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IleocolicIntussusception = new Coding
{
Code = "17186003",
Display = "Ileocolic intussusception",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GastroduodenalFistula = new Coding
{
Code = "17206008",
Display = "Gastroduodenal fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PrimaryCholangitis = new Coding
{
Code = "17266006",
Display = "Primary cholangitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IllegalAbortionWithLacerationOfBowel = new Coding
{
Code = "17335003",
Display = "Illegal abortion with laceration of bowel",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DisorderOfEndocrinePancreas = new Coding
{
Code = "17346000",
Display = "Disorder of endocrine pancreas",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PortalTriaditis = new Coding
{
Code = "17349007",
Display = "Portal triaditis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AortoEsophagealFistula = new Coding
{
Code = "17355002",
Display = "Aorto-esophageal fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AnalSpasm = new Coding
{
Code = "17440005",
Display = "Anal spasm",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FusionOfTeeth = new Coding
{
Code = "1744008",
Display = "Fusion of teeth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding UterorectalFistula = new Coding
{
Code = "17442002",
Display = "Uterorectal fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PneumatosisCystoidesIntestinalis = new Coding
{
Code = "17465007",
Display = "Pneumatosis cystoides intestinalis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding LeukoplakiaOfLips = new Coding
{
Code = "17531008",
Display = "Leukoplakia of lips",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicDiarrheaOfUnknownOrigin = new Coding
{
Code = "17551007",
Display = "Chronic diarrhea of unknown origin",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DentalCalculus = new Coding
{
Code = "17552000",
Display = "Dental calculus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HypoesthesiaOfTongue = new Coding
{
Code = "17565009",
Display = "Hypoesthesia of tongue",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GastricUlcerWithHemorrhageWithPerforationAndWithObstruction = new Coding
{
Code = "17593008",
Display = "Gastric ulcer with hemorrhage, with perforation and with obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding BiliaryCirrhosis = new Coding
{
Code = "1761006",
Display = "Biliary cirrhosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HepatitisDueToAcquiredToxoplasmosis = new Coding
{
Code = "17681007",
Display = "Hepatitis due to acquired toxoplasmosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InsulinBiosynthesisDefect = new Coding
{
Code = "1771008",
Display = "Insulin biosynthesis defect",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteTonsillitis = new Coding
{
Code = "17741008",
Display = "Acute tonsillitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcquiredMegaduodenum = new Coding
{
Code = "17755000",
Display = "Acquired megaduodenum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MalocclusionDueToAbnormalSwallowing = new Coding
{
Code = "1778002",
Display = "Malocclusion due to abnormal swallowing",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CarSickness = new Coding
{
Code = "17783003",
Display = "Car sickness",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MohrSyndrome = new Coding
{
Code = "1779005",
Display = "Mohr syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Mesiodens = new Coding
{
Code = "17802000",
Display = "Mesiodens",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HepaticInfarction = new Coding
{
Code = "17890003",
Display = "Hepatic infarction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PortalVeinThrombosis = new Coding
{
Code = "17920008",
Display = "Portal vein thrombosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PiulachsHederichSyndrome = new Coding
{
Code = "17960009",
Display = "Piulachs-Hederich syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding StrictureOfGallbladder = new Coding
{
Code = "17970006",
Display = "Stricture of gallbladder",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SecondaryCholangitis = new Coding
{
Code = "18028001",
Display = "Secondary cholangitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EntericCampylobacteriosis = new Coding
{
Code = "18081009",
Display = "Enteric campylobacteriosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CancrumOris = new Coding
{
Code = "18116006",
Display = "Cancrum oris",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FractureOfFissureOfTooth = new Coding
{
Code = "18139000",
Display = "Fracture of fissure of tooth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InjuryOfColonWithOpenWoundIntoAbdominalCavity = new Coding
{
Code = "18147000",
Display = "Injury of colon with open wound into abdominal cavity",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding RawMilkAssociatedDiarrhea = new Coding
{
Code = "18168004",
Display = "Raw-milk associated diarrhea",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DuodenalUlcerWithoutHemorrhageANDWithoutPerforationButWithObstruction = new Coding
{
Code = "18169007",
Display = "Duodenal ulcer without hemorrhage AND without perforation but with obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SuppurativeColitis = new Coding
{
Code = "18229003",
Display = "Suppurative colitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AllergicGastritis = new Coding
{
Code = "1824008",
Display = "Allergic gastritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GranulomaOfLip = new Coding
{
Code = "1826005",
Display = "Granuloma of lip",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalDuodenalObstruction = new Coding
{
Code = "18269002",
Display = "Congenital duodenal obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding RectovulvalFistula = new Coding
{
Code = "18317005",
Display = "Rectovulval fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AlgidMalaria = new Coding
{
Code = "18342001",
Display = "Algid malaria",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding NecrosisOfPancreas = new Coding
{
Code = "1835003",
Display = "Necrosis of pancreas",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DuodenalUlcerWithHemorrhageANDObstruction = new Coding
{
Code = "18367003",
Display = "Duodenal ulcer with hemorrhage AND obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Microcolon = new Coding
{
Code = "18389004",
Display = "Microcolon",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PassageOfRiceWaterStools = new Coding
{
Code = "18425006",
Display = "Passage of rice water stools",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DisorderOfAppendix = new Coding
{
Code = "18526009",
Display = "Disorder of appendix",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SeaSickness = new Coding
{
Code = "18530007",
Display = "Sea sickness",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IncreasedGastricTonus = new Coding
{
Code = "18644006",
Display = "Increased gastric tonus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IncreasedGastricElectricalActivity = new Coding
{
Code = "18645007",
Display = "Increased gastric electrical activity",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ImpairedIntestinalProteinAbsorption = new Coding
{
Code = "1865008",
Display = "Impaired intestinal protein absorption",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteGastricMucosalErosion = new Coding
{
Code = "18665000",
Display = "Acute gastric mucosal erosion",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GingivalDisease = new Coding
{
Code = "18718003",
Display = "Gingival disease",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SupragingivalDentalCalculus = new Coding
{
Code = "18755003",
Display = "Supragingival dental calculus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CyclicalVomitingSyndrome = new Coding
{
Code = "18773000",
Display = "Cyclical vomiting syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HTypeCongenitalTracheoesophagealFistula = new Coding
{
Code = "18792003",
Display = "H-type congenital tracheoesophageal fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalSecretoryDiarrheaSodiumType = new Coding
{
Code = "18805001",
Display = "Congenital secretory diarrhea, sodium type",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChemotherapyInducedNauseaAndVomiting = new Coding
{
Code = "18846006",
Display = "Chemotherapy-induced nausea and vomiting",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InfectionByTrichostrongylusAxei = new Coding
{
Code = "18849004",
Display = "Infection by Trichostrongylus axei",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SchinzelGiedionSyndrome = new Coding
{
Code = "18899000",
Display = "Schinzel-Giedion syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CleftUvula = new Coding
{
Code = "18910001",
Display = "Cleft uvula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteFulminatingTypeAViralHepatitis = new Coding
{
Code = "18917003",
Display = "Acute fulminating type A viral hepatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IsolatedIdiopathicGranulomaOfStomach = new Coding
{
Code = "18935007",
Display = "Isolated idiopathic granuloma of stomach",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding StenosisOfColon = new Coding
{
Code = "19132000",
Display = "Stenosis of colon",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalSyphiliticHepatomegaly = new Coding
{
Code = "192008",
Display = "Congenital syphilitic hepatomegaly",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InfectiousDiarrhealDisease = new Coding
{
Code = "19213003",
Display = "Infectious diarrheal disease",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EsophagealWeb = new Coding
{
Code = "19216006",
Display = "Esophageal web",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Glossocele = new Coding
{
Code = "19263008",
Display = "Glossocele",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CystOfGallbladder = new Coding
{
Code = "19286001",
Display = "Cyst of gallbladder",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CollagenousColitis = new Coding
{
Code = "19311003",
Display = "Collagenous colitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CalculusOfCysticDuctWithAcuteCholecystitis = new Coding
{
Code = "19335008",
Display = "Calculus of cystic duct with acute cholecystitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AvulsionOfLip = new Coding
{
Code = "19345005",
Display = "Avulsion of lip",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EctopicPancreas = new Coding
{
Code = "19387007",
Display = "Ectopic pancreas",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Hypertaurodontism = new Coding
{
Code = "19523008",
Display = "Hypertaurodontism",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FoodPoisoningDueToStreptococcus = new Coding
{
Code = "19547001",
Display = "Food poisoning due to streptococcus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MildHyperemesisGravidarum = new Coding
{
Code = "19569008",
Display = "Mild hyperemesis gravidarum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IntermittentDysphagia = new Coding
{
Code = "19597002",
Display = "Intermittent dysphagia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EnterostomyMalfunction = new Coding
{
Code = "19640007",
Display = "Enterostomy malfunction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding LupusHepatitis = new Coding
{
Code = "19682006",
Display = "Lupus hepatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding RelapsingPancreaticNecrosis = new Coding
{
Code = "19742005",
Display = "Relapsing pancreatic necrosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteGastricUlcerWithPerforation = new Coding
{
Code = "19850005",
Display = "Acute gastric ulcer with perforation",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PrimaryChronicPseudoObstructionOfSmallIntestine = new Coding
{
Code = "19881001",
Display = "Primary chronic pseudo-obstruction of small intestine",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FoodPoisoningDueToBacillusCereus = new Coding
{
Code = "19894004",
Display = "Food poisoning due to Bacillus cereus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InjuryOfGallbladderWithoutOpenWoundIntoAbdominalCavity = new Coding
{
Code = "19936001",
Display = "Injury of gallbladder without open wound into abdominal cavity",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CirrhosisOfLiver = new Coding
{
Code = "19943007",
Display = "Cirrhosis of liver",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CholecystitisWithoutCalculus = new Coding
{
Code = "19968009",
Display = "Cholecystitis without calculus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SpontaneousRuptureOfEsophagus = new Coding
{
Code = "19995004",
Display = "Spontaneous rupture of esophagus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding BileDuctProliferation = new Coding
{
Code = "20239009",
Display = "Bile duct proliferation",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CholecystoentericFistula = new Coding
{
Code = "20306009",
Display = "Cholecystoenteric fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FulminantEnterocolitis = new Coding
{
Code = "20335001",
Display = "Fulminant enterocolitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ModerateLacerationOfLiverWithOpenWoundIntoAbdominalCavity = new Coding
{
Code = "20402005",
Display = "Moderate laceration of liver with open wound into abdominal cavity",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AlcoholicGastritis = new Coding
{
Code = "2043009",
Display = "Alcoholic gastritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InjuryOfMultipleSitesOfPancreasWithoutOpenWoundIntoAbdominalCavity = new Coding
{
Code = "20474007",
Display = "Injury of multiple sites of pancreas without open wound into abdominal cavity",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding OpenWoundOfLipWithComplication = new Coding
{
Code = "20509003",
Display = "Open wound of lip with complication",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CompleteRectalProlapseWithNoDisplacementOfAnalMuscles = new Coding
{
Code = "20528005",
Display = "Complete rectal prolapse with no displacement of anal muscles",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IllDefinedIntestinalInfection = new Coding
{
Code = "20547008",
Display = "Ill-defined intestinal infection",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SentinelTag = new Coding
{
Code = "20570000",
Display = "Sentinel tag",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Gingivostomatitis = new Coding
{
Code = "20607006",
Display = "Gingivostomatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CandidiasisOfTheEsophagus = new Coding
{
Code = "20639004",
Display = "Candidiasis of the esophagus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GastricUlcerWithHemorrhageANDPerforationButWithoutObstruction = new Coding
{
Code = "2066005",
Display = "Gastric ulcer with hemorrhage AND perforation but without obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding OralFistula = new Coding
{
Code = "20674003",
Display = "Oral fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ExtremeInsulinResistanceWithAcanthosisNigricansHirsutismANDAutoantibodiesToTheInsulinReceptors = new Coding
{
Code = "20678000",
Display = "Extreme insulin resistance with acanthosis nigricans, hirsutism AND autoantibodies to the insulin receptors",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ExtrahepaticCholestasis = new Coding
{
Code = "20719006",
Display = "Extrahepatic cholestasis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FamilialVisceralNeuropathy = new Coding
{
Code = "20725005",
Display = "Familial visceral neuropathy",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AchyliaGastrica = new Coding
{
Code = "20754004",
Display = "Achylia gastrica",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DieteticJejunitis = new Coding
{
Code = "20759009",
Display = "Dietetic jejunitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EchinococcusGranulosusInfectionOfLiver = new Coding
{
Code = "20790006",
Display = "Echinococcus granulosus infection of liver",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AfferentLoopSyndrome = new Coding
{
Code = "20813000",
Display = "Afferent loop syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ExstrophyOfCloacaSequence = new Coding
{
Code = "20815007",
Display = "Exstrophy of cloaca sequence",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicCholecystitis = new Coding
{
Code = "20824003",
Display = "Chronic cholecystitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IntestinalMyiasis = new Coding
{
Code = "20860008",
Display = "Intestinal myiasis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PharyngealDiverticulitis = new Coding
{
Code = "2091005",
Display = "Pharyngeal diverticulitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GastricDysplasia = new Coding
{
Code = "20915006",
Display = "Gastric dysplasia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalLiverGrooves = new Coding
{
Code = "20919000",
Display = "Congenital liver grooves",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AdhesionOfMesentery = new Coding
{
Code = "20926000",
Display = "Adhesion of mesentery",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding UlcerOfAnus = new Coding
{
Code = "20928004",
Display = "Ulcer of anus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding OuterSpaceSickness = new Coding
{
Code = "21162009",
Display = "Outer space sickness",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DiseaseOfPharyngealTonsil = new Coding
{
Code = "2128005",
Display = "Disease of pharyngeal tonsil",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EdemaOfPharynx = new Coding
{
Code = "2129002",
Display = "Edema of pharynx",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SoftTissueImpingementOnTeeth = new Coding
{
Code = "21366000",
Display = "Soft tissue impingement on teeth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding LossOfTeethDueToLocalPeriodontalDisease = new Coding
{
Code = "21459002",
Display = "Loss of teeth due to local periodontal disease",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HematomaANDContusionOfLiverWithOpenWoundIntoAbdominalCavity = new Coding
{
Code = "21580006",
Display = "Hematoma AND contusion of liver with open wound into abdominal cavity",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcutePeriodontitis = new Coding
{
Code = "21638000",
Display = "Acute periodontitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DiverticulumOfAppendix = new Coding
{
Code = "21692001",
Display = "Diverticulum of appendix",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GastrojejunalUlcerWithPerforationANDObstruction = new Coding
{
Code = "21759003",
Display = "Gastrojejunal ulcer with perforation AND obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InjuryOfTeeth = new Coding
{
Code = "21763005",
Display = "Injury of teeth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DrugInducedConstipation = new Coding
{
Code = "21782001",
Display = "Drug-induced constipation",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AbrasionANDORFrictionBurnOfAnusWithoutInfection = new Coding
{
Code = "21809000",
Display = "Abrasion AND/OR friction burn of anus without infection",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MicronodularCirrhosis = new Coding
{
Code = "21861000",
Display = "Micronodular cirrhosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IrritativeHyperplasiaOfOralMucosa = new Coding
{
Code = "21863002",
Display = "Irritative hyperplasia of oral mucosa",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding NatalTooth = new Coding
{
Code = "21995002",
Display = "Natal tooth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AbsentPeristalsis = new Coding
{
Code = "22114000",
Display = "Absent peristalsis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AschoffRokitanskySinuses = new Coding
{
Code = "22149007",
Display = "Aschoff-Rokitansky sinuses",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcutePepticUlcerWithHemorrhageButWithoutObstruction = new Coding
{
Code = "22157005",
Display = "Acute peptic ulcer with hemorrhage but without obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IntestinalDisaccharidaseDeficiency = new Coding
{
Code = "22169002",
Display = "Intestinal disaccharidase deficiency",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicProliferativeEnteritis = new Coding
{
Code = "22207007",
Display = "Chronic proliferative enteritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DesquamativeGingivitis = new Coding
{
Code = "22208002",
Display = "Desquamative gingivitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AllergicEnteritis = new Coding
{
Code = "22231002",
Display = "Allergic enteritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Pericoronitis = new Coding
{
Code = "22240003",
Display = "Pericoronitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SuperficialGastritis = new Coding
{
Code = "22304002",
Display = "Superficial gastritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteBowelInfarction = new Coding
{
Code = "22323009",
Display = "Acute bowel infarction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PulpDegeneration = new Coding
{
Code = "22361007",
Display = "Pulp degeneration",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EsophagealBodyWeb = new Coding
{
Code = "22395006",
Display = "Esophageal body web",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ForeignBodyInNasopharynx = new Coding
{
Code = "2245007",
Display = "Foreign body in nasopharynx",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding BleedingFromMouth = new Coding
{
Code = "22490002",
Display = "Bleeding from mouth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Oesophagostomiasis = new Coding
{
Code = "22500005",
Display = "Oesophagostomiasis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HepaticFailureDueToAProcedure = new Coding
{
Code = "22508003",
Display = "Hepatic failure due to a procedure",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteDuodenalUlcerWithPerforationButWithoutObstruction = new Coding
{
Code = "22511002",
Display = "Acute duodenal ulcer with perforation but without obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ExudativeEnteropathy = new Coding
{
Code = "22542007",
Display = "Exudative enteropathy",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalAbsenceOfSalivaryGland = new Coding
{
Code = "22589009",
Display = "Congenital absence of salivary gland",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PrepyloricUlcer = new Coding
{
Code = "22620000",
Display = "Prepyloric ulcer",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AdhesionOfCysticDuct = new Coding
{
Code = "22711000",
Display = "Adhesion of cystic duct",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding RuptureOfGallbladder = new Coding
{
Code = "22788004",
Display = "Rupture of gallbladder",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FoodTemperature = new Coding
{
Code = "228018009",
Display = "Food temperature",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ColdFood = new Coding
{
Code = "228019001",
Display = "Cold food",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HotFood = new Coding
{
Code = "228020007",
Display = "Hot food",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding WarmFood = new Coding
{
Code = "228021006",
Display = "Warm food",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalSeptationOfGallbladder = new Coding
{
Code = "22845004",
Display = "Congenital septation of gallbladder",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HepatorenalSyndromeFollowingDelivery = new Coding
{
Code = "22846003",
Display = "Hepatorenal syndrome following delivery",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ArterialEntericFistula = new Coding
{
Code = "22883003",
Display = "Arterial-enteric fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InfectionByHeterophyesHeterophyes = new Coding
{
Code = "22905009",
Display = "Infection by Heterophyes heterophyes",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InfectionByPhysaloptera = new Coding
{
Code = "22922006",
Display = "Infection by Physaloptera",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MesentericVarices = new Coding
{
Code = "22949006",
Display = "Mesenteric varices",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ErythroplakiaOfTongue = new Coding
{
Code = "22974009",
Display = "Erythroplakia of tongue",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DisorderOfTonsil = new Coding
{
Code = "23023009",
Display = "Disorder of tonsil",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FruityBreath = new Coding
{
Code = "23034007",
Display = "Fruity breath",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PassiveCongestionOfStomach = new Coding
{
Code = "23062000",
Display = "Passive congestion of stomach",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding StenosisOfIntestine = new Coding
{
Code = "23065003",
Display = "Stenosis of intestine",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FatNecrosisOfPancreas = new Coding
{
Code = "2307008",
Display = "Fat necrosis of pancreas",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicGastricVolvulus = new Coding
{
Code = "23080009",
Display = "Chronic gastric volvulus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ContinuousSalivarySecretion = new Coding
{
Code = "23144006",
Display = "Continuous salivary secretion",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CellulitisOfPharynx = new Coding
{
Code = "23166004",
Display = "Cellulitis of pharynx",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding StrangulatedInternalHemorrhoids = new Coding
{
Code = "23202007",
Display = "Strangulated internal hemorrhoids",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding VerticalOverbite = new Coding
{
Code = "23234003",
Display = "Vertical overbite",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcquiredMegacolonInAdults = new Coding
{
Code = "23298002",
Display = "Acquired megacolon in adults",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PerforationOfEsophagus = new Coding
{
Code = "23387001",
Display = "Perforation of esophagus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IllegalAbortionWithPerforationOfBowel = new Coding
{
Code = "23401002",
Display = "Illegal abortion with perforation of bowel",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CausticEsophagealInjury = new Coding
{
Code = "23509002",
Display = "Caustic esophageal injury",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AtresiaOfSalivaryDuct = new Coding
{
Code = "23512004",
Display = "Atresia of salivary duct",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PhlegmonOfPancreas = new Coding
{
Code = "23587002",
Display = "Phlegmon of pancreas",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CushingQuoteSUlcers = new Coding
{
Code = "23649000",
Display = "Cushing's ulcers",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicGranularPharyngitis = new Coding
{
Code = "2365002",
Display = "Chronic granular pharyngitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteHemorrhagicGastritis = new Coding
{
Code = "2367005",
Display = "Acute hemorrhagic gastritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalPyloricAntralMembrane = new Coding
{
Code = "23678004",
Display = "Congenital pyloric antral membrane",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HematemesisANDORMelenaDueToSwallowedMaternalBlood = new Coding
{
Code = "23688003",
Display = "Hematemesis AND/OR melena due to swallowed maternal blood",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteDuodenalUlcerWithoutHemorrhageWithoutPerforationANDWithoutObstruction = new Coding
{
Code = "23693000",
Display = "Acute duodenal ulcer without hemorrhage, without perforation AND without obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding BilateralParalysisOfTongue = new Coding
{
Code = "23740006",
Display = "Bilateral paralysis of tongue",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DuodenalUlcerWithHemorrhageANDPerforation = new Coding
{
Code = "23812009",
Display = "Duodenal ulcer with hemorrhage AND perforation",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicAmebiasis = new Coding
{
Code = "23874000",
Display = "Chronic amebiasis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ExternalHemorrhoids = new Coding
{
Code = "23913003",
Display = "External hemorrhoids",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PyogranulomatousEnteritis = new Coding
{
Code = "23916006",
Display = "Pyogranulomatous enteritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CapillariaPhilippinensisInfection = new Coding
{
Code = "23949002",
Display = "Capillaria philippinensis infection",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteVomiting = new Coding
{
Code = "23971007",
Display = "Acute vomiting",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AnomalyOfDentalArch = new Coding
{
Code = "23997001",
Display = "Anomaly of dental arch",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicGastrojejunalUlcerWithHemorrhageWithPerforationAndWithObstruction = new Coding
{
Code = "24001002",
Display = "Chronic gastrojejunal ulcer with hemorrhage, with perforation and with obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FecalContinence = new Coding
{
Code = "24029004",
Display = "Fecal continence",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GastrocolicUlcer = new Coding
{
Code = "24060004",
Display = "Gastrocolic ulcer",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GangosaOfYaws = new Coding
{
Code = "24078009",
Display = "Gangosa of yaws",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding BurnOfGum = new Coding
{
Code = "24087000",
Display = "Burn of gum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HematomaANDContusionOfLiverWithoutOpenWoundIntoAbdominalCavity = new Coding
{
Code = "24179004",
Display = "Hematoma AND contusion of liver without open wound into abdominal cavity",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CompleteBilateralCleftPalate = new Coding
{
Code = "24194000",
Display = "Complete bilateral cleft palate",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding NoninfectiousJejunitis = new Coding
{
Code = "242004",
Display = "Noninfectious jejunitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ExtremeInsulinResistanceWithAcanthosisNigricansHirsutismANDAbnormalInsulinReceptors = new Coding
{
Code = "24203005",
Display = "Extreme insulin resistance with acanthosis nigricans, hirsutism AND abnormal insulin receptors",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalDilatationOfColon = new Coding
{
Code = "24291004",
Display = "Congenital dilatation of colon",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SigmoidovaginalFistula = new Coding
{
Code = "24339001",
Display = "Sigmoidovaginal fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Ascariasis = new Coding
{
Code = "2435008",
Display = "Ascariasis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SuppurativePancreatitis = new Coding
{
Code = "24407009",
Display = "Suppurative pancreatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalSecretoryDiarrheaChlorideType = new Coding
{
Code = "24412005",
Display = "Congenital secretory diarrhea, chloride type",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Gurgling = new Coding
{
Code = "24436009",
Display = "Gurgling",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InflammatoryBowelDisease = new Coding
{
Code = "24526004",
Display = "Inflammatory bowel disease",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AbscessOfIntestine = new Coding
{
Code = "24557004",
Display = "Abscess of intestine",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SigmoidorectalIntussusception = new Coding
{
Code = "24610009",
Display = "Sigmoidorectal intussusception",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PosteriorOpenBite = new Coding
{
Code = "24617007",
Display = "Posterior open bite",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IsolatedFamilialIntestinalHypomagnesemia = new Coding
{
Code = "24754009",
Display = "Isolated familial intestinal hypomagnesemia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ConcretionOfAppendix = new Coding
{
Code = "24764000",
Display = "Concretion of appendix",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SmallRoundStructuredVirusGastroenteritis = new Coding
{
Code = "24789006",
Display = "Small round structured virus gastroenteritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding BleedingGastricVarices = new Coding
{
Code = "24807004",
Display = "Bleeding gastric varices",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding TuberculosisOrificialisOfMouth = new Coding
{
Code = "24810006",
Display = "Tuberculosis orificialis of mouth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GastrointestinalComplication = new Coding
{
Code = "24813008",
Display = "Gastrointestinal complication",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EosinophilicUlcerativeColitis = new Coding
{
Code = "24829000",
Display = "Eosinophilic ulcerative colitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteTypeAViralHepatitis = new Coding
{
Code = "25102003",
Display = "Acute type A viral hepatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InjuryOfMultipleSitesInColonANDORRectumWithOpenWoundIntoAbdominalCavity = new Coding
{
Code = "25110002",
Display = "Injury of multiple sites in colon AND/OR rectum with open wound into abdominal cavity",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalAbsenceOfUvula = new Coding
{
Code = "25148007",
Display = "Congenital absence of uvula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EnlargementOfTongue = new Coding
{
Code = "25273001",
Display = "Enlargement of tongue",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AbnormalExcretoryFunction = new Coding
{
Code = "25299008",
Display = "Abnormal excretory function",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicDiarrheaOfInfantsANDORYoungChildren = new Coding
{
Code = "25319005",
Display = "Chronic diarrhea of infants AND/OR young children",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GastrojejunocolicFistula = new Coding
{
Code = "25335003",
Display = "Gastrojejunocolic fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PerforationOfGallbladder = new Coding
{
Code = "25345001",
Display = "Perforation of gallbladder",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicUpperGastrointestinalHemorrhage = new Coding
{
Code = "25349007",
Display = "Chronic upper gastrointestinal hemorrhage",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Gastroenteritis = new Coding
{
Code = "25374005",
Display = "Gastroenteritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PrimordialCyst = new Coding
{
Code = "25418001",
Display = "Primordial cyst",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InjuryOfMultipleSitesOfPancreasWithOpenWoundIntoAbdominalCavity = new Coding
{
Code = "25420003",
Display = "Injury of multiple sites of pancreas with open wound into abdominal cavity",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteGastritis = new Coding
{
Code = "25458004",
Display = "Acute gastritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ForeignBodyInPharynx = new Coding
{
Code = "25479004",
Display = "Foreign body in pharynx",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IdiopathicErosionOfTeeth = new Coding
{
Code = "25507003",
Display = "Idiopathic erosion of teeth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ToothLoss = new Coding
{
Code = "25540007",
Display = "Tooth loss",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteCecitis = new Coding
{
Code = "25552000",
Display = "Acute cecitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MajorLacerationOfLiverWithOpenWoundIntoAbdominalCavity = new Coding
{
Code = "25554004",
Display = "Major laceration of liver with open wound into abdominal cavity",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PeriodontalDisease = new Coding
{
Code = "2556008",
Display = "Periodontal disease",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding RetrocecalAppendicitis = new Coding
{
Code = "25598004",
Display = "Retrocecal appendicitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalDuodenalObstructionDueToMalrotationOfIntestine = new Coding
{
Code = "25617003",
Display = "Congenital duodenal obstruction due to malrotation of intestine",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding StrictureOfRectum = new Coding
{
Code = "25730006",
Display = "Stricture of rectum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HereditaryGastrogenicLactoseIntolerance = new Coding
{
Code = "25744000",
Display = "Hereditary gastrogenic lactose intolerance",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PancreaticFistula = new Coding
{
Code = "25803005",
Display = "Pancreatic fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AllergicSigmoiditis = new Coding
{
Code = "25887009",
Display = "Allergic sigmoiditis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalAtresiaOfIleum = new Coding
{
Code = "25896009",
Display = "Congenital atresia of ileum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalSecretoryDiarrhea = new Coding
{
Code = "25898005",
Display = "Congenital secretory diarrhea",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CalculusOfGallbladderWithCholecystitis = new Coding
{
Code = "25924004",
Display = "Calculus of gallbladder with cholecystitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding BetelDepositOnTeeth = new Coding
{
Code = "25933002",
Display = "Betel deposit on teeth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FibrosisOfPancreas = new Coding
{
Code = "25942009",
Display = "Fibrosis of pancreas",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PyloricAntralStenosis = new Coding
{
Code = "25948008",
Display = "Pyloric antral stenosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EndemicColic = new Coding
{
Code = "25959004",
Display = "Endemic colic",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalAbsenceOfRectum = new Coding
{
Code = "25972003",
Display = "Congenital absence of rectum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AllergicGastroenteritis = new Coding
{
Code = "26006005",
Display = "Allergic gastroenteritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EchinococcosisOfLiver = new Coding
{
Code = "26103000",
Display = "Echinococcosis of liver",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalAtresiaOfEsophagus = new Coding
{
Code = "26179002",
Display = "Congenital atresia of esophagus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IncreasedExocrineGlandSecretion = new Coding
{
Code = "26185009",
Display = "Increased exocrine gland secretion",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PepticUlcerWithHemorrhageWithPerforationANDWithObstruction = new Coding
{
Code = "26221006",
Display = "Peptic ulcer with hemorrhage, with perforation AND with obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PrepubertalPeriodontitis = new Coding
{
Code = "2624008",
Display = "Prepubertal periodontitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IntestinalHelminthiasis = new Coding
{
Code = "26249004",
Display = "Intestinal helminthiasis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding UlcerOfMouth = new Coding
{
Code = "26284000",
Display = "Ulcer of mouth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding LowOutputExternalGastrointestinalFistula = new Coding
{
Code = "26289005",
Display = "Low-output external gastrointestinal fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalObstructionOfSmallIntestine = new Coding
{
Code = "26315009",
Display = "Congenital obstruction of small intestine",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InternalCompleteRectalProlapseWithIntussusceptionOfRectosigmoid = new Coding
{
Code = "26316005",
Display = "Internal complete rectal prolapse with intussusception of rectosigmoid",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ThrombosedExternalHemorrhoids = new Coding
{
Code = "26373009",
Display = "Thrombosed external hemorrhoids",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CheilitisGlandularis = new Coding
{
Code = "26374003",
Display = "Cheilitis glandularis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding BleedingExternalHemorrhoids = new Coding
{
Code = "26421009",
Display = "Bleeding external hemorrhoids",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding OpenWoundOfBuccalMucosaWithoutComplication = new Coding
{
Code = "26422002",
Display = "Open wound of buccal mucosa without complication",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FranklinicTaste = new Coding
{
Code = "26440003",
Display = "Franklinic taste",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SawdustLiver = new Coding
{
Code = "26485002",
Display = "Sawdust liver",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ToxicParotitis = new Coding
{
Code = "26558007",
Display = "Toxic parotitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EnamelHypoplasia = new Coding
{
Code = "26597004",
Display = "Enamel hypoplasia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Anodontia = new Coding
{
Code = "26624006",
Display = "Anodontia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ShortBowelSyndrome = new Coding
{
Code = "26629001",
Display = "Short bowel syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding RobinsonNailDystrophyDeafnessSyndrome = new Coding
{
Code = "26718008",
Display = "Robinson nail dystrophy-deafness syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HypocalcificationOfTeeth = new Coding
{
Code = "26748006",
Display = "Hypocalcification of teeth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AmebicAppendicitis = new Coding
{
Code = "26826005",
Display = "Amebic appendicitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding RectoceleAffectingPregnancy = new Coding
{
Code = "26828006",
Display = "Rectocele affecting pregnancy",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FibrinousEnteritis = new Coding
{
Code = "26838001",
Display = "Fibrinous enteritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HypertrophyOfBileDuct = new Coding
{
Code = "26874005",
Display = "Hypertrophy of bile duct",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PosteruptiveToothStainingDueToPulpalBleeding = new Coding
{
Code = "26884006",
Display = "Posteruptive tooth staining due to pulpal bleeding",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AscendingCholangitis = new Coding
{
Code = "26918003",
Display = "Ascending cholangitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CompensatoryLobarHyperplasiaOfLiver = new Coding
{
Code = "26975007",
Display = "Compensatory lobar hyperplasia of liver",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AnteriorCrossbite = new Coding
{
Code = "27002002",
Display = "Anterior crossbite",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AutosomalRecessiveHypohidroticEctodermalDysplasiaSyndrome = new Coding
{
Code = "27025001",
Display = "Autosomal recessive hypohidrotic ectodermal dysplasia syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding NecrotizingEnterocolitisInFetusORNewborn = new Coding
{
Code = "2707005",
Display = "Necrotizing enterocolitis in fetus OR newborn",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding BiliarySludge = new Coding
{
Code = "27123005",
Display = "Biliary sludge",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HyperemesisGravidarumBeforeEndOf22WeekGestationWithCarbohydrateDepletion = new Coding
{
Code = "27152008",
Display = "Hyperemesis gravidarum before end of 22 week gestation with carbohydrate depletion",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PosthepatiticCirrhosis = new Coding
{
Code = "27156006",
Display = "Posthepatitic cirrhosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HabitualFrictionInjuryOfTooth = new Coding
{
Code = "27160009",
Display = "Habitual friction injury of tooth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DecreasedDigestivePeristalsis = new Coding
{
Code = "27203001",
Display = "Decreased digestive peristalsis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EchinococcusMultilocularisInfectionOfLiver = new Coding
{
Code = "27235001",
Display = "Echinococcus multilocularis infection of liver",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicIschemicColitis = new Coding
{
Code = "27241008",
Display = "Chronic ischemic colitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DuodenalUlcerWithHemorrhage = new Coding
{
Code = "27281001",
Display = "Duodenal ulcer with hemorrhage",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Toothache = new Coding
{
Code = "27355003",
Display = "Toothache",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalMacrocheilia = new Coding
{
Code = "27409004",
Display = "Congenital macrocheilia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding NormalExocrineGlandSecretion = new Coding
{
Code = "27576009",
Display = "Normal exocrine gland secretion",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IntussusceptionOfColon = new Coding
{
Code = "27673007",
Display = "Intussusception of colon",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalHyperplasiaOfSebaceousGlandsOfLip = new Coding
{
Code = "27680009",
Display = "Congenital hyperplasia of sebaceous glands of lip",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CalculusOfHepaticDuctWithoutObstruction = new Coding
{
Code = "27697003",
Display = "Calculus of hepatic duct without obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteGastrointestinalHemorrhage = new Coding
{
Code = "27719009",
Display = "Acute gastrointestinal hemorrhage",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PyloricAtresia = new Coding
{
Code = "27729002",
Display = "Pyloric atresia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PlantAwnStomatitis = new Coding
{
Code = "27829006",
Display = "Plant awn stomatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GastrojejunalUlcerWithoutHemorrhageANDWithoutPerforation = new Coding
{
Code = "2783007",
Display = "Gastrojejunal ulcer without hemorrhage AND without perforation",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ClostridialGastroenteritis = new Coding
{
Code = "27858009",
Display = "Clostridial gastroenteritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicSteatorrhea = new Coding
{
Code = "27868004",
Display = "Chronic steatorrhea",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FollicularTonsillitis = new Coding
{
Code = "27878001",
Display = "Follicular tonsillitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DecreasedPancreaticSecretion = new Coding
{
Code = "27902000",
Display = "Decreased pancreatic secretion",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AbscessOfLiver = new Coding
{
Code = "27916005",
Display = "Abscess of liver",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalGlucoseGalactoseMalabsorption = new Coding
{
Code = "27943000",
Display = "Congenital glucose-galactose malabsorption",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MesentericCyst = new Coding
{
Code = "27970007",
Display = "Mesenteric cyst",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding JacksonQuoteSMembrane = new Coding
{
Code = "28016005",
Display = "Jackson's membrane",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalLipPits = new Coding
{
Code = "28041003",
Display = "Congenital lip pits",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SmellOfAlcoholOnBreath = new Coding
{
Code = "28045007",
Display = "Smell of alcohol on breath",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicGastrojejunalUlcerWithPerforation = new Coding
{
Code = "2807004",
Display = "Chronic gastrojejunal ulcer with perforation",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicDuodenalUlcerWithoutHemorrhageANDWithoutPerforationButWithObstruction = new Coding
{
Code = "28082003",
Display = "Chronic duodenal ulcer without hemorrhage AND without perforation but with obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SpasmOfSphincterOfOddi = new Coding
{
Code = "28132005",
Display = "Spasm of sphincter of Oddi",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding LymphoidHyperplasiaOfStomach = new Coding
{
Code = "28175004",
Display = "Lymphoid hyperplasia of stomach",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PrimarySyphilisOfLip = new Coding
{
Code = "28198007",
Display = "Primary syphilis of lip",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IntestinalLipofuscinosis = new Coding
{
Code = "28212002",
Display = "Intestinal lipofuscinosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AbrasionANDORFrictionBurnOfGumWithoutInfection = new Coding
{
Code = "2825006",
Display = "Abrasion AND/OR friction burn of gum without infection",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PyloricAntralVascularEctasia = new Coding
{
Code = "2831009",
Display = "Pyloric antral vascular ectasia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteObstructiveAppendicitisWithPerforationANDPeritonitis = new Coding
{
Code = "28358004",
Display = "Acute obstructive appendicitis with perforation AND peritonitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HypertrophyOfSubmaxillaryGland = new Coding
{
Code = "28401004",
Display = "Hypertrophy of submaxillary gland",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding NonfamilialMultiplePolyposisSyndrome = new Coding
{
Code = "28412004",
Display = "Nonfamilial multiple polyposis syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ToxicMegacolon = new Coding
{
Code = "28536002",
Display = "Toxic megacolon",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AscherQuoteSSyndrome = new Coding
{
Code = "28599006",
Display = "Ascher's syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding VesicocolicFistula = new Coding
{
Code = "28626004",
Display = "Vesicocolic fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalDuplicationOfColon = new Coding
{
Code = "28682004",
Display = "Congenital duplication of colon",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding TorsionOfLiverLobe = new Coding
{
Code = "28698006",
Display = "Torsion of liver lobe",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GastrocolicFistula = new Coding
{
Code = "28756003",
Display = "Gastrocolic fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PosttransfusionViralHepatitis = new Coding
{
Code = "28766006",
Display = "Posttransfusion viral hepatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Sialolithiasis = new Coding
{
Code = "28826002",
Display = "Sialolithiasis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GastricAtresia = new Coding
{
Code = "28828001",
Display = "Gastric atresia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteAppendicitisWithGeneralizedPeritonitis = new Coding
{
Code = "28845006",
Display = "Acute appendicitis with generalized peritonitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcutePepticUlcerWithHemorrhageWithPerforationANDWithObstruction = new Coding
{
Code = "28945005",
Display = "Acute peptic ulcer with hemorrhage, with perforation AND with obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InfectionByTrichurisSuis = new Coding
{
Code = "28951000",
Display = "Infection by Trichuris suis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Melena = new Coding
{
Code = "2901004",
Display = "Melena",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalAbsenceOfSmallIntestine = new Coding
{
Code = "29110005",
Display = "Congenital absence of small intestine",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EosinophilicColitis = new Coding
{
Code = "29120000",
Display = "Eosinophilic colitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FecalImpactionOfColon = new Coding
{
Code = "29162007",
Display = "Fecal impaction of colon",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding NauseaVomitingAndDiarrhea = new Coding
{
Code = "2919008",
Display = "Nausea, vomiting and diarrhea",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding OpenWoundOfLipWithoutComplication = new Coding
{
Code = "29256009",
Display = "Open wound of lip without complication",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GlycogenStorageDiseaseTypeVI = new Coding
{
Code = "29291001",
Display = "Glycogen storage disease, type VI",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SalivaryColic = new Coding
{
Code = "29330004",
Display = "Salivary colic",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DisorderOfStomach = new Coding
{
Code = "29384001",
Display = "Disorder of stomach",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IntestinalGangrene = new Coding
{
Code = "29451002",
Display = "Intestinal gangrene",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding OsmoticDiarrhea = new Coding
{
Code = "2946003",
Display = "Osmotic diarrhea",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AtonyOfColon = new Coding
{
Code = "29479008",
Display = "Atony of colon",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CholelithiasisANDCholecystitisWithoutObstruction = new Coding
{
Code = "29484002",
Display = "Cholelithiasis AND cholecystitis without obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicUlcerativePulpitis = new Coding
{
Code = "2955000",
Display = "Chronic ulcerative pulpitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PegShapedTeeth = new Coding
{
Code = "29553002",
Display = "Peg-shaped teeth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InfectionByTrichostrongylusColubriformis = new Coding
{
Code = "29604006",
Display = "Infection by Trichostrongylus colubriformis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalAtresiaOfPharynx = new Coding
{
Code = "29632002",
Display = "Congenital atresia of pharynx",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InjuryOfMultipleSitesInColonANDORRectumWithoutOpenWoundIntoAbdominalCavity = new Coding
{
Code = "29691006",
Display = "Injury of multiple sites in colon AND/OR rectum without open wound into abdominal cavity",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HypertrophyOfParotidGland = new Coding
{
Code = "29748005",
Display = "Hypertrophy of parotid gland",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DuodenalUlcerWithIncreasedSerumPepsinogenI = new Coding
{
Code = "29755007",
Display = "Duodenal ulcer with increased serum pepsinogen I",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AppendicealColic = new Coding
{
Code = "29874009",
Display = "Appendiceal colic",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InjuryOfRectumWithOpenWoundIntoAbdominalCavity = new Coding
{
Code = "29880001",
Display = "Injury of rectum with open wound into abdominal cavity",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AdhesionOfIntestine = new Coding
{
Code = "29886007",
Display = "Adhesion of intestine",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FistulaOfIntestineToAbdominalWall = new Coding
{
Code = "29927001",
Display = "Fistula of intestine to abdominal wall",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InfectionByEnteromonasHominis = new Coding
{
Code = "29979000",
Display = "Infection by Enteromonas hominis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalMalrotationOfIntestine = new Coding
{
Code = "29980002",
Display = "Congenital malrotation of intestine",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AnalFissure = new Coding
{
Code = "30037006",
Display = "Anal fissure",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalDilatationOfEsophagus = new Coding
{
Code = "3004001",
Display = "Congenital dilatation of esophagus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding StrangulationObstructionOfIntestine = new Coding
{
Code = "30074005",
Display = "Strangulation obstruction of intestine",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CalculusOfBileDuct = new Coding
{
Code = "30093007",
Display = "Calculus of bile duct",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Glucose6PhosphateTransportDefect = new Coding
{
Code = "30102006",
Display = "Glucose-6-phosphate transport defect",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcquiredSupradiaphragmaticDiverticulumOfEsophagus = new Coding
{
Code = "30126008",
Display = "Acquired supradiaphragmatic diverticulum of esophagus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EnteritisPresumedInfectious = new Coding
{
Code = "30140009",
Display = "Enteritis presumed infectious",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ObstructionOfBileDuct = new Coding
{
Code = "30144000",
Display = "Obstruction of bile duct",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GastrojejunalUlcerWithPerforation = new Coding
{
Code = "30183003",
Display = "Gastrojejunal ulcer with perforation",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Alpha1ProteinaseInhibitorDeficiency = new Coding
{
Code = "30188007",
Display = "alpha-1-Proteinase inhibitor deficiency",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding NormalGastricAcidity = new Coding
{
Code = "3021005",
Display = "Normal gastric acidity",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding BadTasteInMouth = new Coding
{
Code = "302188001",
Display = "Bad taste in mouth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcutePepticUlcerWithoutHemorrhageWithoutPerforationANDWithoutObstruction = new Coding
{
Code = "3023008",
Display = "Acute peptic ulcer without hemorrhage, without perforation AND without obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Odynophagia = new Coding
{
Code = "30233002",
Display = "Odynophagia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DentalFluorosis = new Coding
{
Code = "30265004",
Display = "Dental fluorosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GarlicBreath = new Coding
{
Code = "30276000",
Display = "Garlic breath",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ApoplecticPancreatitis = new Coding
{
Code = "303002",
Display = "Apoplectic pancreatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AllergicColitis = new Coding
{
Code = "30304000",
Display = "Allergic colitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SquamousMetaplasiaOfRectalMucosa = new Coding
{
Code = "30464003",
Display = "Squamous metaplasia of rectal mucosa",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Dolichocolon = new Coding
{
Code = "30468000",
Display = "Dolichocolon",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IntestinalInfectionDueToProteusMirabilis = new Coding
{
Code = "30493003",
Display = "Intestinal infection due to Proteus mirabilis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CementumCaries = new Coding
{
Code = "30512007",
Display = "Cementum caries",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteGastrojejunalUlcerWithoutHemorrhageANDWithoutPerforation = new Coding
{
Code = "30514008",
Display = "Acute gastrojejunal ulcer without hemorrhage AND without perforation",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IschemicColitis = new Coding
{
Code = "30588004",
Display = "Ischemic colitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CheilitisGlandularisDeepSuppurativeType = new Coding
{
Code = "30657009",
Display = "Cheilitis glandularis, deep suppurative type",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChoanalPolyp = new Coding
{
Code = "30677002",
Display = "Choanal polyp",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Aerophagy = new Coding
{
Code = "30693006",
Display = "Aerophagy",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding BurnOfTongue = new Coding
{
Code = "30715007",
Display = "Burn of tongue",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InfectionByOesophagostomumColumbianum = new Coding
{
Code = "30716008",
Display = "Infection by Oesophagostomum columbianum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DieteticEnteritis = new Coding
{
Code = "30719001",
Display = "Dietetic enteritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Glossodynia = new Coding
{
Code = "30731004",
Display = "Glossodynia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DysphoniaOfPalatopharyngolaryngealMyoclonus = new Coding
{
Code = "30736009",
Display = "Dysphonia of palatopharyngolaryngeal myoclonus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IsolatedIdiopathicGranulomaOfStomachForeignBodyType = new Coding
{
Code = "30755009",
Display = "Isolated idiopathic granuloma of stomach, foreign body type",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding UlcerOfEsophagus = new Coding
{
Code = "30811009",
Display = "Ulcer of esophagus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding NonvenomousInsectBiteOfGumWithoutInfection = new Coding
{
Code = "3084004",
Display = "Nonvenomous insect bite of gum without infection",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EsophagealFistula = new Coding
{
Code = "30873000",
Display = "Esophageal fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicHypertrophicPyloricGastropathy = new Coding
{
Code = "30874006",
Display = "Chronic hypertrophic pyloric gastropathy",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AtrophyOfEdentulousMandibularAlveolarRidge = new Coding
{
Code = "30877004",
Display = "Atrophy of edentulous mandibular alveolar ridge",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding BlisterOfGumWithInfection = new Coding
{
Code = "30888005",
Display = "Blister of gum with infection",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding VomitingInInfantsANDORChildren = new Coding
{
Code = "3094009",
Display = "Vomiting in infants AND/OR children",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SuperficialInjuryOfLipWithInfection = new Coding
{
Code = "3097002",
Display = "Superficial injury of lip with infection",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Enterospasm = new Coding
{
Code = "30993009",
Display = "Enterospasm",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HepatorenalSyndromeDueToAProcedure = new Coding
{
Code = "31005002",
Display = "Hepatorenal syndrome due to a procedure",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PrimaryAnalSyphilis = new Coding
{
Code = "31015008",
Display = "Primary anal syphilis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding BenignRecurrentIntrahepaticCholestasis = new Coding
{
Code = "31155007",
Display = "Benign recurrent intrahepatic cholestasis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CystOfPancreas = new Coding
{
Code = "31258000",
Display = "Cyst of pancreas",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicGastricUlcerWithPerforation = new Coding
{
Code = "31301004",
Display = "Chronic gastric ulcer with perforation",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding RespiratorySyncytialVirusPharyngitis = new Coding
{
Code = "31309002",
Display = "Respiratory syncytial virus pharyngitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding LymphocyticPlasmacyticColitis = new Coding
{
Code = "31437008",
Display = "Lymphocytic-plasmacytic colitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GastricUlcerWithoutHemorrhageANDWithoutPerforationButWithObstruction = new Coding
{
Code = "31452001",
Display = "Gastric ulcer without hemorrhage AND without perforation but with obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SpuriousDiarrhea = new Coding
{
Code = "31499008",
Display = "Spurious diarrhea",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MalakoplakiaOfRectum = new Coding
{
Code = "31595004",
Display = "Malakoplakia of rectum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding OpenWoundOfAlveolarProcessWithoutComplication = new Coding
{
Code = "31607006",
Display = "Open wound of alveolar process without complication",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteGingivitis = new Coding
{
Code = "31642005",
Display = "Acute gingivitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalAnomalyOfLowerAlimentaryTract = new Coding
{
Code = "31686000",
Display = "Congenital anomaly of lower alimentary tract",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ReactiveHypoglycemia = new Coding
{
Code = "317006",
Display = "Reactive hypoglycemia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ResidualHemorrhoidalSkinTags = new Coding
{
Code = "31704005",
Display = "Residual hemorrhoidal skin tags",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PrimaryBiliaryCirrhosis = new Coding
{
Code = "31712002",
Display = "Primary biliary cirrhosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ArteriohepaticDysplasia = new Coding
{
Code = "31742004",
Display = "Arteriohepatic dysplasia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding RadiationStomatitis = new Coding
{
Code = "31783001",
Display = "Radiation stomatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HemorrhagicNecrosisOfIntestine = new Coding
{
Code = "31841001",
Display = "Hemorrhagic necrosis of intestine",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AbscessOfGallbladder = new Coding
{
Code = "32038009",
Display = "Abscess of gallbladder",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteEmphysematousCholecystitis = new Coding
{
Code = "32067005",
Display = "Acute emphysematous cholecystitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding RetroilealAppendicitis = new Coding
{
Code = "32084004",
Display = "Retroileal appendicitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding NecroticEnteritis = new Coding
{
Code = "32097002",
Display = "Necrotic enteritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AnalDisorder = new Coding
{
Code = "32110003",
Display = "Anal disorder",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MesentericAbscess = new Coding
{
Code = "32141002",
Display = "Mesenteric abscess",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InternalGastrointestinalFistula = new Coding
{
Code = "32161008",
Display = "Internal gastrointestinal fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AnomalousPulmonaryVenousDrainageToHepaticVeins = new Coding
{
Code = "32194006",
Display = "Anomalous pulmonary venous drainage to hepatic veins",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SuperficialForeignBodyOfGumWithoutMajorOpenWoundANDWithoutInfection = new Coding
{
Code = "32200003",
Display = "Superficial foreign body of gum without major open wound AND without infection",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MalabsorptionSyndrome = new Coding
{
Code = "32230006",
Display = "Malabsorption syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding LeukoplakiaOfGingiva = new Coding
{
Code = "32236000",
Display = "Leukoplakia of gingiva",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AllergicIleitis = new Coding
{
Code = "32295003",
Display = "Allergic ileitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IntestinalInfectionByTrichomonasVaginalis = new Coding
{
Code = "32298001",
Display = "Intestinal infection by Trichomonas vaginalis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Microdontia = new Coding
{
Code = "32337007",
Display = "Microdontia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteDuodenalUlcerWithoutHemorrhageANDWithoutPerforation = new Coding
{
Code = "32490005",
Display = "Acute duodenal ulcer without hemorrhage AND without perforation",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding StaphylococcalEnterocolitis = new Coding
{
Code = "32527003",
Display = "Staphylococcal enterocolitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EnterovirusEnteritis = new Coding
{
Code = "32580004",
Display = "Enterovirus enteritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Microglossia = new Coding
{
Code = "32614006",
Display = "Microglossia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Pulpitis = new Coding
{
Code = "32620007",
Display = "Pulpitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding OralSubmucosalFibrosis = new Coding
{
Code = "32883009",
Display = "Oral submucosal fibrosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding RotorSyndrome = new Coding
{
Code = "32891000",
Display = "Rotor syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SuperficialInjuryOfGumWithoutInfection = new Coding
{
Code = "32900008",
Display = "Superficial injury of gum without infection",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding RetainedAntrumSyndrome = new Coding
{
Code = "33020000",
Display = "Retained antrum syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AtrophicHyperplasticGastritis = new Coding
{
Code = "3308008",
Display = "Atrophic-hyperplastic gastritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ParasiticCirrhosis = new Coding
{
Code = "33144001",
Display = "Parasitic cirrhosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ComplicationOfTransplantedLiver = new Coding
{
Code = "33167004",
Display = "Complication of transplanted liver",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IncreasedGallbladderContraction = new Coding
{
Code = "33243000",
Display = "Increased gallbladder contraction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalDuplicationOfDigestiveOrgans = new Coding
{
Code = "33257003",
Display = "Congenital duplication of digestive organs",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AbscessOfTonsil = new Coding
{
Code = "33261009",
Display = "Abscess of tonsil",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ForeignBodyInAlimentaryTract = new Coding
{
Code = "33334006",
Display = "Foreign body in alimentary tract",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ImpactionOfCecum = new Coding
{
Code = "33361006",
Display = "Impaction of cecum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HyperemesisGravidarumBeforeEndOf22WeekGestationWithElectrolyteImbalance = new Coding
{
Code = "33370009",
Display = "Hyperemesis gravidarum before end of 22 week gestation with electrolyte imbalance",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MarshallSyndrome = new Coding
{
Code = "33410002",
Display = "Marshall syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Pylorospasm = new Coding
{
Code = "335002",
Display = "Pylorospasm",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ConcrescenceOfTeeth = new Coding
{
Code = "33504000",
Display = "Concrescence of teeth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MalocclusionDueToMouthBreathing = new Coding
{
Code = "33505004",
Display = "Malocclusion due to mouth breathing",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DieteticGastroenteritis = new Coding
{
Code = "33687004",
Display = "Dietetic gastroenteritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Cholestasis = new Coding
{
Code = "33688009",
Display = "Cholestasis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Trichostrongyliasis = new Coding
{
Code = "33710003",
Display = "Trichostrongyliasis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FrictionInjuryOfToothDueToDentifrice = new Coding
{
Code = "33727006",
Display = "Friction injury of tooth due to dentifrice",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Pseudoptyalism = new Coding
{
Code = "3376008",
Display = "Pseudoptyalism",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding StrictureOfDuodenum = new Coding
{
Code = "33812003",
Display = "Stricture of duodenum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DiverticulitisOfDuodenum = new Coding
{
Code = "33838003",
Display = "Diverticulitis of duodenum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DecreasedNauseaAndVomiting = new Coding
{
Code = "33841007",
Display = "Decreased nausea and vomiting",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AirSickness = new Coding
{
Code = "33902006",
Display = "Air sickness",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteIschemicEnteritis = new Coding
{
Code = "33906009",
Display = "Acute ischemic enteritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InjuryOfLip = new Coding
{
Code = "33931005",
Display = "Injury of lip",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SoftDepositOnTeeth = new Coding
{
Code = "33983003",
Display = "Soft deposit on teeth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EctopicParotidGlandTissue = new Coding
{
Code = "33990008",
Display = "Ectopic parotid gland tissue",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MegacolonNotHirschsprungQuoteS = new Coding
{
Code = "33995003",
Display = "Megacolon, not Hirschsprung's",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AneurysmOfGastroduodenalArtery = new Coding
{
Code = "33997006",
Display = "Aneurysm of gastroduodenal artery",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CrohnQuoteSDisease = new Coding
{
Code = "34000006",
Display = "Crohn's disease",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicDuodenalUlcerWithHemorrhageANDObstruction = new Coding
{
Code = "34021006",
Display = "Chronic duodenal ulcer with hemorrhage AND obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FaucialDiphtheria = new Coding
{
Code = "3419005",
Display = "Faucial diphtheria",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Pseudodiarrhea = new Coding
{
Code = "34231006",
Display = "Pseudodiarrhea",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InfectionByDiphyllobothriumPacificum = new Coding
{
Code = "34240005",
Display = "Infection by Diphyllobothrium pacificum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SuperficialGingivalUlcer = new Coding
{
Code = "34255001",
Display = "Superficial gingival ulcer",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FourthDegreePerinealLacerationInvolvingRectalMucosa = new Coding
{
Code = "34262005",
Display = "Fourth degree perineal laceration involving rectal mucosa",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PeriradicularDisease = new Coding
{
Code = "34282009",
Display = "Periradicular disease",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EmpyemaWithHepatopleuralFistula = new Coding
{
Code = "34286007",
Display = "Empyema with hepatopleural fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteCholecystitisWithoutCalculus = new Coding
{
Code = "34346002",
Display = "Acute cholecystitis without calculus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FailedAttemptedAbortionWithPerforationOfBowel = new Coding
{
Code = "34367002",
Display = "Failed attempted abortion with perforation of bowel",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding LooseningOfTooth = new Coding
{
Code = "34570004",
Display = "Loosening of tooth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DuodenalUlcerWithoutHemorrhageWithoutPerforationANDWithoutObstruction = new Coding
{
Code = "34580000",
Display = "Duodenal ulcer without hemorrhage, without perforation AND without obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SharpTooth = new Coding
{
Code = "34589004",
Display = "Sharp tooth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicDuodenalUlcerWithPerforationButWithoutObstruction = new Coding
{
Code = "34602004",
Display = "Chronic duodenal ulcer with perforation but without obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding NeurologicUnpleasantTaste = new Coding
{
Code = "346138009",
Display = "Neurologic unpleasant taste",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InfectionByOesophagostomumDentatum = new Coding
{
Code = "3464007",
Display = "Infection by Oesophagostomum dentatum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicPassiveCongestionOfLiver = new Coding
{
Code = "34736002",
Display = "Chronic passive congestion of liver",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CandidalProctitis = new Coding
{
Code = "34786008",
Display = "Candidal proctitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InjuryOfLiverWithoutOpenWoundIntoAbdominalCavity = new Coding
{
Code = "34798003",
Display = "Injury of liver without open wound into abdominal cavity",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PostoperativeEsophagitis = new Coding
{
Code = "3482005",
Display = "Postoperative esophagitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalStenosisOfChoanae = new Coding
{
Code = "34821005",
Display = "Congenital stenosis of choanae",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicPepticUlcerWithPerforation = new Coding
{
Code = "3483000",
Display = "Chronic peptic ulcer with perforation",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding BurnOfRectum = new Coding
{
Code = "34903006",
Display = "Burn of rectum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcutePepticUlcerWithPerforationButWithoutObstruction = new Coding
{
Code = "34921009",
Display = "Acute peptic ulcer with perforation but without obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SelfInducedVomiting = new Coding
{
Code = "34923007",
Display = "Self-induced vomiting",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Gastroesophagitis = new Coding
{
Code = "35023000",
Display = "Gastroesophagitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PrimaryChronicPseudoObstructionOfColon = new Coding
{
Code = "35065006",
Display = "Primary chronic pseudo-obstruction of colon",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicIdiopathicAnalPain = new Coding
{
Code = "35074008",
Display = "Chronic idiopathic anal pain",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InjuryOfIleocolicArtery = new Coding
{
Code = "35095003",
Display = "Injury of ileocolic artery",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HypoplasiaOfCementum = new Coding
{
Code = "35156002",
Display = "Hypoplasia of cementum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GrossQuoteDisease = new Coding
{
Code = "35217003",
Display = "Gross' disease",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SuperficialNonerosiveNonspecificGastritis = new Coding
{
Code = "35223008",
Display = "Superficial nonerosive nonspecific gastritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AnorectalCellulitis = new Coding
{
Code = "35246005",
Display = "Anorectal cellulitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MalloryWeissSyndrome = new Coding
{
Code = "35265002",
Display = "Mallory-Weiss syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalDuplicationOfAppendix = new Coding
{
Code = "35266001",
Display = "Congenital duplication of appendix",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ColonicConstipation = new Coding
{
Code = "35298007",
Display = "Colonic constipation",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding BurnOfPharynx = new Coding
{
Code = "35447004",
Display = "Burn of pharynx",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DilacerationOfTooth = new Coding
{
Code = "35452009",
Display = "Dilaceration of tooth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PancreaticAcinarAtrophy = new Coding
{
Code = "3549009",
Display = "Pancreatic acinar atrophy",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GastrojejunalUlcerWithoutHemorrhageWithoutPerforationANDWithoutObstruction = new Coding
{
Code = "35517004",
Display = "Gastrojejunal ulcer without hemorrhage, without perforation AND without obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PostoperativeGingivalRecession = new Coding
{
Code = "35541001",
Display = "Postoperative gingival recession",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DuodenalUlcerWithHemorrhageButWithoutObstruction = new Coding
{
Code = "35560008",
Display = "Duodenal ulcer with hemorrhage but without obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcquiredDiverticulumOfEsophagus = new Coding
{
Code = "35563005",
Display = "Acquired diverticulum of esophagus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Cholangiolitis = new Coding
{
Code = "35571009",
Display = "Cholangiolitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding OpenBite = new Coding
{
Code = "35580009",
Display = "Open bite",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MesentericInfarction = new Coding
{
Code = "3558002",
Display = "Mesenteric infarction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcutePepticUlcerWithPerforationANDObstruction = new Coding
{
Code = "35681000",
Display = "Acute peptic ulcer with perforation AND obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ImpairedIntestinalCarbohydrateAbsorption = new Coding
{
Code = "35758009",
Display = "Impaired intestinal carbohydrate absorption",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MesenteroaxialGastricVolvulus = new Coding
{
Code = "35865007",
Display = "Mesenteroaxial gastric volvulus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EnteroentericFistula = new Coding
{
Code = "3590007",
Display = "Enteroenteric fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CryptococcalGastroenteritis = new Coding
{
Code = "35974005",
Display = "Cryptococcal gastroenteritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CapillariaHepaticaInfection = new Coding
{
Code = "36001007",
Display = "Capillaria hepatica infection",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChemicalEsophagitis = new Coding
{
Code = "36151004",
Display = "Chemical esophagitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HepatitisInCoxsackieViralDisease = new Coding
{
Code = "36155008",
Display = "Hepatitis in coxsackie viral disease",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HyperplasticAdenomatousPolypOfStomach = new Coding
{
Code = "36162004",
Display = "Hyperplastic adenomatous polyp of stomach",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Shigellosis = new Coding
{
Code = "36188001",
Display = "Shigellosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FractureOfTooth = new Coding
{
Code = "36202009",
Display = "Fracture of tooth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicGastricUlcerWithPerforationButWithoutObstruction = new Coding
{
Code = "36246001",
Display = "Chronic gastric ulcer with perforation but without obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DrugInducedMalabsorption = new Coding
{
Code = "36261000",
Display = "Drug-induced malabsorption",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Cheilodynia = new Coding
{
Code = "36269003",
Display = "Cheilodynia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding VascularEctasiaOfCecum = new Coding
{
Code = "36304008",
Display = "Vascular ectasia of cecum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HymenolepisDiminutaInfection = new Coding
{
Code = "36334003",
Display = "Hymenolepis diminuta infection",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AbnormalIntestinalAbsorption = new Coding
{
Code = "36355001",
Display = "Abnormal intestinal absorption",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalAbsenceOfEsophagus = new Coding
{
Code = "36376006",
Display = "Congenital absence of esophagus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Glossoptosis = new Coding
{
Code = "3639002",
Display = "Glossoptosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CalculusOfBileDuctWithCholecystitis = new Coding
{
Code = "36483003",
Display = "Calculus of bile duct with cholecystitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalAbsenceOfLiver = new Coding
{
Code = "3650004",
Display = "Congenital absence of liver",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IntestinalInfectionDueToMorganellaMorganii = new Coding
{
Code = "36529003",
Display = "Intestinal infection due to Morganella morganii",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalDuplicationOfCysticDuct = new Coding
{
Code = "36619004",
Display = "Congenital duplication of cystic duct",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Hepatomphalocele = new Coding
{
Code = "36631002",
Display = "Hepatomphalocele",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Hepatosplenomegaly = new Coding
{
Code = "36760000",
Display = "Hepatosplenomegaly",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteInfectiveGastroenteritis = new Coding
{
Code = "36789003",
Display = "Acute infective gastroenteritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EsophagealChestPain = new Coding
{
Code = "36859004",
Display = "Esophageal chest pain",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HartnupDisorderRenalJejunalType = new Coding
{
Code = "36891003",
Display = "Hartnup disorder, renal/jejunal type",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding VesicularStomatitis = new Coding
{
Code = "36921006",
Display = "Vesicular stomatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Ageusia = new Coding
{
Code = "36955009",
Display = "Ageusia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding NonulcerDyspepsia = new Coding
{
Code = "3696007",
Display = "Nonulcer dyspepsia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicDuodenalUlcerWithHemorrhageANDPerforation = new Coding
{
Code = "36975000",
Display = "Chronic duodenal ulcer with hemorrhage AND perforation",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MotionSickness = new Coding
{
Code = "37031009",
Display = "Motion sickness",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalAtresiaOfColon = new Coding
{
Code = "37054000",
Display = "Congenital atresia of colon",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PsychogenicVomiting = new Coding
{
Code = "37224001",
Display = "Psychogenic vomiting",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcquiredAbsenceOfTeeth = new Coding
{
Code = "37320007",
Display = "Acquired absence of teeth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FistulaOfAppendix = new Coding
{
Code = "37369009",
Display = "Fistula of appendix",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding UpperGastrointestinalHemorrhage = new Coding
{
Code = "37372002",
Display = "Upper gastrointestinal hemorrhage",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MeckelQuoteSDiverticulum = new Coding
{
Code = "37373007",
Display = "Meckel's diverticulum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ViralHepatitis = new Coding
{
Code = "3738000",
Display = "Viral hepatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FailureOfRotationOfColon = new Coding
{
Code = "37404003",
Display = "Failure of rotation of colon",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PerforationOfBileDuct = new Coding
{
Code = "37439003",
Display = "Perforation of bile duct",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PepticUlcerWithoutHemorrhageANDWithoutPerforation = new Coding
{
Code = "37442009",
Display = "Peptic ulcer without hemorrhage AND without perforation",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding RuptureOfRectum = new Coding
{
Code = "37502002",
Display = "Rupture of rectum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Trichuriasis = new Coding
{
Code = "3752003",
Display = "Trichuriasis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MalrotationOfCecum = new Coding
{
Code = "37528004",
Display = "Malrotation of cecum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DisorderOfEsophagus = new Coding
{
Code = "37657006",
Display = "Disorder of esophagus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GlycogenStorageDiseaseTypeX = new Coding
{
Code = "37666005",
Display = "Glycogen storage disease type X",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ClonorchiasisWithBiliaryCirrhosis = new Coding
{
Code = "37688005",
Display = "Clonorchiasis with biliary cirrhosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CausticInjuryGastritis = new Coding
{
Code = "37693008",
Display = "Caustic injury gastritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EctopicHyperinsulinism = new Coding
{
Code = "37703005",
Display = "Ectopic hyperinsulinism",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EnamelPearls = new Coding
{
Code = "3783004",
Display = "Enamel pearls",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GastrointestinalFistula = new Coding
{
Code = "37831005",
Display = "Gastrointestinal fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InfectionByMetagonimusYokogawai = new Coding
{
Code = "37832003",
Display = "Infection by Metagonimus yokogawai",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteHepatitis = new Coding
{
Code = "37871000",
Display = "Acute hepatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PeriodontalCyst = new Coding
{
Code = "3797007",
Display = "Periodontal cyst",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GallstoneIleus = new Coding
{
Code = "37976006",
Display = "Gallstone ileus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PancreaticInsufficiency = new Coding
{
Code = "37992001",
Display = "Pancreatic insufficiency",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding NonpersistenceOfIntestinalLactase = new Coding
{
Code = "38032004",
Display = "Nonpersistence of intestinal lactase",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ProlapsedExternalHemorrhoids = new Coding
{
Code = "38059007",
Display = "Prolapsed external hemorrhoids",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AsepticNecrosisOfPancreas = new Coding
{
Code = "38079004",
Display = "Aseptic necrosis of pancreas",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding RotationOfTooth = new Coding
{
Code = "38089000",
Display = "Rotation of tooth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CrohnQuoteSDiseaseOfIleum = new Coding
{
Code = "38106008",
Display = "Crohn's disease of ileum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CrohnQuoteSDiseaseOfRectum = new Coding
{
Code = "3815005",
Display = "Crohn's disease of rectum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GarlicTaste = new Coding
{
Code = "38175008",
Display = "Garlic taste",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DiarrheaInDiabetes = new Coding
{
Code = "38205001",
Display = "Diarrhea in diabetes",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InternalHemorrhoidsWithoutComplication = new Coding
{
Code = "38214006",
Display = "Internal hemorrhoids without complication",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding OculodentodigitalSyndrome = new Coding
{
Code = "38215007",
Display = "Oculodentodigital syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ParalysisOfTongue = new Coding
{
Code = "38228000",
Display = "Paralysis of tongue",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IrregularAlveolarProcess = new Coding
{
Code = "38285004",
Display = "Irregular alveolar process",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InfectionByEchinostomaLindoense = new Coding
{
Code = "38302000",
Display = "Infection by Echinostoma lindoense",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding StellateLacerationOfLiverWithOpenWoundIntoAbdominalCavity = new Coding
{
Code = "38306002",
Display = "Stellate laceration of liver with open wound into abdominal cavity",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PepticUlcerWithoutHemorrhageWithoutPerforationANDWithoutObstruction = new Coding
{
Code = "38365000",
Display = "Peptic ulcer without hemorrhage, without perforation AND without obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GastroesophagealIntussusception = new Coding
{
Code = "38397000",
Display = "Gastroesophageal intussusception",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding TuberculosisOfLargeIntestine = new Coding
{
Code = "38420005",
Display = "Tuberculosis of large intestine",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PyostomatitisVegetans = new Coding
{
Code = "38438008",
Display = "Pyostomatitis vegetans",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalDuplicationOfIntestine = new Coding
{
Code = "3845008",
Display = "Congenital duplication of intestine",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PhlegmonousStomatitisANDCellulitis = new Coding
{
Code = "38541002",
Display = "Phlegmonous stomatitis AND cellulitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DisorderOfPancreas = new Coding
{
Code = "3855007",
Display = "Disorder of pancreas",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PharyngealPituitaryTissue = new Coding
{
Code = "38632003",
Display = "Pharyngeal pituitary tissue",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DigestiveSystemFinding = new Coding
{
Code = "386617003",
Display = "Digestive system finding",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicPersistentTypeBViralHepatitis = new Coding
{
Code = "38662009",
Display = "Chronic persistent type B viral hepatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ConcealedVomiting = new Coding
{
Code = "38685005",
Display = "Concealed vomiting",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding StenosisOfGallbladder = new Coding
{
Code = "38712009",
Display = "Stenosis of gallbladder",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FailedAttemptedAbortionWithAcuteYellowAtrophyOfLiver = new Coding
{
Code = "3873005",
Display = "Failed attempted abortion with acute yellow atrophy of liver",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HepaticVeinThrombosis = new Coding
{
Code = "38739001",
Display = "Hepatic vein thrombosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FistulaOfIntestine = new Coding
{
Code = "38851006",
Display = "Fistula of intestine",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalAnomalyOfAppendix = new Coding
{
Code = "38856001",
Display = "Congenital anomaly of appendix",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalFecaliths = new Coding
{
Code = "3886001",
Display = "Congenital fecaliths",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding OpenWoundOfGumWithoutComplication = new Coding
{
Code = "38906007",
Display = "Open wound of gum without complication",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteUpperGastrointestinalHemorrhage = new Coding
{
Code = "38938002",
Display = "Acute upper gastrointestinal hemorrhage",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FailedAttemptedAbortionWithLacerationOfBowel = new Coding
{
Code = "38951007",
Display = "Failed attempted abortion with laceration of bowel",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InjuryOfSigmoidColonWithoutOpenWoundIntoAbdominalCavity = new Coding
{
Code = "38972005",
Display = "Injury of sigmoid colon without open wound into abdominal cavity",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcquiredEsophagocele = new Coding
{
Code = "38982006",
Display = "Acquired esophagocele",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding NeutropenicTyphlitis = new Coding
{
Code = "3899003",
Display = "Neutropenic typhlitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding TrichoDentoOsseousSyndrome = new Coding
{
Code = "38993008",
Display = "Tricho-dento-osseous syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ExternalHemorrhoidsWithoutComplication = new Coding
{
Code = "38996000",
Display = "External hemorrhoids without complication",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PrematureSheddingOfPrimaryTooth = new Coding
{
Code = "39034005",
Display = "Premature shedding of primary tooth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InjuryOfGastrointestinalTractWithOpenWoundIntoAbdominalCavity = new Coding
{
Code = "3913002",
Display = "Injury of gastrointestinal tract with open wound into abdominal cavity",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CholecystoduodenalFistula = new Coding
{
Code = "39170005",
Display = "Cholecystoduodenal fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PyloricUlcer = new Coding
{
Code = "39204006",
Display = "Pyloric ulcer",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InfectiousPancreatitis = new Coding
{
Code = "39205007",
Display = "Infectious pancreatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding UlcerativePharyngitis = new Coding
{
Code = "39271004",
Display = "Ulcerative pharyngitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ApicalPeriodontitis = new Coding
{
Code = "39273001",
Display = "Apical periodontitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding TuberculosisOfAnus = new Coding
{
Code = "39306006",
Display = "Tuberculosis of anus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HyperplasiaOfAdenoids = new Coding
{
Code = "39323002",
Display = "Hyperplasia of adenoids",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MalakoplakiaOfIleum = new Coding
{
Code = "39326005",
Display = "Malakoplakia of ileum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InfectiousColitis = new Coding
{
Code = "39341005",
Display = "Infectious colitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteErosionOfDuodenum = new Coding
{
Code = "39344002",
Display = "Acute erosion of duodenum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CompressionOfEsophagus = new Coding
{
Code = "39392002",
Display = "Compression of esophagus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InjuryOfLiver = new Coding
{
Code = "39400004",
Display = "Injury of liver",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalStrictureOfRectum = new Coding
{
Code = "39476006",
Display = "Congenital stricture of rectum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Proctitis = new Coding
{
Code = "3951002",
Display = "Proctitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GallbladderDisorder = new Coding
{
Code = "39621005",
Display = "Gallbladder disorder",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FocalEpithelialHyperplasiaOfTongue = new Coding
{
Code = "39634006",
Display = "Focal epithelial hyperplasia of tongue",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteCecitisWithPerforationANDPeritonitis = new Coding
{
Code = "39642007",
Display = "Acute cecitis with perforation AND peritonitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AbnormalSmallIntestineSecretion = new Coding
{
Code = "39666001",
Display = "Abnormal small intestine secretion",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding NormalGastricSecretionRegulation = new Coding
{
Code = "39683005",
Display = "Normal gastric secretion regulation",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding TranspositionOfIntestine = new Coding
{
Code = "39719008",
Display = "Transposition of intestine",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EnteritisNecroticans = new Coding
{
Code = "39747007",
Display = "Enteritis necroticans",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CurlingQuoteSUlcers = new Coding
{
Code = "39755000",
Display = "Curling's ulcers",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding RectalPolyp = new Coding
{
Code = "39772007",
Display = "Rectal polyp",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EctrodactylyEctodermalDysplasiaCleftingSyndrome = new Coding
{
Code = "39788007",
Display = "Ectrodactyly-ectodermal dysplasia-clefting syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InfantileDiarrhea = new Coding
{
Code = "39963006",
Display = "Infantile diarrhea",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding VernerMorrisonSyndrome = new Coding
{
Code = "39998009",
Display = "Verner-Morrison syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalHyperplasiaOfIntrahepaticBileDuct = new Coding
{
Code = "40028009",
Display = "Congenital hyperplasia of intrahepatic bile duct",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IntestinovesicalFistula = new Coding
{
Code = "40046003",
Display = "Intestinovesical fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalMacrostomia = new Coding
{
Code = "40159009",
Display = "Congenital macrostomia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SuperficialInjuryOfLipWithoutInfection = new Coding
{
Code = "40194002",
Display = "Superficial injury of lip without infection",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FloatingLiver = new Coding
{
Code = "40210001",
Display = "Floating liver",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicDuodenalUlcerWithoutHemorrhageANDWithoutPerforation = new Coding
{
Code = "40214005",
Display = "Chronic duodenal ulcer without hemorrhage AND without perforation",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GeminationOfTeeth = new Coding
{
Code = "40273006",
Display = "Gemination of teeth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AnnularPancreas = new Coding
{
Code = "40315008",
Display = "Annular pancreas",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalHepatomegaly = new Coding
{
Code = "407000",
Display = "Congenital hepatomegaly",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ToothChattering = new Coding
{
Code = "408005",
Display = "Tooth chattering",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalDuplicationOfAnus = new Coding
{
Code = "4195003",
Display = "Congenital duplication of anus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SuppurativePulpitis = new Coding
{
Code = "4237001",
Display = "Suppurative pulpitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicPericoronitis = new Coding
{
Code = "4264000",
Display = "Chronic pericoronitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicGastrojejunalUlcerWithoutHemorrhageANDWithoutPerforation = new Coding
{
Code = "4269005",
Display = "Chronic gastrojejunal ulcer without hemorrhage AND without perforation",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MirizziQuoteSSyndrome = new Coding
{
Code = "4283007",
Display = "Mirizzi's syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GingivalRecession = new Coding
{
Code = "4356008",
Display = "Gingival recession",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PartialCongenitalDuodenalObstruction = new Coding
{
Code = "4397001",
Display = "Partial congenital duodenal obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteHemorrhagicPancreatitis = new Coding
{
Code = "4399003",
Display = "Acute hemorrhagic pancreatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HeerfordtQuoteSSyndrome = new Coding
{
Code = "4416007",
Display = "Heerfordt's syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AbnormalGastricSecretionRegulation = new Coding
{
Code = "4481007",
Display = "Abnormal gastric secretion regulation",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DiverticulitisOfLargeIntestine = new Coding
{
Code = "4494009",
Display = "Diverticulitis of large intestine",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding UlcerativeStomatitis = new Coding
{
Code = "450005",
Display = "Ulcerative stomatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DentalPlaque = new Coding
{
Code = "4522001",
Display = "Dental plaque",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Gastritis = new Coding
{
Code = "4556007",
Display = "Gastritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IntrahepaticCholestasis = new Coding
{
Code = "4637005",
Display = "Intrahepatic cholestasis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PosteruptiveColorChangeOfTooth = new Coding
{
Code = "4654002",
Display = "Posteruptive color change of tooth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CalculusOfBileDuctWithObstruction = new Coding
{
Code = "4661003",
Display = "Calculus of bile duct with obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalAnomalyOfBileDucts = new Coding
{
Code = "4711003",
Display = "Congenital anomaly of bile ducts",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding TyphoidFever = new Coding
{
Code = "4834000",
Display = "Typhoid fever",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AnictericViralHepatitis = new Coding
{
Code = "4846001",
Display = "Anicteric viral hepatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteToxicHepatitis = new Coding
{
Code = "4896000",
Display = "Acute toxic hepatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteObstructiveAppendicitis = new Coding
{
Code = "4998000",
Display = "Acute obstructive appendicitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AbsentExcretoryFunction = new Coding
{
Code = "5033003",
Display = "Absent excretory function",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HypertrophyOfFoliatePapillae = new Coding
{
Code = "5126000",
Display = "Hypertrophy of foliate papillae",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcquiredPulsionDiverticulumOfEsophagus = new Coding
{
Code = "5144008",
Display = "Acquired pulsion diverticulum of esophagus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EctopicAnus = new Coding
{
Code = "5153001",
Display = "Ectopic anus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ForeignBodyInHypopharynx = new Coding
{
Code = "517007",
Display = "Foreign body in hypopharynx",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding UlceratedHemorrhoids = new Coding
{
Code = "5201002",
Display = "Ulcerated hemorrhoids",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PharyngealGagReflexNegative = new Coding
{
Code = "5258001",
Display = "Pharyngeal gag reflex negative",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GlissonianCirrhosis = new Coding
{
Code = "536002",
Display = "Glissonian cirrhosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding TranspositionOfAppendix = new Coding
{
Code = "5432003",
Display = "Transposition of appendix",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicPepticUlcerWithoutHemorrhageANDWithoutPerforation = new Coding
{
Code = "5492000",
Display = "Chronic peptic ulcer without hemorrhage AND without perforation",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcutePulpitis = new Coding
{
Code = "5494004",
Display = "Acute pulpitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EndometriosisOfIntestine = new Coding
{
Code = "5562006",
Display = "Endometriosis of intestine",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding LegalAbortionWithLacerationOfBowel = new Coding
{
Code = "5577003",
Display = "Legal abortion with laceration of bowel",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AtypicalAppendicitis = new Coding
{
Code = "5596004",
Display = "Atypical appendicitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AbnormalGastricMotility = new Coding
{
Code = "5631002",
Display = "Abnormal gastric motility",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding LateToothEruption = new Coding
{
Code = "5639000",
Display = "Late tooth eruption",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HunterQuoteSSyndromeMildForm = new Coding
{
Code = "5667009",
Display = "Hunter's syndrome, mild form",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicPeriodontitis = new Coding
{
Code = "5689008",
Display = "Chronic periodontitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CicatrixOfAdenoid = new Coding
{
Code = "5791006",
Display = "Cicatrix of adenoid",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding LegalAbortionWithAcuteYellowAtrophyOfLiver = new Coding
{
Code = "5792004",
Display = "Legal abortion with acute yellow atrophy of liver",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding BolusImpaction = new Coding
{
Code = "5805002",
Display = "Bolus impaction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteIschemicEnterocolitis = new Coding
{
Code = "5820008",
Display = "Acute ischemic enterocolitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding RaspberryTongue = new Coding
{
Code = "5920007",
Display = "Raspberry tongue",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding RectalDisorder = new Coding
{
Code = "5964004",
Display = "Rectal disorder",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SuperficialForeignBodyOfAnusWithoutMajorOpenWoundButWithInfection = new Coding
{
Code = "5985004",
Display = "Superficial foreign body of anus without major open wound but with infection",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SuperficialForeignBodyOfLipWithoutMajorOpenWoundANDWithoutInfection = new Coding
{
Code = "6045004",
Display = "Superficial foreign body of lip without major open wound AND without infection",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CarbuncleOfAnus = new Coding
{
Code = "6066007",
Display = "Carbuncle of anus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding BleedingFromAnus = new Coding
{
Code = "6072007",
Display = "Bleeding from anus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GlycogenStorageDiseaseHepaticForm = new Coding
{
Code = "6075009",
Display = "Glycogen storage disease, hepatic form",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CalculusOfHepaticDuctWithObstruction = new Coding
{
Code = "6087002",
Display = "Calculus of hepatic duct with obstruction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FocalEpithelialHyperplasiaOfMouth = new Coding
{
Code = "6121001",
Display = "Focal epithelial hyperplasia of mouth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PrimaryIntestinalLymphangiectasia = new Coding
{
Code = "6124009",
Display = "Primary intestinal lymphangiectasia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MucinousHistiocytosisOfTheColon = new Coding
{
Code = "6137007",
Display = "Mucinous histiocytosis of the colon",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IndianChildhoodCirrhosis = new Coding
{
Code = "6183001",
Display = "Indian childhood cirrhosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding NormalSmallIntestineSecretion = new Coding
{
Code = "6214005",
Display = "Normal small intestine secretion",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteCholangitis = new Coding
{
Code = "6215006",
Display = "Acute cholangitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding LipohyperplasiaOfIleocecalValve = new Coding
{
Code = "6241000",
Display = "Lipohyperplasia of ileocecal valve",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AccretionOnTeeth = new Coding
{
Code = "6288001",
Display = "Accretion on teeth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicInflammatorySmallBowelDisease = new Coding
{
Code = "6382002",
Display = "Chronic inflammatory small bowel disease",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HypertrophyOfLip = new Coding
{
Code = "643001",
Display = "Hypertrophy of lip",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding VolvulusOfColon = new Coding
{
Code = "6441003",
Display = "Volvulus of colon",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Amygdalolith = new Coding
{
Code = "6461009",
Display = "Amygdalolith",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MalrotationOfColon = new Coding
{
Code = "6477005",
Display = "Malrotation of colon",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding RelapsingAppendicitis = new Coding
{
Code = "6503008",
Display = "Relapsing appendicitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GangrenousTonsillitis = new Coding
{
Code = "652005",
Display = "Gangrenous tonsillitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CholesterolCrystalNucleationInBile = new Coding
{
Code = "6528000",
Display = "Cholesterol crystal nucleation in bile",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding RectalTenesmus = new Coding
{
Code = "6548007",
Display = "Rectal tenesmus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InjuryOfColonWithoutOpenWoundIntoAbdominalCavity = new Coding
{
Code = "658009",
Display = "Injury of colon without open wound into abdominal cavity",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MegaloblasticAnemiaDueToNontropicalSprue = new Coding
{
Code = "6659005",
Display = "Megaloblastic anemia due to nontropical sprue",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EctopicPancreasInDuodenum = new Coding
{
Code = "6724001",
Display = "Ectopic pancreas in duodenum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding TorsionOfIntestine = new Coding
{
Code = "675003",
Display = "Torsion of intestine",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FamilialHypergastrinemicDuodenalUlcer = new Coding
{
Code = "6761005",
Display = "Familial hypergastrinemic duodenal ulcer",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ImpairedIntestinalEpithelialCellTransportOfAminoAcids = new Coding
{
Code = "6762003",
Display = "Impaired intestinal epithelial cell transport of amino acids",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MesentericArteriovenousFistula = new Coding
{
Code = "6838000",
Display = "Mesenteric arteriovenous fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcquiredTelangiectasiaOfSmallANDORLargeIntestines = new Coding
{
Code = "685002",
Display = "Acquired telangiectasia of small AND/OR large intestines",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DecreasedExocrineGlandSecretion = new Coding
{
Code = "6913006",
Display = "Decreased exocrine gland secretion",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CleftLipSequence = new Coding
{
Code = "6936002",
Display = "Cleft lip sequence",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HypertrophyOfTonguePapillae = new Coding
{
Code = "6971002",
Display = "Hypertrophy of tongue papillae",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GastrointestinalEosinophilicGranuloma = new Coding
{
Code = "7021009",
Display = "Gastrointestinal eosinophilic granuloma",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding LymphocyticPlasmacyticEnteritis = new Coding
{
Code = "7024001",
Display = "Lymphocytic-plasmacytic enteritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalAdhesionsOfTongue = new Coding
{
Code = "703000",
Display = "Congenital adhesions of tongue",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding XTESyndrome = new Coding
{
Code = "7037003",
Display = "XTE syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GlycogenStorageDiseaseTypeI = new Coding
{
Code = "7265005",
Display = "Glycogen storage disease, type I",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ImpactedGallstoneOfCysticDuct = new Coding
{
Code = "7290007",
Display = "Impacted gallstone of cystic duct",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InjuryOfInferiorMesentericVein = new Coding
{
Code = "7346000",
Display = "Injury of inferior mesenteric vein",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding NonvenomousInsectBiteOfAnusWithoutInfection = new Coding
{
Code = "7371002",
Display = "Nonvenomous insect bite of anus without infection",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EmphysematousGastritis = new Coding
{
Code = "7399006",
Display = "Emphysematous gastritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding OpenWoundOfBuccalMucosaWithComplication = new Coding
{
Code = "7407001",
Display = "Open wound of buccal mucosa with complication",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HereditaryCoproporphyria = new Coding
{
Code = "7425008",
Display = "Hereditary coproporphyria",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding TuberculosisOfRectum = new Coding
{
Code = "7444001",
Display = "Tuberculosis of rectum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PostgastrectomyGastritis = new Coding
{
Code = "7475005",
Display = "Postgastrectomy gastritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SuperficialForeignBodyOfAnusWithoutMajorOpenWoundANDWithoutInfection = new Coding
{
Code = "7491008",
Display = "Superficial foreign body of anus without major open wound AND without infection",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InfectionByPlagiorchis = new Coding
{
Code = "7493006",
Display = "Infection by Plagiorchis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PersistentTuberculumImpar = new Coding
{
Code = "7522008",
Display = "Persistent tuberculum impar",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DrugInducedIntrahepaticCholestasis = new Coding
{
Code = "7538002",
Display = "Drug-induced intrahepatic cholestasis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PostgastrectomyPhytobezoar = new Coding
{
Code = "755004",
Display = "Postgastrectomy phytobezoar",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CrohnQuoteSDiseaseOfLargeBowel = new Coding
{
Code = "7620006",
Display = "Crohn's disease of large bowel",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AutosomalDominantHypohidroticEctodermalDysplasiaSyndrome = new Coding
{
Code = "7731005",
Display = "Autosomal dominant hypohidrotic ectodermal dysplasia syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DuodenalFistula = new Coding
{
Code = "7780000",
Display = "Duodenal fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding MikuliczQuoteSDisease = new Coding
{
Code = "7826003",
Display = "Mikulicz's disease",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Cheilitis = new Coding
{
Code = "7847004",
Display = "Cheilitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InfectionByDiphyllobothriumLatum = new Coding
{
Code = "7877005",
Display = "Infection by Diphyllobothrium latum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteNecrotizingPancreatitis = new Coding
{
Code = "7881005",
Display = "Acute necrotizing pancreatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding FeelingOfThroatTightness = new Coding
{
Code = "7899002",
Display = "Feeling of throat tightness",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HallermannStreiffSyndrome = new Coding
{
Code = "7903009",
Display = "Hallermann-Streiff syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GingivalFoodImpaction = new Coding
{
Code = "7920008",
Display = "Gingival food impaction",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IrradiatedEnamel = new Coding
{
Code = "7926002",
Display = "Irradiated enamel",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CecalHernia = new Coding
{
Code = "7941002",
Display = "Cecal hernia",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SigmoidColonUlcer = new Coding
{
Code = "799008",
Display = "Sigmoid colon ulcer",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding TeethingSyndrome = new Coding
{
Code = "8004003",
Display = "Teething syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SpontaneousAbortionWithPerforationOfBowel = new Coding
{
Code = "8071005",
Display = "Spontaneous abortion with perforation of bowel",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EosinophilicGranulomaOfOralMucosa = new Coding
{
Code = "8090002",
Display = "Eosinophilic granuloma of oral mucosa",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DiverticulosisOfSmallIntestine = new Coding
{
Code = "8114009",
Display = "Diverticulosis of small intestine",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ExtrahepaticObstructiveBiliaryDisease = new Coding
{
Code = "8262006",
Display = "Extrahepatic obstructive biliary disease",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Dicrocoeliasis = new Coding
{
Code = "8410006",
Display = "Dicrocoeliasis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EndometriosisOfAppendix = new Coding
{
Code = "8421002",
Display = "Endometriosis of appendix",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InjuryOfInferiorMesentericArtery = new Coding
{
Code = "845006",
Display = "Injury of inferior mesenteric artery",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding RapidGastricEmptying = new Coding
{
Code = "8466006",
Display = "Rapid gastric emptying",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicGastritis = new Coding
{
Code = "8493009",
Display = "Chronic gastritis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding StrictureOfColon = new Coding
{
Code = "8543007",
Display = "Stricture of colon",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ProjectileVomiting = new Coding
{
Code = "8579004",
Display = "Projectile vomiting",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CongenitalDiverticulumOfColon = new Coding
{
Code = "8587003",
Display = "Congenital diverticulum of colon",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding NormalGallbladderFunction = new Coding
{
Code = "8622001",
Display = "Normal gallbladder function",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SupernumeraryTeeth = new Coding
{
Code = "8666004",
Display = "Supernumerary teeth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CatarrhalAppendicitis = new Coding
{
Code = "8744003",
Display = "Catarrhal appendicitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding Hematemesis = new Coding
{
Code = "8765009",
Display = "Hematemesis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CellulitisOfOralSoftTissues = new Coding
{
Code = "8771003",
Display = "Cellulitis of oral soft tissues",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding TuberculosisOrificialisOfAnus = new Coding
{
Code = "8832006",
Display = "Tuberculosis orificialis of anus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CriglerNajjarSyndromeTypeI = new Coding
{
Code = "8933000",
Display = "Crigler-Najjar syndrome, type I",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding TranspositionOfColon = new Coding
{
Code = "8986002",
Display = "Transposition of colon",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ImpairedGastricMucosalDefense = new Coding
{
Code = "9053006",
Display = "Impaired gastric mucosal defense",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DuodenoaorticFistula = new Coding
{
Code = "9058002",
Display = "Duodenoaortic fistula",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EdemaOfOralSoftTissues = new Coding
{
Code = "9067002",
Display = "Edema of oral soft tissues",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SubacuteAppendicitis = new Coding
{
Code = "9124008",
Display = "Subacute appendicitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AbnormalGastricElectricalActivity = new Coding
{
Code = "9168005",
Display = "Abnormal gastric electrical activity",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DentigerousCyst = new Coding
{
Code = "9245008",
Display = "Dentigerous cyst",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PassesStoolCompletely = new Coding
{
Code = "9272000",
Display = "Passes stool completely",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding JuvenilePolyposisSyndrome = new Coding
{
Code = "9273005",
Display = "Juvenile polyposis syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PalatalMyoclonus = new Coding
{
Code = "9366002",
Display = "Palatal myoclonus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CircumoralRhytides = new Coding
{
Code = "9368001",
Display = "Circumoral rhytides",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding OpenWoundOfMultipleSitesOfMouthWithoutComplication = new Coding
{
Code = "9391002",
Display = "Open wound of multiple sites of mouth without complication",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding TobaccoDepositOnTeeth = new Coding
{
Code = "9473008",
Display = "Tobacco deposit on teeth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding CystOfBileDuct = new Coding
{
Code = "9484001",
Display = "Cyst of bile duct",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AtrophyOfTonguePapillae = new Coding
{
Code = "9491003",
Display = "Atrophy of tongue papillae",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HepaticAmyloidosis = new Coding
{
Code = "9551004",
Display = "Hepatic amyloidosis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding EndometriosisOfRectum = new Coding
{
Code = "9563009",
Display = "Endometriosis of rectum",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding OpenWoundOfPharynxWithoutComplication = new Coding
{
Code = "964004",
Display = "Open wound of pharynx without complication",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding OccupationalFrictionInjuryOfTooth = new Coding
{
Code = "9665009",
Display = "Occupational friction injury of tooth",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding IntestinalVolvulus = new Coding
{
Code = "9707006",
Display = "Intestinal volvulus",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DuodenogastricReflux = new Coding
{
Code = "9733003",
Display = "Duodenogastric reflux",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding SmallStomachSyndrome = new Coding
{
Code = "9785001",
Display = "Small stomach syndrome",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding HemorrhagicProctitis = new Coding
{
Code = "981008",
Display = "Hemorrhagic proctitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ViolentRetching = new Coding
{
Code = "9814003",
Display = "Violent retching",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding DiverticulosisOfIleumWithoutDiverticulitis = new Coding
{
Code = "9815002",
Display = "Diverticulosis of ileum without diverticulitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding GastricUlcerWithPerforation = new Coding
{
Code = "9829001",
Display = "Gastric ulcer with perforation",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ChronicLymphocyticCholangitisCholangiohepatitis = new Coding
{
Code = "9843006",
Display = "Chronic lymphocytic cholangitis-cholangiohepatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding InfectionByTrichurisVulpis = new Coding
{
Code = "9866007",
Display = "Infection by Trichuris vulpis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ToxicDilatationOfIntestine = new Coding
{
Code = "9914004",
Display = "Toxic dilatation of intestine",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding PerinatalJaundiceDueToFetalORNeonatalHepatitis = new Coding
{
Code = "9936001",
Display = "Perinatal jaundice due to fetal OR neonatal hepatitis",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding AcuteAlcoholicLiverDisease = new Coding
{
Code = "9953008",
Display = "Acute alcoholic liver disease",
System = "http://snomed.info/sct"
};
/// <summary>
///
/// </summary>
public static readonly Coding ExfoliationOfTeethDueToSystemicDisease = new Coding
{
Code = "9984005",
Display = "Exfoliation of teeth due to systemic disease",
System = "http://snomed.info/sct"
};
/// <summary>
/// Literal for code: OcclusalWearOfTeeth
/// </summary>
public const string LiteralOcclusalWearOfTeeth = "10017004";
/// <summary>
/// Literal for code: TurnerQuoteSTooth
/// </summary>
public const string LiteralTurnerQuoteSTooth = "10078003";
/// <summary>
/// Literal for code: RecurrentCholangitis
/// </summary>
public const string LiteralRecurrentCholangitis = "10184002";
/// <summary>
/// Literal for code: ThirdDegreePerinealLaceration
/// </summary>
public const string LiteralThirdDegreePerinealLaceration = "10217006";
/// <summary>
/// Literal for code: AlkalineRefluxDisease
/// </summary>
public const string LiteralAlkalineRefluxDisease = "1027000";
/// <summary>
/// Literal for code: ChronicViralHepatitis
/// </summary>
public const string LiteralChronicViralHepatitis = "10295004";
/// <summary>
/// Literal for code: PancreaticPleuralEffusion
/// </summary>
public const string LiteralPancreaticPleuralEffusion = "10297007";
/// <summary>
/// Literal for code: MesentericPortalFistula
/// </summary>
public const string LiteralMesentericPortalFistula = "1034003";
/// <summary>
/// Literal for code: PrimarySyphilisOfTonsils
/// </summary>
public const string LiteralPrimarySyphilisOfTonsils = "10345003";
/// <summary>
/// Literal for code: SuppurativeTonsillitis
/// </summary>
public const string LiteralSuppurativeTonsillitis = "10351008";
/// <summary>
/// Literal for code: AcuteGastrojejunalUlcerWithoutHemorrhageANDWithoutPerforationButWithObstruction
/// </summary>
public const string LiteralAcuteGastrojejunalUlcerWithoutHemorrhageANDWithoutPerforationButWithObstruction = "10389003";
/// <summary>
/// Literal for code: Colonospasm
/// </summary>
public const string LiteralColonospasm = "1045000";
/// <summary>
/// Literal for code: ExtravasationCystOfSalivaryGland
/// </summary>
public const string LiteralExtravasationCystOfSalivaryGland = "10480003";
/// <summary>
/// Literal for code: HyperplasiaOfIsletAlphaCellsWithGastrinExcess
/// </summary>
public const string LiteralHyperplasiaOfIsletAlphaCellsWithGastrinExcess = "1051005";
/// <summary>
/// Literal for code: Opisthorchiasis
/// </summary>
public const string LiteralOpisthorchiasis = "1059007";
/// <summary>
/// Literal for code: MumpsPancreatitis
/// </summary>
public const string LiteralMumpsPancreatitis = "10665004";
/// <summary>
/// Literal for code: InfectionByGiardiaLamblia
/// </summary>
public const string LiteralInfectionByGiardiaLamblia = "10679007";
/// <summary>
/// Literal for code: EsophagogastricUlcer
/// </summary>
public const string LiteralEsophagogastricUlcer = "10699001";
/// <summary>
/// Literal for code: IrritableColon
/// </summary>
public const string LiteralIrritableColon = "10743008";
/// <summary>
/// Literal for code: PosteriorLingualOcclusionOfMandibularTeeth
/// </summary>
public const string LiteralPosteriorLingualOcclusionOfMandibularTeeth = "10816007";
/// <summary>
/// Literal for code: PerforationOfRectum
/// </summary>
public const string LiteralPerforationOfRectum = "10825001";
/// <summary>
/// Literal for code: CongenitalPancreaticEnterokinaseDeficiency
/// </summary>
public const string LiteralCongenitalPancreaticEnterokinaseDeficiency = "10866001";
/// <summary>
/// Literal for code: PerinatalJaundiceDueToHepatocellularDamage
/// </summary>
public const string LiteralPerinatalJaundiceDueToHepatocellularDamage = "10877007";
/// <summary>
/// Literal for code: GingivalCystOfAdult
/// </summary>
public const string LiteralGingivalCystOfAdult = "10883005";
/// <summary>
/// Literal for code: DisorderOfSalivaryGland
/// </summary>
public const string LiteralDisorderOfSalivaryGland = "10890000";
/// <summary>
/// Literal for code: ChronicGastrojejunalUlcerWithPerforationANDWithObstruction
/// </summary>
public const string LiteralChronicGastrojejunalUlcerWithPerforationANDWithObstruction = "10897002";
/// <summary>
/// Literal for code: AbrasionANDORFrictionBurnOfLipWithInfection
/// </summary>
public const string LiteralAbrasionANDORFrictionBurnOfLipWithInfection = "10920005";
/// <summary>
/// Literal for code: InjuryOfSigmoidColonWithOpenWoundIntoAbdominalCavity
/// </summary>
public const string LiteralInjuryOfSigmoidColonWithOpenWoundIntoAbdominalCavity = "10998006";
/// <summary>
/// Literal for code: NervousDiarrhea
/// </summary>
public const string LiteralNervousDiarrhea = "11003002";
/// <summary>
/// Literal for code: CourvoisierQuoteSSign
/// </summary>
public const string LiteralCourvoisierQuoteSSign = "11033009";
/// <summary>
/// Literal for code: CongenitalFistulaOfLip
/// </summary>
public const string LiteralCongenitalFistulaOfLip = "11102005";
/// <summary>
/// Literal for code: GingivalPain
/// </summary>
public const string LiteralGingivalPain = "11114002";
/// <summary>
/// Literal for code: ChronicAggressiveTypeBViralHepatitis
/// </summary>
public const string LiteralChronicAggressiveTypeBViralHepatitis = "1116000";
/// <summary>
/// Literal for code: AbnormalityOfSecretionOfGlucagon
/// </summary>
public const string LiteralAbnormalityOfSecretionOfGlucagon = "11178005";
/// <summary>
/// Literal for code: GlycogenStorageDiseaseTypeIV
/// </summary>
public const string LiteralGlycogenStorageDiseaseTypeIV = "11179002";
/// <summary>
/// Literal for code: MetallicTaste
/// </summary>
public const string LiteralMetallicTaste = "11193009";
/// <summary>
/// Literal for code: CongenitalAnomalyOfAnus
/// </summary>
public const string LiteralCongenitalAnomalyOfAnus = "11194003";
/// <summary>
/// Literal for code: CongenitalAnomalyOfPharynx
/// </summary>
public const string LiteralCongenitalAnomalyOfPharynx = "11223009";
/// <summary>
/// Literal for code: MelanosisColi
/// </summary>
public const string LiteralMelanosisColi = "11256005";
/// <summary>
/// Literal for code: UpperEsophagealWeb
/// </summary>
public const string LiteralUpperEsophagealWeb = "11266002";
/// <summary>
/// Literal for code: DiffuseHepaticNecrosis
/// </summary>
public const string LiteralDiffuseHepaticNecrosis = "11350001";
/// <summary>
/// Literal for code: GingivalAmyloidosis
/// </summary>
public const string LiteralGingivalAmyloidosis = "11426004";
/// <summary>
/// Literal for code: StaphylococcalTonsillitis
/// </summary>
public const string LiteralStaphylococcalTonsillitis = "11461005";
/// <summary>
/// Literal for code: CongenitalMicrocheilia
/// </summary>
public const string LiteralCongenitalMicrocheilia = "1150009";
/// <summary>
/// Literal for code: CompleteCongenitalDuodenalObstruction
/// </summary>
public const string LiteralCompleteCongenitalDuodenalObstruction = "11552008";
/// <summary>
/// Literal for code: IntussusceptionOfRectum
/// </summary>
public const string LiteralIntussusceptionOfRectum = "11578004";
/// <summary>
/// Literal for code: GastricDilatationVolvulusTorsionSyndrome
/// </summary>
public const string LiteralGastricDilatationVolvulusTorsionSyndrome = "11619008";
/// <summary>
/// Literal for code: OrganoaxialGastricVolvulus
/// </summary>
public const string LiteralOrganoaxialGastricVolvulus = "11672007";
/// <summary>
/// Literal for code: MalakoplakiaOfColon
/// </summary>
public const string LiteralMalakoplakiaOfColon = "11683003";
/// <summary>
/// Literal for code: BiliousVomitingFollowingGastrointestinalSurgery
/// </summary>
public const string LiteralBiliousVomitingFollowingGastrointestinalSurgery = "11767005";
/// <summary>
/// Literal for code: GastrojejunalUlcerWithPerforationButWithoutObstruction
/// </summary>
public const string LiteralGastrojejunalUlcerWithPerforationButWithoutObstruction = "11818002";
/// <summary>
/// Literal for code: TravelerQuoteSDiarrhea
/// </summary>
public const string LiteralTravelerQuoteSDiarrhea = "11840006";
/// <summary>
/// Literal for code: Clonorchiasis
/// </summary>
public const string LiteralClonorchiasis = "11938002";
/// <summary>
/// Literal for code: ErosionOfTeethDueToMedicine
/// </summary>
public const string LiteralErosionOfTeethDueToMedicine = "11949008";
/// <summary>
/// Literal for code: FunctionalHyperinsulinism
/// </summary>
public const string LiteralFunctionalHyperinsulinism = "12002009";
/// <summary>
/// Literal for code: Rectorrhagia
/// </summary>
public const string LiteralRectorrhagia = "12063002";
/// <summary>
/// Literal for code: Gastroptosis
/// </summary>
public const string LiteralGastroptosis = "1208004";
/// <summary>
/// Literal for code: CongenitalRectocloacalFistula
/// </summary>
public const string LiteralCongenitalRectocloacalFistula = "12104008";
/// <summary>
/// Literal for code: TuberculousEnteritis
/// </summary>
public const string LiteralTuberculousEnteritis = "12137005";
/// <summary>
/// Literal for code: IntestinovaginalFistula
/// </summary>
public const string LiteralIntestinovaginalFistula = "12245007";
/// <summary>
/// Literal for code: MesioOcclusionOfTeeth
/// </summary>
public const string LiteralMesioOcclusionOfTeeth = "12264001";
/// <summary>
/// Literal for code: PostinfectiveGingivalRecession
/// </summary>
public const string LiteralPostinfectiveGingivalRecession = "12269006";
/// <summary>
/// Literal for code: SupernumeraryRoots
/// </summary>
public const string LiteralSupernumeraryRoots = "12270007";
/// <summary>
/// Literal for code: AcutePepticUlcerWithHemorrhage
/// </summary>
public const string LiteralAcutePepticUlcerWithHemorrhage = "12274003";
/// <summary>
/// Literal for code: CrowdingOfTeeth
/// </summary>
public const string LiteralCrowdingOfTeeth = "12351004";
/// <summary>
/// Literal for code: DuodenalUlcerWithHemorrhageWithPerforationANDWithObstruction
/// </summary>
public const string LiteralDuodenalUlcerWithHemorrhageWithPerforationANDWithObstruction = "12355008";
/// <summary>
/// Literal for code: SecondaryBiliaryCirrhosis
/// </summary>
public const string LiteralSecondaryBiliaryCirrhosis = "12368000";
/// <summary>
/// Literal for code: ChronicPepticUlcerWithoutHemorrhageANDWithoutPerforationButWithObstruction
/// </summary>
public const string LiteralChronicPepticUlcerWithoutHemorrhageANDWithoutPerforationButWithObstruction = "12384004";
/// <summary>
/// Literal for code: AbrasionANDORFrictionBurnOfAnusWithInfection
/// </summary>
public const string LiteralAbrasionANDORFrictionBurnOfAnusWithInfection = "12435008";
/// <summary>
/// Literal for code: InfectiousGastroenteritis
/// </summary>
public const string LiteralInfectiousGastroenteritis = "12463005";
/// <summary>
/// Literal for code: NormalBileSecretion
/// </summary>
public const string LiteralNormalBileSecretion = "12516006";
/// <summary>
/// Literal for code: NoninfectiousGastroenteritis
/// </summary>
public const string LiteralNoninfectiousGastroenteritis = "12574004";
/// <summary>
/// Literal for code: PepticUlcerWithPerforationButWithoutObstruction
/// </summary>
public const string LiteralPepticUlcerWithPerforationButWithoutObstruction = "12625009";
/// <summary>
/// Literal for code: InjuryOfDescendingLeftColonWithoutOpenWoundIntoAbdominalCavity
/// </summary>
public const string LiteralInjuryOfDescendingLeftColonWithoutOpenWoundIntoAbdominalCavity = "1264004";
/// <summary>
/// Literal for code: TrifidTongue
/// </summary>
public const string LiteralTrifidTongue = "12721007";
/// <summary>
/// Literal for code: ForeignBodyInColon
/// </summary>
public const string LiteralForeignBodyInColon = "12776000";
/// <summary>
/// Literal for code: PillEsophagitisDueToTetracycline
/// </summary>
public const string LiteralPillEsophagitisDueToTetracycline = "12777009";
/// <summary>
/// Literal for code: TraumaticUlcerationOfTongue
/// </summary>
public const string LiteralTraumaticUlcerationOfTongue = "12779007";
/// <summary>
/// Literal for code: AcuteDuodenalUlcerWithHemorrhage
/// </summary>
public const string LiteralAcuteDuodenalUlcerWithHemorrhage = "12847006";
/// <summary>
/// Literal for code: CongenitalAbsenceOfBileDuct
/// </summary>
public const string LiteralCongenitalAbsenceOfBileDuct = "1287007";
/// <summary>
/// Literal for code: CalculusOfCommonBileDuctWithChronicCholecystitisWithObstruction
/// </summary>
public const string LiteralCalculusOfCommonBileDuctWithChronicCholecystitisWithObstruction = "12932003";
/// <summary>
/// Literal for code: PseudopolyposisOfColon
/// </summary>
public const string LiteralPseudopolyposisOfColon = "13025001";
/// <summary>
/// Literal for code: IschemicStrictureOfIntestine
/// </summary>
public const string LiteralIschemicStrictureOfIntestine = "13026000";
/// <summary>
/// Literal for code: BlisterOfLipWithInfection
/// </summary>
public const string LiteralBlisterOfLipWithInfection = "13114007";
/// <summary>
/// Literal for code: BurnOfGastrointestinalTract
/// </summary>
public const string LiteralBurnOfGastrointestinalTract = "13140001";
/// <summary>
/// Literal for code: ComplicationOfTransplantedIntestines
/// </summary>
public const string LiteralComplicationOfTransplantedIntestines = "13160009";
/// <summary>
/// Literal for code: CellulitisOfNasopharynx
/// </summary>
public const string LiteralCellulitisOfNasopharynx = "13177009";
/// <summary>
/// Literal for code: PepticUlcer
/// </summary>
public const string LiteralPepticUlcer = "13200003";
/// <summary>
/// Literal for code: AcuteFulminatingTypeBViralHepatitis
/// </summary>
public const string LiteralAcuteFulminatingTypeBViralHepatitis = "13265006";
/// <summary>
/// Literal for code: GastricMotorFunctionDisorder
/// </summary>
public const string LiteralGastricMotorFunctionDisorder = "13267003";
/// <summary>
/// Literal for code: ForeignBodyInRectosigmoidJunction
/// </summary>
public const string LiteralForeignBodyInRectosigmoidJunction = "13286006";
/// <summary>
/// Literal for code: ForeignBodyInAnus
/// </summary>
public const string LiteralForeignBodyInAnus = "13457005";
/// <summary>
/// Literal for code: DynamicIleus
/// </summary>
public const string LiteralDynamicIleus = "13466009";
/// <summary>
/// Literal for code: SensitiveDentin
/// </summary>
public const string LiteralSensitiveDentin = "13468005";
/// <summary>
/// Literal for code: ChronicUlcerativeIleocolitis
/// </summary>
public const string LiteralChronicUlcerativeIleocolitis = "13470001";
/// <summary>
/// Literal for code: InfectionByTrichurisOvis
/// </summary>
public const string LiteralInfectionByTrichurisOvis = "13471002";
/// <summary>
/// Literal for code: AcquiredHypertrophicPyloricStenosis
/// </summary>
public const string LiteralAcquiredHypertrophicPyloricStenosis = "13483000";
/// <summary>
/// Literal for code: PillEsophagitis
/// </summary>
public const string LiteralPillEsophagitis = "13504006";
/// <summary>
/// Literal for code: AdhesionOfGallbladder
/// </summary>
public const string LiteralAdhesionOfGallbladder = "13516000";
/// <summary>
/// Literal for code: FistulaOfLip
/// </summary>
public const string LiteralFistulaOfLip = "13538003";
/// <summary>
/// Literal for code: CalculusOfCommonDuctWithObstruction
/// </summary>
public const string LiteralCalculusOfCommonDuctWithObstruction = "1356007";
/// <summary>
/// Literal for code: CongenitalDuplicationOfStomach
/// </summary>
public const string LiteralCongenitalDuplicationOfStomach = "13568007";
/// <summary>
/// Literal for code: CongenitalAbsenceOfLobeOfLiver
/// </summary>
public const string LiteralCongenitalAbsenceOfLobeOfLiver = "13630003";
/// <summary>
/// Literal for code: InjuryOfSuperiorMesentericArtery
/// </summary>
public const string LiteralInjuryOfSuperiorMesentericArtery = "1367008";
/// <summary>
/// Literal for code: MesentericSaponification
/// </summary>
public const string LiteralMesentericSaponification = "13771001";
/// <summary>
/// Literal for code: LeadBreath
/// </summary>
public const string LiteralLeadBreath = "13883009";
/// <summary>
/// Literal for code: MajorLacerationOfLiverWithoutOpenWoundIntoAbdominalCavity
/// </summary>
public const string LiteralMajorLacerationOfLiverWithoutOpenWoundIntoAbdominalCavity = "13891000";
/// <summary>
/// Literal for code: CentrilobularHepaticNecrosis
/// </summary>
public const string LiteralCentrilobularHepaticNecrosis = "13923006";
/// <summary>
/// Literal for code: UlcerativeGingivitis
/// </summary>
public const string LiteralUlcerativeGingivitis = "13959000";
/// <summary>
/// Literal for code: ChronicPharyngitis
/// </summary>
public const string LiteralChronicPharyngitis = "140004";
/// <summary>
/// Literal for code: NoninfectiousColitis
/// </summary>
public const string LiteralNoninfectiousColitis = "14066009";
/// <summary>
/// Literal for code: ExcessiveVomitingInPregnancy
/// </summary>
public const string LiteralExcessiveVomitingInPregnancy = "14094001";
/// <summary>
/// Literal for code: NonvenomousInsectBiteOfLipWithoutInfection
/// </summary>
public const string LiteralNonvenomousInsectBiteOfLipWithoutInfection = "14220008";
/// <summary>
/// Literal for code: SevereChronicUlcerativeColitis
/// </summary>
public const string LiteralSevereChronicUlcerativeColitis = "14311001";
/// <summary>
/// Literal for code: ForeignBodyInMouth
/// </summary>
public const string LiteralForeignBodyInMouth = "14380007";
/// <summary>
/// Literal for code: PostprandialDiarrhea
/// </summary>
public const string LiteralPostprandialDiarrhea = "14384003";
/// <summary>
/// Literal for code: CongenitalStenosisOfSmallIntestine
/// </summary>
public const string LiteralCongenitalStenosisOfSmallIntestine = "14430002";
/// <summary>
/// Literal for code: SwallowedForeignBody
/// </summary>
public const string LiteralSwallowedForeignBody = "14448006";
/// <summary>
/// Literal for code: UlcerativeTonsillitis
/// </summary>
public const string LiteralUlcerativeTonsillitis = "14465002";
/// <summary>
/// Literal for code: DigestiveGlandSignOrSymptom
/// </summary>
public const string LiteralDigestiveGlandSignOrSymptom = "14508001";
/// <summary>
/// Literal for code: Microstomia
/// </summary>
public const string LiteralMicrostomia = "14582003";
/// <summary>
/// Literal for code: IdiopathicPostprandialHypoglycemia
/// </summary>
public const string LiteralIdiopathicPostprandialHypoglycemia = "14725002";
/// <summary>
/// Literal for code: HerpesLabialis
/// </summary>
public const string LiteralHerpesLabialis = "1475003";
/// <summary>
/// Literal for code: Parotitis
/// </summary>
public const string LiteralParotitis = "14756005";
/// <summary>
/// Literal for code: Constipation
/// </summary>
public const string LiteralConstipation = "14760008";
/// <summary>
/// Literal for code: Cementoclasia
/// </summary>
public const string LiteralCementoclasia = "14808008";
/// <summary>
/// Literal for code: PostoperativeNauseaAndVomiting
/// </summary>
public const string LiteralPostoperativeNauseaAndVomiting = "1488000";
/// <summary>
/// Literal for code: AnkylosisOfTooth
/// </summary>
public const string LiteralAnkylosisOfTooth = "14901003";
/// <summary>
/// Literal for code: SubphrenicInterpositionSyndrome
/// </summary>
public const string LiteralSubphrenicInterpositionSyndrome = "14911005";
/// <summary>
/// Literal for code: Ranula
/// </summary>
public const string LiteralRanula = "14919007";
/// <summary>
/// Literal for code: CongenitalAnomalyOfLargeIntestine
/// </summary>
public const string LiteralCongenitalAnomalyOfLargeIntestine = "1492007";
/// <summary>
/// Literal for code: PeritonsillarAbscess
/// </summary>
public const string LiteralPeritonsillarAbscess = "15033003";
/// <summary>
/// Literal for code: CalculusOfBileDuctWithChronicCholecystitisWithObstruction
/// </summary>
public const string LiteralCalculusOfBileDuctWithChronicCholecystitisWithObstruction = "15082003";
/// <summary>
/// Literal for code: DuodenalUlcerWithHemorrhageANDWithPerforationButWithoutObstruction
/// </summary>
public const string LiteralDuodenalUlcerWithHemorrhageANDWithPerforationButWithoutObstruction = "15115006";
/// <summary>
/// Literal for code: CongenitalStrictureOfBileDuct
/// </summary>
public const string LiteralCongenitalStrictureOfBileDuct = "1512006";
/// <summary>
/// Literal for code: CongenitalTranspositionOfStomach
/// </summary>
public const string LiteralCongenitalTranspositionOfStomach = "15135007";
/// <summary>
/// Literal for code: InjuryOfLiverWithOpenWoundIntoAbdominalCavity
/// </summary>
public const string LiteralInjuryOfLiverWithOpenWoundIntoAbdominalCavity = "15151004";
/// <summary>
/// Literal for code: UrethrorectalFistula
/// </summary>
public const string LiteralUrethrorectalFistula = "15165002";
/// <summary>
/// Literal for code: LiverDisorderInPregnancy
/// </summary>
public const string LiteralLiverDisorderInPregnancy = "15230009";
/// <summary>
/// Literal for code: HemorrhageOfEsophagus
/// </summary>
public const string LiteralHemorrhageOfEsophagus = "15238002";
/// <summary>
/// Literal for code: ObturationObstructionOfIntestine
/// </summary>
public const string LiteralObturationObstructionOfIntestine = "15270002";
/// <summary>
/// Literal for code: TuberculosisOfEsophagus
/// </summary>
public const string LiteralTuberculosisOfEsophagus = "15284007";
/// <summary>
/// Literal for code: ViralPharyngitis
/// </summary>
public const string LiteralViralPharyngitis = "1532007";
/// <summary>
/// Literal for code: ChronicUlcerativeEnterocolitis
/// </summary>
public const string LiteralChronicUlcerativeEnterocolitis = "15342002";
/// <summary>
/// Literal for code: CalculusOfPancreas
/// </summary>
public const string LiteralCalculusOfPancreas = "15402006";
/// <summary>
/// Literal for code: CongenitalPyloricMembrane
/// </summary>
public const string LiteralCongenitalPyloricMembrane = "15419008";
/// <summary>
/// Literal for code: SuperficialInjuryOfAnusWithoutInfection
/// </summary>
public const string LiteralSuperficialInjuryOfAnusWithoutInfection = "15423000";
/// <summary>
/// Literal for code: AtrophicNonerosiveNonspecificGastritis
/// </summary>
public const string LiteralAtrophicNonerosiveNonspecificGastritis = "15445004";
/// <summary>
/// Literal for code: AtrophyOfEdentulousMaxillaryAlveolarRidge
/// </summary>
public const string LiteralAtrophyOfEdentulousMaxillaryAlveolarRidge = "15492000";
/// <summary>
/// Literal for code: IncreasedFrequencyOfDefecation
/// </summary>
public const string LiteralIncreasedFrequencyOfDefecation = "15510009";
/// <summary>
/// Literal for code: AcuteNecrosisOfPancreas
/// </summary>
public const string LiteralAcuteNecrosisOfPancreas = "15528006";
/// <summary>
/// Literal for code: ChronicGastricUlcerWithoutHemorrhageWithoutPerforationANDWithoutObstruction
/// </summary>
public const string LiteralChronicGastricUlcerWithoutHemorrhageWithoutPerforationANDWithoutObstruction = "1567007";
/// <summary>
/// Literal for code: SecretoryDiarrhea
/// </summary>
public const string LiteralSecretoryDiarrhea = "15699003";
/// <summary>
/// Literal for code: HemorrhagicEnteropathyOfTerminalIleum
/// </summary>
public const string LiteralHemorrhagicEnteropathyOfTerminalIleum = "15720001";
/// <summary>
/// Literal for code: IncipientEnamelCaries
/// </summary>
public const string LiteralIncipientEnamelCaries = "15733007";
/// <summary>
/// Literal for code: AcuteCholestaticJaundiceSyndrome
/// </summary>
public const string LiteralAcuteCholestaticJaundiceSyndrome = "15770003";
/// <summary>
/// Literal for code: IncreasedPancreaticSecretion
/// </summary>
public const string LiteralIncreasedPancreaticSecretion = "15899001";
/// <summary>
/// Literal for code: GastricUlcerWithHemorrhage
/// </summary>
public const string LiteralGastricUlcerWithHemorrhage = "15902003";
/// <summary>
/// Literal for code: IntramuralEsophagealHematoma
/// </summary>
public const string LiteralIntramuralEsophagealHematoma = "15970005";
/// <summary>
/// Literal for code: MixedMicroAndMacronodularCirrhosis
/// </summary>
public const string LiteralMixedMicroAndMacronodularCirrhosis = "15999000";
/// <summary>
/// Literal for code: PrematureToothEruption
/// </summary>
public const string LiteralPrematureToothEruption = "16000003";
/// <summary>
/// Literal for code: DuodenocolicFistula
/// </summary>
public const string LiteralDuodenocolicFistula = "16010007";
/// <summary>
/// Literal for code: ToxicNoninfectiousHepatitis
/// </summary>
public const string LiteralToxicNoninfectiousHepatitis = "16069000";
/// <summary>
/// Literal for code: SyphiliticCirrhosis
/// </summary>
public const string LiteralSyphiliticCirrhosis = "16070004";
/// <summary>
/// Literal for code: UlcerOfCecum
/// </summary>
public const string LiteralUlcerOfCecum = "16101002";
/// <summary>
/// Literal for code: GastrojejunalUlcer
/// </summary>
public const string LiteralGastrojejunalUlcer = "16121001";
/// <summary>
/// Literal for code: Heartburn
/// </summary>
public const string LiteralHeartburn = "16331000";
/// <summary>
/// Literal for code: ChronicDiseaseOfTonsilsANDORAdenoids
/// </summary>
public const string LiteralChronicDiseaseOfTonsilsANDORAdenoids = "16358007";
/// <summary>
/// Literal for code: CongenitalDuodenalStenosis
/// </summary>
public const string LiteralCongenitalDuodenalStenosis = "16376000";
/// <summary>
/// Literal for code: Cheilosis
/// </summary>
public const string LiteralCheilosis = "16459000";
/// <summary>
/// Literal for code: UlcerOfTonsil
/// </summary>
public const string LiteralUlcerOfTonsil = "16485001";
/// <summary>
/// Literal for code: FamilialDuodenalUlcerAssociatedWithRapidGastricEmptying
/// </summary>
public const string LiteralFamilialDuodenalUlcerAssociatedWithRapidGastricEmptying = "16516008";
/// <summary>
/// Literal for code: GastricUlcerWithHemorrhageButWithoutObstruction
/// </summary>
public const string LiteralGastricUlcerWithHemorrhageButWithoutObstruction = "16694003";
/// <summary>
/// Literal for code: SpontaneousAbortionWithLacerationOfBowel
/// </summary>
public const string LiteralSpontaneousAbortionWithLacerationOfBowel = "16714009";
/// <summary>
/// Literal for code: Esophagitis
/// </summary>
public const string LiteralEsophagitis = "16761005";
/// <summary>
/// Literal for code: HemorrhageOfLiver
/// </summary>
public const string LiteralHemorrhageOfLiver = "16763008";
/// <summary>
/// Literal for code: Typhlolithiasis
/// </summary>
public const string LiteralTyphlolithiasis = "168000";
/// <summary>
/// Literal for code: LeukedemaOfTongue
/// </summary>
public const string LiteralLeukedemaOfTongue = "16816002";
/// <summary>
/// Literal for code: NauseaAndVomiting
/// </summary>
public const string LiteralNauseaAndVomiting = "16932000";
/// <summary>
/// Literal for code: FourthDegreePerinealLacerationInvolvingAnalMucosa
/// </summary>
public const string LiteralFourthDegreePerinealLacerationInvolvingAnalMucosa = "16950007";
/// <summary>
/// Literal for code: FistulaOfGallbladder
/// </summary>
public const string LiteralFistulaOfGallbladder = "16957005";
/// <summary>
/// Literal for code: CompleteCongenitalAbsenceOfTeeth
/// </summary>
public const string LiteralCompleteCongenitalAbsenceOfTeeth = "16958000";
/// <summary>
/// Literal for code: UlcerOfBileDuct
/// </summary>
public const string LiteralUlcerOfBileDuct = "1698001";
/// <summary>
/// Literal for code: AcuteGastricUlcerWithHemorrhageANDWithPerforationButWithoutObstruction
/// </summary>
public const string LiteralAcuteGastricUlcerWithHemorrhageANDWithPerforationButWithoutObstruction = "17067009";
/// <summary>
/// Literal for code: InjuryOfAscendingRightColonWithoutOpenWoundIntoAbdominalCavity
/// </summary>
public const string LiteralInjuryOfAscendingRightColonWithoutOpenWoundIntoAbdominalCavity = "171008";
/// <summary>
/// Literal for code: FasciolaGiganticaInfection
/// </summary>
public const string LiteralFasciolaGiganticaInfection = "17110002";
/// <summary>
/// Literal for code: IleocolicIntussusception
/// </summary>
public const string LiteralIleocolicIntussusception = "17186003";
/// <summary>
/// Literal for code: GastroduodenalFistula
/// </summary>
public const string LiteralGastroduodenalFistula = "17206008";
/// <summary>
/// Literal for code: PrimaryCholangitis
/// </summary>
public const string LiteralPrimaryCholangitis = "17266006";
/// <summary>
/// Literal for code: IllegalAbortionWithLacerationOfBowel
/// </summary>
public const string LiteralIllegalAbortionWithLacerationOfBowel = "17335003";
/// <summary>
/// Literal for code: DisorderOfEndocrinePancreas
/// </summary>
public const string LiteralDisorderOfEndocrinePancreas = "17346000";
/// <summary>
/// Literal for code: PortalTriaditis
/// </summary>
public const string LiteralPortalTriaditis = "17349007";
/// <summary>
/// Literal for code: AortoEsophagealFistula
/// </summary>
public const string LiteralAortoEsophagealFistula = "17355002";
/// <summary>
/// Literal for code: AnalSpasm
/// </summary>
public const string LiteralAnalSpasm = "17440005";
/// <summary>
/// Literal for code: FusionOfTeeth
/// </summary>
public const string LiteralFusionOfTeeth = "1744008";
/// <summary>
/// Literal for code: UterorectalFistula
/// </summary>
public const string LiteralUterorectalFistula = "17442002";
/// <summary>
/// Literal for code: PneumatosisCystoidesIntestinalis
/// </summary>
public const string LiteralPneumatosisCystoidesIntestinalis = "17465007";
/// <summary>
/// Literal for code: LeukoplakiaOfLips
/// </summary>
public const string LiteralLeukoplakiaOfLips = "17531008";
/// <summary>
/// Literal for code: ChronicDiarrheaOfUnknownOrigin
/// </summary>
public const string LiteralChronicDiarrheaOfUnknownOrigin = "17551007";
/// <summary>
/// Literal for code: DentalCalculus
/// </summary>
public const string LiteralDentalCalculus = "17552000";
/// <summary>
/// Literal for code: HypoesthesiaOfTongue
/// </summary>
public const string LiteralHypoesthesiaOfTongue = "17565009";
/// <summary>
/// Literal for code: GastricUlcerWithHemorrhageWithPerforationAndWithObstruction
/// </summary>
public const string LiteralGastricUlcerWithHemorrhageWithPerforationAndWithObstruction = "17593008";
/// <summary>
/// Literal for code: BiliaryCirrhosis
/// </summary>
public const string LiteralBiliaryCirrhosis = "1761006";
/// <summary>
/// Literal for code: HepatitisDueToAcquiredToxoplasmosis
/// </summary>
public const string LiteralHepatitisDueToAcquiredToxoplasmosis = "17681007";
/// <summary>
/// Literal for code: InsulinBiosynthesisDefect
/// </summary>
public const string LiteralInsulinBiosynthesisDefect = "1771008";
/// <summary>
/// Literal for code: AcuteTonsillitis
/// </summary>
public const string LiteralAcuteTonsillitis = "17741008";
/// <summary>
/// Literal for code: AcquiredMegaduodenum
/// </summary>
public const string LiteralAcquiredMegaduodenum = "17755000";
/// <summary>
/// Literal for code: MalocclusionDueToAbnormalSwallowing
/// </summary>
public const string LiteralMalocclusionDueToAbnormalSwallowing = "1778002";
/// <summary>
/// Literal for code: CarSickness
/// </summary>
public const string LiteralCarSickness = "17783003";
/// <summary>
/// Literal for code: MohrSyndrome
/// </summary>
public const string LiteralMohrSyndrome = "1779005";
/// <summary>
/// Literal for code: Mesiodens
/// </summary>
public const string LiteralMesiodens = "17802000";
/// <summary>
/// Literal for code: HepaticInfarction
/// </summary>
public const string LiteralHepaticInfarction = "17890003";
/// <summary>
/// Literal for code: PortalVeinThrombosis
/// </summary>
public const string LiteralPortalVeinThrombosis = "17920008";
/// <summary>
/// Literal for code: PiulachsHederichSyndrome
/// </summary>
public const string LiteralPiulachsHederichSyndrome = "17960009";
/// <summary>
/// Literal for code: StrictureOfGallbladder
/// </summary>
public const string LiteralStrictureOfGallbladder = "17970006";
/// <summary>
/// Literal for code: SecondaryCholangitis
/// </summary>
public const string LiteralSecondaryCholangitis = "18028001";
/// <summary>
/// Literal for code: EntericCampylobacteriosis
/// </summary>
public const string LiteralEntericCampylobacteriosis = "18081009";
/// <summary>
/// Literal for code: CancrumOris
/// </summary>
public const string LiteralCancrumOris = "18116006";
/// <summary>
/// Literal for code: FractureOfFissureOfTooth
/// </summary>
public const string LiteralFractureOfFissureOfTooth = "18139000";
/// <summary>
/// Literal for code: InjuryOfColonWithOpenWoundIntoAbdominalCavity
/// </summary>
public const string LiteralInjuryOfColonWithOpenWoundIntoAbdominalCavity = "18147000";
/// <summary>
/// Literal for code: RawMilkAssociatedDiarrhea
/// </summary>
public const string LiteralRawMilkAssociatedDiarrhea = "18168004";
/// <summary>
/// Literal for code: DuodenalUlcerWithoutHemorrhageANDWithoutPerforationButWithObstruction
/// </summary>
public const string LiteralDuodenalUlcerWithoutHemorrhageANDWithoutPerforationButWithObstruction = "18169007";
/// <summary>
/// Literal for code: SuppurativeColitis
/// </summary>
public const string LiteralSuppurativeColitis = "18229003";
/// <summary>
/// Literal for code: AllergicGastritis
/// </summary>
public const string LiteralAllergicGastritis = "1824008";
/// <summary>
/// Literal for code: GranulomaOfLip
/// </summary>
public const string LiteralGranulomaOfLip = "1826005";
/// <summary>
/// Literal for code: CongenitalDuodenalObstruction
/// </summary>
public const string LiteralCongenitalDuodenalObstruction = "18269002";
/// <summary>
/// Literal for code: RectovulvalFistula
/// </summary>
public const string LiteralRectovulvalFistula = "18317005";
/// <summary>
/// Literal for code: AlgidMalaria
/// </summary>
public const string LiteralAlgidMalaria = "18342001";
/// <summary>
/// Literal for code: NecrosisOfPancreas
/// </summary>
public const string LiteralNecrosisOfPancreas = "1835003";
/// <summary>
/// Literal for code: DuodenalUlcerWithHemorrhageANDObstruction
/// </summary>
public const string LiteralDuodenalUlcerWithHemorrhageANDObstruction = "18367003";
/// <summary>
/// Literal for code: Microcolon
/// </summary>
public const string LiteralMicrocolon = "18389004";
/// <summary>
/// Literal for code: PassageOfRiceWaterStools
/// </summary>
public const string LiteralPassageOfRiceWaterStools = "18425006";
/// <summary>
/// Literal for code: DisorderOfAppendix
/// </summary>
public const string LiteralDisorderOfAppendix = "18526009";
/// <summary>
/// Literal for code: SeaSickness
/// </summary>
public const string LiteralSeaSickness = "18530007";
/// <summary>
/// Literal for code: IncreasedGastricTonus
/// </summary>
public const string LiteralIncreasedGastricTonus = "18644006";
/// <summary>
/// Literal for code: IncreasedGastricElectricalActivity
/// </summary>
public const string LiteralIncreasedGastricElectricalActivity = "18645007";
/// <summary>
/// Literal for code: ImpairedIntestinalProteinAbsorption
/// </summary>
public const string LiteralImpairedIntestinalProteinAbsorption = "1865008";
/// <summary>
/// Literal for code: AcuteGastricMucosalErosion
/// </summary>
public const string LiteralAcuteGastricMucosalErosion = "18665000";
/// <summary>
/// Literal for code: GingivalDisease
/// </summary>
public const string LiteralGingivalDisease = "18718003";
/// <summary>
/// Literal for code: SupragingivalDentalCalculus
/// </summary>
public const string LiteralSupragingivalDentalCalculus = "18755003";
/// <summary>
/// Literal for code: CyclicalVomitingSyndrome
/// </summary>
public const string LiteralCyclicalVomitingSyndrome = "18773000";
/// <summary>
/// Literal for code: HTypeCongenitalTracheoesophagealFistula
/// </summary>
public const string LiteralHTypeCongenitalTracheoesophagealFistula = "18792003";
/// <summary>
/// Literal for code: CongenitalSecretoryDiarrheaSodiumType
/// </summary>
public const string LiteralCongenitalSecretoryDiarrheaSodiumType = "18805001";
/// <summary>
/// Literal for code: ChemotherapyInducedNauseaAndVomiting
/// </summary>
public const string LiteralChemotherapyInducedNauseaAndVomiting = "18846006";
/// <summary>
/// Literal for code: InfectionByTrichostrongylusAxei
/// </summary>
public const string LiteralInfectionByTrichostrongylusAxei = "18849004";
/// <summary>
/// Literal for code: SchinzelGiedionSyndrome
/// </summary>
public const string LiteralSchinzelGiedionSyndrome = "18899000";
/// <summary>
/// Literal for code: CleftUvula
/// </summary>
public const string LiteralCleftUvula = "18910001";
/// <summary>
/// Literal for code: AcuteFulminatingTypeAViralHepatitis
/// </summary>
public const string LiteralAcuteFulminatingTypeAViralHepatitis = "18917003";
/// <summary>
/// Literal for code: IsolatedIdiopathicGranulomaOfStomach
/// </summary>
public const string LiteralIsolatedIdiopathicGranulomaOfStomach = "18935007";
/// <summary>
/// Literal for code: StenosisOfColon
/// </summary>
public const string LiteralStenosisOfColon = "19132000";
/// <summary>
/// Literal for code: CongenitalSyphiliticHepatomegaly
/// </summary>
public const string LiteralCongenitalSyphiliticHepatomegaly = "192008";
/// <summary>
/// Literal for code: InfectiousDiarrhealDisease
/// </summary>
public const string LiteralInfectiousDiarrhealDisease = "19213003";
/// <summary>
/// Literal for code: EsophagealWeb
/// </summary>
public const string LiteralEsophagealWeb = "19216006";
/// <summary>
/// Literal for code: Glossocele
/// </summary>
public const string LiteralGlossocele = "19263008";
/// <summary>
/// Literal for code: CystOfGallbladder
/// </summary>
public const string LiteralCystOfGallbladder = "19286001";
/// <summary>
/// Literal for code: CollagenousColitis
/// </summary>
public const string LiteralCollagenousColitis = "19311003";
/// <summary>
/// Literal for code: CalculusOfCysticDuctWithAcuteCholecystitis
/// </summary>
public const string LiteralCalculusOfCysticDuctWithAcuteCholecystitis = "19335008";
/// <summary>
/// Literal for code: AvulsionOfLip
/// </summary>
public const string LiteralAvulsionOfLip = "19345005";
/// <summary>
/// Literal for code: EctopicPancreas
/// </summary>
public const string LiteralEctopicPancreas = "19387007";
/// <summary>
/// Literal for code: Hypertaurodontism
/// </summary>
public const string LiteralHypertaurodontism = "19523008";
/// <summary>
/// Literal for code: FoodPoisoningDueToStreptococcus
/// </summary>
public const string LiteralFoodPoisoningDueToStreptococcus = "19547001";
/// <summary>
/// Literal for code: MildHyperemesisGravidarum
/// </summary>
public const string LiteralMildHyperemesisGravidarum = "19569008";
/// <summary>
/// Literal for code: IntermittentDysphagia
/// </summary>
public const string LiteralIntermittentDysphagia = "19597002";
/// <summary>
/// Literal for code: EnterostomyMalfunction
/// </summary>
public const string LiteralEnterostomyMalfunction = "19640007";
/// <summary>
/// Literal for code: LupusHepatitis
/// </summary>
public const string LiteralLupusHepatitis = "19682006";
/// <summary>
/// Literal for code: RelapsingPancreaticNecrosis
/// </summary>
public const string LiteralRelapsingPancreaticNecrosis = "19742005";
/// <summary>
/// Literal for code: AcuteGastricUlcerWithPerforation
/// </summary>
public const string LiteralAcuteGastricUlcerWithPerforation = "19850005";
/// <summary>
/// Literal for code: PrimaryChronicPseudoObstructionOfSmallIntestine
/// </summary>
public const string LiteralPrimaryChronicPseudoObstructionOfSmallIntestine = "19881001";
/// <summary>
/// Literal for code: FoodPoisoningDueToBacillusCereus
/// </summary>
public const string LiteralFoodPoisoningDueToBacillusCereus = "19894004";
/// <summary>
/// Literal for code: InjuryOfGallbladderWithoutOpenWoundIntoAbdominalCavity
/// </summary>
public const string LiteralInjuryOfGallbladderWithoutOpenWoundIntoAbdominalCavity = "19936001";
/// <summary>
/// Literal for code: CirrhosisOfLiver
/// </summary>
public const string LiteralCirrhosisOfLiver = "19943007";
/// <summary>
/// Literal for code: CholecystitisWithoutCalculus
/// </summary>
public const string LiteralCholecystitisWithoutCalculus = "19968009";
/// <summary>
/// Literal for code: SpontaneousRuptureOfEsophagus
/// </summary>
public const string LiteralSpontaneousRuptureOfEsophagus = "19995004";
/// <summary>
/// Literal for code: BileDuctProliferation
/// </summary>
public const string LiteralBileDuctProliferation = "20239009";
/// <summary>
/// Literal for code: CholecystoentericFistula
/// </summary>
public const string LiteralCholecystoentericFistula = "20306009";
/// <summary>
/// Literal for code: FulminantEnterocolitis
/// </summary>
public const string LiteralFulminantEnterocolitis = "20335001";
/// <summary>
/// Literal for code: ModerateLacerationOfLiverWithOpenWoundIntoAbdominalCavity
/// </summary>
public const string LiteralModerateLacerationOfLiverWithOpenWoundIntoAbdominalCavity = "20402005";
/// <summary>
/// Literal for code: AlcoholicGastritis
/// </summary>
public const string LiteralAlcoholicGastritis = "2043009";
/// <summary>
/// Literal for code: InjuryOfMultipleSitesOfPancreasWithoutOpenWoundIntoAbdominalCavity
/// </summary>
public const string LiteralInjuryOfMultipleSitesOfPancreasWithoutOpenWoundIntoAbdominalCavity = "20474007";
/// <summary>
/// Literal for code: OpenWoundOfLipWithComplication
/// </summary>
public const string LiteralOpenWoundOfLipWithComplication = "20509003";
/// <summary>
/// Literal for code: CompleteRectalProlapseWithNoDisplacementOfAnalMuscles
/// </summary>
public const string LiteralCompleteRectalProlapseWithNoDisplacementOfAnalMuscles = "20528005";
/// <summary>
/// Literal for code: IllDefinedIntestinalInfection
/// </summary>
public const string LiteralIllDefinedIntestinalInfection = "20547008";
/// <summary>
/// Literal for code: SentinelTag
/// </summary>
public const string LiteralSentinelTag = "20570000";
/// <summary>
/// Literal for code: Gingivostomatitis
/// </summary>
public const string LiteralGingivostomatitis = "20607006";
/// <summary>
/// Literal for code: CandidiasisOfTheEsophagus
/// </summary>
public const string LiteralCandidiasisOfTheEsophagus = "20639004";
/// <summary>
/// Literal for code: GastricUlcerWithHemorrhageANDPerforationButWithoutObstruction
/// </summary>
public const string LiteralGastricUlcerWithHemorrhageANDPerforationButWithoutObstruction = "2066005";
/// <summary>
/// Literal for code: OralFistula
/// </summary>
public const string LiteralOralFistula = "20674003";
/// <summary>
/// Literal for code: ExtremeInsulinResistanceWithAcanthosisNigricansHirsutismANDAutoantibodiesToTheInsulinReceptors
/// </summary>
public const string LiteralExtremeInsulinResistanceWithAcanthosisNigricansHirsutismANDAutoantibodiesToTheInsulinReceptors = "20678000";
/// <summary>
/// Literal for code: ExtrahepaticCholestasis
/// </summary>
public const string LiteralExtrahepaticCholestasis = "20719006";
/// <summary>
/// Literal for code: FamilialVisceralNeuropathy
/// </summary>
public const string LiteralFamilialVisceralNeuropathy = "20725005";
/// <summary>
/// Literal for code: AchyliaGastrica
/// </summary>
public const string LiteralAchyliaGastrica = "20754004";
/// <summary>
/// Literal for code: DieteticJejunitis
/// </summary>
public const string LiteralDieteticJejunitis = "20759009";
/// <summary>
/// Literal for code: EchinococcusGranulosusInfectionOfLiver
/// </summary>
public const string LiteralEchinococcusGranulosusInfectionOfLiver = "20790006";
/// <summary>
/// Literal for code: AfferentLoopSyndrome
/// </summary>
public const string LiteralAfferentLoopSyndrome = "20813000";
/// <summary>
/// Literal for code: ExstrophyOfCloacaSequence
/// </summary>
public const string LiteralExstrophyOfCloacaSequence = "20815007";
/// <summary>
/// Literal for code: ChronicCholecystitis
/// </summary>
public const string LiteralChronicCholecystitis = "20824003";
/// <summary>
/// Literal for code: IntestinalMyiasis
/// </summary>
public const string LiteralIntestinalMyiasis = "20860008";
/// <summary>
/// Literal for code: PharyngealDiverticulitis
/// </summary>
public const string LiteralPharyngealDiverticulitis = "2091005";
/// <summary>
/// Literal for code: GastricDysplasia
/// </summary>
public const string LiteralGastricDysplasia = "20915006";
/// <summary>
/// Literal for code: CongenitalLiverGrooves
/// </summary>
public const string LiteralCongenitalLiverGrooves = "20919000";
/// <summary>
/// Literal for code: AdhesionOfMesentery
/// </summary>
public const string LiteralAdhesionOfMesentery = "20926000";
/// <summary>
/// Literal for code: UlcerOfAnus
/// </summary>
public const string LiteralUlcerOfAnus = "20928004";
/// <summary>
/// Literal for code: OuterSpaceSickness
/// </summary>
public const string LiteralOuterSpaceSickness = "21162009";
/// <summary>
/// Literal for code: DiseaseOfPharyngealTonsil
/// </summary>
public const string LiteralDiseaseOfPharyngealTonsil = "2128005";
/// <summary>
/// Literal for code: EdemaOfPharynx
/// </summary>
public const string LiteralEdemaOfPharynx = "2129002";
/// <summary>
/// Literal for code: SoftTissueImpingementOnTeeth
/// </summary>
public const string LiteralSoftTissueImpingementOnTeeth = "21366000";
/// <summary>
/// Literal for code: LossOfTeethDueToLocalPeriodontalDisease
/// </summary>
public const string LiteralLossOfTeethDueToLocalPeriodontalDisease = "21459002";
/// <summary>
/// Literal for code: HematomaANDContusionOfLiverWithOpenWoundIntoAbdominalCavity
/// </summary>
public const string LiteralHematomaANDContusionOfLiverWithOpenWoundIntoAbdominalCavity = "21580006";
/// <summary>
/// Literal for code: AcutePeriodontitis
/// </summary>
public const string LiteralAcutePeriodontitis = "21638000";
/// <summary>
/// Literal for code: DiverticulumOfAppendix
/// </summary>
public const string LiteralDiverticulumOfAppendix = "21692001";
/// <summary>
/// Literal for code: GastrojejunalUlcerWithPerforationANDObstruction
/// </summary>
public const string LiteralGastrojejunalUlcerWithPerforationANDObstruction = "21759003";
/// <summary>
/// Literal for code: InjuryOfTeeth
/// </summary>
public const string LiteralInjuryOfTeeth = "21763005";
/// <summary>
/// Literal for code: DrugInducedConstipation
/// </summary>
public const string LiteralDrugInducedConstipation = "21782001";
/// <summary>
/// Literal for code: AbrasionANDORFrictionBurnOfAnusWithoutInfection
/// </summary>
public const string LiteralAbrasionANDORFrictionBurnOfAnusWithoutInfection = "21809000";
/// <summary>
/// Literal for code: MicronodularCirrhosis
/// </summary>
public const string LiteralMicronodularCirrhosis = "21861000";
/// <summary>
/// Literal for code: IrritativeHyperplasiaOfOralMucosa
/// </summary>
public const string LiteralIrritativeHyperplasiaOfOralMucosa = "21863002";
/// <summary>
/// Literal for code: NatalTooth
/// </summary>
public const string LiteralNatalTooth = "21995002";
/// <summary>
/// Literal for code: AbsentPeristalsis
/// </summary>
public const string LiteralAbsentPeristalsis = "22114000";
/// <summary>
/// Literal for code: AschoffRokitanskySinuses
/// </summary>
public const string LiteralAschoffRokitanskySinuses = "22149007";
/// <summary>
/// Literal for code: AcutePepticUlcerWithHemorrhageButWithoutObstruction
/// </summary>
public const string LiteralAcutePepticUlcerWithHemorrhageButWithoutObstruction = "22157005";
/// <summary>
/// Literal for code: IntestinalDisaccharidaseDeficiency
/// </summary>
public const string LiteralIntestinalDisaccharidaseDeficiency = "22169002";
/// <summary>
/// Literal for code: ChronicProliferativeEnteritis
/// </summary>
public const string LiteralChronicProliferativeEnteritis = "22207007";
/// <summary>
/// Literal for code: DesquamativeGingivitis
/// </summary>
public const string LiteralDesquamativeGingivitis = "22208002";
/// <summary>
/// Literal for code: AllergicEnteritis
/// </summary>
public const string LiteralAllergicEnteritis = "22231002";
/// <summary>
/// Literal for code: Pericoronitis
/// </summary>
public const string LiteralPericoronitis = "22240003";
/// <summary>
/// Literal for code: SuperficialGastritis
/// </summary>
public const string LiteralSuperficialGastritis = "22304002";
/// <summary>
/// Literal for code: AcuteBowelInfarction
/// </summary>
public const string LiteralAcuteBowelInfarction = "22323009";
/// <summary>
/// Literal for code: PulpDegeneration
/// </summary>
public const string LiteralPulpDegeneration = "22361007";
/// <summary>
/// Literal for code: EsophagealBodyWeb
/// </summary>
public const string LiteralEsophagealBodyWeb = "22395006";
/// <summary>
/// Literal for code: ForeignBodyInNasopharynx
/// </summary>
public const string LiteralForeignBodyInNasopharynx = "2245007";
/// <summary>
/// Literal for code: BleedingFromMouth
/// </summary>
public const string LiteralBleedingFromMouth = "22490002";
/// <summary>
/// Literal for code: Oesophagostomiasis
/// </summary>
public const string LiteralOesophagostomiasis = "22500005";
/// <summary>
/// Literal for code: HepaticFailureDueToAProcedure
/// </summary>
public const string LiteralHepaticFailureDueToAProcedure = "22508003";
/// <summary>
/// Literal for code: AcuteDuodenalUlcerWithPerforationButWithoutObstruction
/// </summary>
public const string LiteralAcuteDuodenalUlcerWithPerforationButWithoutObstruction = "22511002";
/// <summary>
/// Literal for code: ExudativeEnteropathy
/// </summary>
public const string LiteralExudativeEnteropathy = "22542007";
/// <summary>
/// Literal for code: CongenitalAbsenceOfSalivaryGland
/// </summary>
public const string LiteralCongenitalAbsenceOfSalivaryGland = "22589009";
/// <summary>
/// Literal for code: PrepyloricUlcer
/// </summary>
public const string LiteralPrepyloricUlcer = "22620000";
/// <summary>
/// Literal for code: AdhesionOfCysticDuct
/// </summary>
public const string LiteralAdhesionOfCysticDuct = "22711000";
/// <summary>
/// Literal for code: RuptureOfGallbladder
/// </summary>
public const string LiteralRuptureOfGallbladder = "22788004";
/// <summary>
/// Literal for code: FoodTemperature
/// </summary>
public const string LiteralFoodTemperature = "228018009";
/// <summary>
/// Literal for code: ColdFood
/// </summary>
public const string LiteralColdFood = "228019001";
/// <summary>
/// Literal for code: HotFood
/// </summary>
public const string LiteralHotFood = "228020007";
/// <summary>
/// Literal for code: WarmFood
/// </summary>
public const string LiteralWarmFood = "228021006";
/// <summary>
/// Literal for code: CongenitalSeptationOfGallbladder
/// </summary>
public const string LiteralCongenitalSeptationOfGallbladder = "22845004";
/// <summary>
/// Literal for code: HepatorenalSyndromeFollowingDelivery
/// </summary>
public const string LiteralHepatorenalSyndromeFollowingDelivery = "22846003";
/// <summary>
/// Literal for code: ArterialEntericFistula
/// </summary>
public const string LiteralArterialEntericFistula = "22883003";
/// <summary>
/// Literal for code: InfectionByHeterophyesHeterophyes
/// </summary>
public const string LiteralInfectionByHeterophyesHeterophyes = "22905009";
/// <summary>
/// Literal for code: InfectionByPhysaloptera
/// </summary>
public const string LiteralInfectionByPhysaloptera = "22922006";
/// <summary>
/// Literal for code: MesentericVarices
/// </summary>
public const string LiteralMesentericVarices = "22949006";
/// <summary>
/// Literal for code: ErythroplakiaOfTongue
/// </summary>
public const string LiteralErythroplakiaOfTongue = "22974009";
/// <summary>
/// Literal for code: DisorderOfTonsil
/// </summary>
public const string LiteralDisorderOfTonsil = "23023009";
/// <summary>
/// Literal for code: FruityBreath
/// </summary>
public const string LiteralFruityBreath = "23034007";
/// <summary>
/// Literal for code: PassiveCongestionOfStomach
/// </summary>
public const string LiteralPassiveCongestionOfStomach = "23062000";
/// <summary>
/// Literal for code: StenosisOfIntestine
/// </summary>
public const string LiteralStenosisOfIntestine = "23065003";
/// <summary>
/// Literal for code: FatNecrosisOfPancreas
/// </summary>
public const string LiteralFatNecrosisOfPancreas = "2307008";
/// <summary>
/// Literal for code: ChronicGastricVolvulus
/// </summary>
public const string LiteralChronicGastricVolvulus = "23080009";
/// <summary>
/// Literal for code: ContinuousSalivarySecretion
/// </summary>
public const string LiteralContinuousSalivarySecretion = "23144006";
/// <summary>
/// Literal for code: CellulitisOfPharynx
/// </summary>
public const string LiteralCellulitisOfPharynx = "23166004";
/// <summary>
/// Literal for code: StrangulatedInternalHemorrhoids
/// </summary>
public const string LiteralStrangulatedInternalHemorrhoids = "23202007";
/// <summary>
/// Literal for code: VerticalOverbite
/// </summary>
public const string LiteralVerticalOverbite = "23234003";
/// <summary>
/// Literal for code: AcquiredMegacolonInAdults
/// </summary>
public const string LiteralAcquiredMegacolonInAdults = "23298002";
/// <summary>
/// Literal for code: PerforationOfEsophagus
/// </summary>
public const string LiteralPerforationOfEsophagus = "23387001";
/// <summary>
/// Literal for code: IllegalAbortionWithPerforationOfBowel
/// </summary>
public const string LiteralIllegalAbortionWithPerforationOfBowel = "23401002";
/// <summary>
/// Literal for code: CausticEsophagealInjury
/// </summary>
public const string LiteralCausticEsophagealInjury = "23509002";
/// <summary>
/// Literal for code: AtresiaOfSalivaryDuct
/// </summary>
public const string LiteralAtresiaOfSalivaryDuct = "23512004";
/// <summary>
/// Literal for code: PhlegmonOfPancreas
/// </summary>
public const string LiteralPhlegmonOfPancreas = "23587002";
/// <summary>
/// Literal for code: CushingQuoteSUlcers
/// </summary>
public const string LiteralCushingQuoteSUlcers = "23649000";
/// <summary>
/// Literal for code: ChronicGranularPharyngitis
/// </summary>
public const string LiteralChronicGranularPharyngitis = "2365002";
/// <summary>
/// Literal for code: AcuteHemorrhagicGastritis
/// </summary>
public const string LiteralAcuteHemorrhagicGastritis = "2367005";
/// <summary>
/// Literal for code: CongenitalPyloricAntralMembrane
/// </summary>
public const string LiteralCongenitalPyloricAntralMembrane = "23678004";
/// <summary>
/// Literal for code: HematemesisANDORMelenaDueToSwallowedMaternalBlood
/// </summary>
public const string LiteralHematemesisANDORMelenaDueToSwallowedMaternalBlood = "23688003";
/// <summary>
/// Literal for code: AcuteDuodenalUlcerWithoutHemorrhageWithoutPerforationANDWithoutObstruction
/// </summary>
public const string LiteralAcuteDuodenalUlcerWithoutHemorrhageWithoutPerforationANDWithoutObstruction = "23693000";
/// <summary>
/// Literal for code: BilateralParalysisOfTongue
/// </summary>
public const string LiteralBilateralParalysisOfTongue = "23740006";
/// <summary>
/// Literal for code: DuodenalUlcerWithHemorrhageANDPerforation
/// </summary>
public const string LiteralDuodenalUlcerWithHemorrhageANDPerforation = "23812009";
/// <summary>
/// Literal for code: ChronicAmebiasis
/// </summary>
public const string LiteralChronicAmebiasis = "23874000";
/// <summary>
/// Literal for code: ExternalHemorrhoids
/// </summary>
public const string LiteralExternalHemorrhoids = "23913003";
/// <summary>
/// Literal for code: PyogranulomatousEnteritis
/// </summary>
public const string LiteralPyogranulomatousEnteritis = "23916006";
/// <summary>
/// Literal for code: CapillariaPhilippinensisInfection
/// </summary>
public const string LiteralCapillariaPhilippinensisInfection = "23949002";
/// <summary>
/// Literal for code: AcuteVomiting
/// </summary>
public const string LiteralAcuteVomiting = "23971007";
/// <summary>
/// Literal for code: AnomalyOfDentalArch
/// </summary>
public const string LiteralAnomalyOfDentalArch = "23997001";
/// <summary>
/// Literal for code: ChronicGastrojejunalUlcerWithHemorrhageWithPerforationAndWithObstruction
/// </summary>
public const string LiteralChronicGastrojejunalUlcerWithHemorrhageWithPerforationAndWithObstruction = "24001002";
/// <summary>
/// Literal for code: FecalContinence
/// </summary>
public const string LiteralFecalContinence = "24029004";
/// <summary>
/// Literal for code: GastrocolicUlcer
/// </summary>
public const string LiteralGastrocolicUlcer = "24060004";
/// <summary>
/// Literal for code: GangosaOfYaws
/// </summary>
public const string LiteralGangosaOfYaws = "24078009";
/// <summary>
/// Literal for code: BurnOfGum
/// </summary>
public const string LiteralBurnOfGum = "24087000";
/// <summary>
/// Literal for code: HematomaANDContusionOfLiverWithoutOpenWoundIntoAbdominalCavity
/// </summary>
public const string LiteralHematomaANDContusionOfLiverWithoutOpenWoundIntoAbdominalCavity = "24179004";
/// <summary>
/// Literal for code: CompleteBilateralCleftPalate
/// </summary>
public const string LiteralCompleteBilateralCleftPalate = "24194000";
/// <summary>
/// Literal for code: NoninfectiousJejunitis
/// </summary>
public const string LiteralNoninfectiousJejunitis = "242004";
/// <summary>
/// Literal for code: ExtremeInsulinResistanceWithAcanthosisNigricansHirsutismANDAbnormalInsulinReceptors
/// </summary>
public const string LiteralExtremeInsulinResistanceWithAcanthosisNigricansHirsutismANDAbnormalInsulinReceptors = "24203005";
/// <summary>
/// Literal for code: CongenitalDilatationOfColon
/// </summary>
public const string LiteralCongenitalDilatationOfColon = "24291004";
/// <summary>
/// Literal for code: SigmoidovaginalFistula
/// </summary>
public const string LiteralSigmoidovaginalFistula = "24339001";
/// <summary>
/// Literal for code: Ascariasis
/// </summary>
public const string LiteralAscariasis = "2435008";
/// <summary>
/// Literal for code: SuppurativePancreatitis
/// </summary>
public const string LiteralSuppurativePancreatitis = "24407009";
/// <summary>
/// Literal for code: CongenitalSecretoryDiarrheaChlorideType
/// </summary>
public const string LiteralCongenitalSecretoryDiarrheaChlorideType = "24412005";
/// <summary>
/// Literal for code: Gurgling
/// </summary>
public const string LiteralGurgling = "24436009";
/// <summary>
/// Literal for code: InflammatoryBowelDisease
/// </summary>
public const string LiteralInflammatoryBowelDisease = "24526004";
/// <summary>
/// Literal for code: AbscessOfIntestine
/// </summary>
public const string LiteralAbscessOfIntestine = "24557004";
/// <summary>
/// Literal for code: SigmoidorectalIntussusception
/// </summary>
public const string LiteralSigmoidorectalIntussusception = "24610009";
/// <summary>
/// Literal for code: PosteriorOpenBite
/// </summary>
public const string LiteralPosteriorOpenBite = "24617007";
/// <summary>
/// Literal for code: IsolatedFamilialIntestinalHypomagnesemia
/// </summary>
public const string LiteralIsolatedFamilialIntestinalHypomagnesemia = "24754009";
/// <summary>
/// Literal for code: ConcretionOfAppendix
/// </summary>
public const string LiteralConcretionOfAppendix = "24764000";
/// <summary>
/// Literal for code: SmallRoundStructuredVirusGastroenteritis
/// </summary>
public const string LiteralSmallRoundStructuredVirusGastroenteritis = "24789006";
/// <summary>
/// Literal for code: BleedingGastricVarices
/// </summary>
public const string LiteralBleedingGastricVarices = "24807004";
/// <summary>
/// Literal for code: TuberculosisOrificialisOfMouth
/// </summary>
public const string LiteralTuberculosisOrificialisOfMouth = "24810006";
/// <summary>
/// Literal for code: GastrointestinalComplication
/// </summary>
public const string LiteralGastrointestinalComplication = "24813008";
/// <summary>
/// Literal for code: EosinophilicUlcerativeColitis
/// </summary>
public const string LiteralEosinophilicUlcerativeColitis = "24829000";
/// <summary>
/// Literal for code: AcuteTypeAViralHepatitis
/// </summary>
public const string LiteralAcuteTypeAViralHepatitis = "25102003";
/// <summary>
/// Literal for code: InjuryOfMultipleSitesInColonANDORRectumWithOpenWoundIntoAbdominalCavity
/// </summary>
public const string LiteralInjuryOfMultipleSitesInColonANDORRectumWithOpenWoundIntoAbdominalCavity = "25110002";
/// <summary>
/// Literal for code: CongenitalAbsenceOfUvula
/// </summary>
public const string LiteralCongenitalAbsenceOfUvula = "25148007";
/// <summary>
/// Literal for code: EnlargementOfTongue
/// </summary>
public const string LiteralEnlargementOfTongue = "25273001";
/// <summary>
/// Literal for code: AbnormalExcretoryFunction
/// </summary>
public const string LiteralAbnormalExcretoryFunction = "25299008";
/// <summary>
/// Literal for code: ChronicDiarrheaOfInfantsANDORYoungChildren
/// </summary>
public const string LiteralChronicDiarrheaOfInfantsANDORYoungChildren = "25319005";
/// <summary>
/// Literal for code: GastrojejunocolicFistula
/// </summary>
public const string LiteralGastrojejunocolicFistula = "25335003";
/// <summary>
/// Literal for code: PerforationOfGallbladder
/// </summary>
public const string LiteralPerforationOfGallbladder = "25345001";
/// <summary>
/// Literal for code: ChronicUpperGastrointestinalHemorrhage
/// </summary>
public const string LiteralChronicUpperGastrointestinalHemorrhage = "25349007";
/// <summary>
/// Literal for code: Gastroenteritis
/// </summary>
public const string LiteralGastroenteritis = "25374005";
/// <summary>
/// Literal for code: PrimordialCyst
/// </summary>
public const string LiteralPrimordialCyst = "25418001";
/// <summary>
/// Literal for code: InjuryOfMultipleSitesOfPancreasWithOpenWoundIntoAbdominalCavity
/// </summary>
public const string LiteralInjuryOfMultipleSitesOfPancreasWithOpenWoundIntoAbdominalCavity = "25420003";
/// <summary>
/// Literal for code: AcuteGastritis
/// </summary>
public const string LiteralAcuteGastritis = "25458004";
/// <summary>
/// Literal for code: ForeignBodyInPharynx
/// </summary>
public const string LiteralForeignBodyInPharynx = "25479004";
/// <summary>
/// Literal for code: IdiopathicErosionOfTeeth
/// </summary>
public const string LiteralIdiopathicErosionOfTeeth = "25507003";
/// <summary>
/// Literal for code: ToothLoss
/// </summary>
public const string LiteralToothLoss = "25540007";
/// <summary>
/// Literal for code: AcuteCecitis
/// </summary>
public const string LiteralAcuteCecitis = "25552000";
/// <summary>
/// Literal for code: MajorLacerationOfLiverWithOpenWoundIntoAbdominalCavity
/// </summary>
public const string LiteralMajorLacerationOfLiverWithOpenWoundIntoAbdominalCavity = "25554004";
/// <summary>
/// Literal for code: PeriodontalDisease
/// </summary>
public const string LiteralPeriodontalDisease = "2556008";
/// <summary>
/// Literal for code: RetrocecalAppendicitis
/// </summary>
public const string LiteralRetrocecalAppendicitis = "25598004";
/// <summary>
/// Literal for code: CongenitalDuodenalObstructionDueToMalrotationOfIntestine
/// </summary>
public const string LiteralCongenitalDuodenalObstructionDueToMalrotationOfIntestine = "25617003";
/// <summary>
/// Literal for code: StrictureOfRectum
/// </summary>
public const string LiteralStrictureOfRectum = "25730006";
/// <summary>
/// Literal for code: HereditaryGastrogenicLactoseIntolerance
/// </summary>
public const string LiteralHereditaryGastrogenicLactoseIntolerance = "25744000";
/// <summary>
/// Literal for code: PancreaticFistula
/// </summary>
public const string LiteralPancreaticFistula = "25803005";
/// <summary>
/// Literal for code: AllergicSigmoiditis
/// </summary>
public const string LiteralAllergicSigmoiditis = "25887009";
/// <summary>
/// Literal for code: CongenitalAtresiaOfIleum
/// </summary>
public const string LiteralCongenitalAtresiaOfIleum = "25896009";
/// <summary>
/// Literal for code: CongenitalSecretoryDiarrhea
/// </summary>
public const string LiteralCongenitalSecretoryDiarrhea = "25898005";
/// <summary>
/// Literal for code: CalculusOfGallbladderWithCholecystitis
/// </summary>
public const string LiteralCalculusOfGallbladderWithCholecystitis = "25924004";
/// <summary>
/// Literal for code: BetelDepositOnTeeth
/// </summary>
public const string LiteralBetelDepositOnTeeth = "25933002";
/// <summary>
/// Literal for code: FibrosisOfPancreas
/// </summary>
public const string LiteralFibrosisOfPancreas = "25942009";
/// <summary>
/// Literal for code: PyloricAntralStenosis
/// </summary>
public const string LiteralPyloricAntralStenosis = "25948008";
/// <summary>
/// Literal for code: EndemicColic
/// </summary>
public const string LiteralEndemicColic = "25959004";
/// <summary>
/// Literal for code: CongenitalAbsenceOfRectum
/// </summary>
public const string LiteralCongenitalAbsenceOfRectum = "25972003";
/// <summary>
/// Literal for code: AllergicGastroenteritis
/// </summary>
public const string LiteralAllergicGastroenteritis = "26006005";
/// <summary>
/// Literal for code: EchinococcosisOfLiver
/// </summary>
public const string LiteralEchinococcosisOfLiver = "26103000";
/// <summary>
/// Literal for code: CongenitalAtresiaOfEsophagus
/// </summary>
public const string LiteralCongenitalAtresiaOfEsophagus = "26179002";
/// <summary>
/// Literal for code: IncreasedExocrineGlandSecretion
/// </summary>
public const string LiteralIncreasedExocrineGlandSecretion = "26185009";
/// <summary>
/// Literal for code: PepticUlcerWithHemorrhageWithPerforationANDWithObstruction
/// </summary>
public const string LiteralPepticUlcerWithHemorrhageWithPerforationANDWithObstruction = "26221006";
/// <summary>
/// Literal for code: PrepubertalPeriodontitis
/// </summary>
public const string LiteralPrepubertalPeriodontitis = "2624008";
/// <summary>
/// Literal for code: IntestinalHelminthiasis
/// </summary>
public const string LiteralIntestinalHelminthiasis = "26249004";
/// <summary>
/// Literal for code: UlcerOfMouth
/// </summary>
public const string LiteralUlcerOfMouth = "26284000";
/// <summary>
/// Literal for code: LowOutputExternalGastrointestinalFistula
/// </summary>
public const string LiteralLowOutputExternalGastrointestinalFistula = "26289005";
/// <summary>
/// Literal for code: CongenitalObstructionOfSmallIntestine
/// </summary>
public const string LiteralCongenitalObstructionOfSmallIntestine = "26315009";
/// <summary>
/// Literal for code: InternalCompleteRectalProlapseWithIntussusceptionOfRectosigmoid
/// </summary>
public const string LiteralInternalCompleteRectalProlapseWithIntussusceptionOfRectosigmoid = "26316005";
/// <summary>
/// Literal for code: ThrombosedExternalHemorrhoids
/// </summary>
public const string LiteralThrombosedExternalHemorrhoids = "26373009";
/// <summary>
/// Literal for code: CheilitisGlandularis
/// </summary>
public const string LiteralCheilitisGlandularis = "26374003";
/// <summary>
/// Literal for code: BleedingExternalHemorrhoids
/// </summary>
public const string LiteralBleedingExternalHemorrhoids = "26421009";
/// <summary>
/// Literal for code: OpenWoundOfBuccalMucosaWithoutComplication
/// </summary>
public const string LiteralOpenWoundOfBuccalMucosaWithoutComplication = "26422002";
/// <summary>
/// Literal for code: FranklinicTaste
/// </summary>
public const string LiteralFranklinicTaste = "26440003";
/// <summary>
/// Literal for code: SawdustLiver
/// </summary>
public const string LiteralSawdustLiver = "26485002";
/// <summary>
/// Literal for code: ToxicParotitis
/// </summary>
public const string LiteralToxicParotitis = "26558007";
/// <summary>
/// Literal for code: EnamelHypoplasia
/// </summary>
public const string LiteralEnamelHypoplasia = "26597004";
/// <summary>
/// Literal for code: Anodontia
/// </summary>
public const string LiteralAnodontia = "26624006";
/// <summary>
/// Literal for code: ShortBowelSyndrome
/// </summary>
public const string LiteralShortBowelSyndrome = "26629001";
/// <summary>
/// Literal for code: RobinsonNailDystrophyDeafnessSyndrome
/// </summary>
public const string LiteralRobinsonNailDystrophyDeafnessSyndrome = "26718008";
/// <summary>
/// Literal for code: HypocalcificationOfTeeth
/// </summary>
public const string LiteralHypocalcificationOfTeeth = "26748006";
/// <summary>
/// Literal for code: AmebicAppendicitis
/// </summary>
public const string LiteralAmebicAppendicitis = "26826005";
/// <summary>
/// Literal for code: RectoceleAffectingPregnancy
/// </summary>
public const string LiteralRectoceleAffectingPregnancy = "26828006";
/// <summary>
/// Literal for code: FibrinousEnteritis
/// </summary>
public const string LiteralFibrinousEnteritis = "26838001";
/// <summary>
/// Literal for code: HypertrophyOfBileDuct
/// </summary>
public const string LiteralHypertrophyOfBileDuct = "26874005";
/// <summary>
/// Literal for code: PosteruptiveToothStainingDueToPulpalBleeding
/// </summary>
public const string LiteralPosteruptiveToothStainingDueToPulpalBleeding = "26884006";
/// <summary>
/// Literal for code: AscendingCholangitis
/// </summary>
public const string LiteralAscendingCholangitis = "26918003";
/// <summary>
/// Literal for code: CompensatoryLobarHyperplasiaOfLiver
/// </summary>
public const string LiteralCompensatoryLobarHyperplasiaOfLiver = "26975007";
/// <summary>
/// Literal for code: AnteriorCrossbite
/// </summary>
public const string LiteralAnteriorCrossbite = "27002002";
/// <summary>
/// Literal for code: AutosomalRecessiveHypohidroticEctodermalDysplasiaSyndrome
/// </summary>
public const string LiteralAutosomalRecessiveHypohidroticEctodermalDysplasiaSyndrome = "27025001";
/// <summary>
/// Literal for code: NecrotizingEnterocolitisInFetusORNewborn
/// </summary>
public const string LiteralNecrotizingEnterocolitisInFetusORNewborn = "2707005";
/// <summary>
/// Literal for code: BiliarySludge
/// </summary>
public const string LiteralBiliarySludge = "27123005";
/// <summary>
/// Literal for code: HyperemesisGravidarumBeforeEndOf22WeekGestationWithCarbohydrateDepletion
/// </summary>
public const string LiteralHyperemesisGravidarumBeforeEndOf22WeekGestationWithCarbohydrateDepletion = "27152008";
/// <summary>
/// Literal for code: PosthepatiticCirrhosis
/// </summary>
public const string LiteralPosthepatiticCirrhosis = "27156006";
/// <summary>
/// Literal for code: HabitualFrictionInjuryOfTooth
/// </summary>
public const string LiteralHabitualFrictionInjuryOfTooth = "27160009";
/// <summary>
/// Literal for code: DecreasedDigestivePeristalsis
/// </summary>
public const string LiteralDecreasedDigestivePeristalsis = "27203001";
/// <summary>
/// Literal for code: EchinococcusMultilocularisInfectionOfLiver
/// </summary>
public const string LiteralEchinococcusMultilocularisInfectionOfLiver = "27235001";
/// <summary>
/// Literal for code: ChronicIschemicColitis
/// </summary>
public const string LiteralChronicIschemicColitis = "27241008";
/// <summary>
/// Literal for code: DuodenalUlcerWithHemorrhage
/// </summary>
public const string LiteralDuodenalUlcerWithHemorrhage = "27281001";
/// <summary>
/// Literal for code: Toothache
/// </summary>
public const string LiteralToothache = "27355003";
/// <summary>
/// Literal for code: CongenitalMacrocheilia
/// </summary>
public const string LiteralCongenitalMacrocheilia = "27409004";
/// <summary>
/// Literal for code: NormalExocrineGlandSecretion
/// </summary>
public const string LiteralNormalExocrineGlandSecretion = "27576009";
/// <summary>
/// Literal for code: IntussusceptionOfColon
/// </summary>
public const string LiteralIntussusceptionOfColon = "27673007";
/// <summary>
/// Literal for code: CongenitalHyperplasiaOfSebaceousGlandsOfLip
/// </summary>
public const string LiteralCongenitalHyperplasiaOfSebaceousGlandsOfLip = "27680009";
/// <summary>
/// Literal for code: CalculusOfHepaticDuctWithoutObstruction
/// </summary>
public const string LiteralCalculusOfHepaticDuctWithoutObstruction = "27697003";
/// <summary>
/// Literal for code: AcuteGastrointestinalHemorrhage
/// </summary>
public const string LiteralAcuteGastrointestinalHemorrhage = "27719009";
/// <summary>
/// Literal for code: PyloricAtresia
/// </summary>
public const string LiteralPyloricAtresia = "27729002";
/// <summary>
/// Literal for code: PlantAwnStomatitis
/// </summary>
public const string LiteralPlantAwnStomatitis = "27829006";
/// <summary>
/// Literal for code: GastrojejunalUlcerWithoutHemorrhageANDWithoutPerforation
/// </summary>
public const string LiteralGastrojejunalUlcerWithoutHemorrhageANDWithoutPerforation = "2783007";
/// <summary>
/// Literal for code: ClostridialGastroenteritis
/// </summary>
public const string LiteralClostridialGastroenteritis = "27858009";
/// <summary>
/// Literal for code: ChronicSteatorrhea
/// </summary>
public const string LiteralChronicSteatorrhea = "27868004";
/// <summary>
/// Literal for code: FollicularTonsillitis
/// </summary>
public const string LiteralFollicularTonsillitis = "27878001";
/// <summary>
/// Literal for code: DecreasedPancreaticSecretion
/// </summary>
public const string LiteralDecreasedPancreaticSecretion = "27902000";
/// <summary>
/// Literal for code: AbscessOfLiver
/// </summary>
public const string LiteralAbscessOfLiver = "27916005";
/// <summary>
/// Literal for code: CongenitalGlucoseGalactoseMalabsorption
/// </summary>
public const string LiteralCongenitalGlucoseGalactoseMalabsorption = "27943000";
/// <summary>
/// Literal for code: MesentericCyst
/// </summary>
public const string LiteralMesentericCyst = "27970007";
/// <summary>
/// Literal for code: JacksonQuoteSMembrane
/// </summary>
public const string LiteralJacksonQuoteSMembrane = "28016005";
/// <summary>
/// Literal for code: CongenitalLipPits
/// </summary>
public const string LiteralCongenitalLipPits = "28041003";
/// <summary>
/// Literal for code: SmellOfAlcoholOnBreath
/// </summary>
public const string LiteralSmellOfAlcoholOnBreath = "28045007";
/// <summary>
/// Literal for code: ChronicGastrojejunalUlcerWithPerforation
/// </summary>
public const string LiteralChronicGastrojejunalUlcerWithPerforation = "2807004";
/// <summary>
/// Literal for code: ChronicDuodenalUlcerWithoutHemorrhageANDWithoutPerforationButWithObstruction
/// </summary>
public const string LiteralChronicDuodenalUlcerWithoutHemorrhageANDWithoutPerforationButWithObstruction = "28082003";
/// <summary>
/// Literal for code: SpasmOfSphincterOfOddi
/// </summary>
public const string LiteralSpasmOfSphincterOfOddi = "28132005";
/// <summary>
/// Literal for code: LymphoidHyperplasiaOfStomach
/// </summary>
public const string LiteralLymphoidHyperplasiaOfStomach = "28175004";
/// <summary>
/// Literal for code: PrimarySyphilisOfLip
/// </summary>
public const string LiteralPrimarySyphilisOfLip = "28198007";
/// <summary>
/// Literal for code: IntestinalLipofuscinosis
/// </summary>
public const string LiteralIntestinalLipofuscinosis = "28212002";
/// <summary>
/// Literal for code: AbrasionANDORFrictionBurnOfGumWithoutInfection
/// </summary>
public const string LiteralAbrasionANDORFrictionBurnOfGumWithoutInfection = "2825006";
/// <summary>
/// Literal for code: PyloricAntralVascularEctasia
/// </summary>
public const string LiteralPyloricAntralVascularEctasia = "2831009";
/// <summary>
/// Literal for code: AcuteObstructiveAppendicitisWithPerforationANDPeritonitis
/// </summary>
public const string LiteralAcuteObstructiveAppendicitisWithPerforationANDPeritonitis = "28358004";
/// <summary>
/// Literal for code: HypertrophyOfSubmaxillaryGland
/// </summary>
public const string LiteralHypertrophyOfSubmaxillaryGland = "28401004";
/// <summary>
/// Literal for code: NonfamilialMultiplePolyposisSyndrome
/// </summary>
public const string LiteralNonfamilialMultiplePolyposisSyndrome = "28412004";
/// <summary>
/// Literal for code: ToxicMegacolon
/// </summary>
public const string LiteralToxicMegacolon = "28536002";
/// <summary>
/// Literal for code: AscherQuoteSSyndrome
/// </summary>
public const string LiteralAscherQuoteSSyndrome = "28599006";
/// <summary>
/// Literal for code: VesicocolicFistula
/// </summary>
public const string LiteralVesicocolicFistula = "28626004";
/// <summary>
/// Literal for code: CongenitalDuplicationOfColon
/// </summary>
public const string LiteralCongenitalDuplicationOfColon = "28682004";
/// <summary>
/// Literal for code: TorsionOfLiverLobe
/// </summary>
public const string LiteralTorsionOfLiverLobe = "28698006";
/// <summary>
/// Literal for code: GastrocolicFistula
/// </summary>
public const string LiteralGastrocolicFistula = "28756003";
/// <summary>
/// Literal for code: PosttransfusionViralHepatitis
/// </summary>
public const string LiteralPosttransfusionViralHepatitis = "28766006";
/// <summary>
/// Literal for code: Sialolithiasis
/// </summary>
public const string LiteralSialolithiasis = "28826002";
/// <summary>
/// Literal for code: GastricAtresia
/// </summary>
public const string LiteralGastricAtresia = "28828001";
/// <summary>
/// Literal for code: AcuteAppendicitisWithGeneralizedPeritonitis
/// </summary>
public const string LiteralAcuteAppendicitisWithGeneralizedPeritonitis = "28845006";
/// <summary>
/// Literal for code: AcutePepticUlcerWithHemorrhageWithPerforationANDWithObstruction
/// </summary>
public const string LiteralAcutePepticUlcerWithHemorrhageWithPerforationANDWithObstruction = "28945005";
/// <summary>
/// Literal for code: InfectionByTrichurisSuis
/// </summary>
public const string LiteralInfectionByTrichurisSuis = "28951000";
/// <summary>
/// Literal for code: Melena
/// </summary>
public const string LiteralMelena = "2901004";
/// <summary>
/// Literal for code: CongenitalAbsenceOfSmallIntestine
/// </summary>
public const string LiteralCongenitalAbsenceOfSmallIntestine = "29110005";
/// <summary>
/// Literal for code: EosinophilicColitis
/// </summary>
public const string LiteralEosinophilicColitis = "29120000";
/// <summary>
/// Literal for code: FecalImpactionOfColon
/// </summary>
public const string LiteralFecalImpactionOfColon = "29162007";
/// <summary>
/// Literal for code: NauseaVomitingAndDiarrhea
/// </summary>
public const string LiteralNauseaVomitingAndDiarrhea = "2919008";
/// <summary>
/// Literal for code: OpenWoundOfLipWithoutComplication
/// </summary>
public const string LiteralOpenWoundOfLipWithoutComplication = "29256009";
/// <summary>
/// Literal for code: GlycogenStorageDiseaseTypeVI
/// </summary>
public const string LiteralGlycogenStorageDiseaseTypeVI = "29291001";
/// <summary>
/// Literal for code: SalivaryColic
/// </summary>
public const string LiteralSalivaryColic = "29330004";
/// <summary>
/// Literal for code: DisorderOfStomach
/// </summary>
public const string LiteralDisorderOfStomach = "29384001";
/// <summary>
/// Literal for code: IntestinalGangrene
/// </summary>
public const string LiteralIntestinalGangrene = "29451002";
/// <summary>
/// Literal for code: OsmoticDiarrhea
/// </summary>
public const string LiteralOsmoticDiarrhea = "2946003";
/// <summary>
/// Literal for code: AtonyOfColon
/// </summary>
public const string LiteralAtonyOfColon = "29479008";
/// <summary>
/// Literal for code: CholelithiasisANDCholecystitisWithoutObstruction
/// </summary>
public const string LiteralCholelithiasisANDCholecystitisWithoutObstruction = "29484002";
/// <summary>
/// Literal for code: ChronicUlcerativePulpitis
/// </summary>
public const string LiteralChronicUlcerativePulpitis = "2955000";
/// <summary>
/// Literal for code: PegShapedTeeth
/// </summary>
public const string LiteralPegShapedTeeth = "29553002";
/// <summary>
/// Literal for code: InfectionByTrichostrongylusColubriformis
/// </summary>
public const string LiteralInfectionByTrichostrongylusColubriformis = "29604006";
/// <summary>
/// Literal for code: CongenitalAtresiaOfPharynx
/// </summary>
public const string LiteralCongenitalAtresiaOfPharynx = "29632002";
/// <summary>
/// Literal for code: InjuryOfMultipleSitesInColonANDORRectumWithoutOpenWoundIntoAbdominalCavity
/// </summary>
public const string LiteralInjuryOfMultipleSitesInColonANDORRectumWithoutOpenWoundIntoAbdominalCavity = "29691006";
/// <summary>
/// Literal for code: HypertrophyOfParotidGland
/// </summary>
public const string LiteralHypertrophyOfParotidGland = "29748005";
/// <summary>
/// Literal for code: DuodenalUlcerWithIncreasedSerumPepsinogenI
/// </summary>
public const string LiteralDuodenalUlcerWithIncreasedSerumPepsinogenI = "29755007";
/// <summary>
/// Literal for code: AppendicealColic
/// </summary>
public const string LiteralAppendicealColic = "29874009";
/// <summary>
/// Literal for code: InjuryOfRectumWithOpenWoundIntoAbdominalCavity
/// </summary>
public const string LiteralInjuryOfRectumWithOpenWoundIntoAbdominalCavity = "29880001";
/// <summary>
/// Literal for code: AdhesionOfIntestine
/// </summary>
public const string LiteralAdhesionOfIntestine = "29886007";
/// <summary>
/// Literal for code: FistulaOfIntestineToAbdominalWall
/// </summary>
public const string LiteralFistulaOfIntestineToAbdominalWall = "29927001";
/// <summary>
/// Literal for code: InfectionByEnteromonasHominis
/// </summary>
public const string LiteralInfectionByEnteromonasHominis = "29979000";
/// <summary>
/// Literal for code: CongenitalMalrotationOfIntestine
/// </summary>
public const string LiteralCongenitalMalrotationOfIntestine = "29980002";
/// <summary>
/// Literal for code: AnalFissure
/// </summary>
public const string LiteralAnalFissure = "30037006";
/// <summary>
/// Literal for code: CongenitalDilatationOfEsophagus
/// </summary>
public const string LiteralCongenitalDilatationOfEsophagus = "3004001";
/// <summary>
/// Literal for code: StrangulationObstructionOfIntestine
/// </summary>
public const string LiteralStrangulationObstructionOfIntestine = "30074005";
/// <summary>
/// Literal for code: CalculusOfBileDuct
/// </summary>
public const string LiteralCalculusOfBileDuct = "30093007";
/// <summary>
/// Literal for code: Glucose6PhosphateTransportDefect
/// </summary>
public const string LiteralGlucose6PhosphateTransportDefect = "30102006";
/// <summary>
/// Literal for code: AcquiredSupradiaphragmaticDiverticulumOfEsophagus
/// </summary>
public const string LiteralAcquiredSupradiaphragmaticDiverticulumOfEsophagus = "30126008";
/// <summary>
/// Literal for code: EnteritisPresumedInfectious
/// </summary>
public const string LiteralEnteritisPresumedInfectious = "30140009";
/// <summary>
/// Literal for code: ObstructionOfBileDuct
/// </summary>
public const string LiteralObstructionOfBileDuct = "30144000";
/// <summary>
/// Literal for code: GastrojejunalUlcerWithPerforation
/// </summary>
public const string LiteralGastrojejunalUlcerWithPerforation = "30183003";
/// <summary>
/// Literal for code: Alpha1ProteinaseInhibitorDeficiency
/// </summary>
public const string LiteralAlpha1ProteinaseInhibitorDeficiency = "30188007";
/// <summary>
/// Literal for code: NormalGastricAcidity
/// </summary>
public const string LiteralNormalGastricAcidity = "3021005";
/// <summary>
/// Literal for code: BadTasteInMouth
/// </summary>
public const string LiteralBadTasteInMouth = "302188001";
/// <summary>
/// Literal for code: AcutePepticUlcerWithoutHemorrhageWithoutPerforationANDWithoutObstruction
/// </summary>
public const string LiteralAcutePepticUlcerWithoutHemorrhageWithoutPerforationANDWithoutObstruction = "3023008";
/// <summary>
/// Literal for code: Odynophagia
/// </summary>
public const string LiteralOdynophagia = "30233002";
/// <summary>
/// Literal for code: DentalFluorosis
/// </summary>
public const string LiteralDentalFluorosis = "30265004";
/// <summary>
/// Literal for code: GarlicBreath
/// </summary>
public const string LiteralGarlicBreath = "30276000";
/// <summary>
/// Literal for code: ApoplecticPancreatitis
/// </summary>
public const string LiteralApoplecticPancreatitis = "303002";
/// <summary>
/// Literal for code: AllergicColitis
/// </summary>
public const string LiteralAllergicColitis = "30304000";
/// <summary>
/// Literal for code: SquamousMetaplasiaOfRectalMucosa
/// </summary>
public const string LiteralSquamousMetaplasiaOfRectalMucosa = "30464003";
/// <summary>
/// Literal for code: Dolichocolon
/// </summary>
public const string LiteralDolichocolon = "30468000";
/// <summary>
/// Literal for code: IntestinalInfectionDueToProteusMirabilis
/// </summary>
public const string LiteralIntestinalInfectionDueToProteusMirabilis = "30493003";
/// <summary>
/// Literal for code: CementumCaries
/// </summary>
public const string LiteralCementumCaries = "30512007";
/// <summary>
/// Literal for code: AcuteGastrojejunalUlcerWithoutHemorrhageANDWithoutPerforation
/// </summary>
public const string LiteralAcuteGastrojejunalUlcerWithoutHemorrhageANDWithoutPerforation = "30514008";
/// <summary>
/// Literal for code: IschemicColitis
/// </summary>
public const string LiteralIschemicColitis = "30588004";
/// <summary>
/// Literal for code: CheilitisGlandularisDeepSuppurativeType
/// </summary>
public const string LiteralCheilitisGlandularisDeepSuppurativeType = "30657009";
/// <summary>
/// Literal for code: ChoanalPolyp
/// </summary>
public const string LiteralChoanalPolyp = "30677002";
/// <summary>
/// Literal for code: Aerophagy
/// </summary>
public const string LiteralAerophagy = "30693006";
/// <summary>
/// Literal for code: BurnOfTongue
/// </summary>
public const string LiteralBurnOfTongue = "30715007";
/// <summary>
/// Literal for code: InfectionByOesophagostomumColumbianum
/// </summary>
public const string LiteralInfectionByOesophagostomumColumbianum = "30716008";
/// <summary>
/// Literal for code: DieteticEnteritis
/// </summary>
public const string LiteralDieteticEnteritis = "30719001";
/// <summary>
/// Literal for code: Glossodynia
/// </summary>
public const string LiteralGlossodynia = "30731004";
/// <summary>
/// Literal for code: DysphoniaOfPalatopharyngolaryngealMyoclonus
/// </summary>
public const string LiteralDysphoniaOfPalatopharyngolaryngealMyoclonus = "30736009";
/// <summary>
/// Literal for code: IsolatedIdiopathicGranulomaOfStomachForeignBodyType
/// </summary>
public const string LiteralIsolatedIdiopathicGranulomaOfStomachForeignBodyType = "30755009";
/// <summary>
/// Literal for code: UlcerOfEsophagus
/// </summary>
public const string LiteralUlcerOfEsophagus = "30811009";
/// <summary>
/// Literal for code: NonvenomousInsectBiteOfGumWithoutInfection
/// </summary>
public const string LiteralNonvenomousInsectBiteOfGumWithoutInfection = "3084004";
/// <summary>
/// Literal for code: EsophagealFistula
/// </summary>
public const string LiteralEsophagealFistula = "30873000";
/// <summary>
/// Literal for code: ChronicHypertrophicPyloricGastropathy
/// </summary>
public const string LiteralChronicHypertrophicPyloricGastropathy = "30874006";
/// <summary>
/// Literal for code: AtrophyOfEdentulousMandibularAlveolarRidge
/// </summary>
public const string LiteralAtrophyOfEdentulousMandibularAlveolarRidge = "30877004";
/// <summary>
/// Literal for code: BlisterOfGumWithInfection
/// </summary>
public const string LiteralBlisterOfGumWithInfection = "30888005";
/// <summary>
/// Literal for code: VomitingInInfantsANDORChildren
/// </summary>
public const string LiteralVomitingInInfantsANDORChildren = "3094009";
/// <summary>
/// Literal for code: SuperficialInjuryOfLipWithInfection
/// </summary>
public const string LiteralSuperficialInjuryOfLipWithInfection = "3097002";
/// <summary>
/// Literal for code: Enterospasm
/// </summary>
public const string LiteralEnterospasm = "30993009";
/// <summary>
/// Literal for code: HepatorenalSyndromeDueToAProcedure
/// </summary>
public const string LiteralHepatorenalSyndromeDueToAProcedure = "31005002";
/// <summary>
/// Literal for code: PrimaryAnalSyphilis
/// </summary>
public const string LiteralPrimaryAnalSyphilis = "31015008";
/// <summary>
/// Literal for code: BenignRecurrentIntrahepaticCholestasis
/// </summary>
public const string LiteralBenignRecurrentIntrahepaticCholestasis = "31155007";
/// <summary>
/// Literal for code: CystOfPancreas
/// </summary>
public const string LiteralCystOfPancreas = "31258000";
/// <summary>
/// Literal for code: ChronicGastricUlcerWithPerforation
/// </summary>
public const string LiteralChronicGastricUlcerWithPerforation = "31301004";
/// <summary>
/// Literal for code: RespiratorySyncytialVirusPharyngitis
/// </summary>
public const string LiteralRespiratorySyncytialVirusPharyngitis = "31309002";
/// <summary>
/// Literal for code: LymphocyticPlasmacyticColitis
/// </summary>
public const string LiteralLymphocyticPlasmacyticColitis = "31437008";
/// <summary>
/// Literal for code: GastricUlcerWithoutHemorrhageANDWithoutPerforationButWithObstruction
/// </summary>
public const string LiteralGastricUlcerWithoutHemorrhageANDWithoutPerforationButWithObstruction = "31452001";
/// <summary>
/// Literal for code: SpuriousDiarrhea
/// </summary>
public const string LiteralSpuriousDiarrhea = "31499008";
/// <summary>
/// Literal for code: MalakoplakiaOfRectum
/// </summary>
public const string LiteralMalakoplakiaOfRectum = "31595004";
/// <summary>
/// Literal for code: OpenWoundOfAlveolarProcessWithoutComplication
/// </summary>
public const string LiteralOpenWoundOfAlveolarProcessWithoutComplication = "31607006";
/// <summary>
/// Literal for code: AcuteGingivitis
/// </summary>
public const string LiteralAcuteGingivitis = "31642005";
/// <summary>
/// Literal for code: CongenitalAnomalyOfLowerAlimentaryTract
/// </summary>
public const string LiteralCongenitalAnomalyOfLowerAlimentaryTract = "31686000";
/// <summary>
/// Literal for code: ReactiveHypoglycemia
/// </summary>
public const string LiteralReactiveHypoglycemia = "317006";
/// <summary>
/// Literal for code: ResidualHemorrhoidalSkinTags
/// </summary>
public const string LiteralResidualHemorrhoidalSkinTags = "31704005";
/// <summary>
/// Literal for code: PrimaryBiliaryCirrhosis
/// </summary>
public const string LiteralPrimaryBiliaryCirrhosis = "31712002";
/// <summary>
/// Literal for code: ArteriohepaticDysplasia
/// </summary>
public const string LiteralArteriohepaticDysplasia = "31742004";
/// <summary>
/// Literal for code: RadiationStomatitis
/// </summary>
public const string LiteralRadiationStomatitis = "31783001";
/// <summary>
/// Literal for code: HemorrhagicNecrosisOfIntestine
/// </summary>
public const string LiteralHemorrhagicNecrosisOfIntestine = "31841001";
/// <summary>
/// Literal for code: AbscessOfGallbladder
/// </summary>
public const string LiteralAbscessOfGallbladder = "32038009";
/// <summary>
/// Literal for code: AcuteEmphysematousCholecystitis
/// </summary>
public const string LiteralAcuteEmphysematousCholecystitis = "32067005";
/// <summary>
/// Literal for code: RetroilealAppendicitis
/// </summary>
public const string LiteralRetroilealAppendicitis = "32084004";
/// <summary>
/// Literal for code: NecroticEnteritis
/// </summary>
public const string LiteralNecroticEnteritis = "32097002";
/// <summary>
/// Literal for code: AnalDisorder
/// </summary>
public const string LiteralAnalDisorder = "32110003";
/// <summary>
/// Literal for code: MesentericAbscess
/// </summary>
public const string LiteralMesentericAbscess = "32141002";
/// <summary>
/// Literal for code: InternalGastrointestinalFistula
/// </summary>
public const string LiteralInternalGastrointestinalFistula = "32161008";
/// <summary>
/// Literal for code: AnomalousPulmonaryVenousDrainageToHepaticVeins
/// </summary>
public const string LiteralAnomalousPulmonaryVenousDrainageToHepaticVeins = "32194006";
/// <summary>
/// Literal for code: SuperficialForeignBodyOfGumWithoutMajorOpenWoundANDWithoutInfection
/// </summary>
public const string LiteralSuperficialForeignBodyOfGumWithoutMajorOpenWoundANDWithoutInfection = "32200003";
/// <summary>
/// Literal for code: MalabsorptionSyndrome
/// </summary>
public const string LiteralMalabsorptionSyndrome = "32230006";
/// <summary>
/// Literal for code: LeukoplakiaOfGingiva
/// </summary>
public const string LiteralLeukoplakiaOfGingiva = "32236000";
/// <summary>
/// Literal for code: AllergicIleitis
/// </summary>
public const string LiteralAllergicIleitis = "32295003";
/// <summary>
/// Literal for code: IntestinalInfectionByTrichomonasVaginalis
/// </summary>
public const string LiteralIntestinalInfectionByTrichomonasVaginalis = "32298001";
/// <summary>
/// Literal for code: Microdontia
/// </summary>
public const string LiteralMicrodontia = "32337007";
/// <summary>
/// Literal for code: AcuteDuodenalUlcerWithoutHemorrhageANDWithoutPerforation
/// </summary>
public const string LiteralAcuteDuodenalUlcerWithoutHemorrhageANDWithoutPerforation = "32490005";
/// <summary>
/// Literal for code: StaphylococcalEnterocolitis
/// </summary>
public const string LiteralStaphylococcalEnterocolitis = "32527003";
/// <summary>
/// Literal for code: EnterovirusEnteritis
/// </summary>
public const string LiteralEnterovirusEnteritis = "32580004";
/// <summary>
/// Literal for code: Microglossia
/// </summary>
public const string LiteralMicroglossia = "32614006";
/// <summary>
/// Literal for code: Pulpitis
/// </summary>
public const string LiteralPulpitis = "32620007";
/// <summary>
/// Literal for code: OralSubmucosalFibrosis
/// </summary>
public const string LiteralOralSubmucosalFibrosis = "32883009";
/// <summary>
/// Literal for code: RotorSyndrome
/// </summary>
public const string LiteralRotorSyndrome = "32891000";
/// <summary>
/// Literal for code: SuperficialInjuryOfGumWithoutInfection
/// </summary>
public const string LiteralSuperficialInjuryOfGumWithoutInfection = "32900008";
/// <summary>
/// Literal for code: RetainedAntrumSyndrome
/// </summary>
public const string LiteralRetainedAntrumSyndrome = "33020000";
/// <summary>
/// Literal for code: AtrophicHyperplasticGastritis
/// </summary>
public const string LiteralAtrophicHyperplasticGastritis = "3308008";
/// <summary>
/// Literal for code: ParasiticCirrhosis
/// </summary>
public const string LiteralParasiticCirrhosis = "33144001";
/// <summary>
/// Literal for code: ComplicationOfTransplantedLiver
/// </summary>
public const string LiteralComplicationOfTransplantedLiver = "33167004";
/// <summary>
/// Literal for code: IncreasedGallbladderContraction
/// </summary>
public const string LiteralIncreasedGallbladderContraction = "33243000";
/// <summary>
/// Literal for code: CongenitalDuplicationOfDigestiveOrgans
/// </summary>
public const string LiteralCongenitalDuplicationOfDigestiveOrgans = "33257003";
/// <summary>
/// Literal for code: AbscessOfTonsil
/// </summary>
public const string LiteralAbscessOfTonsil = "33261009";
/// <summary>
/// Literal for code: ForeignBodyInAlimentaryTract
/// </summary>
public const string LiteralForeignBodyInAlimentaryTract = "33334006";
/// <summary>
/// Literal for code: ImpactionOfCecum
/// </summary>
public const string LiteralImpactionOfCecum = "33361006";
/// <summary>
/// Literal for code: HyperemesisGravidarumBeforeEndOf22WeekGestationWithElectrolyteImbalance
/// </summary>
public const string LiteralHyperemesisGravidarumBeforeEndOf22WeekGestationWithElectrolyteImbalance = "33370009";
/// <summary>
/// Literal for code: MarshallSyndrome
/// </summary>
public const string LiteralMarshallSyndrome = "33410002";
/// <summary>
/// Literal for code: Pylorospasm
/// </summary>
public const string LiteralPylorospasm = "335002";
/// <summary>
/// Literal for code: ConcrescenceOfTeeth
/// </summary>
public const string LiteralConcrescenceOfTeeth = "33504000";
/// <summary>
/// Literal for code: MalocclusionDueToMouthBreathing
/// </summary>
public const string LiteralMalocclusionDueToMouthBreathing = "33505004";
/// <summary>
/// Literal for code: DieteticGastroenteritis
/// </summary>
public const string LiteralDieteticGastroenteritis = "33687004";
/// <summary>
/// Literal for code: Cholestasis
/// </summary>
public const string LiteralCholestasis = "33688009";
/// <summary>
/// Literal for code: Trichostrongyliasis
/// </summary>
public const string LiteralTrichostrongyliasis = "33710003";
/// <summary>
/// Literal for code: FrictionInjuryOfToothDueToDentifrice
/// </summary>
public const string LiteralFrictionInjuryOfToothDueToDentifrice = "33727006";
/// <summary>
/// Literal for code: Pseudoptyalism
/// </summary>
public const string LiteralPseudoptyalism = "3376008";
/// <summary>
/// Literal for code: StrictureOfDuodenum
/// </summary>
public const string LiteralStrictureOfDuodenum = "33812003";
/// <summary>
/// Literal for code: DiverticulitisOfDuodenum
/// </summary>
public const string LiteralDiverticulitisOfDuodenum = "33838003";
/// <summary>
/// Literal for code: DecreasedNauseaAndVomiting
/// </summary>
public const string LiteralDecreasedNauseaAndVomiting = "33841007";
/// <summary>
/// Literal for code: AirSickness
/// </summary>
public const string LiteralAirSickness = "33902006";
/// <summary>
/// Literal for code: AcuteIschemicEnteritis
/// </summary>
public const string LiteralAcuteIschemicEnteritis = "33906009";
/// <summary>
/// Literal for code: InjuryOfLip
/// </summary>
public const string LiteralInjuryOfLip = "33931005";
/// <summary>
/// Literal for code: SoftDepositOnTeeth
/// </summary>
public const string LiteralSoftDepositOnTeeth = "33983003";
/// <summary>
/// Literal for code: EctopicParotidGlandTissue
/// </summary>
public const string LiteralEctopicParotidGlandTissue = "33990008";
/// <summary>
/// Literal for code: MegacolonNotHirschsprungQuoteS
/// </summary>
public const string LiteralMegacolonNotHirschsprungQuoteS = "33995003";
/// <summary>
/// Literal for code: AneurysmOfGastroduodenalArtery
/// </summary>
public const string LiteralAneurysmOfGastroduodenalArtery = "33997006";
/// <summary>
/// Literal for code: CrohnQuoteSDisease
/// </summary>
public const string LiteralCrohnQuoteSDisease = "34000006";
/// <summary>
/// Literal for code: ChronicDuodenalUlcerWithHemorrhageANDObstruction
/// </summary>
public const string LiteralChronicDuodenalUlcerWithHemorrhageANDObstruction = "34021006";
/// <summary>
/// Literal for code: FaucialDiphtheria
/// </summary>
public const string LiteralFaucialDiphtheria = "3419005";
/// <summary>
/// Literal for code: Pseudodiarrhea
/// </summary>
public const string LiteralPseudodiarrhea = "34231006";
/// <summary>
/// Literal for code: InfectionByDiphyllobothriumPacificum
/// </summary>
public const string LiteralInfectionByDiphyllobothriumPacificum = "34240005";
/// <summary>
/// Literal for code: SuperficialGingivalUlcer
/// </summary>
public const string LiteralSuperficialGingivalUlcer = "34255001";
/// <summary>
/// Literal for code: FourthDegreePerinealLacerationInvolvingRectalMucosa
/// </summary>
public const string LiteralFourthDegreePerinealLacerationInvolvingRectalMucosa = "34262005";
/// <summary>
/// Literal for code: PeriradicularDisease
/// </summary>
public const string LiteralPeriradicularDisease = "34282009";
/// <summary>
/// Literal for code: EmpyemaWithHepatopleuralFistula
/// </summary>
public const string LiteralEmpyemaWithHepatopleuralFistula = "34286007";
/// <summary>
/// Literal for code: AcuteCholecystitisWithoutCalculus
/// </summary>
public const string LiteralAcuteCholecystitisWithoutCalculus = "34346002";
/// <summary>
/// Literal for code: FailedAttemptedAbortionWithPerforationOfBowel
/// </summary>
public const string LiteralFailedAttemptedAbortionWithPerforationOfBowel = "34367002";
/// <summary>
/// Literal for code: LooseningOfTooth
/// </summary>
public const string LiteralLooseningOfTooth = "34570004";
/// <summary>
/// Literal for code: DuodenalUlcerWithoutHemorrhageWithoutPerforationANDWithoutObstruction
/// </summary>
public const string LiteralDuodenalUlcerWithoutHemorrhageWithoutPerforationANDWithoutObstruction = "34580000";
/// <summary>
/// Literal for code: SharpTooth
/// </summary>
public const string LiteralSharpTooth = "34589004";
/// <summary>
/// Literal for code: ChronicDuodenalUlcerWithPerforationButWithoutObstruction
/// </summary>
public const string LiteralChronicDuodenalUlcerWithPerforationButWithoutObstruction = "34602004";
/// <summary>
/// Literal for code: NeurologicUnpleasantTaste
/// </summary>
public const string LiteralNeurologicUnpleasantTaste = "346138009";
/// <summary>
/// Literal for code: InfectionByOesophagostomumDentatum
/// </summary>
public const string LiteralInfectionByOesophagostomumDentatum = "3464007";
/// <summary>
/// Literal for code: ChronicPassiveCongestionOfLiver
/// </summary>
public const string LiteralChronicPassiveCongestionOfLiver = "34736002";
/// <summary>
/// Literal for code: CandidalProctitis
/// </summary>
public const string LiteralCandidalProctitis = "34786008";
/// <summary>
/// Literal for code: InjuryOfLiverWithoutOpenWoundIntoAbdominalCavity
/// </summary>
public const string LiteralInjuryOfLiverWithoutOpenWoundIntoAbdominalCavity = "34798003";
/// <summary>
/// Literal for code: PostoperativeEsophagitis
/// </summary>
public const string LiteralPostoperativeEsophagitis = "3482005";
/// <summary>
/// Literal for code: CongenitalStenosisOfChoanae
/// </summary>
public const string LiteralCongenitalStenosisOfChoanae = "34821005";
/// <summary>
/// Literal for code: ChronicPepticUlcerWithPerforation
/// </summary>
public const string LiteralChronicPepticUlcerWithPerforation = "3483000";
/// <summary>
/// Literal for code: BurnOfRectum
/// </summary>
public const string LiteralBurnOfRectum = "34903006";
/// <summary>
/// Literal for code: AcutePepticUlcerWithPerforationButWithoutObstruction
/// </summary>
public const string LiteralAcutePepticUlcerWithPerforationButWithoutObstruction = "34921009";
/// <summary>
/// Literal for code: SelfInducedVomiting
/// </summary>
public const string LiteralSelfInducedVomiting = "34923007";
/// <summary>
/// Literal for code: Gastroesophagitis
/// </summary>
public const string LiteralGastroesophagitis = "35023000";
/// <summary>
/// Literal for code: PrimaryChronicPseudoObstructionOfColon
/// </summary>
public const string LiteralPrimaryChronicPseudoObstructionOfColon = "35065006";
/// <summary>
/// Literal for code: ChronicIdiopathicAnalPain
/// </summary>
public const string LiteralChronicIdiopathicAnalPain = "35074008";
/// <summary>
/// Literal for code: InjuryOfIleocolicArtery
/// </summary>
public const string LiteralInjuryOfIleocolicArtery = "35095003";
/// <summary>
/// Literal for code: HypoplasiaOfCementum
/// </summary>
public const string LiteralHypoplasiaOfCementum = "35156002";
/// <summary>
/// Literal for code: GrossQuoteDisease
/// </summary>
public const string LiteralGrossQuoteDisease = "35217003";
/// <summary>
/// Literal for code: SuperficialNonerosiveNonspecificGastritis
/// </summary>
public const string LiteralSuperficialNonerosiveNonspecificGastritis = "35223008";
/// <summary>
/// Literal for code: AnorectalCellulitis
/// </summary>
public const string LiteralAnorectalCellulitis = "35246005";
/// <summary>
/// Literal for code: MalloryWeissSyndrome
/// </summary>
public const string LiteralMalloryWeissSyndrome = "35265002";
/// <summary>
/// Literal for code: CongenitalDuplicationOfAppendix
/// </summary>
public const string LiteralCongenitalDuplicationOfAppendix = "35266001";
/// <summary>
/// Literal for code: ColonicConstipation
/// </summary>
public const string LiteralColonicConstipation = "35298007";
/// <summary>
/// Literal for code: BurnOfPharynx
/// </summary>
public const string LiteralBurnOfPharynx = "35447004";
/// <summary>
/// Literal for code: DilacerationOfTooth
/// </summary>
public const string LiteralDilacerationOfTooth = "35452009";
/// <summary>
/// Literal for code: PancreaticAcinarAtrophy
/// </summary>
public const string LiteralPancreaticAcinarAtrophy = "3549009";
/// <summary>
/// Literal for code: GastrojejunalUlcerWithoutHemorrhageWithoutPerforationANDWithoutObstruction
/// </summary>
public const string LiteralGastrojejunalUlcerWithoutHemorrhageWithoutPerforationANDWithoutObstruction = "35517004";
/// <summary>
/// Literal for code: PostoperativeGingivalRecession
/// </summary>
public const string LiteralPostoperativeGingivalRecession = "35541001";
/// <summary>
/// Literal for code: DuodenalUlcerWithHemorrhageButWithoutObstruction
/// </summary>
public const string LiteralDuodenalUlcerWithHemorrhageButWithoutObstruction = "35560008";
/// <summary>
/// Literal for code: AcquiredDiverticulumOfEsophagus
/// </summary>
public const string LiteralAcquiredDiverticulumOfEsophagus = "35563005";
/// <summary>
/// Literal for code: Cholangiolitis
/// </summary>
public const string LiteralCholangiolitis = "35571009";
/// <summary>
/// Literal for code: OpenBite
/// </summary>
public const string LiteralOpenBite = "35580009";
/// <summary>
/// Literal for code: MesentericInfarction
/// </summary>
public const string LiteralMesentericInfarction = "3558002";
/// <summary>
/// Literal for code: AcutePepticUlcerWithPerforationANDObstruction
/// </summary>
public const string LiteralAcutePepticUlcerWithPerforationANDObstruction = "35681000";
/// <summary>
/// Literal for code: ImpairedIntestinalCarbohydrateAbsorption
/// </summary>
public const string LiteralImpairedIntestinalCarbohydrateAbsorption = "35758009";
/// <summary>
/// Literal for code: MesenteroaxialGastricVolvulus
/// </summary>
public const string LiteralMesenteroaxialGastricVolvulus = "35865007";
/// <summary>
/// Literal for code: EnteroentericFistula
/// </summary>
public const string LiteralEnteroentericFistula = "3590007";
/// <summary>
/// Literal for code: CryptococcalGastroenteritis
/// </summary>
public const string LiteralCryptococcalGastroenteritis = "35974005";
/// <summary>
/// Literal for code: CapillariaHepaticaInfection
/// </summary>
public const string LiteralCapillariaHepaticaInfection = "36001007";
/// <summary>
/// Literal for code: ChemicalEsophagitis
/// </summary>
public const string LiteralChemicalEsophagitis = "36151004";
/// <summary>
/// Literal for code: HepatitisInCoxsackieViralDisease
/// </summary>
public const string LiteralHepatitisInCoxsackieViralDisease = "36155008";
/// <summary>
/// Literal for code: HyperplasticAdenomatousPolypOfStomach
/// </summary>
public const string LiteralHyperplasticAdenomatousPolypOfStomach = "36162004";
/// <summary>
/// Literal for code: Shigellosis
/// </summary>
public const string LiteralShigellosis = "36188001";
/// <summary>
/// Literal for code: FractureOfTooth
/// </summary>
public const string LiteralFractureOfTooth = "36202009";
/// <summary>
/// Literal for code: ChronicGastricUlcerWithPerforationButWithoutObstruction
/// </summary>
public const string LiteralChronicGastricUlcerWithPerforationButWithoutObstruction = "36246001";
/// <summary>
/// Literal for code: DrugInducedMalabsorption
/// </summary>
public const string LiteralDrugInducedMalabsorption = "36261000";
/// <summary>
/// Literal for code: Cheilodynia
/// </summary>
public const string LiteralCheilodynia = "36269003";
/// <summary>
/// Literal for code: VascularEctasiaOfCecum
/// </summary>
public const string LiteralVascularEctasiaOfCecum = "36304008";
/// <summary>
/// Literal for code: HymenolepisDiminutaInfection
/// </summary>
public const string LiteralHymenolepisDiminutaInfection = "36334003";
/// <summary>
/// Literal for code: AbnormalIntestinalAbsorption
/// </summary>
public const string LiteralAbnormalIntestinalAbsorption = "36355001";
/// <summary>
/// Literal for code: CongenitalAbsenceOfEsophagus
/// </summary>
public const string LiteralCongenitalAbsenceOfEsophagus = "36376006";
/// <summary>
/// Literal for code: Glossoptosis
/// </summary>
public const string LiteralGlossoptosis = "3639002";
/// <summary>
/// Literal for code: CalculusOfBileDuctWithCholecystitis
/// </summary>
public const string LiteralCalculusOfBileDuctWithCholecystitis = "36483003";
/// <summary>
/// Literal for code: CongenitalAbsenceOfLiver
/// </summary>
public const string LiteralCongenitalAbsenceOfLiver = "3650004";
/// <summary>
/// Literal for code: IntestinalInfectionDueToMorganellaMorganii
/// </summary>
public const string LiteralIntestinalInfectionDueToMorganellaMorganii = "36529003";
/// <summary>
/// Literal for code: CongenitalDuplicationOfCysticDuct
/// </summary>
public const string LiteralCongenitalDuplicationOfCysticDuct = "36619004";
/// <summary>
/// Literal for code: Hepatomphalocele
/// </summary>
public const string LiteralHepatomphalocele = "36631002";
/// <summary>
/// Literal for code: Hepatosplenomegaly
/// </summary>
public const string LiteralHepatosplenomegaly = "36760000";
/// <summary>
/// Literal for code: AcuteInfectiveGastroenteritis
/// </summary>
public const string LiteralAcuteInfectiveGastroenteritis = "36789003";
/// <summary>
/// Literal for code: EsophagealChestPain
/// </summary>
public const string LiteralEsophagealChestPain = "36859004";
/// <summary>
/// Literal for code: HartnupDisorderRenalJejunalType
/// </summary>
public const string LiteralHartnupDisorderRenalJejunalType = "36891003";
/// <summary>
/// Literal for code: VesicularStomatitis
/// </summary>
public const string LiteralVesicularStomatitis = "36921006";
/// <summary>
/// Literal for code: Ageusia
/// </summary>
public const string LiteralAgeusia = "36955009";
/// <summary>
/// Literal for code: NonulcerDyspepsia
/// </summary>
public const string LiteralNonulcerDyspepsia = "3696007";
/// <summary>
/// Literal for code: ChronicDuodenalUlcerWithHemorrhageANDPerforation
/// </summary>
public const string LiteralChronicDuodenalUlcerWithHemorrhageANDPerforation = "36975000";
/// <summary>
/// Literal for code: MotionSickness
/// </summary>
public const string LiteralMotionSickness = "37031009";
/// <summary>
/// Literal for code: CongenitalAtresiaOfColon
/// </summary>
public const string LiteralCongenitalAtresiaOfColon = "37054000";
/// <summary>
/// Literal for code: PsychogenicVomiting
/// </summary>
public const string LiteralPsychogenicVomiting = "37224001";
/// <summary>
/// Literal for code: AcquiredAbsenceOfTeeth
/// </summary>
public const string LiteralAcquiredAbsenceOfTeeth = "37320007";
/// <summary>
/// Literal for code: FistulaOfAppendix
/// </summary>
public const string LiteralFistulaOfAppendix = "37369009";
/// <summary>
/// Literal for code: UpperGastrointestinalHemorrhage
/// </summary>
public const string LiteralUpperGastrointestinalHemorrhage = "37372002";
/// <summary>
/// Literal for code: MeckelQuoteSDiverticulum
/// </summary>
public const string LiteralMeckelQuoteSDiverticulum = "37373007";
/// <summary>
/// Literal for code: ViralHepatitis
/// </summary>
public const string LiteralViralHepatitis = "3738000";
/// <summary>
/// Literal for code: FailureOfRotationOfColon
/// </summary>
public const string LiteralFailureOfRotationOfColon = "37404003";
/// <summary>
/// Literal for code: PerforationOfBileDuct
/// </summary>
public const string LiteralPerforationOfBileDuct = "37439003";
/// <summary>
/// Literal for code: PepticUlcerWithoutHemorrhageANDWithoutPerforation
/// </summary>
public const string LiteralPepticUlcerWithoutHemorrhageANDWithoutPerforation = "37442009";
/// <summary>
/// Literal for code: RuptureOfRectum
/// </summary>
public const string LiteralRuptureOfRectum = "37502002";
/// <summary>
/// Literal for code: Trichuriasis
/// </summary>
public const string LiteralTrichuriasis = "3752003";
/// <summary>
/// Literal for code: MalrotationOfCecum
/// </summary>
public const string LiteralMalrotationOfCecum = "37528004";
/// <summary>
/// Literal for code: DisorderOfEsophagus
/// </summary>
public const string LiteralDisorderOfEsophagus = "37657006";
/// <summary>
/// Literal for code: GlycogenStorageDiseaseTypeX
/// </summary>
public const string LiteralGlycogenStorageDiseaseTypeX = "37666005";
/// <summary>
/// Literal for code: ClonorchiasisWithBiliaryCirrhosis
/// </summary>
public const string LiteralClonorchiasisWithBiliaryCirrhosis = "37688005";
/// <summary>
/// Literal for code: CausticInjuryGastritis
/// </summary>
public const string LiteralCausticInjuryGastritis = "37693008";
/// <summary>
/// Literal for code: EctopicHyperinsulinism
/// </summary>
public const string LiteralEctopicHyperinsulinism = "37703005";
/// <summary>
/// Literal for code: EnamelPearls
/// </summary>
public const string LiteralEnamelPearls = "3783004";
/// <summary>
/// Literal for code: GastrointestinalFistula
/// </summary>
public const string LiteralGastrointestinalFistula = "37831005";
/// <summary>
/// Literal for code: InfectionByMetagonimusYokogawai
/// </summary>
public const string LiteralInfectionByMetagonimusYokogawai = "37832003";
/// <summary>
/// Literal for code: AcuteHepatitis
/// </summary>
public const string LiteralAcuteHepatitis = "37871000";
/// <summary>
/// Literal for code: PeriodontalCyst
/// </summary>
public const string LiteralPeriodontalCyst = "3797007";
/// <summary>
/// Literal for code: GallstoneIleus
/// </summary>
public const string LiteralGallstoneIleus = "37976006";
/// <summary>
/// Literal for code: PancreaticInsufficiency
/// </summary>
public const string LiteralPancreaticInsufficiency = "37992001";
/// <summary>
/// Literal for code: NonpersistenceOfIntestinalLactase
/// </summary>
public const string LiteralNonpersistenceOfIntestinalLactase = "38032004";
/// <summary>
/// Literal for code: ProlapsedExternalHemorrhoids
/// </summary>
public const string LiteralProlapsedExternalHemorrhoids = "38059007";
/// <summary>
/// Literal for code: AsepticNecrosisOfPancreas
/// </summary>
public const string LiteralAsepticNecrosisOfPancreas = "38079004";
/// <summary>
/// Literal for code: RotationOfTooth
/// </summary>
public const string LiteralRotationOfTooth = "38089000";
/// <summary>
/// Literal for code: CrohnQuoteSDiseaseOfIleum
/// </summary>
public const string LiteralCrohnQuoteSDiseaseOfIleum = "38106008";
/// <summary>
/// Literal for code: CrohnQuoteSDiseaseOfRectum
/// </summary>
public const string LiteralCrohnQuoteSDiseaseOfRectum = "3815005";
/// <summary>
/// Literal for code: GarlicTaste
/// </summary>
public const string LiteralGarlicTaste = "38175008";
/// <summary>
/// Literal for code: DiarrheaInDiabetes
/// </summary>
public const string LiteralDiarrheaInDiabetes = "38205001";
/// <summary>
/// Literal for code: InternalHemorrhoidsWithoutComplication
/// </summary>
public const string LiteralInternalHemorrhoidsWithoutComplication = "38214006";
/// <summary>
/// Literal for code: OculodentodigitalSyndrome
/// </summary>
public const string LiteralOculodentodigitalSyndrome = "38215007";
/// <summary>
/// Literal for code: ParalysisOfTongue
/// </summary>
public const string LiteralParalysisOfTongue = "38228000";
/// <summary>
/// Literal for code: IrregularAlveolarProcess
/// </summary>
public const string LiteralIrregularAlveolarProcess = "38285004";
/// <summary>
/// Literal for code: InfectionByEchinostomaLindoense
/// </summary>
public const string LiteralInfectionByEchinostomaLindoense = "38302000";
/// <summary>
/// Literal for code: StellateLacerationOfLiverWithOpenWoundIntoAbdominalCavity
/// </summary>
public const string LiteralStellateLacerationOfLiverWithOpenWoundIntoAbdominalCavity = "38306002";
/// <summary>
/// Literal for code: PepticUlcerWithoutHemorrhageWithoutPerforationANDWithoutObstruction
/// </summary>
public const string LiteralPepticUlcerWithoutHemorrhageWithoutPerforationANDWithoutObstruction = "38365000";
/// <summary>
/// Literal for code: GastroesophagealIntussusception
/// </summary>
public const string LiteralGastroesophagealIntussusception = "38397000";
/// <summary>
/// Literal for code: TuberculosisOfLargeIntestine
/// </summary>
public const string LiteralTuberculosisOfLargeIntestine = "38420005";
/// <summary>
/// Literal for code: PyostomatitisVegetans
/// </summary>
public const string LiteralPyostomatitisVegetans = "38438008";
/// <summary>
/// Literal for code: CongenitalDuplicationOfIntestine
/// </summary>
public const string LiteralCongenitalDuplicationOfIntestine = "3845008";
/// <summary>
/// Literal for code: PhlegmonousStomatitisANDCellulitis
/// </summary>
public const string LiteralPhlegmonousStomatitisANDCellulitis = "38541002";
/// <summary>
/// Literal for code: DisorderOfPancreas
/// </summary>
public const string LiteralDisorderOfPancreas = "3855007";
/// <summary>
/// Literal for code: PharyngealPituitaryTissue
/// </summary>
public const string LiteralPharyngealPituitaryTissue = "38632003";
/// <summary>
/// Literal for code: DigestiveSystemFinding
/// </summary>
public const string LiteralDigestiveSystemFinding = "386617003";
/// <summary>
/// Literal for code: ChronicPersistentTypeBViralHepatitis
/// </summary>
public const string LiteralChronicPersistentTypeBViralHepatitis = "38662009";
/// <summary>
/// Literal for code: ConcealedVomiting
/// </summary>
public const string LiteralConcealedVomiting = "38685005";
/// <summary>
/// Literal for code: StenosisOfGallbladder
/// </summary>
public const string LiteralStenosisOfGallbladder = "38712009";
/// <summary>
/// Literal for code: FailedAttemptedAbortionWithAcuteYellowAtrophyOfLiver
/// </summary>
public const string LiteralFailedAttemptedAbortionWithAcuteYellowAtrophyOfLiver = "3873005";
/// <summary>
/// Literal for code: HepaticVeinThrombosis
/// </summary>
public const string LiteralHepaticVeinThrombosis = "38739001";
/// <summary>
/// Literal for code: FistulaOfIntestine
/// </summary>
public const string LiteralFistulaOfIntestine = "38851006";
/// <summary>
/// Literal for code: CongenitalAnomalyOfAppendix
/// </summary>
public const string LiteralCongenitalAnomalyOfAppendix = "38856001";
/// <summary>
/// Literal for code: CongenitalFecaliths
/// </summary>
public const string LiteralCongenitalFecaliths = "3886001";
/// <summary>
/// Literal for code: OpenWoundOfGumWithoutComplication
/// </summary>
public const string LiteralOpenWoundOfGumWithoutComplication = "38906007";
/// <summary>
/// Literal for code: AcuteUpperGastrointestinalHemorrhage
/// </summary>
public const string LiteralAcuteUpperGastrointestinalHemorrhage = "38938002";
/// <summary>
/// Literal for code: FailedAttemptedAbortionWithLacerationOfBowel
/// </summary>
public const string LiteralFailedAttemptedAbortionWithLacerationOfBowel = "38951007";
/// <summary>
/// Literal for code: InjuryOfSigmoidColonWithoutOpenWoundIntoAbdominalCavity
/// </summary>
public const string LiteralInjuryOfSigmoidColonWithoutOpenWoundIntoAbdominalCavity = "38972005";
/// <summary>
/// Literal for code: AcquiredEsophagocele
/// </summary>
public const string LiteralAcquiredEsophagocele = "38982006";
/// <summary>
/// Literal for code: NeutropenicTyphlitis
/// </summary>
public const string LiteralNeutropenicTyphlitis = "3899003";
/// <summary>
/// Literal for code: TrichoDentoOsseousSyndrome
/// </summary>
public const string LiteralTrichoDentoOsseousSyndrome = "38993008";
/// <summary>
/// Literal for code: ExternalHemorrhoidsWithoutComplication
/// </summary>
public const string LiteralExternalHemorrhoidsWithoutComplication = "38996000";
/// <summary>
/// Literal for code: PrematureSheddingOfPrimaryTooth
/// </summary>
public const string LiteralPrematureSheddingOfPrimaryTooth = "39034005";
/// <summary>
/// Literal for code: InjuryOfGastrointestinalTractWithOpenWoundIntoAbdominalCavity
/// </summary>
public const string LiteralInjuryOfGastrointestinalTractWithOpenWoundIntoAbdominalCavity = "3913002";
/// <summary>
/// Literal for code: CholecystoduodenalFistula
/// </summary>
public const string LiteralCholecystoduodenalFistula = "39170005";
/// <summary>
/// Literal for code: PyloricUlcer
/// </summary>
public const string LiteralPyloricUlcer = "39204006";
/// <summary>
/// Literal for code: InfectiousPancreatitis
/// </summary>
public const string LiteralInfectiousPancreatitis = "39205007";
/// <summary>
/// Literal for code: UlcerativePharyngitis
/// </summary>
public const string LiteralUlcerativePharyngitis = "39271004";
/// <summary>
/// Literal for code: ApicalPeriodontitis
/// </summary>
public const string LiteralApicalPeriodontitis = "39273001";
/// <summary>
/// Literal for code: TuberculosisOfAnus
/// </summary>
public const string LiteralTuberculosisOfAnus = "39306006";
/// <summary>
/// Literal for code: HyperplasiaOfAdenoids
/// </summary>
public const string LiteralHyperplasiaOfAdenoids = "39323002";
/// <summary>
/// Literal for code: MalakoplakiaOfIleum
/// </summary>
public const string LiteralMalakoplakiaOfIleum = "39326005";
/// <summary>
/// Literal for code: InfectiousColitis
/// </summary>
public const string LiteralInfectiousColitis = "39341005";
/// <summary>
/// Literal for code: AcuteErosionOfDuodenum
/// </summary>
public const string LiteralAcuteErosionOfDuodenum = "39344002";
/// <summary>
/// Literal for code: CompressionOfEsophagus
/// </summary>
public const string LiteralCompressionOfEsophagus = "39392002";
/// <summary>
/// Literal for code: InjuryOfLiver
/// </summary>
public const string LiteralInjuryOfLiver = "39400004";
/// <summary>
/// Literal for code: CongenitalStrictureOfRectum
/// </summary>
public const string LiteralCongenitalStrictureOfRectum = "39476006";
/// <summary>
/// Literal for code: Proctitis
/// </summary>
public const string LiteralProctitis = "3951002";
/// <summary>
/// Literal for code: GallbladderDisorder
/// </summary>
public const string LiteralGallbladderDisorder = "39621005";
/// <summary>
/// Literal for code: FocalEpithelialHyperplasiaOfTongue
/// </summary>
public const string LiteralFocalEpithelialHyperplasiaOfTongue = "39634006";
/// <summary>
/// Literal for code: AcuteCecitisWithPerforationANDPeritonitis
/// </summary>
public const string LiteralAcuteCecitisWithPerforationANDPeritonitis = "39642007";
/// <summary>
/// Literal for code: AbnormalSmallIntestineSecretion
/// </summary>
public const string LiteralAbnormalSmallIntestineSecretion = "39666001";
/// <summary>
/// Literal for code: NormalGastricSecretionRegulation
/// </summary>
public const string LiteralNormalGastricSecretionRegulation = "39683005";
/// <summary>
/// Literal for code: TranspositionOfIntestine
/// </summary>
public const string LiteralTranspositionOfIntestine = "39719008";
/// <summary>
/// Literal for code: EnteritisNecroticans
/// </summary>
public const string LiteralEnteritisNecroticans = "39747007";
/// <summary>
/// Literal for code: CurlingQuoteSUlcers
/// </summary>
public const string LiteralCurlingQuoteSUlcers = "39755000";
/// <summary>
/// Literal for code: RectalPolyp
/// </summary>
public const string LiteralRectalPolyp = "39772007";
/// <summary>
/// Literal for code: EctrodactylyEctodermalDysplasiaCleftingSyndrome
/// </summary>
public const string LiteralEctrodactylyEctodermalDysplasiaCleftingSyndrome = "39788007";
/// <summary>
/// Literal for code: InfantileDiarrhea
/// </summary>
public const string LiteralInfantileDiarrhea = "39963006";
/// <summary>
/// Literal for code: VernerMorrisonSyndrome
/// </summary>
public const string LiteralVernerMorrisonSyndrome = "39998009";
/// <summary>
/// Literal for code: CongenitalHyperplasiaOfIntrahepaticBileDuct
/// </summary>
public const string LiteralCongenitalHyperplasiaOfIntrahepaticBileDuct = "40028009";
/// <summary>
/// Literal for code: IntestinovesicalFistula
/// </summary>
public const string LiteralIntestinovesicalFistula = "40046003";
/// <summary>
/// Literal for code: CongenitalMacrostomia
/// </summary>
public const string LiteralCongenitalMacrostomia = "40159009";
/// <summary>
/// Literal for code: SuperficialInjuryOfLipWithoutInfection
/// </summary>
public const string LiteralSuperficialInjuryOfLipWithoutInfection = "40194002";
/// <summary>
/// Literal for code: FloatingLiver
/// </summary>
public const string LiteralFloatingLiver = "40210001";
/// <summary>
/// Literal for code: ChronicDuodenalUlcerWithoutHemorrhageANDWithoutPerforation
/// </summary>
public const string LiteralChronicDuodenalUlcerWithoutHemorrhageANDWithoutPerforation = "40214005";
/// <summary>
/// Literal for code: GeminationOfTeeth
/// </summary>
public const string LiteralGeminationOfTeeth = "40273006";
/// <summary>
/// Literal for code: AnnularPancreas
/// </summary>
public const string LiteralAnnularPancreas = "40315008";
/// <summary>
/// Literal for code: CongenitalHepatomegaly
/// </summary>
public const string LiteralCongenitalHepatomegaly = "407000";
/// <summary>
/// Literal for code: ToothChattering
/// </summary>
public const string LiteralToothChattering = "408005";
/// <summary>
/// Literal for code: CongenitalDuplicationOfAnus
/// </summary>
public const string LiteralCongenitalDuplicationOfAnus = "4195003";
/// <summary>
/// Literal for code: SuppurativePulpitis
/// </summary>
public const string LiteralSuppurativePulpitis = "4237001";
/// <summary>
/// Literal for code: ChronicPericoronitis
/// </summary>
public const string LiteralChronicPericoronitis = "4264000";
/// <summary>
/// Literal for code: ChronicGastrojejunalUlcerWithoutHemorrhageANDWithoutPerforation
/// </summary>
public const string LiteralChronicGastrojejunalUlcerWithoutHemorrhageANDWithoutPerforation = "4269005";
/// <summary>
/// Literal for code: MirizziQuoteSSyndrome
/// </summary>
public const string LiteralMirizziQuoteSSyndrome = "4283007";
/// <summary>
/// Literal for code: GingivalRecession
/// </summary>
public const string LiteralGingivalRecession = "4356008";
/// <summary>
/// Literal for code: PartialCongenitalDuodenalObstruction
/// </summary>
public const string LiteralPartialCongenitalDuodenalObstruction = "4397001";
/// <summary>
/// Literal for code: AcuteHemorrhagicPancreatitis
/// </summary>
public const string LiteralAcuteHemorrhagicPancreatitis = "4399003";
/// <summary>
/// Literal for code: HeerfordtQuoteSSyndrome
/// </summary>
public const string LiteralHeerfordtQuoteSSyndrome = "4416007";
/// <summary>
/// Literal for code: AbnormalGastricSecretionRegulation
/// </summary>
public const string LiteralAbnormalGastricSecretionRegulation = "4481007";
/// <summary>
/// Literal for code: DiverticulitisOfLargeIntestine
/// </summary>
public const string LiteralDiverticulitisOfLargeIntestine = "4494009";
/// <summary>
/// Literal for code: UlcerativeStomatitis
/// </summary>
public const string LiteralUlcerativeStomatitis = "450005";
/// <summary>
/// Literal for code: DentalPlaque
/// </summary>
public const string LiteralDentalPlaque = "4522001";
/// <summary>
/// Literal for code: Gastritis
/// </summary>
public const string LiteralGastritis = "4556007";
/// <summary>
/// Literal for code: IntrahepaticCholestasis
/// </summary>
public const string LiteralIntrahepaticCholestasis = "4637005";
/// <summary>
/// Literal for code: PosteruptiveColorChangeOfTooth
/// </summary>
public const string LiteralPosteruptiveColorChangeOfTooth = "4654002";
/// <summary>
/// Literal for code: CalculusOfBileDuctWithObstruction
/// </summary>
public const string LiteralCalculusOfBileDuctWithObstruction = "4661003";
/// <summary>
/// Literal for code: CongenitalAnomalyOfBileDucts
/// </summary>
public const string LiteralCongenitalAnomalyOfBileDucts = "4711003";
/// <summary>
/// Literal for code: TyphoidFever
/// </summary>
public const string LiteralTyphoidFever = "4834000";
/// <summary>
/// Literal for code: AnictericViralHepatitis
/// </summary>
public const string LiteralAnictericViralHepatitis = "4846001";
/// <summary>
/// Literal for code: AcuteToxicHepatitis
/// </summary>
public const string LiteralAcuteToxicHepatitis = "4896000";
/// <summary>
/// Literal for code: AcuteObstructiveAppendicitis
/// </summary>
public const string LiteralAcuteObstructiveAppendicitis = "4998000";
/// <summary>
/// Literal for code: AbsentExcretoryFunction
/// </summary>
public const string LiteralAbsentExcretoryFunction = "5033003";
/// <summary>
/// Literal for code: HypertrophyOfFoliatePapillae
/// </summary>
public const string LiteralHypertrophyOfFoliatePapillae = "5126000";
/// <summary>
/// Literal for code: AcquiredPulsionDiverticulumOfEsophagus
/// </summary>
public const string LiteralAcquiredPulsionDiverticulumOfEsophagus = "5144008";
/// <summary>
/// Literal for code: EctopicAnus
/// </summary>
public const string LiteralEctopicAnus = "5153001";
/// <summary>
/// Literal for code: ForeignBodyInHypopharynx
/// </summary>
public const string LiteralForeignBodyInHypopharynx = "517007";
/// <summary>
/// Literal for code: UlceratedHemorrhoids
/// </summary>
public const string LiteralUlceratedHemorrhoids = "5201002";
/// <summary>
/// Literal for code: PharyngealGagReflexNegative
/// </summary>
public const string LiteralPharyngealGagReflexNegative = "5258001";
/// <summary>
/// Literal for code: GlissonianCirrhosis
/// </summary>
public const string LiteralGlissonianCirrhosis = "536002";
/// <summary>
/// Literal for code: TranspositionOfAppendix
/// </summary>
public const string LiteralTranspositionOfAppendix = "5432003";
/// <summary>
/// Literal for code: ChronicPepticUlcerWithoutHemorrhageANDWithoutPerforation
/// </summary>
public const string LiteralChronicPepticUlcerWithoutHemorrhageANDWithoutPerforation = "5492000";
/// <summary>
/// Literal for code: AcutePulpitis
/// </summary>
public const string LiteralAcutePulpitis = "5494004";
/// <summary>
/// Literal for code: EndometriosisOfIntestine
/// </summary>
public const string LiteralEndometriosisOfIntestine = "5562006";
/// <summary>
/// Literal for code: LegalAbortionWithLacerationOfBowel
/// </summary>
public const string LiteralLegalAbortionWithLacerationOfBowel = "5577003";
/// <summary>
/// Literal for code: AtypicalAppendicitis
/// </summary>
public const string LiteralAtypicalAppendicitis = "5596004";
/// <summary>
/// Literal for code: AbnormalGastricMotility
/// </summary>
public const string LiteralAbnormalGastricMotility = "5631002";
/// <summary>
/// Literal for code: LateToothEruption
/// </summary>
public const string LiteralLateToothEruption = "5639000";
/// <summary>
/// Literal for code: HunterQuoteSSyndromeMildForm
/// </summary>
public const string LiteralHunterQuoteSSyndromeMildForm = "5667009";
/// <summary>
/// Literal for code: ChronicPeriodontitis
/// </summary>
public const string LiteralChronicPeriodontitis = "5689008";
/// <summary>
/// Literal for code: CicatrixOfAdenoid
/// </summary>
public const string LiteralCicatrixOfAdenoid = "5791006";
/// <summary>
/// Literal for code: LegalAbortionWithAcuteYellowAtrophyOfLiver
/// </summary>
public const string LiteralLegalAbortionWithAcuteYellowAtrophyOfLiver = "5792004";
/// <summary>
/// Literal for code: BolusImpaction
/// </summary>
public const string LiteralBolusImpaction = "5805002";
/// <summary>
/// Literal for code: AcuteIschemicEnterocolitis
/// </summary>
public const string LiteralAcuteIschemicEnterocolitis = "5820008";
/// <summary>
/// Literal for code: RaspberryTongue
/// </summary>
public const string LiteralRaspberryTongue = "5920007";
/// <summary>
/// Literal for code: RectalDisorder
/// </summary>
public const string LiteralRectalDisorder = "5964004";
/// <summary>
/// Literal for code: SuperficialForeignBodyOfAnusWithoutMajorOpenWoundButWithInfection
/// </summary>
public const string LiteralSuperficialForeignBodyOfAnusWithoutMajorOpenWoundButWithInfection = "5985004";
/// <summary>
/// Literal for code: SuperficialForeignBodyOfLipWithoutMajorOpenWoundANDWithoutInfection
/// </summary>
public const string LiteralSuperficialForeignBodyOfLipWithoutMajorOpenWoundANDWithoutInfection = "6045004";
/// <summary>
/// Literal for code: CarbuncleOfAnus
/// </summary>
public const string LiteralCarbuncleOfAnus = "6066007";
/// <summary>
/// Literal for code: BleedingFromAnus
/// </summary>
public const string LiteralBleedingFromAnus = "6072007";
/// <summary>
/// Literal for code: GlycogenStorageDiseaseHepaticForm
/// </summary>
public const string LiteralGlycogenStorageDiseaseHepaticForm = "6075009";
/// <summary>
/// Literal for code: CalculusOfHepaticDuctWithObstruction
/// </summary>
public const string LiteralCalculusOfHepaticDuctWithObstruction = "6087002";
/// <summary>
/// Literal for code: FocalEpithelialHyperplasiaOfMouth
/// </summary>
public const string LiteralFocalEpithelialHyperplasiaOfMouth = "6121001";
/// <summary>
/// Literal for code: PrimaryIntestinalLymphangiectasia
/// </summary>
public const string LiteralPrimaryIntestinalLymphangiectasia = "6124009";
/// <summary>
/// Literal for code: MucinousHistiocytosisOfTheColon
/// </summary>
public const string LiteralMucinousHistiocytosisOfTheColon = "6137007";
/// <summary>
/// Literal for code: IndianChildhoodCirrhosis
/// </summary>
public const string LiteralIndianChildhoodCirrhosis = "6183001";
/// <summary>
/// Literal for code: NormalSmallIntestineSecretion
/// </summary>
public const string LiteralNormalSmallIntestineSecretion = "6214005";
/// <summary>
/// Literal for code: AcuteCholangitis
/// </summary>
public const string LiteralAcuteCholangitis = "6215006";
/// <summary>
/// Literal for code: LipohyperplasiaOfIleocecalValve
/// </summary>
public const string LiteralLipohyperplasiaOfIleocecalValve = "6241000";
/// <summary>
/// Literal for code: AccretionOnTeeth
/// </summary>
public const string LiteralAccretionOnTeeth = "6288001";
/// <summary>
/// Literal for code: ChronicInflammatorySmallBowelDisease
/// </summary>
public const string LiteralChronicInflammatorySmallBowelDisease = "6382002";
/// <summary>
/// Literal for code: HypertrophyOfLip
/// </summary>
public const string LiteralHypertrophyOfLip = "643001";
/// <summary>
/// Literal for code: VolvulusOfColon
/// </summary>
public const string LiteralVolvulusOfColon = "6441003";
/// <summary>
/// Literal for code: Amygdalolith
/// </summary>
public const string LiteralAmygdalolith = "6461009";
/// <summary>
/// Literal for code: MalrotationOfColon
/// </summary>
public const string LiteralMalrotationOfColon = "6477005";
/// <summary>
/// Literal for code: RelapsingAppendicitis
/// </summary>
public const string LiteralRelapsingAppendicitis = "6503008";
/// <summary>
/// Literal for code: GangrenousTonsillitis
/// </summary>
public const string LiteralGangrenousTonsillitis = "652005";
/// <summary>
/// Literal for code: CholesterolCrystalNucleationInBile
/// </summary>
public const string LiteralCholesterolCrystalNucleationInBile = "6528000";
/// <summary>
/// Literal for code: RectalTenesmus
/// </summary>
public const string LiteralRectalTenesmus = "6548007";
/// <summary>
/// Literal for code: InjuryOfColonWithoutOpenWoundIntoAbdominalCavity
/// </summary>
public const string LiteralInjuryOfColonWithoutOpenWoundIntoAbdominalCavity = "658009";
/// <summary>
/// Literal for code: MegaloblasticAnemiaDueToNontropicalSprue
/// </summary>
public const string LiteralMegaloblasticAnemiaDueToNontropicalSprue = "6659005";
/// <summary>
/// Literal for code: EctopicPancreasInDuodenum
/// </summary>
public const string LiteralEctopicPancreasInDuodenum = "6724001";
/// <summary>
/// Literal for code: TorsionOfIntestine
/// </summary>
public const string LiteralTorsionOfIntestine = "675003";
/// <summary>
/// Literal for code: FamilialHypergastrinemicDuodenalUlcer
/// </summary>
public const string LiteralFamilialHypergastrinemicDuodenalUlcer = "6761005";
/// <summary>
/// Literal for code: ImpairedIntestinalEpithelialCellTransportOfAminoAcids
/// </summary>
public const string LiteralImpairedIntestinalEpithelialCellTransportOfAminoAcids = "6762003";
/// <summary>
/// Literal for code: MesentericArteriovenousFistula
/// </summary>
public const string LiteralMesentericArteriovenousFistula = "6838000";
/// <summary>
/// Literal for code: AcquiredTelangiectasiaOfSmallANDORLargeIntestines
/// </summary>
public const string LiteralAcquiredTelangiectasiaOfSmallANDORLargeIntestines = "685002";
/// <summary>
/// Literal for code: DecreasedExocrineGlandSecretion
/// </summary>
public const string LiteralDecreasedExocrineGlandSecretion = "6913006";
/// <summary>
/// Literal for code: CleftLipSequence
/// </summary>
public const string LiteralCleftLipSequence = "6936002";
/// <summary>
/// Literal for code: HypertrophyOfTonguePapillae
/// </summary>
public const string LiteralHypertrophyOfTonguePapillae = "6971002";
/// <summary>
/// Literal for code: GastrointestinalEosinophilicGranuloma
/// </summary>
public const string LiteralGastrointestinalEosinophilicGranuloma = "7021009";
/// <summary>
/// Literal for code: LymphocyticPlasmacyticEnteritis
/// </summary>
public const string LiteralLymphocyticPlasmacyticEnteritis = "7024001";
/// <summary>
/// Literal for code: CongenitalAdhesionsOfTongue
/// </summary>
public const string LiteralCongenitalAdhesionsOfTongue = "703000";
/// <summary>
/// Literal for code: XTESyndrome
/// </summary>
public const string LiteralXTESyndrome = "7037003";
/// <summary>
/// Literal for code: GlycogenStorageDiseaseTypeI
/// </summary>
public const string LiteralGlycogenStorageDiseaseTypeI = "7265005";
/// <summary>
/// Literal for code: ImpactedGallstoneOfCysticDuct
/// </summary>
public const string LiteralImpactedGallstoneOfCysticDuct = "7290007";
/// <summary>
/// Literal for code: InjuryOfInferiorMesentericVein
/// </summary>
public const string LiteralInjuryOfInferiorMesentericVein = "7346000";
/// <summary>
/// Literal for code: NonvenomousInsectBiteOfAnusWithoutInfection
/// </summary>
public const string LiteralNonvenomousInsectBiteOfAnusWithoutInfection = "7371002";
/// <summary>
/// Literal for code: EmphysematousGastritis
/// </summary>
public const string LiteralEmphysematousGastritis = "7399006";
/// <summary>
/// Literal for code: OpenWoundOfBuccalMucosaWithComplication
/// </summary>
public const string LiteralOpenWoundOfBuccalMucosaWithComplication = "7407001";
/// <summary>
/// Literal for code: HereditaryCoproporphyria
/// </summary>
public const string LiteralHereditaryCoproporphyria = "7425008";
/// <summary>
/// Literal for code: TuberculosisOfRectum
/// </summary>
public const string LiteralTuberculosisOfRectum = "7444001";
/// <summary>
/// Literal for code: PostgastrectomyGastritis
/// </summary>
public const string LiteralPostgastrectomyGastritis = "7475005";
/// <summary>
/// Literal for code: SuperficialForeignBodyOfAnusWithoutMajorOpenWoundANDWithoutInfection
/// </summary>
public const string LiteralSuperficialForeignBodyOfAnusWithoutMajorOpenWoundANDWithoutInfection = "7491008";
/// <summary>
/// Literal for code: InfectionByPlagiorchis
/// </summary>
public const string LiteralInfectionByPlagiorchis = "7493006";
/// <summary>
/// Literal for code: PersistentTuberculumImpar
/// </summary>
public const string LiteralPersistentTuberculumImpar = "7522008";
/// <summary>
/// Literal for code: DrugInducedIntrahepaticCholestasis
/// </summary>
public const string LiteralDrugInducedIntrahepaticCholestasis = "7538002";
/// <summary>
/// Literal for code: PostgastrectomyPhytobezoar
/// </summary>
public const string LiteralPostgastrectomyPhytobezoar = "755004";
/// <summary>
/// Literal for code: CrohnQuoteSDiseaseOfLargeBowel
/// </summary>
public const string LiteralCrohnQuoteSDiseaseOfLargeBowel = "7620006";
/// <summary>
/// Literal for code: AutosomalDominantHypohidroticEctodermalDysplasiaSyndrome
/// </summary>
public const string LiteralAutosomalDominantHypohidroticEctodermalDysplasiaSyndrome = "7731005";
/// <summary>
/// Literal for code: DuodenalFistula
/// </summary>
public const string LiteralDuodenalFistula = "7780000";
/// <summary>
/// Literal for code: MikuliczQuoteSDisease
/// </summary>
public const string LiteralMikuliczQuoteSDisease = "7826003";
/// <summary>
/// Literal for code: Cheilitis
/// </summary>
public const string LiteralCheilitis = "7847004";
/// <summary>
/// Literal for code: InfectionByDiphyllobothriumLatum
/// </summary>
public const string LiteralInfectionByDiphyllobothriumLatum = "7877005";
/// <summary>
/// Literal for code: AcuteNecrotizingPancreatitis
/// </summary>
public const string LiteralAcuteNecrotizingPancreatitis = "7881005";
/// <summary>
/// Literal for code: FeelingOfThroatTightness
/// </summary>
public const string LiteralFeelingOfThroatTightness = "7899002";
/// <summary>
/// Literal for code: HallermannStreiffSyndrome
/// </summary>
public const string LiteralHallermannStreiffSyndrome = "7903009";
/// <summary>
/// Literal for code: GingivalFoodImpaction
/// </summary>
public const string LiteralGingivalFoodImpaction = "7920008";
/// <summary>
/// Literal for code: IrradiatedEnamel
/// </summary>
public const string LiteralIrradiatedEnamel = "7926002";
/// <summary>
/// Literal for code: CecalHernia
/// </summary>
public const string LiteralCecalHernia = "7941002";
/// <summary>
/// Literal for code: SigmoidColonUlcer
/// </summary>
public const string LiteralSigmoidColonUlcer = "799008";
/// <summary>
/// Literal for code: TeethingSyndrome
/// </summary>
public const string LiteralTeethingSyndrome = "8004003";
/// <summary>
/// Literal for code: SpontaneousAbortionWithPerforationOfBowel
/// </summary>
public const string LiteralSpontaneousAbortionWithPerforationOfBowel = "8071005";
/// <summary>
/// Literal for code: EosinophilicGranulomaOfOralMucosa
/// </summary>
public const string LiteralEosinophilicGranulomaOfOralMucosa = "8090002";
/// <summary>
/// Literal for code: DiverticulosisOfSmallIntestine
/// </summary>
public const string LiteralDiverticulosisOfSmallIntestine = "8114009";
/// <summary>
/// Literal for code: ExtrahepaticObstructiveBiliaryDisease
/// </summary>
public const string LiteralExtrahepaticObstructiveBiliaryDisease = "8262006";
/// <summary>
/// Literal for code: Dicrocoeliasis
/// </summary>
public const string LiteralDicrocoeliasis = "8410006";
/// <summary>
/// Literal for code: EndometriosisOfAppendix
/// </summary>
public const string LiteralEndometriosisOfAppendix = "8421002";
/// <summary>
/// Literal for code: InjuryOfInferiorMesentericArtery
/// </summary>
public const string LiteralInjuryOfInferiorMesentericArtery = "845006";
/// <summary>
/// Literal for code: RapidGastricEmptying
/// </summary>
public const string LiteralRapidGastricEmptying = "8466006";
/// <summary>
/// Literal for code: ChronicGastritis
/// </summary>
public const string LiteralChronicGastritis = "8493009";
/// <summary>
/// Literal for code: StrictureOfColon
/// </summary>
public const string LiteralStrictureOfColon = "8543007";
/// <summary>
/// Literal for code: ProjectileVomiting
/// </summary>
public const string LiteralProjectileVomiting = "8579004";
/// <summary>
/// Literal for code: CongenitalDiverticulumOfColon
/// </summary>
public const string LiteralCongenitalDiverticulumOfColon = "8587003";
/// <summary>
/// Literal for code: NormalGallbladderFunction
/// </summary>
public const string LiteralNormalGallbladderFunction = "8622001";
/// <summary>
/// Literal for code: SupernumeraryTeeth
/// </summary>
public const string LiteralSupernumeraryTeeth = "8666004";
/// <summary>
/// Literal for code: CatarrhalAppendicitis
/// </summary>
public const string LiteralCatarrhalAppendicitis = "8744003";
/// <summary>
/// Literal for code: Hematemesis
/// </summary>
public const string LiteralHematemesis = "8765009";
/// <summary>
/// Literal for code: CellulitisOfOralSoftTissues
/// </summary>
public const string LiteralCellulitisOfOralSoftTissues = "8771003";
/// <summary>
/// Literal for code: TuberculosisOrificialisOfAnus
/// </summary>
public const string LiteralTuberculosisOrificialisOfAnus = "8832006";
/// <summary>
/// Literal for code: CriglerNajjarSyndromeTypeI
/// </summary>
public const string LiteralCriglerNajjarSyndromeTypeI = "8933000";
/// <summary>
/// Literal for code: TranspositionOfColon
/// </summary>
public const string LiteralTranspositionOfColon = "8986002";
/// <summary>
/// Literal for code: ImpairedGastricMucosalDefense
/// </summary>
public const string LiteralImpairedGastricMucosalDefense = "9053006";
/// <summary>
/// Literal for code: DuodenoaorticFistula
/// </summary>
public const string LiteralDuodenoaorticFistula = "9058002";
/// <summary>
/// Literal for code: EdemaOfOralSoftTissues
/// </summary>
public const string LiteralEdemaOfOralSoftTissues = "9067002";
/// <summary>
/// Literal for code: SubacuteAppendicitis
/// </summary>
public const string LiteralSubacuteAppendicitis = "9124008";
/// <summary>
/// Literal for code: AbnormalGastricElectricalActivity
/// </summary>
public const string LiteralAbnormalGastricElectricalActivity = "9168005";
/// <summary>
/// Literal for code: DentigerousCyst
/// </summary>
public const string LiteralDentigerousCyst = "9245008";
/// <summary>
/// Literal for code: PassesStoolCompletely
/// </summary>
public const string LiteralPassesStoolCompletely = "9272000";
/// <summary>
/// Literal for code: JuvenilePolyposisSyndrome
/// </summary>
public const string LiteralJuvenilePolyposisSyndrome = "9273005";
/// <summary>
/// Literal for code: PalatalMyoclonus
/// </summary>
public const string LiteralPalatalMyoclonus = "9366002";
/// <summary>
/// Literal for code: CircumoralRhytides
/// </summary>
public const string LiteralCircumoralRhytides = "9368001";
/// <summary>
/// Literal for code: OpenWoundOfMultipleSitesOfMouthWithoutComplication
/// </summary>
public const string LiteralOpenWoundOfMultipleSitesOfMouthWithoutComplication = "9391002";
/// <summary>
/// Literal for code: TobaccoDepositOnTeeth
/// </summary>
public const string LiteralTobaccoDepositOnTeeth = "9473008";
/// <summary>
/// Literal for code: CystOfBileDuct
/// </summary>
public const string LiteralCystOfBileDuct = "9484001";
/// <summary>
/// Literal for code: AtrophyOfTonguePapillae
/// </summary>
public const string LiteralAtrophyOfTonguePapillae = "9491003";
/// <summary>
/// Literal for code: HepaticAmyloidosis
/// </summary>
public const string LiteralHepaticAmyloidosis = "9551004";
/// <summary>
/// Literal for code: EndometriosisOfRectum
/// </summary>
public const string LiteralEndometriosisOfRectum = "9563009";
/// <summary>
/// Literal for code: OpenWoundOfPharynxWithoutComplication
/// </summary>
public const string LiteralOpenWoundOfPharynxWithoutComplication = "964004";
/// <summary>
/// Literal for code: OccupationalFrictionInjuryOfTooth
/// </summary>
public const string LiteralOccupationalFrictionInjuryOfTooth = "9665009";
/// <summary>
/// Literal for code: IntestinalVolvulus
/// </summary>
public const string LiteralIntestinalVolvulus = "9707006";
/// <summary>
/// Literal for code: DuodenogastricReflux
/// </summary>
public const string LiteralDuodenogastricReflux = "9733003";
/// <summary>
/// Literal for code: SmallStomachSyndrome
/// </summary>
public const string LiteralSmallStomachSyndrome = "9785001";
/// <summary>
/// Literal for code: HemorrhagicProctitis
/// </summary>
public const string LiteralHemorrhagicProctitis = "981008";
/// <summary>
/// Literal for code: ViolentRetching
/// </summary>
public const string LiteralViolentRetching = "9814003";
/// <summary>
/// Literal for code: DiverticulosisOfIleumWithoutDiverticulitis
/// </summary>
public const string LiteralDiverticulosisOfIleumWithoutDiverticulitis = "9815002";
/// <summary>
/// Literal for code: GastricUlcerWithPerforation
/// </summary>
public const string LiteralGastricUlcerWithPerforation = "9829001";
/// <summary>
/// Literal for code: ChronicLymphocyticCholangitisCholangiohepatitis
/// </summary>
public const string LiteralChronicLymphocyticCholangitisCholangiohepatitis = "9843006";
/// <summary>
/// Literal for code: InfectionByTrichurisVulpis
/// </summary>
public const string LiteralInfectionByTrichurisVulpis = "9866007";
/// <summary>
/// Literal for code: ToxicDilatationOfIntestine
/// </summary>
public const string LiteralToxicDilatationOfIntestine = "9914004";
/// <summary>
/// Literal for code: PerinatalJaundiceDueToFetalORNeonatalHepatitis
/// </summary>
public const string LiteralPerinatalJaundiceDueToFetalORNeonatalHepatitis = "9936001";
/// <summary>
/// Literal for code: AcuteAlcoholicLiverDisease
/// </summary>
public const string LiteralAcuteAlcoholicLiverDisease = "9953008";
/// <summary>
/// Literal for code: ExfoliationOfTeethDueToSystemicDisease
/// </summary>
public const string LiteralExfoliationOfTeethDueToSystemicDisease = "9984005";
};
}
| 29.417021 | 227 | 0.624237 | [
"MIT"
] | microsoft-healthcare-madison/argonaut-subscription-server-proxy | argonaut-subscription-server-proxy/Fhir/R5/ValueSets/NotConsumedReason.cs | 414,780 | C# |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Abstractions;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Microsoft.AspNetCore.Mvc.Razor;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewEngines;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.AspNetCore.Routing;
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace Belcukerkka.Services
{
/// <summary>
/// Specifies the renderer of partial views to strings.
/// </summary>
public class PartialToStringRenderer : IPartialToStringRenderer
{
private readonly IRazorViewEngine _viewEngine;
private readonly ITempDataProvider _tempDataProvider;
private readonly IHttpContextAccessor _contextAccessor;
public PartialToStringRenderer(IRazorViewEngine viewEngine,
ITempDataProvider tempDataProvider,
IHttpContextAccessor contextAccessor)
{
_viewEngine = viewEngine;
_tempDataProvider = tempDataProvider;
_contextAccessor = contextAccessor;
}
/// <summary>
/// Renders partial view with specified model to a string representation.
/// </summary>
/// <param name="partialName">Name of a partial view to be found.</param>
/// <param name="model">Model that should be sent to a specified partial view.</param>
/// <returns></returns>
public async Task<string> RenderPartialToStringAsync<TModel>(string partialName, TModel model)
{
var actionContext = new ActionContext(_contextAccessor.HttpContext,
_contextAccessor.HttpContext.GetRouteData(), new ActionDescriptor());
await using (StringWriter sw = new StringWriter())
{
var partialView = FindView(actionContext, partialName);
var viewContext = new ViewContext(
actionContext,
partialView,
new ViewDataDictionary<TModel>(
metadataProvider: new EmptyModelMetadataProvider(),
modelState: new ModelStateDictionary())
{
Model = model
},
new TempDataDictionary(
actionContext.HttpContext,
_tempDataProvider),
sw,
new HtmlHelperOptions()
);
await partialView.RenderAsync(viewContext);
return sw.ToString();
}
}
/// <summary>
/// Searches for specified partial view.
/// </summary>
/// <param name="actionContext">Action context.</param>
/// <param name="partialName">Name of a partial view to be searched for.</param>
/// <returns>ViewEngineResult if specified partial view has been found; otherwise, throws an exception.</returns>
private IView FindView(ActionContext actionContext, string partialName)
{
var getPartialResult = _viewEngine.GetView(null, partialName, false);
if (getPartialResult.Success)
{
return getPartialResult.View;
}
var findPartialResult = _viewEngine.FindView(actionContext, partialName, false);
if (findPartialResult.Success)
{
return findPartialResult.View;
}
var searchedLocations = getPartialResult.SearchedLocations.Concat(findPartialResult.SearchedLocations);
var errorMessage = string.Join(
Environment.NewLine,
new[] { $"Unable to find partial '{partialName}'. The following locations were searched:" }.Concat(searchedLocations));
throw new InvalidOperationException(errorMessage);
}
}
}
| 38.798077 | 135 | 0.607435 | [
"MIT"
] | BugMixer95/belcukerkka-demo | 02 BL/Belcukerkka.Extras/PartialToStringRenderer.cs | 4,037 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace EasyNetQ.MessageVersioning
{
public class MessageVersionStack : IEnumerable<Type>
{
private readonly Stack<Type> messageVersions;
public MessageVersionStack( Type messageType )
{
messageVersions = ExtractMessageVersions( messageType );
}
public Type Pop()
{
return messageVersions.Pop();
}
public bool IsEmpty()
{
return !messageVersions.Any();
}
IEnumerator IEnumerable.GetEnumerator()
{
return GetEnumerator();
}
public IEnumerator<Type> GetEnumerator()
{
return messageVersions.GetEnumerator();
}
private static Stack<Type> ExtractMessageVersions( Type type )
{
var messageVersions = new Stack<Type>();
messageVersions.Push( type );
while( true )
{
var messageType = messageVersions.Peek();
var supersededType = GetSupersededType( messageType );
if( supersededType == null )
break;
EnsureVersioningValid( messageType, supersededType );
messageVersions.Push( supersededType );
}
messageVersions.TrimExcess();
return messageVersions;
}
private static Type GetSupersededType( Type type )
{
return type
.GetInterfaces()
.Where( t => t.IsGenericType && t.GetGenericTypeDefinition() == typeof( ISupersede<> ) )
.SelectMany( t => t.GetGenericArguments() )
.FirstOrDefault();
}
private static void EnsureVersioningValid( Type messageType, Type supersededType )
{
if( !messageType.IsSubclassOf( supersededType ) )
throw new EasyNetQException( "Message cannot supersede a type it is not a subclass of. {0} is not a subclass of {1}", messageType.Name, supersededType.Name );
}
}
} | 30.225352 | 174 | 0.571761 | [
"MIT"
] | CSGOpenSource/EasyNetQ | Source/EasyNetQ/MessageVersioning/MessageVersionStack.cs | 2,146 | C# |
using System;
using System.Collections.Generic;
using NHapi.Base.Log;
using NHapi.Model.V23.Group;
using NHapi.Model.V23.Segment;
using NHapi.Model.V23.Datatype;
using NHapi.Base;
using NHapi.Base.Parser;
using NHapi.Base.Model;
namespace NHapi.Model.V23.Message
{
///<summary>
/// Represents a CRM_C02 message structure (see chapter [AAA]). This structure contains the
/// following elements:
///<ol>
///<li>0: MSH (Message header segment) </li>
///<li>1: CRM_C02_PATIENT (a Group object) repeating</li>
///</ol>
///</summary>
[Serializable]
public class CRM_C02 : AbstractMessage {
///<summary>
/// Creates a new CRM_C02 Group with custom IModelClassFactory.
///</summary>
public CRM_C02(IModelClassFactory factory) : base(factory){
init(factory);
}
///<summary>
/// Creates a new CRM_C02 Group with DefaultModelClassFactory.
///</summary>
public CRM_C02() : base(new DefaultModelClassFactory()) {
init(new DefaultModelClassFactory());
}
///<summary>
/// initalize method for CRM_C02. This does the segment setup for the message.
///</summary>
private void init(IModelClassFactory factory) {
try {
this.add(typeof(MSH), true, false);
this.add(typeof(CRM_C02_PATIENT), true, true);
} catch(HL7Exception e) {
HapiLogFactory.GetHapiLog(GetType()).Error("Unexpected error creating CRM_C02 - this is probably a bug in the source code generator.", e);
}
}
public override string Version
{
get{
return Constants.VERSION;
}
}
///<summary>
/// Returns MSH (Message header segment) - creates it if necessary
///</summary>
public MSH MSH {
get{
MSH ret = null;
try {
ret = (MSH)this.GetStructure("MSH");
} catch(HL7Exception e) {
HapiLogFactory.GetHapiLog(GetType()).Error("Unexpected error accessing data - this is probably a bug in the source code generator.", e);
throw new System.Exception("An unexpected error ocurred",e);
}
return ret;
}
}
///<summary>
/// Returns first repetition of CRM_C02_PATIENT (a Group object) - creates it if necessary
///</summary>
public CRM_C02_PATIENT GetPATIENT() {
CRM_C02_PATIENT ret = null;
try {
ret = (CRM_C02_PATIENT)this.GetStructure("PATIENT");
} catch(HL7Exception e) {
HapiLogFactory.GetHapiLog(GetType()).Error("Unexpected error accessing data - this is probably a bug in the source code generator.", e);
throw new System.Exception("An unexpected error ocurred",e);
}
return ret;
}
///<summary>
///Returns a specific repetition of CRM_C02_PATIENT
/// * (a Group object) - creates it if necessary
/// throws HL7Exception if the repetition requested is more than one
/// greater than the number of existing repetitions.
///</summary>
public CRM_C02_PATIENT GetPATIENT(int rep) {
return (CRM_C02_PATIENT)this.GetStructure("PATIENT", rep);
}
/**
* Returns the number of existing repetitions of CRM_C02_PATIENT
*/
public int PATIENTRepetitionsUsed {
get{
int reps = -1;
try {
reps = this.GetAll("PATIENT").Length;
} catch (HL7Exception e) {
string message = "Unexpected error accessing data - this is probably a bug in the source code generator.";
HapiLogFactory.GetHapiLog(GetType()).Error(message, e);
throw new System.Exception(message);
}
return reps;
}
}
/**
* Enumerate over the CRM_C02_PATIENT results
*/
public IEnumerable<CRM_C02_PATIENT> PATIENTs
{
get
{
for (int rep = 0; rep < PATIENTRepetitionsUsed; rep++)
{
yield return (CRM_C02_PATIENT)this.GetStructure("PATIENT", rep);
}
}
}
///<summary>
///Adds a new CRM_C02_PATIENT
///</summary>
public CRM_C02_PATIENT AddPATIENT()
{
return this.AddStructure("PATIENT") as CRM_C02_PATIENT;
}
///<summary>
///Removes the given CRM_C02_PATIENT
///</summary>
public void RemovePATIENT(CRM_C02_PATIENT toRemove)
{
this.RemoveStructure("PATIENT", toRemove);
}
///<summary>
///Removes the CRM_C02_PATIENT at the given index
///</summary>
public void RemovePATIENTAt(int index)
{
this.RemoveRepetition("PATIENT", index);
}
}
}
| 26.787097 | 145 | 0.680877 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | AMCN41R/nHapi | src/NHapi.Model.V23/Message/CRM_C02.cs | 4,152 | C# |
/*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite CSharp Client
* Copyright (C) 2006, 2007, 2009, 2010 Zimbra, Inc.
*
* The contents of this file are subject to the Zimbra Public License
* Version 1.3 ("License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.zimbra.com/license.
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.
* ***** END LICENSE BLOCK *****
*/
using System;
using System.Xml;
namespace Zimbra.Client.Mail
{
public class NoOpRequest : MailServiceRequest
{
public NoOpRequest()
{
}
public override String Name()
{
return MailService.NS_PREFIX + ":" + MailService.NO_OP_REQUEST;
}
public override System.Xml.XmlDocument ToXmlDocument()
{
XmlDocument doc = new XmlDocument();
XmlElement reqElem =doc.CreateElement( MailService.NO_OP_REQUEST, MailService.NAMESPACE_URI );
doc.AppendChild( reqElem );
return doc;
}
}
public class NoOpResponse : Response
{
public override String Name
{
get
{
return MailService.NS_PREFIX + ":" + MailService.NO_OP_RESPONSE;
}
}
public override Response NewResponse(XmlNode responseNode)
{
return new NoOpResponse();
}
}
}
| 22.694915 | 97 | 0.698282 | [
"MIT"
] | fciubotaru/z-pec | ZimbraCSharpClient/src/Mail/NoOp.cs | 1,339 | C# |
using System.Collections;
using System.Collections.Generic;
using DCL.Controllers;
using DCL.Helpers;
using DCL.Models;
using TMPro;
using UnityEngine;
namespace DCL.Components
{
public class DCLFont : BaseDisposable
{
const string RESOURCE_FONT_PREFIX = "builtin:";
const string RESOURCE_FONT_FOLDER = "Fonts & Materials";
[System.Serializable]
public class Model : BaseModel
{
public string src;
public override BaseModel GetDataFromJSON(string json)
{
return Utils.SafeFromJson<Model>(json);
}
}
public bool loaded { private set; get; } = false;
public bool error { private set; get; } = false;
public TMP_FontAsset fontAsset { private set; get; }
public DCLFont()
{
model = new Model();
}
public override int GetClassId()
{
return (int) CLASS_ID.FONT;
}
public static IEnumerator SetFontFromComponent(IParcelScene scene, string componentId, TMP_Text text)
{
if (!scene.disposableComponents.ContainsKey(componentId))
{
Debug.Log($"couldn't fetch font, the DCLFont component with id {componentId} doesn't exist");
yield break;
}
DCLFont fontComponent = scene.disposableComponents[componentId] as DCLFont;
if (fontComponent == null)
{
Debug.Log($"couldn't fetch font, the shared component with id {componentId} is NOT a DCLFont");
yield break;
}
while (!fontComponent.loaded && !fontComponent.error)
{
yield return null;
}
if (!fontComponent.error)
{
text.font = fontComponent.fontAsset;
}
}
public override IEnumerator ApplyChanges(BaseModel newModel)
{
Model model = (Model) newModel;
if (string.IsNullOrEmpty(model.src))
{
error = true;
yield break;
}
if (model.src.StartsWith(RESOURCE_FONT_PREFIX))
{
string resourceName = model.src.Substring(RESOURCE_FONT_PREFIX.Length);
ResourceRequest request = Resources.LoadAsync(string.Format("{0}/{1}", RESOURCE_FONT_FOLDER, resourceName), typeof(TMP_FontAsset));
yield return request;
if (request.asset != null)
{
fontAsset = request.asset as TMP_FontAsset;
}
else
{
Debug.Log($"couldn't fetch font from resources {resourceName}");
}
loaded = true;
error = fontAsset == null;
}
else
{
// NOTE: only support fonts in resources
error = true;
}
}
}
} | 29.144231 | 147 | 0.528538 | [
"Apache-2.0"
] | Marguelgtz/explorer | unity-client/Assets/Scripts/MainScripts/DCL/Components/Font/DCLFont.cs | 3,031 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace memreader.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}
| 31.806452 | 148 | 0.626775 | [
"MIT"
] | gjchangmu/NecroDancer-Score-Analyzer | memreader/Properties/Settings.Designer.cs | 988 | C# |
// -----------------------------------------------------------------------
// <copyright file="ICacheProvider.cs" company="Weloveloli">
// Copyright (c) Weloveloli. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace Weloveloli.AVLib
{
using System.Threading.Tasks;
/// <summary>
/// Defines the <see cref="ICacheProvider" />.
/// </summary>
public interface ICacheProvider
{
/// <summary>
/// Get content from cache.
/// </summary>
/// <param name="key">The key<see cref="string"/>.</param>
/// <returns>content from cache.</returns>
public Task<string> GetContentFromCacheAsync(string key);
/// <summary>
/// Write content into cache.
/// </summary>
/// <param name="key">The key<see cref="string"/>.</param>
/// <param name="content">content value.</param>
/// <returns>if write to cache is success.</returns>
public Task<bool> WriteCacheAsync(string key, string content);
/// <summary>
/// The GetData.
/// </summary>
/// <param name="number">The number<see cref="string"/>.</param>
/// <returns>The <see cref="AvData"/>.</returns>
public Task<AvData> GetDataAsync(string number);
/// <summary>
/// The StoreData.
/// </summary>
/// <param name="data">The data<see cref="AvData"/>.</param>
/// <returns>The <see cref="bool"/>.</returns>
public Task<bool> StoreDataAsync(AvData data);
}
}
| 34.804348 | 75 | 0.512804 | [
"MIT"
] | weloveloli/NetAVLib | Src/AVLib/ICacheProvider.cs | 1,603 | C# |
using Elasticsearch.Net;
using Nest;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Framework;
using Tests.Framework.Integration;
using Tests.Framework.ManagedElasticsearch.Clusters;
using Xunit;
namespace Tests.Cluster.ClusterSettings.ClusterGetSettings
{
public class ClusterGetSettingsApiTests
: ApiTestBase<ReadOnlyCluster, IClusterGetSettingsResponse, IClusterGetSettingsRequest, ClusterGetSettingsDescriptor, ClusterGetSettingsRequest>
{
public ClusterGetSettingsApiTests(ReadOnlyCluster cluster, EndpointUsage usage) : base(cluster, usage) { }
protected override LazyResponses ClientUsage() => Calls(
fluent: (client, f) => client.ClusterGetSettings(),
fluentAsync: (client, f) => client.ClusterGetSettingsAsync(),
request: (client, r) => client.ClusterGetSettings(r),
requestAsync: (client, r) => client.ClusterGetSettingsAsync(r)
);
protected override HttpMethod HttpMethod => HttpMethod.GET;
protected override string UrlPath => "/_cluster/settings";
}
}
| 37.37037 | 146 | 0.795837 | [
"Apache-2.0"
] | msarilar/elasticsearch-net | src/Tests/Tests/Cluster/ClusterSettings/ClusterGetSettings/ClusterGetSettingsApiTests.cs | 1,011 | C# |
using System;
namespace Amqp.Types
{
public struct AmqpFloat
{
private readonly float _value;
public AmqpFloat(byte[] encoded)
{
if (encoded.Length != sizeof(float))
throw new ArgumentOutOfRangeException(nameof(encoded));
_value = BitConverter.ToSingle(encoded, 0);
}
public float ToFloat()
{
return _value;
}
}
} | 19.863636 | 71 | 0.549199 | [
"MIT"
] | strizzwald/Strizzwald.Amqp | Amqp.Types/AmqpFloat.cs | 437 | C# |
public struct RenderTargetIdentifier : IEquatable<RenderTargetIdentifier> // TypeDefIndex: 3292
{
// Fields
private BuiltinRenderTextureType m_Type; // 0x0
private int m_NameID; // 0x4
private int m_InstanceID; // 0x8
private IntPtr m_BufferPointer; // 0x10
private int m_MipLevel; // 0x18
private CubemapFace m_CubeFace; // 0x1C
private int m_DepthSlice; // 0x20
// Methods
// RVA: 0x374410 Offset: 0x374511 VA: 0x374410 Slot: 3
public override string ToString() { }
// RVA: 0x374420 Offset: 0x374521 VA: 0x374420 Slot: 2
public override int GetHashCode() { }
// RVA: 0x374480 Offset: 0x374581 VA: 0x374480 Slot: 4
public bool Equals(RenderTargetIdentifier rhs) { }
// RVA: 0x374590 Offset: 0x374691 VA: 0x374590 Slot: 0
public override bool Equals(object obj) { }
}
| 29.296296 | 95 | 0.73957 | [
"MIT"
] | SinsofSloth/RF5-global-metadata | UnityEngine/Rendering/RenderTargetIdentifier.cs | 791 | C# |
// Copyright (c) 2020, UW Medicine Research IT, University of Washington
// Developed by Nic Dobbins and Cliff Spital, CRIO Sean Mooney
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Linq;
using System.Reflection;
using System.Data.Common;
using Model.Cohort;
using Model.Schema;
namespace Model.Compiler
{
public static class ShapedDatasetSchemaExtractor
{
public static ICollection<SchemaFieldSelector> Extract<T>() where T : ShapedDataset
{
using (var impl = new ShapedDatasetSchemaExtractorImpl(typeof(T)))
{
return impl.FieldSelectors;
}
}
public static ICollection<SchemaField> Extract(IEnumerable<DbColumn> columns)
{
var results = new List<SchemaField>();
foreach (var column in columns)
{
var index = column.ColumnOrdinal;
if (!index.HasValue)
{
continue;
}
var name = column.ColumnName;
var type = column.LeafDataType();
results.Add(new SchemaField { Name = name, Type = type, Index = index.Value });
}
return results;
}
}
class ShapedDatasetSchemaExtractorImpl : IDisposable
{
private static readonly ConcurrentDictionary<Type, ICollection<SchemaFieldSelector>> SchemaMap = new ConcurrentDictionary<Type, ICollection<SchemaFieldSelector>>();
internal ICollection<SchemaFieldSelector> FieldSelectors { get; set; }
internal ShapedDatasetSchemaExtractorImpl(Type t)
{
var schemaAttr = t.GetCustomAttribute<SchemaAttribute>(true);
if (schemaAttr == null)
{
throw new SchemaValidationException($"{t.Name} is not marked with {typeof(SchemaAttribute).Name}");
}
FieldSelectors = SchemaMap.GetOrAdd(t, MakeSchemaFields);
}
ICollection<SchemaFieldSelector> MakeSchemaFields(Type t)
{
var props = t.GetProperties()
.Select(p => (prop: p, attr: p.GetCustomAttribute<FieldAttribute>()))
.Where(tuple => tuple.attr != null);
var fields = props.Select(tuple => new SchemaFieldSelector(tuple.attr))
.ToList();
return fields;
}
public void Dispose() { }
}
}
| 35.077922 | 172 | 0.604221 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | BayesianGraph/leaf | src/server/Model/Compiler/ShapedDatasetSchemaExtractor.cs | 2,703 | C# |
namespace Spice86.Emulator.Devices.DirectMemoryAccess;
using Spice86.Emulator.Devices;
using Spice86.Emulator.IOPorts;
using Spice86.Emulator.VM;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
/// <summary>
/// Provides the basic services of an Intel 8237 DMA controller.
/// </summary>
public sealed class DmaController : DefaultIOPortHandler {
private const int AutoInitFlag = 1 << 4;
private const int MaskRegister16 = 0xD4;
private const int MaskRegister8 = 0x0A;
private const int ModeRegister16 = 0xD6;
private const int ModeRegister8 = 0x0B;
private const int ClearBytePointerFlipFlop = 0xC;
private static readonly int[] _otherOutputPorts = new int[] {
ModeRegister8,
ModeRegister16,
MaskRegister8,
MaskRegister16,
ClearBytePointerFlipFlop};
private static readonly int[] AllInputAndOutputPorts = new int[] { 0x87, 0x00, 0x01, 0x83, 0x02, 0x03, 0x81, 0x04, 0x05, 0x82, 0x06, 0x07, 0x8F, 0xC0, 0xC2, 0x8B, 0xC4, 0xC6, 0x89, 0xC8, 0xCA, 0x8A, 0xCC, 0xCE };
private readonly List<DmaChannel> channels = new(8);
internal DmaController(Machine machine, Configuration configuration) : base(machine, configuration) {
for (int i = 0; i < 8; i++) {
var channel = new DmaChannel();
channels.Add(channel);
}
Channels = new ReadOnlyCollection<DmaChannel>(channels);
}
/// <summary>
/// Gets the channels on the DMA controller.
/// </summary>
public ReadOnlyCollection<DmaChannel> Channels { get; }
public IEnumerable<int> InputPorts => Array.AsReadOnly(AllInputAndOutputPorts);
public IEnumerable<int> OutputPorts {
get {
var ports = new List<int>(AllInputAndOutputPorts);
ports.AddRange(_otherOutputPorts);
return ports.AsReadOnly();
}
}
public override void InitPortHandlers(IOPortDispatcher ioPortDispatcher) {
foreach (int value in OutputPorts) {
ioPortDispatcher.AddIOPortHandler(value, this);
}
}
public override byte ReadByte(int port) {
return GetPortValue(port);
}
public override ushort ReadWord(int port) {
return GetPortValue(port);
}
public override void WriteByte(int port, byte value) {
switch (port) {
case ModeRegister8:
SetChannelMode(channels[value & 3], value);
break;
case ModeRegister16:
SetChannelMode(channels[(value & 3) + 4], value);
break;
case MaskRegister8:
channels[value & 3].IsMasked = (value & 4) != 0;
break;
case MaskRegister16:
channels[(value & 3) + 4].IsMasked = (value & 4) != 0;
break;
case ClearBytePointerFlipFlop:
break;
default:
SetPortValue(port, value);
break;
}
}
public override void WriteWord(int port, ushort value) {
int index = Array.IndexOf(AllInputAndOutputPorts, port);
if (index < 0) {
throw new ArgumentException("Invalid port.");
}
switch (index % 3) {
case 0:
channels[index / 3].Page = (byte)value;
break;
case 1:
channels[index / 3].Address = value;
break;
case 2:
channels[index / 3].Count = value;
channels[index / 3].TransferBytesRemaining = value + 1;
break;
}
}
/// <summary>
/// Sets DMA channel mode information.
/// </summary>
/// <param name="channel">Channel whose mode is to be set.</param>
/// <param name="value">Flags specifying channel's new mode information.</param>
private static void SetChannelMode(DmaChannel channel, int value) {
if ((value & AutoInitFlag) != 0) {
channel.TransferMode = DmaTransferMode.AutoInitialize;
} else {
channel.TransferMode = DmaTransferMode.SingleCycle;
}
}
/// <summary>
/// Returns the value from a DMA channel port.
/// </summary>
/// <param name="port">Port to return value for.</param>
/// <returns>Value of specified port.</returns>
private byte GetPortValue(int port) {
int index = Array.IndexOf(AllInputAndOutputPorts, port);
if (index < 0) {
throw new ArgumentException("Invalid port.");
}
return (index % 3) switch {
0 => channels[index / 3].Page,
1 => channels[index / 3].ReadAddressByte(),
2 => channels[index / 3].ReadCountByte(),
_ => 0
};
}
/// <summary>
/// Writes a value to a specified DMA channel port.
/// </summary>
/// <param name="port">Port to write value to.</param>
/// <param name="value">Value to write.</param>
private void SetPortValue(int port, byte value) {
int index = Array.IndexOf(AllInputAndOutputPorts, port);
if (index < 0) {
throw new ArgumentException("Invalid port.");
}
switch (index % 3) {
case 0:
channels[index / 3].Page = value;
break;
case 1:
channels[index / 3].WriteAddressByte(value);
break;
case 2:
channels[index / 3].WriteCountByte(value);
break;
}
}
} | 32.676136 | 217 | 0.558685 | [
"Apache-2.0"
] | OpenRakis/Ix86 | src/Spice86/Emulator/Devices/DirectMemoryAccess/DmaController.cs | 5,578 | C# |
using System;
using System.Reflection;
using System.Resources;
using System.Text;
using System.Windows;
using System.ComponentModel;
using System.Threading;
using EclipsePos.Apps.Context;
using Microsoft.PointOfService;
namespace EclipsePos.Apps.Hardware
{
/// <summary>
/// Summary description for PosLineDisplayWrapper.
/// </summary>
///
public class LineDisplayWrapper: HardwareSupport, IDisposable
{
#region Variable
//private string deviceName;
private string deviceText = null;
private string statusText = "Error";
//private LineDisplayStatus status = LineDisplayStatus.inactive;
private string healthText = "Unknown";
// private Microsoft.PointOfService.PosExplorer posExplorer=null ;
// private Microsoft.PointOfService.DeviceInfo device;
private Microsoft.PointOfService.LineDisplay lineDisplay=null;
public delegate void StausChangedEventHandler(object sender, int deviceStatus);
public event StausChangedEventHandler StatusEvent;
#endregion
#region Constructor
public LineDisplayWrapper(LineDisplay pLineDisplay)//string pDeviceName, PosExplorer explorer )
{
this.lineDisplay = pLineDisplay;
// this.deviceName = pDeviceName;
// posExplorer = explorer;
// System.Resources.ResourceManager resources = new System.Resources.ResourceManager("EclipsePos.Hardware.LineDisplayWrapper", Assembly.GetExecutingAssembly());
// healthText = resources.GetString("HealthText");
// Open();
}
#endregion
#region Clear
public void Clear()
{
try
{
if ( lineDisplay.Claimed)
{
lineDisplay.ClearText();
}
}
catch (PosException px)
{
Logger.Error( "LineDisplayWrapper.cs", "LineDisplayWrapper.cs :" + " Pos Exception in LineDisplay :" + px.ToString());
}
}
#endregion
#region Idle
public void Idle (string line1, string line2)
{
if (!lineDisplay.Claimed)
{
return;
}
StringBuilder s = new StringBuilder();
s.Append(line1);
s.Append(line2);
try
{
//lineDisplay.MarqueeType = DisplayMarqueeType.Init;
//lineDisplay.ClearText ();
//lineDisplay.CharacterSet = 105;
//lineDisplay.DisplayText(s.ToString(), 0);
//lineDisplay.MarqueeUnitWait =200;
//lineDisplay.MarqueeFormat = DisplayMarqueeFormat.Walk;
//lineDisplay.MarqueeType = DisplayMarqueeType.Left;
//createWindow(int viewportRow, int viewportColumn, int viewportHeight,
//int viewportWidth, int windowHeight, int windowWidth);
lineDisplay.CreateWindow(1, 10, 1, 10, 1, 34);
//When "MarqueeFormat" is "DisplayMarqueeFormat.Walk",
//put a character on the display one by one from the reverse of the side that
//you selected as The direction of "Marquee".
//The direction of "Marquee" is that you selected as "MarqueeType".
lineDisplay.MarqueeFormat = DisplayMarqueeFormat.Walk;
//When the "MarqueeType" is "DisplayMarqueeType.Init",
// The change of the setting from "DisplayMarqueeType.Init" permits that the setting of "String data" and
// "MarqueeFormat" becomes effective.
lineDisplay.MarqueeType = DisplayMarqueeType.Init;
//It is 1.0 second that the next head of "String data" starts
// after the end of "String data" was displayed.
lineDisplay.MarqueeRepeatWait = 1000;
//It takes 0.1 second that the next moving satarts
// after the end of the one moving of unit.
lineDisplay.MarqueeUnitWait = 100;
lineDisplay.DisplayText(s.ToString(), DisplayTextMode.Normal);
//For set the direction as "MarqueeType". For example, the left and the right, the dawn and so on.
//disp.setMarqueeType(LineDisplayConst.DISP_MT_LEFT);
lineDisplay.MarqueeType = DisplayMarqueeType.Left;
//MessageBox.Show("When pressing OK, it ends.", "DisplaySample_Step6"
// , MessageBoxButtons.OK);
lineDisplay.MarqueeType = DisplayMarqueeType.None;
lineDisplay.DestroyWindow();
}
catch (Exception e)
{
MessageBox.Show(e.ToString());
Logger.Error("LineDisplayWrapper.cs" , "LineDisplayWrapper.cs :" + "Exception in LineDisplay idle " + e.ToString ());
}
}
#endregion
#region SetText
public void SetText (string text)
{
if (!lineDisplay.Claimed)
{
this.Reset();
}
if (lineDisplay.Claimed)
{
DisplayText(text, 0, 0);
}
}
public void SetText (String text, int row, int column)
{
try
{
if (lineDisplay.Claimed) DisplayText(text, row, column);
}
catch
{
this.Reset();
if (lineDisplay.Claimed) DisplayText(text, row, column);
}
}
#endregion
#region PromptWidth
public int PromptWidth()
{
if (!lineDisplay.Claimed) return 0;
int columns = 0;
try
{
columns = lineDisplay.Columns;
}
catch (Exception e)
{
}
return columns;
}
#endregion
#region DisplayText
private void DisplayText (string t, int row, int column)
{
if (!lineDisplay.Claimed) return;
if (PromptWidth() == 0)
{
return;
}
string tmp;
if (t.Length > PromptWidth ())
{
tmp = t.Substring(0, PromptWidth () - 1);
}
else
{
tmp = t;
}
try
{
lineDisplay.DisplayTextAt(row, column, tmp, 0);
}
catch (Exception e)
{
Logger.Error("LineDisplayWrapper.cs", "LineDisplayWrapper.cs :" + e.ToString ());
}
}
#endregion
#region Open
public void Open ()
{
try
{
lineDisplay.Open();
lineDisplay.Claim(1000);
lineDisplay.DeviceEnabled =true;
deviceText = lineDisplay.DeviceDescription;
statusText = lineDisplay.State.ToString();
this.RaiseStatusChangedEvent();
}
catch (PosControlException e)
{
MessageBox.Show(e.ToString());
Logger.Error("LineDisplayWrapper.cs", "LineDisplayWrapper.cs :" + "Pos Exception, open : " + e.StackTrace);
this.RaiseStatusChangedEvent();
}
catch (Exception e)
{
MessageBox.Show(e.ToString());
Logger.Error("LineDisplayWrapper.cs" , e.StackTrace);
this.RaiseStatusChangedEvent();
}
}
#endregion
#region CheckHealth
public bool CheckHealth ()
{
// String deviceHealthText = null;
if ( !lineDisplay.Claimed)
{
this.Reset();
}
if ( lineDisplay.Claimed )
{
//try
//{
// //lineDisplay.CheckHealth(HealthCheckLevel.Internal);
// return true;
//}
//catch (PosControlException pce)
//{
// Logger.Error("LineDisplayWrapper.cs", pce.ToString() );
// return false;
//}
//catch (Exception e)
//{
// Logger.Error("LineDisplayWrapper.cs", e.ToString());
// return false;
//}
return true;
}
return false;
}
#endregion
#region Reset
public bool Reset ()
{
try
{
if (lineDisplay.DeviceEnabled )
{
lineDisplay.DeviceEnabled = false;
}
if (lineDisplay.Claimed )
{
lineDisplay.Release();
}
lineDisplay.Close();
}
catch ( PosControlException pce)
{
Logger.Error( "PosPrinterWrapper.cs", pce.ToString() );
}
finally
{
Open ();
}
if( lineDisplay.Claimed)
{
return true;
}
else
{
return false;
}
}
#endregion
#region DeviceText
public string DeviceText()
{
return deviceText;
}
#endregion
#region StatusText
public string StatusText()
{
return statusText;
}
#endregion
#region Close
public void Close()
{
try
{
if (lineDisplay.DeviceEnabled)
{
lineDisplay.DeviceEnabled = false;
}
if ( lineDisplay.Claimed)
{
lineDisplay.Release();
}
lineDisplay.Close();
}
catch (Exception e )
{
Logger.Error("PosPrinterWrapper.cs" , e.ToString ());
}
}
#endregion
#region Raise Status Event
protected virtual void RaiseStatusChangedEvent()
{
if (lineDisplay.Claimed)
{
StatusEvent(this, 1);
}
else
{
StatusEvent(this, 0);
}
}
#endregion
#region IDisposable Members
public void Dispose()
{
try
{
this.Close();
}
catch(Exception e)
{
Logger.Error("PosPrinterWrapper.cs" , e.ToString ());
}
}
#endregion
}
}
| 20.128668 | 162 | 0.59594 | [
"MIT"
] | naushard/EclipsePOS | V.1.0.8/EclipsePOS.WPF.PosWorkBench/EclipsePos.Apps/Hardware/LineDisplayWrapper.cs | 8,917 | C# |
using System.Threading.Tasks;
using Xunit;
namespace ArgentPonyWarcraftClient.Integration.Tests.GameDataApi
{
public class SpellApiTests
{
[ResilientFact]
public async Task GetSpellAsync_Gets_Spell()
{
ISpellApi warcraftClient = ClientFactory.BuildClient();
RequestResult<Spell> result = await warcraftClient.GetSpellAsync(196607, "static-us");
Assert.NotNull(result.Value);
}
[ResilientFact]
public async Task GetSpellMediaAsync_Gets_SpellMedia()
{
ISpellApi warcraftClient = ClientFactory.BuildClient();
RequestResult<SpellMedia> result = await warcraftClient.GetSpellMediaAsync(196607, "static-us");
Assert.NotNull(result.Value);
}
}
}
| 31.6 | 108 | 0.664557 | [
"MIT"
] | Krysztal/warcraft | tests/ArgentPonyWarcraftClient.Integration.Tests/GameDataApi/SpellApiTests.cs | 792 | C# |
using System;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations;
using BroadWorksConnector.Ocip.Validation;
using System.Collections.Generic;
namespace BroadWorksConnector.Ocip.Models
{
/// <summary>
/// Modify the user's simultaneous ring family service setting.
/// The response is either a SuccessResponse or an ErrorResponse.
/// <see cref="SuccessResponse"/>
/// <see cref="ErrorResponse"/>
/// </summary>
[Serializable]
[XmlRoot(Namespace = "")]
[Groups(@"[{""__type"":""Sequence:#BroadWorksConnector.Ocip.Validation"",""id"":""239d22a382d3190a183f2ff4efdc404f:177""}]")]
public class UserSimultaneousRingFamilyModifyRequest17 : BroadWorksConnector.Ocip.Models.C.OCIRequest
{
private string _userId;
[XmlElement(ElementName = "userId", IsNullable = false, Namespace = "")]
[Group(@"239d22a382d3190a183f2ff4efdc404f:177")]
[MinLength(1)]
[MaxLength(161)]
public string UserId
{
get => _userId;
set
{
UserIdSpecified = true;
_userId = value;
}
}
[XmlIgnore]
protected bool UserIdSpecified { get; set; }
private bool _isActive;
[XmlElement(ElementName = "isActive", IsNullable = false, Namespace = "")]
[Optional]
[Group(@"239d22a382d3190a183f2ff4efdc404f:177")]
public bool IsActive
{
get => _isActive;
set
{
IsActiveSpecified = true;
_isActive = value;
}
}
[XmlIgnore]
protected bool IsActiveSpecified { get; set; }
private bool _doNotRingIfOnCall;
[XmlElement(ElementName = "doNotRingIfOnCall", IsNullable = false, Namespace = "")]
[Optional]
[Group(@"239d22a382d3190a183f2ff4efdc404f:177")]
public bool DoNotRingIfOnCall
{
get => _doNotRingIfOnCall;
set
{
DoNotRingIfOnCallSpecified = true;
_doNotRingIfOnCall = value;
}
}
[XmlIgnore]
protected bool DoNotRingIfOnCallSpecified { get; set; }
private BroadWorksConnector.Ocip.Models.SimultaneousRingReplacementNumberList _simultaneousRingNumberList;
[XmlElement(ElementName = "simultaneousRingNumberList", IsNullable = true, Namespace = "")]
[Optional]
[Group(@"239d22a382d3190a183f2ff4efdc404f:177")]
public BroadWorksConnector.Ocip.Models.SimultaneousRingReplacementNumberList SimultaneousRingNumberList
{
get => _simultaneousRingNumberList;
set
{
SimultaneousRingNumberListSpecified = true;
_simultaneousRingNumberList = value;
}
}
[XmlIgnore]
protected bool SimultaneousRingNumberListSpecified { get; set; }
private List<BroadWorksConnector.Ocip.Models.CriteriaActivation> _criteriaActivation = new List<BroadWorksConnector.Ocip.Models.CriteriaActivation>();
[XmlElement(ElementName = "criteriaActivation", IsNullable = false, Namespace = "")]
[Optional]
[Group(@"239d22a382d3190a183f2ff4efdc404f:177")]
public List<BroadWorksConnector.Ocip.Models.CriteriaActivation> CriteriaActivation
{
get => _criteriaActivation;
set
{
CriteriaActivationSpecified = true;
_criteriaActivation = value;
}
}
[XmlIgnore]
protected bool CriteriaActivationSpecified { get; set; }
}
}
| 32.034783 | 158 | 0.612106 | [
"MIT"
] | JTOne123/broadworks-connector-net | BroadworksConnector/Ocip/Models/UserSimultaneousRingFamilyModifyRequest17.cs | 3,684 | C# |
namespace BINARY_KUN
{
partial class Form1
{
/// <summary>
/// 必要なデザイナー変数です。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 使用中のリソースをすべてクリーンアップします。
/// </summary>
/// <param name="disposing">マネージ リソースを破棄する場合は true を指定し、その他の場合は false を指定します。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows フォーム デザイナーで生成されたコード
/// <summary>
/// デザイナー サポートに必要なメソッドです。このメソッドの内容を
/// コード エディターで変更しないでください。
/// </summary>
private void InitializeComponent()
{
this.panel1 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.AllowDrop = true;
this.panel1.AutoScroll = true;
this.panel1.Controls.Add(this.label1);
this.panel1.Location = new System.Drawing.Point(12, 12);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(776, 426);
this.panel1.TabIndex = 0;
this.panel1.DragDrop += new System.Windows.Forms.DragEventHandler(this.panel1_DragDrop);
this.panel1.DragEnter += new System.Windows.Forms.DragEventHandler(this.panel1_DragEnter);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("OCRB", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.Location = new System.Drawing.Point(3, 3);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(788, 36);
this.label1.TabIndex = 0;
this.label1.Text = "000000000011111111112222222222333333333344444444445555555555\r\n1111111111222222222" +
"2";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.panel1);
this.Name = "Form1";
this.Load += new System.EventHandler(this.Form1_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label1;
}
}
| 36.1125 | 153 | 0.566632 | [
"MIT"
] | CoderDojoDazaifu/Python | CSharp/BINARY-KUN/Form1.Designer.cs | 3,169 | C# |
namespace BasicRedisLeaderboardDemoDotNetCore.BLL.DbContexts
{
public class AppDbContext
{
}
}
| 15.428571 | 61 | 0.740741 | [
"MIT"
] | redis-developer/asic-redis-leaderboard-demo-dotnet | BasicRedisLeaderboardDemoDotNetCore.BLL/DbContexts/AppDbContext.cs | 110 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _08.Increasing_Elements
{
class Program
{
static void Main(string[] args)
{
var n = int.Parse(Console.ReadLine());
var lastnum = int.MinValue;
int num;
var count = 0;
var max = 0;
for (int i = 1; i <= n; i++)
{
num = int.Parse(Console.ReadLine());
if (num > lastnum)
{
count++;
}
else
{
count = 1;
}
lastnum = num;
if (count > max)
{
max = count;
}
}
Console.WriteLine(max);
}
}
}
| 20.318182 | 52 | 0.383669 | [
"MIT"
] | rumenNikodimov/ProgrammingBasics | Exam - Jan 2016/08. Increasing Elements/Program.cs | 896 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="LatencyMonitor.cs" company="Exit Games GmbH">
// Copyright (c) Exit Games GmbH. All rights reserved.
// </copyright>
// <summary>
// Defines the LatencyMonitor type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace Photon.LoadBalancing.LoadShedding
{
using System;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Threading;
using ExitGames.Logging;
using Photon.LoadBalancing.GameServer;
using Photon.LoadBalancing.LoadShedding.Diagnostics;
using Photon.SocketServer;
using Photon.SocketServer.ServerToServer;
using PhotonHostRuntimeInterfaces;
public sealed class LatencyMonitor : S2SPeerBase, ILatencyMonitor
{
#region Constants and Fields
private static readonly ILogger log = LogManager.GetCurrentClassLogger();
public readonly GameApplication Application;
private readonly int intervalMs;
private readonly ValueHistory latencyHistory;
private readonly byte operationCode;
private readonly WorkloadController workloadController;
private int averageLatencyMs;
private int lastLatencyMs;
private IDisposable pingTimer;
#endregion
#region Constructors and Destructors
public LatencyMonitor(
GameApplication application, IRpcProtocol protocol, IPhotonPeer nativePeer, byte operationCode, int maxHistoryLength, int intervalMs, WorkloadController workloadController)
: base(protocol, nativePeer)
{
this.Application = application;
this.operationCode = operationCode;
this.intervalMs = intervalMs;
this.workloadController = workloadController;
this.latencyHistory = new ValueHistory(maxHistoryLength);
this.averageLatencyMs = 0;
this.lastLatencyMs = 0;
log.InfoFormat("{1} connection for latency monitoring established (id={0}), serverId={2}", this.ConnectionId, this.NetworkProtocol, this.Application.ServerId);
if (!Stopwatch.IsHighResolution)
{
log.InfoFormat("No hires stopwatch!");
}
this.pingTimer = this.RequestFiber.ScheduleOnInterval(this.Ping, 0, this.intervalMs);
}
#endregion
#region Properties
public int AverageLatencyMs
{
get
{
return this.averageLatencyMs;
}
}
public int LastLatencyMs
{
get
{
return this.lastLatencyMs;
}
}
#endregion
#region Methods
protected override void Dispose(bool disposing)
{
if (disposing)
{
if (this.pingTimer != null)
{
this.pingTimer.Dispose();
this.pingTimer = null;
}
}
base.Dispose(disposing);
}
////protected override void OnConnectFailed(int errorCode, string errorMessage)
////{
//// log.WarnFormat("Connect Error {0}: {1}", errorCode, errorMessage);
//// if (!this.Disposed)
//// {
//// // wait a second and try again
//// this.RequestFiber.Schedule(this.Connect, 1000);
//// }
////}
protected override void OnDisconnect(DisconnectReason reasonCode, string reasonDetail)
{
if (log.IsInfoEnabled)
{
log.InfoFormat("{1} connection for latency monitoring closed (id={0}, reason={2}, detail={3}, serverId={4})", this.ConnectionId, this.NetworkProtocol, reasonCode, reasonDetail, this.Application.ServerId);
}
if (this.pingTimer != null)
{
this.pingTimer.Dispose();
this.pingTimer = null;
}
if (!this.Disposed)
{
IPAddress address = IPAddress.Parse(this.RemoteIP);
this.workloadController.OnLatencyConnectClosed(new IPEndPoint(address, this.RemotePort));
//this.workloadController.Start();
}
}
protected override void OnEvent(IEventData eventData, SendParameters sendParameters)
{
throw new NotSupportedException();
}
protected override void OnOperationRequest(OperationRequest operationRequest, SendParameters sendParameters)
{
throw new NotSupportedException();
}
protected override void OnOperationResponse(OperationResponse operationResponse, SendParameters sendParameters)
{
if (operationResponse.ReturnCode == 0)
{
var contract = new LatencyOperation(this.Protocol, operationResponse.Parameters);
if (!contract.IsValid)
{
log.Error("LatencyOperation contract error: " + contract.GetErrorMessage());
return;
}
long now = Environment.TickCount;
var sentTime = contract.SentTime;
long latencyTicks = now - sentTime.GetValueOrDefault();
TimeSpan latencyTime = TimeSpan.FromTicks(latencyTicks);
var latencyMs = (int)latencyTime.TotalMilliseconds;
Interlocked.Exchange(ref this.lastLatencyMs, latencyMs);
this.latencyHistory.Add(latencyMs);
if (this.NetworkProtocol == NetworkProtocolType.Udp)
{
Counter.LatencyUdp.RawValue = latencyMs;
}
else
{
Counter.LatencyTcp.RawValue = latencyMs;
}
var newAverage = (int)this.latencyHistory.Average();
Interlocked.Exchange(ref this.averageLatencyMs, newAverage);
}
else
{
log.ErrorFormat("Received Ping Response with Error {0}: {1}", operationResponse.ReturnCode, operationResponse.DebugMessage);
}
}
private void Ping()
{
var contract = new LatencyOperation { SentTime = Environment.TickCount };
var request = new OperationRequest(this.operationCode, contract);
this.SendOperationRequest(request, new SendParameters());
}
#endregion
}
} | 34.645 | 221 | 0.544812 | [
"MIT"
] | bzn/naxsServer | src-server/Loadbalancing/LoadBalancing/LoadShedding/LatencyMonitor.cs | 6,931 | C# |
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// IndividualInfo Data Structure.
/// </summary>
[Serializable]
public class IndividualInfo : AopObject
{
/// <summary>
/// 生日
/// </summary>
[XmlElement("date_of_birth")]
public string DateOfBirth { get; set; }
/// <summary>
/// 证件号码
/// </summary>
[XmlElement("id_number")]
public string IdNumber { get; set; }
/// <summary>
/// 个人名字
/// </summary>
[XmlElement("name")]
public string Name { get; set; }
/// <summary>
/// 国籍
/// </summary>
[XmlElement("nationality")]
public string Nationality { get; set; }
/// <summary>
/// 个人居住地
/// </summary>
[XmlElement("residential_address")]
public string ResidentialAddress { get; set; }
/// <summary>
/// 该个体的类型
/// </summary>
[XmlElement("type")]
public string Type { get; set; }
}
}
| 23.244898 | 55 | 0.471466 | [
"Apache-2.0"
] | 554393109/alipay-sdk-net-all | AlipaySDKNet.Standard/Domain/IndividualInfo.cs | 1,185 | C# |
// Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace DeckCard
{
class Program
{
static void Main(string[] args)
{// Program.cs
// The Main() method
var startingDeck = from s in Suits()
from r in Ranks()
select new { Suits = s, Ranks = r};
var startingDeck1 = Suits().SelectMany(suit => Ranks().Select(rank => new { Suit = suit, Rank = rank }));
// Display each card that we've generated and placed in startingDeck in the console
foreach (var card in startingDeck1)
{
Console.WriteLine(card);
}// 52 cards in a deck, so 52 / 2 = 26
var top = startingDeck.Take(26);
var bottom = startingDeck.Skip(26);
var shuffle = top.ex.InterleaveSequenceWith(bottom);
foreach (var c in shuffle)
{
Console.WriteLine(c);
}
}
static IEnumerable<string> Suits()
{
yield return "clubs";
yield return "diamonds";
yield return "hearts";
yield return "spades";
}
static IEnumerable<string> Ranks()
{
yield return "two";
yield return "three";
yield return "four";
yield return "five";
yield return "six";
yield return "seven";
yield return "eight";
yield return "nine";
yield return "ten";
yield return "jack";
yield return "queen";
yield return "king";
yield return "ace";
}
}
}
// Program.cs
// The Main() method
| 28.046154 | 117 | 0.481624 | [
"MIT"
] | 042020-dotnet-uta/kingsleyOnonachi-repo0 | DeckCard/Program.cs | 1,825 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MasterMemory.Tests")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("MasterMemory.Tests")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("dc77541c-7063-47b8-a5ee-0cee36ec7a6f")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
| 38.081081 | 84 | 0.745919 | [
"MIT"
] | saiedkia/MasterMemory | tests/MasterMemory.Tests/Properties/AssemblyInfo.cs | 1,412 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
/*
* net35 時点では Tuple 型は無いため、自作して使う
* 機能は最低限で問題無いので、最低限しか実装していません
*
*/
namespace ObjectVisualization
{
public class Tuple<T1>
{
public T1 Item1 { get; }
internal Tuple(T1 item1)
{
this.Item1 = item1;
}
}
public class Tuple<T1, T2>
{
public T1 Item1 { get; }
public T2 Item2 { get; }
internal Tuple(T1 item1, T2 item2)
{
this.Item1 = item1;
this.Item2 = item2;
}
}
public class Tuple<T1, T2, T3>
{
public T1 Item1 { get; }
public T2 Item2 { get; }
public T3 Item3 { get; }
internal Tuple(T1 item1, T2 item2, T3 item3)
{
this.Item1 = item1;
this.Item2 = item2;
this.Item3 = item3;
}
}
public class Tuple<T1, T2, T3, T4>
{
public T1 Item1 { get; }
public T2 Item2 { get; }
public T3 Item3 { get; }
public T4 Item4 { get; }
internal Tuple(T1 item1, T2 item2, T3 item3, T4 item4)
{
this.Item1 = item1;
this.Item2 = item2;
this.Item3 = item3;
this.Item4 = item4;
}
}
public class Tuple<T1, T2, T3, T4, T5>
{
public T1 Item1 { get; }
public T2 Item2 { get; }
public T3 Item3 { get; }
public T4 Item4 { get; }
public T5 Item5 { get; }
internal Tuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5)
{
this.Item1 = item1;
this.Item2 = item2;
this.Item3 = item3;
this.Item4 = item4;
this.Item5 = item5;
}
}
public class Tuple<T1, T2, T3, T4, T5, T6>
{
public T1 Item1 { get; }
public T2 Item2 { get; }
public T3 Item3 { get; }
public T4 Item4 { get; }
public T5 Item5 { get; }
public T6 Item6 { get; }
internal Tuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6)
{
this.Item1 = item1;
this.Item2 = item2;
this.Item3 = item3;
this.Item4 = item4;
this.Item5 = item5;
this.Item6 = item6;
}
}
public class Tuple<T1, T2, T3, T4, T5, T6, T7>
{
public T1 Item1 { get; }
public T2 Item2 { get; }
public T3 Item3 { get; }
public T4 Item4 { get; }
public T5 Item5 { get; }
public T6 Item6 { get; }
public T7 Item7 { get; }
internal Tuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7)
{
this.Item1 = item1;
this.Item2 = item2;
this.Item3 = item3;
this.Item4 = item4;
this.Item5 = item5;
this.Item6 = item6;
this.Item7 = item7;
}
}
public static class Tuple
{
public static Tuple<T1> Create<T1>(T1 item1)
{
return new Tuple<T1>(item1);
}
public static Tuple<T1, T2> Create<T1, T2>(T1 item1, T2 item2)
{
return new Tuple<T1, T2>(item1, item2);
}
public static Tuple<T1, T2, T3> Create<T1, T2, T3>(T1 item1, T2 item2, T3 item3)
{
return new Tuple<T1, T2, T3>(item1, item2, item3);
}
public static Tuple<T1, T2, T3, T4> Create<T1, T2, T3, T4>(T1 item1, T2 item2, T3 item3, T4 item4)
{
return new Tuple<T1, T2, T3, T4>(item1, item2, item3, item4);
}
public static Tuple<T1, T2, T3, T4, T5> Create<T1, T2, T3, T4, T5>(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5)
{
return new Tuple<T1, T2, T3, T4, T5>(item1, item2, item3, item4, item5);
}
public static Tuple<T1, T2, T3, T4, T5, T6> Create<T1, T2, T3, T4, T5, T6>(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6)
{
return new Tuple<T1, T2, T3, T4, T5, T6>(item1, item2, item3, item4, item5, item6);
}
public static Tuple<T1, T2, T3, T4, T5, T6, T7> Create<T1, T2, T3, T4, T5, T6, T7>(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7)
{
return new Tuple<T1, T2, T3, T4, T5, T6, T7>(item1, item2, item3, item4, item5, item6, item7);
}
}
}
| 26.987805 | 160 | 0.503841 | [
"MIT"
] | sutefu7/ObjectVisualization | srcs/net35/ObjectVisualization/Tuple.cs | 4,516 | C# |
/*
* OpenAPI Petstore
*
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using JsonSubTypes;
using System.ComponentModel.DataAnnotations;
using OpenAPIDateConverter = Org.OpenAPITools.Client.OpenAPIDateConverter;
using OpenAPIClientUtils = Org.OpenAPITools.Client.ClientUtils;
namespace Org.OpenAPITools.Model
{
/// <summary>
/// The value may be a shape or the 'null' value. This is introduced in OAS schema >= 3.1.
/// </summary>
[DataContract(Name = "ShapeOrNull")]
[JsonConverter(typeof(JsonSubtypes), "ShapeType")]
public partial class ShapeOrNull : IEquatable<ShapeOrNull>, IValidatableObject
{
/// <summary>
/// Initializes a new instance of the <see cref="ShapeOrNull" /> class.
/// </summary>
[JsonConstructorAttribute]
protected ShapeOrNull()
{
this.AdditionalProperties = new Dictionary<string, object>();
}
/// <summary>
/// Initializes a new instance of the <see cref="ShapeOrNull" /> class.
/// </summary>
/// <param name="shapeType">shapeType (required).</param>
/// <param name="quadrilateralType">quadrilateralType (required).</param>
/// <param name="triangleType">triangleType (required).</param>
public ShapeOrNull(string shapeType = default(string), string quadrilateralType = default(string), string triangleType = default(string))
{
// to ensure "shapeType" is required (not null)
this.ShapeType = shapeType ?? throw new ArgumentNullException("shapeType is a required property for ShapeOrNull and cannot be null");
// to ensure "quadrilateralType" is required (not null)
this.QuadrilateralType = quadrilateralType ?? throw new ArgumentNullException("quadrilateralType is a required property for ShapeOrNull and cannot be null");
this.AdditionalProperties = new Dictionary<string, object>();
}
/// <summary>
/// Gets or Sets ShapeType
/// </summary>
[DataMember(Name = "shapeType", EmitDefaultValue = false)]
public string ShapeType { get; set; }
/// <summary>
/// Gets or Sets QuadrilateralType
/// </summary>
[DataMember(Name = "quadrilateralType", EmitDefaultValue = false)]
public string QuadrilateralType { get; set; }
/// <summary>
/// Gets or Sets additional properties
/// </summary>
[JsonExtensionData]
public IDictionary<string, object> AdditionalProperties { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
public override string ToString()
{
var sb = new StringBuilder();
sb.Append("class ShapeOrNull {\n");
sb.Append(" ShapeType: ").Append(ShapeType).Append("\n");
sb.Append(" QuadrilateralType: ").Append(QuadrilateralType).Append("\n");
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="input">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object input)
{
return OpenAPIClientUtils.compareLogic.Compare(this, input as ShapeOrNull).AreEqual;
}
/// <summary>
/// Returns true if ShapeOrNull instances are equal
/// </summary>
/// <param name="input">Instance of ShapeOrNull to be compared</param>
/// <returns>Boolean</returns>
public bool Equals(ShapeOrNull input)
{
return OpenAPIClientUtils.compareLogic.Compare(this, input).AreEqual;
}
/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.ShapeType != null)
hashCode = hashCode * 59 + this.ShapeType.GetHashCode();
if (this.QuadrilateralType != null)
hashCode = hashCode * 59 + this.QuadrilateralType.GetHashCode();
if (this.AdditionalProperties != null)
hashCode = hashCode * 59 + this.AdditionalProperties.GetHashCode();
return hashCode;
}
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
{
return this.BaseValidate(validationContext);
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
protected IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> BaseValidate(ValidationContext validationContext)
{
yield break;
}
}
}
| 39.320988 | 169 | 0.621193 | [
"Apache-2.0"
] | GrinTechnology/openapi-generator | samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ShapeOrNull.cs | 6,370 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using CommunityToolkit.Maui.Alerts.Snackbar;
using FluentAssertions;
using Microsoft.Maui;
using Microsoft.Maui.Controls;
using Microsoft.Maui.Graphics;
using Xunit;
namespace CommunityToolkit.Maui.UnitTests.Alerts;
public class Snackbar_Tests : BaseTest
{
readonly ISnackbar _snackbar = new Snackbar();
[Fact]
public async Task SnackbarShow_IsShownTrue()
{
await _snackbar.Show();
Assert.True(Snackbar.IsShown);
}
[Fact]
public async Task SnackbarDismissed_IsShownFalse()
{
await _snackbar.Dismiss();
Assert.False(Snackbar.IsShown);
}
[Fact]
public async Task SnackbarShow_ShownEventRaised()
{
var receivedEvents = new List<EventArgs>();
Snackbar.Shown += (sender, e) =>
{
receivedEvents.Add(e);
};
await _snackbar.Show();
Assert.Single(receivedEvents);
}
[Fact]
public async Task SnackbarDismiss_DismissedEventRaised()
{
var receivedEvents = new List<EventArgs>();
Snackbar.Dismissed += (sender, e) =>
{
receivedEvents.Add(e);
};
await _snackbar.Dismiss();
Assert.Single(receivedEvents);
}
[Fact]
public async Task VisualElement_DisplaySnackbar_ShownEventReceived()
{
var receivedEvents = new List<EventArgs>();
Snackbar.Shown += (sender, e) =>
{
receivedEvents.Add(e);
};
var button = new Button();
await button.DisplaySnackbar("message");
Assert.Single(receivedEvents);
}
[Fact]
public async Task SnackbarMake_NewSnackbarCreatedWithValidProperties()
{
var action = () => { };
var anchor = new Button();
var expectedSnackbar = new Snackbar
{
Anchor = anchor,
Action = action,
Duration = TimeSpan.MaxValue,
Text = "Test",
ActionButtonText = "Ok",
VisualOptions = new SnackbarOptions
{
Font = Font.Default,
BackgroundColor = Colors.Red,
CharacterSpacing = 10,
CornerRadius = new CornerRadius(1, 2, 3, 4),
TextColor = Colors.RosyBrown,
ActionButtonFont = Font.SystemFontOfSize(5),
ActionButtonTextColor = Colors.Aqua
}
};
var currentSnackbar = Snackbar.Make(
"Test",
action,
"Ok",
TimeSpan.MaxValue,
new SnackbarOptions
{
Font = Font.Default,
BackgroundColor = Colors.Red,
CharacterSpacing = 10,
CornerRadius = new CornerRadius(1, 2, 3, 4),
TextColor = Colors.RosyBrown,
ActionButtonFont = Font.SystemFontOfSize(5),
ActionButtonTextColor = Colors.Aqua
},
anchor);
currentSnackbar.Should().BeEquivalentTo(expectedSnackbar);
}
} | 22.63964 | 71 | 0.708317 | [
"MIT"
] | bijington/Maui | src/CommunityToolkit.Maui.UnitTests/Alerts/SnackBar_Tests.cs | 2,515 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.ML;
using Microsoft.ML.Data;
namespace Samples.Dynamic.Trainers.MulticlassClassification
{
public static class NaiveBayes
{
// Naive Bayes classifier is based on Bayes' theorem.
// It assumes independence among the presence of features in a class even
// though they may be dependent on each other. It is a multi-class trainer
// that accepts binary feature values of type float, i.e., feature values
// are either true or false. Specifically a feature value greater than zero
// is treated as true, zero or less is treated as false.
public static void Example()
{
// Create a new context for ML.NET operations. It can be used for
// exception tracking and logging, as a catalog of available operations
// and as the source of randomness. Setting the seed to a fixed number
// in this example to make outputs deterministic.
var mlContext = new MLContext(seed: 0);
// Create a list of training data points.
var dataPoints = GenerateRandomDataPoints(1000);
// Convert the list of data points to an IDataView object, which is
// consumable by ML.NET API.
var trainingData = mlContext.Data.LoadFromEnumerable(dataPoints);
// Define the trainer.
var pipeline =
// Convert the string labels into key types.
mlContext.Transforms.Conversion
.MapValueToKey(nameof(DataPoint.Label))
// Apply NaiveBayes multiclass trainer.
.Append(mlContext.MulticlassClassification.Trainers
.NaiveBayes());
// Train the model.
var model = pipeline.Fit(trainingData);
// Create testing data. Use different random seed to make it different
// from training data.
var testData = mlContext.Data
.LoadFromEnumerable(GenerateRandomDataPoints(500, seed: 123));
// Run the model on test data set.
var transformedTestData = model.Transform(testData);
// Convert IDataView object to a list.
var predictions = mlContext.Data
.CreateEnumerable<Prediction>(transformedTestData,
reuseRowObject: false).ToList();
// Look at 5 predictions
foreach (var p in predictions.Take(5))
Console.WriteLine($"Label: {p.Label}, " +
$"Prediction: {p.PredictedLabel}");
// Expected output:
// Label: 1, Prediction: 1
// Label: 2, Prediction: 2
// Label: 3, Prediction: 3
// Label: 2, Prediction: 2
// Label: 3, Prediction: 3
// Evaluate the overall metrics
var metrics = mlContext.MulticlassClassification
.Evaluate(transformedTestData);
PrintMetrics(metrics);
// Expected output:
// Micro Accuracy: 0.88
// Macro Accuracy: 0.88
// Log Loss: 34.54
// Log Loss Reduction: -30.47
// Confusion table
// ||========================
// PREDICTED || 0 | 1 | 2 | Recall
// TRUTH ||========================
// 0 || 160 | 0 | 0 | 1.0000
// 1 || 0 | 145 | 32 | 0.8192
// 2 || 9 | 21 | 133 | 0.8160
// ||========================
// Precision ||0.9467 |0.8735 |0.8061 |
}
// Generates random uniform doubles in [-0.5, 0.5) range with labels
// 1, 2 or 3. For NaiveBayes values greater than zero are treated as true,
// zero or less are treated as false.
private static IEnumerable<DataPoint> GenerateRandomDataPoints(int count,
int seed = 0)
{
var random = new Random(seed);
float randomFloat() => (float)(random.NextDouble() - 0.5);
for (int i = 0; i < count; i++)
{
// Generate Labels that are integers 1, 2 or 3
var label = random.Next(1, 4);
yield return new DataPoint
{
Label = (uint)label,
// Create random features that are correlated with the label.
// The feature values are slightly increased by adding a
// constant multiple of label.
Features = Enumerable.Repeat(label, 20)
.Select(x => randomFloat() + label * 0.2f).ToArray()
};
}
}
// Example with label and 20 feature values. A data set is a collection of
// such examples.
private class DataPoint
{
public uint Label { get; set; }
[VectorType(20)]
public float[] Features { get; set; }
}
// Class used to capture predictions.
private class Prediction
{
// Original label.
public uint Label { get; set; }
// Predicted label from the trainer.
public uint PredictedLabel { get; set; }
}
// Pretty-print MulticlassClassificationMetrics objects.
public static void PrintMetrics(MulticlassClassificationMetrics metrics)
{
Console.WriteLine($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
Console.WriteLine($"Macro Accuracy: {metrics.MacroAccuracy:F2}");
Console.WriteLine($"Log Loss: {metrics.LogLoss:F2}");
Console.WriteLine(
$"Log Loss Reduction: {metrics.LogLossReduction:F2}\n");
Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
}
}
}
| 39.781457 | 84 | 0.540037 | [
"MIT"
] | GitHubPang/machinelearning | docs/samples/Microsoft.ML.Samples/Dynamic/Trainers/MulticlassClassification/NaiveBayes.cs | 6,009 | C# |
using System;
using System.Collections.Generic;
using UnityEngine;
[DisallowMultipleComponent]
public abstract class MonoBehaviourSingleton : MonoBehaviour
{
private static readonly Dictionary<System.Type, MonoBehaviourSingleton> s_Instances = new Dictionary<System.Type, MonoBehaviourSingleton>();
protected static IReadOnlyDictionary<System.Type, MonoBehaviourSingleton> Instances { get { return s_Instances; } }
public static T GetInstance<T>() where T : MonoBehaviourSingleton
{
MonoBehaviourSingleton instance;
s_Instances.TryGetValue(typeof(T), out instance);
return (T)instance;
}
public static MonoBehaviourSingleton Instance
{
get { return GetInstance<MonoBehaviourSingleton>(); }
}
protected virtual void Awake()
{
s_Instances.Add(GetType(), this);
}
protected virtual void OnDestroy()
{
s_Instances.Remove(GetType());
}
}
| 27.764706 | 144 | 0.713983 | [
"Apache-2.0"
] | albrdev/marvin42-dacapo-map_visualizer | Assets/Scripts/Components/MonoBehaviourSingleton.cs | 946 | C# |
//-----------------------------------------------------------------------
// <copyright file="SingleSessionController.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
// </copyright>
//-----------------------------------------------------------------------
using DiagnosticsExtension.Models;
using DaaS;
using DaaS.Diagnostics;
using DaaS.Sessions;
using DaaS.Storage;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.IO;
using System.Threading.Tasks;
namespace DiagnosticsExtension.Controllers
{
public class SingleSessionController : ApiController
{
public HttpResponseMessage Get(string sessionId)
{
SessionMinDetails retVal = new SessionMinDetails();
try
{
SessionController sessionController = new SessionController();
Session session = sessionController.GetSessionWithId(new SessionId(sessionId));
retVal.Description = session.Description;
retVal.SessionId = session.SessionId.ToString();
retVal.StartTime = session.StartTime.ToString("yyyy-MM-dd HH:mm:ss");
retVal.EndTime = session.EndTime.ToString("yyyy-MM-dd HH:mm:ss");
retVal.Status = session.Status;
retVal.DiagnoserSessions = new List<string>(session.GetDiagnoserSessions().Select(p => p.Diagnoser.Name));
retVal.HasBlobSasUri = !string.IsNullOrWhiteSpace(session.BlobSasUri);
retVal.BlobStorageHostName = session.BlobStorageHostName;
}
catch (FileNotFoundException fex)
{
return Request.CreateErrorResponse(HttpStatusCode.NotFound, fex.Message);
}
catch (Exception ex)
{
Logger.LogSessionErrorEvent("Encountered exception while getting session", ex, sessionId);
return Request.CreateErrorResponse(HttpStatusCode.InternalServerError, ex.Message);
}
return Request.CreateResponse(HttpStatusCode.OK, retVal);
}
public HttpResponseMessage Get(string sessionId, bool detailed)
{
SessionDetails retVal = new SessionDetails();
try
{
SessionController sessionController = new SessionController();
Session session = sessionController.GetSessionWithId(new SessionId(sessionId));
retVal.Description = session.Description;
retVal.SessionId = session.SessionId.ToString();
retVal.StartTime = session.StartTime.ToString("yyyy-MM-dd HH:mm:ss");
retVal.EndTime = session.EndTime.ToString("yyyy-MM-dd HH:mm:ss");
retVal.Status = session.Status;
retVal.HasBlobSasUri = !string.IsNullOrWhiteSpace(session.BlobSasUri);
retVal.BlobStorageHostName = session.BlobStorageHostName;
foreach (DiagnoserSession diagSession in session.GetDiagnoserSessions())
{
DiagnoserSessionDetails diagSessionDetails = new DiagnoserSessionDetails
{
Name = diagSession.Diagnoser.Name,
CollectorStatus = diagSession.CollectorStatus,
AnalyzerStatus = diagSession.AnalyzerStatus,
CollectorStatusMessages = diagSession.CollectorStatusMessages,
AnalyzerStatusMessages = diagSession.AnalyzerStatusMessages
};
foreach (String analyzerError in diagSession.GetAnalyzerErrors())
{
diagSessionDetails.AddAnalyzerError(analyzerError);
}
foreach (String collectorError in diagSession.GetCollectorErrors())
{
diagSessionDetails.AddCollectorError(collectorError);
}
int minLogRelativePathSegments = Int32.MaxValue;
double logFileSize = 0;
foreach (Log log in diagSession.GetLogs())
{
logFileSize += log.FileSize;
LogDetails logDetails = new LogDetails
{
FileName = log.FileName,
RelativePath = log.RelativePath,
FullPermanentStoragePath = log.FullPermanentStoragePath,
StartTime = log.StartTime.ToString("yyyy-MM-dd HH:mm:ss"),
EndTime = log.EndTime.ToString("yyyy-MM-dd HH:mm:ss")
};
int relativePathSegments = logDetails.RelativePath.Split('\\').Length;
if (relativePathSegments == minLogRelativePathSegments)
{
logDetails.RelativePath = logDetails.RelativePath.Replace('\\', '/');
diagSessionDetails.AddLog(logDetails);
}
else if (relativePathSegments < minLogRelativePathSegments)
{
minLogRelativePathSegments = relativePathSegments;
logDetails.RelativePath = logDetails.RelativePath.Replace('\\', '/');
diagSessionDetails.ClearReports();
diagSessionDetails.AddLog(logDetails);
}
}
retVal.LogFilesSize = logFileSize;
int minReportRelativePathSegments = Int32.MaxValue;
foreach (Report report in diagSession.GetReports())
{
ReportDetails reportDetails = new ReportDetails
{
FileName = report.FileName,
RelativePath = report.RelativePath,
FullPermanentStoragePath = report.FullPermanentStoragePath
};
int relativePathSegments = reportDetails.RelativePath.Split('\\').Length;
if (relativePathSegments == minReportRelativePathSegments)
{
reportDetails.RelativePath = reportDetails.RelativePath.Replace('\\', '/');
diagSessionDetails.AddReport(reportDetails);
}
else if (relativePathSegments < minReportRelativePathSegments)
{
minReportRelativePathSegments = relativePathSegments;
reportDetails.RelativePath = reportDetails.RelativePath.Replace('\\', '/');
diagSessionDetails.ClearReports();
diagSessionDetails.AddReport(reportDetails);
}
}
retVal.AddDiagnoser(diagSessionDetails);
}
}
catch (FileNotFoundException fex)
{
return Request.CreateErrorResponse(HttpStatusCode.NotFound, fex.Message);
}
catch (Exception ex)
{
Logger.LogSessionErrorEvent("Encountered exception while getting session", ex, sessionId);
return Request.CreateErrorResponse(HttpStatusCode.InternalServerError, ex.Message);
}
return Request.CreateResponse(HttpStatusCode.OK, retVal);
}
[HttpPost]
public bool Post(string sessionId, string detailed)
{
try
{
if (detailed == "downloadreports")
{
SessionController sessionController = new SessionController();
Session session = sessionController.GetSessionWithId(new SessionId(sessionId));
foreach (DiagnoserSession diagSession in session.GetDiagnoserSessions())
{
diagSession.DownloadReportsToWebsite();
}
}
else if (detailed == "startanalysis")
{
SessionController sessionController = new SessionController();
Session session = sessionController.GetSessionWithId(new SessionId(sessionId));
sessionController.Analyze(session);
}
else if (detailed == "cancel")
{
SessionController sessionController = new SessionController();
Session session = sessionController.GetSessionWithId(new SessionId(sessionId));
sessionController.Cancel(session);
}
else
{
return false;
}
return true;
}
catch
{
return false;
}
}
[HttpDelete]
public async Task<HttpResponseMessage> Delete(string sessionId)
{
SessionController sessionController = new SessionController();
try
{
Session session = null;
try
{
session = sessionController.GetSessionWithId(new SessionId(sessionId));
}
catch (FileNotFoundException ex)
{
return Request.CreateErrorResponse(HttpStatusCode.NotFound, ex.Message);
}
bool deleted = await sessionController.Delete(session);
if (deleted)
{
return Request.CreateResponse(HttpStatusCode.OK, "Data successfully deleted");
}
else
{
return Request.CreateErrorResponse(HttpStatusCode.Conflict, "Cannot delete an Active session. Make sure to cancel the session first.");
}
}
catch (Exception ex)
{
Logger.LogSessionErrorEvent($"Failed while deleting the session", ex, sessionId);
return Request.CreateErrorResponse(HttpStatusCode.InternalServerError, $"Failed with error {ex.Message} while trying to delete data for the Session {sessionId}");
}
}
}
}
| 43.99177 | 178 | 0.536576 | [
"MIT"
] | isabella232/DaaS | DiagnosticsExtension/Controllers/SingleSessionController.cs | 10,690 | C# |
using System;
using System.Collections.Generic;
using System.Net.Http.Headers;
using KeyPayV2.Uk.Models.Common;
using KeyPayV2.Uk.Enums;
namespace KeyPayV2.Uk.Models.Ess
{
public class EssRosterShiftCountModel
{
public int ProposedSwapCount { get; set; }
public int PendingShiftCount { get; set; }
public int BiddableShiftCount { get; set; }
public int NotAcceptedShiftsCount { get; set; }
}
}
| 26.764706 | 56 | 0.679121 | [
"MIT"
] | KeyPay/keypay-dotnet-v2 | src/keypay-dotnet/Uk/Models/Ess/EssRosterShiftCountModel.cs | 455 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LeetCode
{
public static class Medium
{
//https://leetcode-cn.com/problems/add-two-numbers/description/
#region 2. 两数相加
public static ListNode AddTwoNumbers(ListNode l1, ListNode l2)
{
ListNode res = null;
ListNode current = null;
int carry = 0;
while(l1 != null || l2 != null)
{
int n1 = 0, n2 = 0;
if(l1 != null)
{
n1 = l1.val;
l1 = l1.next;
}
if(l2 != null)
{
n2 = l2.val;
l2 = l2.next;
}
int sum = n1 + n2 + carry;
int val = sum % 10;
carry = sum / 10;
ListNode node = new ListNode(val);
if(res == null)
{
res = node;
current = res;
}
else
{
current.next = node;
current = current.next;
}
}
if(carry > 0)
{
current.next = new ListNode(carry);
return res;
}
return res == null ? new ListNode(0) : res;
}
#endregion
//https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list/description/
#region 19. 删除链表的倒数第N个节点
public static ListNode RemoveNthFromEnd(ListNode head, int n)
{
int index = 0;
ListNode current = head;
ListNode cache = head;
ListNode cacheFast = head.next;
while(current.next != null)
{
current = current.next;
index++;
if(index > n)
{
cache = cache.next;
cacheFast = cache.next;
}
}
if(n <= index)
cache.next = cacheFast.next;
else
head = head.next;
return head;
}
#endregion
//https://leetcode-cn.com/problems/multiply-strings/description/
#region TODO: 43. 字符串相乘
public static string Multiply(string num1, string num2)
{
return "";
}
#endregion
//https://leetcode-cn.com/problems/permutations/description/
#region 46. 全排列
public static IList<IList<int>> Permute(int[] nums)
{
IList<IList<int>> res = new List<IList<int>>();
P(nums, 0, nums.Length - 1, res);
return res;
}
private static void P(int[] nums, int start, int end, IList<IList<int>> res)
{
if(start != end)
{
for(int i = start; i <= end; i++)
{
Swap(nums, i, start);
P(nums, start + 1, end, res);
Swap(nums, i, start);
}
}
else
{
IList<int> l = new List<int>();
for(int i = 0; i <= end; i++)
l.Add(nums[i]);
res.Add(l);
}
}
private static void Swap(int[] nums, int i, int j)
{
int t = nums[i];
nums[i] = nums[j];
nums[j] = t;
}
#endregion
//https://leetcode-cn.com/problems/rotate-image/description/
#region 48. 旋转图像
public static void RotateImage(int[,] matrix)
{
int length = matrix.GetLength(0);
for(int i = 0; i <= length / 2; i++)
for(int j = i; j < length - i - 1; j++)
RotateFrom(i, j, matrix, length - 1);
}
private static void RotateFrom(int x, int y, int[,] matrix, int length)
{
int t = matrix[x, y];
matrix[x, y] = matrix[length - y, x];
matrix[length - y, x] = matrix[length - x, length - y];
matrix[length - x, length - y] = matrix[y, length - x];
matrix[y, length - x] = t;
}
#endregion
//https://leetcode-cn.com/problems/group-anagrams/description/
#region 49. 字母异位词分组
public static IList<IList<string>> GroupAnagrams(string[] strs)
{
Dictionary<string, List<string>> map = new Dictionary<string, List<string>>();
foreach(var s in strs)
{
var arr = s.ToList();
arr.Sort();
string key = new string(arr.ToArray());
if(!map.ContainsKey(key))
map[key] = new List<string>();
map[key].Add(s);
}
return new List<IList<string>>(map.Values);
}
#endregion
//https://leetcode-cn.com/problems/spiral-matrix/description/
#region 54. 螺旋矩阵
public static IList<int> SpiralOrder(int[,] matrix)
{
int width = matrix.GetLength(1);
int height = matrix.GetLength(0);
int size = width * height;
IList<int> res = new List<int>(size);
int counter = 0;
int round = 0;
while(counter < size)
{
width--;
height--;
for(int i = round; i <= width; i++)
{
res.Add(matrix[round, i]);
counter++;
}
for(int i = round + 1; i <= height; i++)
{
res.Add(matrix[i, width]);
counter++;
}
for(int i = width - 1; i >= round && height > round; i--)
{
res.Add(matrix[height, i]);
counter++;
}
for(int i = height - 1; i > round && width > round; i--)
{
res.Add(matrix[i, round]);
counter++;
}
round++;
}
return res;
}
#endregion
//https://leetcode-cn.com/problems/spiral-matrix-ii/description/
#region 59. 螺旋矩阵 II
public static int[,] GenerateMatrix(int n)
{
int[,] arr = new int[n, n];
int index = 1;
int lt = 0, rt = n - 1, lb = 0, rb = n - 1;
while(index <= n * n)
{
for(int i = lb; i <= rt; i++)
arr[lt, i] = index++;
lt++;
for(int i = lt; i <= rb; i++)
arr[i, rt] = index++;
rb--;
for(int i = rb; i >= lb; i--)
arr[rt, i] = index++;
rt--;
for(int i = rt; i >= lt; i--)
arr[i, lb] = index++;
lb++;
}
return arr;
}
#endregion
//https://leetcode-cn.com/problems/rotate-list/description/
#region 61. 旋转链表
public static ListNode RotateRight(ListNode head, int k)
{
if(k <= 0 || head == null)
return head;
int l = 1;
var dummy = head;
while(dummy.next != null)
{
dummy = dummy.next;
l++;
}
dummy.next = head;
k %= l;
if(k > 0)
for(int i = 0; i < l - k; i++)
dummy = dummy.next;
var newHead = dummy.next;
dummy.next = null;
return newHead;
}
#endregion
//https://leetcode-cn.com/problems/set-matrix-zeroes/description/
#region 73. 矩阵置零
public static void SetZeroes(int[,] matrix)
{
int r = matrix.GetLength(0);
int c = matrix.GetLength(1);
int c0 = 1;
for(int i = 0; i < r; i++)
{
if(matrix[i, 0] == 0)
c0 = 0;
for(int j = 1; j < c; j++)
{
if(matrix[i, j] == 0)
{
matrix[i, 0] = 0;
matrix[0, j] = 0;
}
}
}
for(int i = r - 1; i >= 0; i--)
{
for(int j = c - 1; j >= 1; j--)
{
if(matrix[i, 0] == 0 || matrix[0, j] == 0)
{
matrix[i, j] = 0;
}
}
if(c0 == 0)
matrix[i, 0] = 0;
}
}
#endregion
//https://leetcode-cn.com/problems/search-a-2d-matrix/description/
#region 74. 搜索二维矩阵
/// <summary>
/// ╔════════════════════════════════╗
/// ║ MORE CLEANER CODE TO SEE NO.240 ║
/// ║ Medium.SearchMatrixII ║
/// ╚════════════════════════════════╝
/// the core of this code is binary search.
/// </summary>
/// <param name="matrix"></param>
/// <param name="target"></param>
/// <returns></returns>
public static bool SearchMatrix(int[,] matrix, int target)
{
int row = matrix.GetLength(0);
int column = matrix.GetLength(1);
int i = -1;
int l = 0, r = row - 1;
if(column > 0)
{
while(l <= r)
{
i = (r + l) / 2;
int n = matrix[i, 0];
if(n == target)
return true;
if(n > target)
{
if(i == 0 || matrix[i - 1, 0] < target)
{
i--;
break;
}
else
r = i - 1;
}
else
{
if(i == row - 1 || matrix[i + 1, 0] > target)
break;
else
l = i + 1;
}
}
}
int j = -1;
l = 0;
r = column - 1;
if(i >= 0)
{
while(l <= r)
{
j = (r + l) / 2;
int n = matrix[i, j];
if(n == target)
return true;
if(n > target)
r = j - 1;
else
l = j + 1;
}
}
return i > 0 && j > 0 && matrix[i, j] == target;
}
#endregion
//https://leetcode-cn.com/problems/sort-colors/description/
#region 75. 分类颜色
public static void SortColors(int[] nums)
{
QuickSort(nums);
}
public static void QuickSort(int[] nums)
{
Sort(nums, 0, nums.Length - 1);
}
private static void Sort(int[] nums, int left, int right)
{
if(left >= right)
return;
int index = Partition(nums, left, right);
Sort(nums, left, index - 1);
Sort(nums, index + 1, right);
}
private static int Partition(int[] nums, int left, int right)
{
int center = left;
int pivot = nums[right];
for(int i = left; i < right; i++)
{
if(nums[i] <= pivot)
{
Swap(nums, i, center++);
}
}
Swap(nums, center, right);
return center;
}
//private static void Swap(int[] nums, int i, int j)
//{
// if(i == j)
// return;
// int t = nums[i];
// nums[i] = nums[j];
// nums[j] = t;
//}
#endregion
//https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii/description/
#region 82. 删除排序链表中的重复元素 II
public static ListNode DeleteDuplicates(ListNode head)
{
if(head == null)
return null;
ListNode dummy = new ListNode(head.val - 1);
dummy.next = head;
ListNode node = head;
ListNode nextNode = head.next;
ListNode preNode = dummy;
while(nextNode != null)
{
if(node.val != nextNode.val)
{
preNode = node;
node = node.next;
nextNode = nextNode.next;
}
else
{
while(nextNode != null && node.val == nextNode.val)
{
node = node.next;
nextNode = nextNode.next;
}
preNode.next = nextNode;
node = nextNode;
nextNode = nextNode != null ? nextNode.next : null;
}
}
return dummy.next;
}
#endregion
//https://leetcode-cn.com/problems/partition-list/description/
#region 86. 分隔链表
public static ListNode Partition(ListNode head, int x)
{
ListNode biggerHead = new ListNode(0);
ListNode smallerHead = new ListNode(0);
ListNode smaller = smallerHead;
ListNode bigger = biggerHead;
while(head != null)
{
if(head.val < x)
{
smaller.next = head;
smaller = head;
}
else
{
bigger.next = head;
bigger = head;
}
head = head.next;
}
bigger.next = null; // avoid cycle in linked list
smaller.next = biggerHead.next;
return smallerHead.next;
}
#endregion
//https://leetcode-cn.com/problems/reverse-linked-list-ii/description/
#region 92. 反转链表 II
public static ListNode ReverseBetween(ListNode head, int m, int n)
{
if(m == n)
return head;
n -= m;
ListNode dummy = new ListNode(0);
dummy.next = head;
ListNode p1 = dummy;
while(--m > 0)
p1 = p1.next;
ListNode p2 = p1.next;
while(n-- > 0)
{
ListNode p = p2.next;
p2.next = p.next;
p.next = p1.next;
p1.next = p;
}
return dummy.next;
}
#endregion
//https://leetcode-cn.com/problems/binary-tree-inorder-traversal/description/
#region 94. 二叉树的中序遍历
public static IList<int> InorderTraversal(TreeNode root)
{
IList<int> res = new List<int>();
Traversal2(root, res);
return res;
}
private static void Traversal2(TreeNode root, IList<int> res)
{
if(root == null)
return;
Traversal2(root.left, res);
res.Add(root.val);
Traversal2(root.right, res);
}
#endregion
//https://leetcode-cn.com/problems/flatten-binary-tree-to-linked-list/description/
#region 114. 二叉树展开为链表
private static TreeNode prev = null;
public static void Flatten(TreeNode root)
{
if(root == null)
return;
Flatten(root.right);
Flatten(root.left);
root.right = prev;
root.left = null;
prev = root;
}
#endregion
//https://leetcode-cn.com/problems/word-break/description/
#region TODO: 139. 单词拆分
public static bool WordBreak(string s, IList<string> wordDict)
{
throw new Exception("TODO:WordBreak");
}
#endregion
//https://leetcode-cn.com/problems/linked-list-cycle-ii/description/
#region 142. 环形链表 II
public static ListNode DetectCycle(ListNode head)
{
if(head == null)
return null;
var walker = head;
var runner = head;
ListNode point = null;
while(runner.next != null && runner.next.next != null)
{
walker = walker.next;
runner = runner.next.next;
if(walker == runner)
{
point = walker;
break;
}
}
if(point != null)
{
ListNode entrance = head;
while(point.next != null)
{
if(point == entrance)
return entrance;
point = point.next;
entrance = entrance.next;
}
}
return null;
}
#endregion
// https://leetcode-cn.com/problems/binary-tree-preorder-traversal/description/
#region 144. 二叉树的前序遍历
public static IList<int> PreorderTraversal(TreeNode root)
{
IList<int> res = new List<int>();
Traversal(root, res);
return res;
}
private static void Traversal(TreeNode root, IList<int> res)
{
if(root == null)
return;
res.Add(root.val);
Traversal(root.left, res);
Traversal(root.right, res);
}
#endregion
//https://leetcode-cn.com/problems/compare-version-numbers/description/
#region 165. 比较版本号
public static int CompareVersion(string version1, string version2)
{
var v1 = Split(version1);
var v2 = Split(version2);
int i = 0, j = 0;
while(i < v1.Count || j < v2.Count)
{
int m = i < v1.Count ? v1[i] : 0;
int n = j < v2.Count ? v2[j] : 0;
if(m > n)
return 1;
else if(m < n)
return -1;
i++;
j++;
}
return 0;
}
private static IList<int> Split(string s)
{
IList<int> res = new List<int>();
int i = 0;
while(i < s.Length)
{
char c = s[i];
if(c != '.')
{
int n = 0;
while(c != '.')
{
n = (c - '0') + n * 10;
i++;
if(i >= s.Length)
break;
c = s[i];
}
res.Add(n);
}
i++;
}
return res;
}
#endregion
//https://leetcode-cn.com/problems/number-of-islands/description/
#region TODO: 200. 岛屿的个数
public static int NumIslands(char[,] grid)
{
for(int i = 0; i < grid.GetLength(0); i++)
{
for(int j = 0; j < grid.GetLength(1); j++)
{
}
}
return 0;
}
#endregion
//https://leetcode-cn.com/problems/basic-calculator-ii/description/
#region 227. 基本计算器II
public static int Calculate(string s)
{
if(string.IsNullOrWhiteSpace(s))
return 0;
s += "+0";
Stack<int> nums = new Stack<int>();
int n = 0;
char symbol = '+';
for(int i = 0; i < s.Length; i++)
{
char c = s[i];
if(c == ' ')
continue;
if(char.IsDigit(c))
n = (c - '0') + n * 10;
else
{
if(symbol == '+')
nums.Push(n);
else if(symbol == '-')
nums.Push(-n);
else if(symbol == '*')
nums.Push(nums.Pop() * n);
else if(symbol == '/')
nums.Push(nums.Pop() / n);
n = 0;
symbol = c;
}
}
int res = 0;
foreach(var num in nums)
res += num;
return res;
}
#endregion
//https://leetcode-cn.com/problems/product-of-array-except-self/description/
#region 238. 除自身以外数组的乘积
public static int[] ProductExceptSelf(int[] nums)
{
int[] result = new int[nums.Length];
// t is one step slower than i, first loop t's purpose is calculate [0,i-1]'s product, and cache in result
int t = 1;
for(int i = 0; i < nums.Length; i++)
{
result[i] = t;
t *= nums[i];
}
// second loop, reverse sequence cycle nums, t's purpose is calculate [nums.Length,i-1]'s product, and product the cache in result[i]
t = 1;
for(int i = nums.Length - 1; i >= 0; i--)
{
result[i] *= t;
t *= nums[i];
}
// this two loop, t is all one step slower than index i, so never product self.
return result;
}
#endregion
//https://leetcode-cn.com/problems/search-a-2d-matrix-ii/description/
#region 240. 搜索二维矩阵 II
public static bool SearchMatrixII(int[,] matrix, int target)
{
int i = 0, j = matrix.GetLength(1) - 1;
int row = matrix.GetLength(0);
while(i < row && j >= 0)
{
int n = matrix[i, j];
if(n == target)
return true;
if(n > target)
j--;
else
i++;
}
return false;
}
#endregion
//https://leetcode-cn.com/problems/find-the-duplicate-number/description/
#region 287. 寻找重复数
public static int FindDuplicate(int[] nums)
{
if(nums.Length > 1)
{
int slow = nums[0];
int fast = nums[nums[0]];
while(slow != fast)
{
slow = nums[slow];
fast = nums[nums[fast]];
}
fast = 0;
while(fast != slow)
{
fast = nums[fast];
slow = nums[slow];
}
return slow;
}
return -1;
//int res = 0;
//for(int i = 0; i < nums.Length; i++)
//{
// res ^= nums[i];
// res ^= i;
//}
//return res;
//--------------------------------------------------------
//int[] arr = new int[nums.Length];
//for(int i = 0; i < nums.Length; i++)
//{
// int t = nums[i];
// if(arr[t] == 0)
// arr[t] = nums[i];
// else
// arr[t] = -1;
//}
//for(int i = 0; i < arr.Length; i++)
//{
// if(arr[i] == -1)
// return i;
//}
//return 0;
}
#endregion
//https://leetcode-cn.com/problems/bulb-switcher/description/
#region 319. 灯泡开关
public static int BulbSwitch(int n)
{
return (int)Math.Sqrt(n);
}
#endregion
//https://leetcode-cn.com/problems/odd-even-linked-list/description/
#region 328. 奇偶链表
public static ListNode OddEvenList(ListNode head)
{
if(head == null)
return null;
ListNode odd = head;
ListNode even = head.next;
ListNode evenHead = even;
while(even != null && even.next != null)
{
odd.next = odd.next.next;
even.next = even.next.next;
odd = odd.next;
even = even.next;
}
odd.next = evenHead;
return head;
}
#endregion
//https://leetcode-cn.com/problems/counting-bits/description/
#region 338. Bit位计数
public static int[] CountBits(int num)
{
int[] res = new int[num + 1];
for(int i = 1; i <= num; i++)
res[i] = CountBit(i);
return res;
}
private static int CountBit(int n)
{
int i = 0;
while(n > 0)
{
n &= n - 1;
i++;
}
return i;
}
#endregion
//https://leetcode-cn.com/problems/utf-8-validation/description/
#region 393. UTF-8 编码验证
public static bool ValidUtf8(int[] data)
{
int count = 0;
foreach(var d in data)
{
if(count == 0)
{
if(d >> 5 == 6)
count = 1;
else if(d >> 4 == 14)
count = 2;
else if(d >> 3 == 30)
count = 3;
else if(d >> 7 != 0)
return false;
}
else
{
if(d >> 6 == 2)
count--;
else
return false;
}
}
return count == 0;
}
#endregion
//https://leetcode-cn.com/problems/decode-string/description/
#region 394. 字符串解码
public static string DecodeString(string s)
{
int k = 0;
StringBuilder sb = new StringBuilder();
for(int i = 0; i < s.Length; i++)
{
if(s[i] >= '0' && s[i] <= '9')
{
k = k * 10 + (s[i] - '0');
continue;
}
else if(s[i] == '[')
{
int c = 1;
int j = i + 1;
while(c > 0)
{
if(s[j] == '[')
c++;
else if(s[j] == ']')
c--;
j++;
}
string str = DecodeString(s.Substring(i + 1, j - i - 2));
for(int m = 0; m < k; m++)
{
sb.Append(str);
}
i = j - 1;
k = 0;
}
else
sb.Append(s[i]);
}
return sb.ToString();
}
#endregion
//https://leetcode-cn.com/problems/rotate-function/description/
#region 396. 旋转函数
/// <summary>
/// idea copy from https://leetcode.com/problems/rotate-function/discuss/87853/Java-O(n)-solution-with-explanation
/// </summary>
/// <param name="A"></param>
/// <returns></returns>
public static int MaxRotateFunction(int[] A)
{
//if(A.Length <= 0)
// return 0;
//int res = int.MinValue;
//for (int i = 0; i < A.Length; i++)
//{
// int r = 0;
// int k = 0;
// while (k < A.Length)
// {
// r += A[(i + k) % A.Length] * k;
// k++;
// }
// res = Math.Max(r, res);
//}
//return res;
int allSum = 0;
int len = A.Length;
int F = 0;
for(int i = 0; i < len; i++)
{
F += i * A[i];
allSum += A[i];
}
int max = F;
for(int i = len - 1; i >= 1; i--)
{
F = F + allSum - len * A[i];
max = Math.Max(F, max);
}
return max;
}
#endregion
//https://leetcode-cn.com/problems/integer-replacement/description/
#region 397. 整数替换
/// <summary>
/// obviously, even number is more likeable than odd number, because even number we can divide 2 direct
/// but odd number we need turn it to even number(plus 1 or subtract 1).
/// so we need to decide whether to add 1 or subtract 1 when is an odd number.
/// in binary,
/// * 1011 -> 1100 is effective than 1011 -> 1010,
/// because 1100 >> 1 (equal to divide 2) we can get an even number again,
/// but 1010 >> 1 we get an odd number and need turn it to even number again.
/// * 1101 -> 1100 is efectie than 1101 -> 1110, same reason as above.
/// so we can see the pattern, if penultimate bit is 1 then plus 1 else minus 1 (if x & 0B10 = 0 => x-- else m++).
/// it should be noted that, 3(0B11) is a speciall number, because 11 -> 10 -> 1 ,but 11 -> 100 -> 10 -> 1.
/// </summary>
/// <param name="n"></param>
/// <returns></returns>
public static int IntegerReplacement(int n)
{
int c = 0;
ulong m = (ulong)n;
while(m != 1)
{
if((m & 1) == 0)
m >>= 1;
else if(m == 3 || (m & 2) == 0)
m--;
else
m++;
c++;
}
return c;
}
#endregion
//https://leetcode-cn.com/problems/reconstruct-original-digits-from-english/description/
#region 423. 从英文中重建数字
public static string OriginalDigits(string s)
{
char[] letters = new char['z' + 1];
for (int i = 0; i < s.Length; i++)
{
letters[s[i]]++;
}
int[] counts = new int[10];
counts[0] = letters['z'];
counts[2] = letters['w'];
counts[4] = letters['u'];
counts[6] = letters['x'];
counts[8] = letters['g'];
counts[5] = letters['f'] - counts[4];
counts[7] = letters['v'] - counts[5];
counts[3] = letters['r'] - counts[0] - counts[4];
counts[1] = letters['o'] - counts[0] - counts[2] - counts[4];
counts[9] = letters['i'] - counts[5] - counts[6] - counts[8];
char[] chars = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9' };
int l = counts[0] + counts[1] + counts[2] + counts[3] + counts[4] + counts[5] + counts[6] + counts[7] + counts[8] + counts[9];
char[] res = new char[l];
int k = 0;
for (int i = 0; i < counts.Length; i++)
{
char v = chars[i];
for (int j = 0; j < counts[i]; j++)
{
res[k++] = v;
}
}
return new string(res);
}
#endregion
//https://leetcode-cn.com/problems/find-all-duplicates-in-an-array/description/
#region 442. 数组中重复的数据
public static IList<int> FindDuplicates(int[] nums)
{
List<int> res = new List<int>();
for(int i = 0; i < nums.Length; i++)
{
int index = Math.Abs(nums[i]) - 1;
if(nums[index] < 0)
res.Add(Math.Abs(index + 1));
nums[index] *= -1;
}
return res;
}
#endregion
//https://leetcode.com/problems/132-pattern/description/
#region 456. 132 Pattern
public static bool Find132pattern(int[] nums)
{
int p3 = int.MinValue;
Stack<int> stack = new Stack<int>();
for(int i = nums.Length - 1; i >= 0; i--)
{
if(nums[i] < p3)
{
return true;
}
else
{
while(stack.Count > 0 && nums[i] > stack.Peek())
{
p3 = stack.Pop();
}
}
stack.Push(nums[i]);
}
return false;
}
#endregion
//https://leetcode-cn.com/problems/total-hamming-distance/description/
#region 477. 汉明距离总和
public static int TotalHammingDistance(int[] nums)
{
int total = 0, length = nums.Length;
for(int j = 0; j < 32; j++)
{
int bitCount = 0;
for(int i = 0; i < length; i++)
bitCount += (nums[i] >> j) & 1;
total += bitCount * (length - bitCount);
}
return total;
}
#endregion
//https://leetcode-cn.com/problems/validate-ip-address/description/
#region 468. 验证IP地址
public static string ValidIPAddress(string IP)
{
if(IP.Length <= 0)
return "Neither";
if(IsIPV4(IP))
return "IPv4";
if(IsIPV6(IP))
return "IPv6";
return "Neither";
}
private static bool IsIPV4(string IP)
{
int v = 0;
bool isDot = true;
int counter = 0;
int l = 0;
for(int i = 0; i < IP.Length; i++)
{
char c = IP[i];
if(isDot)
{
if(c == '.')
return false;
isDot = false;
}
if(char.IsNumber(c))
{
if(l > 0)
{
if(v == 0)
return false;
}
v = v * 10 + c - '0';
l++;
if(v > 255)
return false;
}
else if(c == '.')
{
l = 0;
v = 0;
isDot = true;
counter++;
}
else
return false;
}
return !isDot && counter == 3;
}
private static bool IsIPV6(string IP)
{
bool isColon = true;
int counter = 0;
int l = 0;
for(int i = 0; i < IP.Length; i++)
{
char c = IP[i];
if(isColon)
{
if(c == ':')
return false;
isColon = false;
}
if(c == ':')
{
isColon = true;
counter++;
l = 0;
}
else
{
if(!((c >= '0' && c <= '9') || (c >= 'a' && c <= 'f') || (c >= 'A' && c <= 'F')))
return false;
if(l >= 4)
return false;
l++;
}
}
return !isColon && counter == 7;
}
#endregion
//https://leetcode-cn.com/problems/complex-number-multiplication/description/
#region 537. 复数乘法
public static string ComplexNumberMultiply(string a, string b)
{
int i, j;
int m, n;
Parse(a, out i, out j);
Parse(b, out m, out n);
int real = i * m - j * n;
int imaginary = j * m + i * n;
return $"{real}+{imaginary}i";
}
private static void Parse(string input, out int a, out int b)
{
var arr = input.Split('+');
a = int.Parse(arr[0]);
b = int.Parse(arr[1].Substring(0, arr[1].Length - 1));
}
#endregion
//https://leetcode-cn.com/problems/single-element-in-a-sorted-array/description/
#region 540. 有序数组中的单一元素
public static int SingleNonDuplicate(int[] nums)
{
for(int i = 0; i < nums.Length; i += 2)
{
if(i + 1 >= nums.Length)
return nums[i];
if(nums[i] != nums[i + 1])
return nums[i];
}
return 0;
}
#endregion
//https://leetcode-cn.com/problems/daily-temperatures/description/
#region 739. 每日温度
public static int[] DailyTemperatures(int[] temperatures)
{
Stack<int> stack = new Stack<int>();
int[] ret = new int[temperatures.Length];
for(int i = 0; i < temperatures.Length; i++)
{
while(stack.Count > 0 && temperatures[i] > temperatures[stack.Peek()])
{
int index = stack.Pop();
ret[index] = i - index;
}
stack.Push(i);
}
return ret;
}
//public static int[] DailyTemperatures(int[] temperatures)
//{
// int[] res = new int[temperatures.Length];
// for(int i = 0; i < temperatures.Length; i++)
// {
// res[i] = GetDay(temperatures, i);
// }
// return res;
//}
//private static int GetDay(int[] temperatures, int start)
//{
// int v = temperatures[start];
// for(int i = start + 1; i < temperatures.Length; i++)
// if(temperatures[i] > v)
// return i - start;
// return 0;
//}
#endregion
//https://leetcode-cn.com/problems/reorganize-string/description/
#region TODO: 767. 重构字符串
public static string ReorganizeString(string S)
{
var arr = S.ToArray();
int i = 0, j = 1;
while(j < arr.Length)
{
if(arr[i] != arr[j])
{
i++;
j++;
}
else
{
int k = j + 1;
while(true)
{
if(k == arr.Length)
return string.Empty;
if(arr[k] != arr[i])
{
var t = arr[k];
arr[k] = arr[j];
arr[j] = t;
i++;
j++;
break;
}
k++;
}
}
}
if(i == j - 1)
return new string(arr);
else
return string.Empty;
}
#endregion
//https://leetcode-cn.com/problems/custom-sort-string/description/
#region 791. 自定义字符串排序
public static string CustomSortString(string S, string T)
{
int[] priority = new int['z' + 1];
for(int i = 0; i < S.Length; i++)
priority[S[i]] = i + 1;
char[] res = T.ToCharArray();
for(int i = 0; i < res.Length; i++)
{
for(int j = i; j < res.Length; j++)
{
if(priority[res[j]] < priority[res[i]])
{
char t = res[i];
res[i] = res[j];
res[j] = t;
}
}
}
return new string(res);
}
#endregion
//https://leetcode-cn.com/contest/weekly-contest-91/problems/all-nodes-distance-k-in-binary-tree/
#region TODO: 863. 二叉树中所有距离为 K 的结点
public static IList<int> DistanceK(TreeNode root, TreeNode target, int K)
{
return null;
}
#endregion
//https://leetcode-cn.com/contest/weekly-contest-96/problems/decoded-string-at-index/
#region 884. 索引处的解码字符串
public static string DecodeAtIndex(string S, int K)
{
int i = 0;
while(i < S.Length)
{
char c = S[i];
if(c <= '9' && c >= '0')
{
if(i >= K)
{
return new string(new char[] { S[K - 1] });
}
else
{
char[] arr = new char[(S.Length - i - 1) + i * (c - '0')];
int j = 0;
for(j = 0; j < c - '0'; j++)
{
for(int k = 0; k < i; k++)
{
arr[j * i + k] = S[k];
}
}
for(j = i * (c - '0'); i < S.Length - 1; j++)
{
arr[j] = S[++i];
}
return DecodeAtIndex(new string(arr), K);
}
}
i++;
}
return new string(new char[] { S[K - 1] });
}
#endregion
}
}
| 29.906007 | 145 | 0.374672 | [
"MIT"
] | YaoYilin/LeetCode | LeetCode/Medium.cs | 42,971 | C# |
namespace LearnMining
{
public interface IMiner
{
void Mine();
}
}
| 11 | 27 | 0.556818 | [
"MIT"
] | Autarkysoft/LearnMining | LearnMining/IMiner.cs | 90 | C# |
/*
File: Program.cs
Description: Code Snippet to enable/disable scanner using CoreScanner
Version: 1.0.0.1
Date: 2020-05-22
Copyright: ©2020 Zebra Technologies Corporation and/or its affiliates. All rights reserved.
*/
using System;
using System.Threading;
using CoreScanner; // CoreScanner namespace
using CoreScannerLib;
namespace CoreScannerSnippet
{
/// <summary>
/// Enable/Disable scanner using CoreScanner demo program
/// </summary>
class Program
{
/// <summary>
/// Enable/Disable scanner using CoreScanner
/// </summary>
/// <param name="args"></param>
static void Main(string[] args)
{
// Initialize CoreScanner COM object
CoreScanner.CCoreScanner coreScannerObject = new CCoreScanner();
int appHandle = 0;
const short NumberOfScannerTypes = 1;
short[] scannerTypes = new short[NumberOfScannerTypes];
scannerTypes[0] = (short)ScannerType.All; // All scanner types
int status = -1;
try
{
// Open CoreScanner COM Object
coreScannerObject.Open(appHandle, // Application handle
scannerTypes, // Array of scanner types
NumberOfScannerTypes, // Length of scanner types array
out status); // Command execution success/failure return status
if (status == (int)Status.Success)
{
Console.WriteLine("CoreScanner Open() - Success");
short numOfScanners = 0;
string outXml = "";
int[] scannerIdList = new int[Constant.MaxNumDevices];
// Get connected scanners
coreScannerObject.GetScanners(out numOfScanners, // Returns number of scanners discovered
scannerIdList, // Returns array of connected scanner ids
out outXml, // Output xml containing discovered scanners information
out status); // Command execution success/failure return status
if (status == (int)Status.Success)
{
Console.WriteLine("CoreScanner GetScanners()- Success");
Console.WriteLine(" Total Scanners : " + numOfScanners);
string scannerIds = "";
Array.Resize(ref scannerIdList, numOfScanners);
scannerIds = String.Join(", ", scannerIdList);
Console.WriteLine(" Scanner IDs :" + scannerIds);
Console.WriteLine(" Out xml : " + Environment.NewLine + outXml);
Console.WriteLine("Disabling all scanners");
foreach (int scannerId in scannerIdList)
{
status = -1;
int opCode = (int)Opcode.DeviceScanDisable;
string inXml = "<inArgs>" +
"<scannerID>" + scannerId.ToString() + "</scannerID>" +
"</inArgs>";
// Disable Scanner
coreScannerObject.ExecCommand(opCode, // Opcode: Scanner Disable
ref inXml, // Input XML
out outXml, // Output XML
out status); // Command execution success/failure return status
if (status == (int)Status.Success)
{
Console.WriteLine("CoreScanner ScannerDisable() scanner ID:[" + scannerId.ToString() + "] - Success");
}
else
{
Console.WriteLine("CoreScanner ScannerDisable() scanner ID:[" + scannerId.ToString() + "] - Failed. Error Code : " + status);
}
}
Console.WriteLine("All scanners disabled, press any key to continue.");
while (!Console.KeyAvailable)
{
Thread.Sleep(10);
}
Console.ReadKey();
Console.WriteLine("Enabling all scanners");
foreach (int scannerId in scannerIdList)
{
status = -1;
int opCode = (int)Opcode.DeviceScanEnable;
string inXml = "<inArgs>" +
"<scannerID>" + scannerId.ToString() + "</scannerID>" +
"</inArgs>";
// Enable Scanner
coreScannerObject.ExecCommand(opCode, // Opcode: Scanner Enable
ref inXml, // Input XML
out outXml, // Output XML
out status); // Command execution success/failure return status
if (status == (int)Status.Success)
{
Console.WriteLine("CoreScanner ScannerEnable() scanner ID:[" + scannerId.ToString() + "] - Success");
}
else
{
Console.WriteLine("CoreScanner ScannerEnable() scanner ID:[" + scannerId.ToString() + "] - Failed. Error Code : " + status);
}
}
Console.WriteLine("All scanners enabled, press any key to continue.");
while (!Console.KeyAvailable)
{
Thread.Sleep(10);
}
Console.ReadKey();
}
else
{
Console.WriteLine("CoreScanner GetScanner() - Failed. Error Code : " + status);
}
}
else
{
Console.WriteLine("CoreScanner Open() - Failed. Error Code : " + status);
}
// Close CoreScanner COM Object
coreScannerObject.Close(appHandle, // Application handle
out status); // Command execution success/failure return status
if (status == (int)Status.Success)
{
Console.WriteLine("CoreScanner Close() - Success");
}
else
{
Console.WriteLine("CoreScanner Close() - Failed. Error Code : " + status);
}
}
catch (Exception exception)
{
Console.WriteLine("Exception : " + exception.ToString());
}
Console.WriteLine("Press any key to exit.");
Console.ReadKey();
}
}
}
| 46.134969 | 157 | 0.433245 | [
"MIT"
] | zebra-technologies/Scanner-SDK-for-Windows-Code-Snippets | CSharp/EnableDisableScanner/Program.cs | 7,523 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) 2015 Microsoft Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
// ------------------------------------------------------------------------------
// **NOTE** This file was generated by a tool and any changes will be overwritten.
namespace Microsoft.OneDrive.Sdk
{
using System;
using System.Collections.Generic;
/// <summary>
/// The interface IItemsCollectionRequestBuilder.
/// </summary>
public partial interface IItemsCollectionRequestBuilder
{
/// <summary>
/// Builds the request.
/// </summary>
/// <returns>The built request.</returns>
IItemsCollectionRequest Request();
/// <summary>
/// Builds the request.
/// </summary>
/// <param name="options">The query and header options for the request.</param>
/// <returns>The built request.</returns>
IItemsCollectionRequest Request(IList<Option> options);
/// <summary>
/// Gets an <see cref="IItemRequestBuilder"/> for the specified Items.
/// </summary>
/// <param name="id">The ID for the Items.</param>
/// <returns>The <see cref="IItemRequestBuilder"/>.</returns>
IItemRequestBuilder this[string id] { get; }
}
}
| 41.551724 | 87 | 0.63361 | [
"MIT"
] | HandsomeMark/onedrive-sdk-csharp-master | src/OneDriveSdk/Requests/Generated/IItemsCollectionRequestBuilder.cs | 2,410 | C# |
using System.Collections.Generic;
using Essensoft.AspNetCore.Payment.Alipay.Response;
namespace Essensoft.AspNetCore.Payment.Alipay.Request
{
/// <summary>
/// alipay.open.public.personalized.menu.delete
/// </summary>
public class AlipayOpenPublicPersonalizedMenuDeleteRequest : IAlipayRequest<AlipayOpenPublicPersonalizedMenuDeleteResponse>
{
/// <summary>
/// 个性化菜单删除
/// </summary>
public string BizContent { get; set; }
#region IAlipayRequest Members
private bool needEncrypt = false;
private string apiVersion = "1.0";
private string terminalType;
private string terminalInfo;
private string prodCode;
private string notifyUrl;
private string returnUrl;
private AlipayObject bizModel;
public void SetNeedEncrypt(bool needEncrypt)
{
this.needEncrypt = needEncrypt;
}
public bool GetNeedEncrypt()
{
return needEncrypt;
}
public void SetNotifyUrl(string notifyUrl)
{
this.notifyUrl = notifyUrl;
}
public string GetNotifyUrl()
{
return notifyUrl;
}
public void SetReturnUrl(string returnUrl)
{
this.returnUrl = returnUrl;
}
public string GetReturnUrl()
{
return returnUrl;
}
public void SetTerminalType(string terminalType)
{
this.terminalType = terminalType;
}
public string GetTerminalType()
{
return terminalType;
}
public void SetTerminalInfo(string terminalInfo)
{
this.terminalInfo = terminalInfo;
}
public string GetTerminalInfo()
{
return terminalInfo;
}
public void SetProdCode(string prodCode)
{
this.prodCode = prodCode;
}
public string GetProdCode()
{
return prodCode;
}
public string GetApiName()
{
return "alipay.open.public.personalized.menu.delete";
}
public void SetApiVersion(string apiVersion)
{
this.apiVersion = apiVersion;
}
public string GetApiVersion()
{
return apiVersion;
}
public IDictionary<string, string> GetParameters()
{
var parameters = new AlipayDictionary
{
{ "biz_content", BizContent }
};
return parameters;
}
public AlipayObject GetBizModel()
{
return bizModel;
}
public void SetBizModel(AlipayObject bizModel)
{
this.bizModel = bizModel;
}
#endregion
}
}
| 23.203252 | 127 | 0.553609 | [
"MIT"
] | LuohuaRain/payment | src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOpenPublicPersonalizedMenuDeleteRequest.cs | 2,870 | C# |
using JetBrains.DocumentModel;
using JetBrains.ReSharper.Feature.Services.CodeCompletion.Impl;
using JetBrains.ReSharper.Feature.Services.CodeCompletion.Infrastructure;
using JetBrains.ReSharper.Feature.Services.Util;
using JetBrains.ReSharper.Psi.Tree;
using ReSharperPlugin.SpecflowRiderPlugin.Psi;
namespace ReSharperPlugin.SpecflowRiderPlugin.CompletionProviders
{
[IntellisensePart]
public class GherkinCompletionContextProvider : CodeCompletionContextProviderBase
{
public override bool IsApplicable(CodeCompletionContext context)
{
return context.File is GherkinFile;
}
public override ISpecificCodeCompletionContext GetCompletionContext(CodeCompletionContext context)
{
var relatedText = string.Empty;
var nodeUnderCursor = TextControlToPsi.GetElement<ITreeNode>(context.Solution, context.TextControl);
if (IsAfterKeywordExpectingText(nodeUnderCursor))
return null;
ITreeNode interestingNode;
if (IsAtEmptyLineBeforeEndOfFile(nodeUnderCursor))
{
var node = nodeUnderCursor;
while (node != null && node.IsWhitespaceToken())
node = node.PrevSibling;
interestingNode = node;
while (interestingNode?.LastChild != null &&
(interestingNode.LastChild is GherkinFeature || interestingNode.LastChild is GherkinScenario || interestingNode.LastChild is GherkinScenarioOutline)
)
interestingNode = interestingNode?.LastChild;
}
else
{
if (nodeUnderCursor?.GetTokenType() == GherkinTokenTypes.NEW_LINE && nodeUnderCursor?.NextSibling != null)
nodeUnderCursor = nodeUnderCursor.NextSibling;
interestingNode = GetInterestingNode(nodeUnderCursor);
}
if (interestingNode == null)
return null;
var isStartOfLine = IsStartOfLine(nodeUnderCursor, out var startOfLineText);
var ranges = GetTextLookupRanges(context, nodeUnderCursor.GetDocumentRange());
if (nodeUnderCursor is GherkinToken token && token.IsWhitespaceToken() && token?.PrevSibling?.GetTokenType() == GherkinTokenTypes.NEW_LINE)
ranges = GetTextLookupRanges(context, nodeUnderCursor.GetDocumentRange().SetStartTo(context.CaretDocumentOffset));
if (interestingNode is GherkinTag tag)
{
relatedText = startOfLineText = tag.GetStepTextBeforeCaret(context.CaretDocumentOffset);
if (context.CaretDocumentOffset > tag.GetDocumentEndOffset())
{
relatedText = "@";
ranges = new TextLookupRanges(
new DocumentRange(tag.GetDocumentEndOffset().Shift(1), context.CaretDocumentOffset),
new DocumentRange(tag.GetDocumentEndOffset().Shift(1), context.CaretDocumentOffset)
);
}
else
{
ranges = new TextLookupRanges(
new DocumentRange(tag.GetDocumentStartOffset(), context.CaretDocumentOffset),
tag.GetDocumentRange()
);
}
}
if (interestingNode is GherkinStep step)
{
var stepTextRange = step.GetStepTextRange();
if (IsCursorBeforeNode(context, stepTextRange))
return null;
relatedText = step.GetStepTextBeforeCaret(context.CaretDocumentOffset);
if (IsCursorAfterNode(context, stepTextRange))
{
stepTextRange = stepTextRange.ExtendRight(context.CaretDocumentOffset.Offset - stepTextRange.EndOffset.Offset);
relatedText += " ";
if (string.IsNullOrWhiteSpace(relatedText))
{
relatedText = string.Empty;
stepTextRange = stepTextRange.ExtendLeft(-1);
}
}
var replaceRange = stepTextRange;
var insertRange = stepTextRange.SetEndTo(context.SelectedRange.EndOffset);
ranges = new TextLookupRanges(insertRange, replaceRange);
}
return new GherkinSpecificCodeCompletionContext(context, ranges, interestingNode, isStartOfLine ? startOfLineText : relatedText, isStartOfLine);
}
private bool IsAtEmptyLineBeforeEndOfFile(ITreeNode node)
{
var nodePrev = node;
while (nodePrev?.IsWhitespaceToken() == true && nodePrev.GetTokenType() != GherkinTokenTypes.NEW_LINE)
nodePrev = nodePrev.GetPreviousToken();
if (nodePrev?.GetTokenType() != GherkinTokenTypes.NEW_LINE)
return false;
while (node != null)
{
if (!node.IsWhitespaceToken())
return false;
node = node.GetNextToken();
}
return true;
}
private bool IsAfterKeywordExpectingText(ITreeNode nodeUnderCursor)
{
if (nodeUnderCursor.IsWhitespaceToken()
|| nodeUnderCursor is GherkinToken token && (token.NodeType == GherkinTokenTypes.TEXT || token.NodeType == GherkinTokenTypes.COLON))
{
for (var t = nodeUnderCursor.PrevSibling; t != null; t = t.PrevSibling)
{
if (t.GetTokenType() == GherkinTokenTypes.NEW_LINE)
break;
if (t.GetTokenType() == GherkinTokenTypes.FEATURE_KEYWORD)
return true;
if (t.GetTokenType() == GherkinTokenTypes.SCENARIO_KEYWORD)
return true;
if (t.GetTokenType() == GherkinTokenTypes.SCENARIO_OUTLINE_KEYWORD)
return true;
if (t.GetTokenType() == GherkinTokenTypes.BACKGROUND_KEYWORD)
return true;
if (t.GetTokenType() == GherkinTokenTypes.PIPE || t.GetTokenType() == GherkinTokenTypes.TABLE_CELL)
return true;
}
return false;
}
return false;
}
private bool IsStartOfLine(ITreeNode nodeUnderCursor, out string text)
{
text = string.Empty;
if (nodeUnderCursor.IsWhitespaceToken() && nodeUnderCursor.GetPreviousToken()?.NodeType == GherkinTokenTypes.NEW_LINE)
return true;
if ((nodeUnderCursor.GetPreviousToken()?.IsWhitespaceToken() == true && nodeUnderCursor.GetPreviousToken()?.GetPreviousToken()?.NodeType == GherkinTokenTypes.NEW_LINE)
||nodeUnderCursor.GetPreviousToken()?.NodeType == GherkinTokenTypes.NEW_LINE )
{
text = nodeUnderCursor.GetText();
return true;
}
return false;
}
// This occurs when cursor is at the end of line with a space before it. In this case the node ends up a bit sooner
// example: Given some <caret>
// ^========^^
// |- Step |- Whitespace token (outside the step)
private static bool IsCursorAfterNode(CodeCompletionContext context, DocumentRange nodeRange)
{
return nodeRange.EndOffset < context.CaretDocumentOffset;
}
private static bool IsCursorBeforeNode(CodeCompletionContext context, DocumentRange nodeRange)
{
return context.CaretDocumentOffset < nodeRange.StartOffset;
}
private ITreeNode GetInterestingNode(ITreeNode node)
{
if (node.GetTokenType() == GherkinTokenTypes.WHITE_SPACE && node.PrevSibling != null)
node = GetDeepestLastChild(node.PrevSibling);
if (node.GetTokenType() == GherkinTokenTypes.COMMENT)
return null;
while (node != null)
{
if (node is GherkinStep)
return node;
if (node is IGherkinScenario)
return node;
if (node is GherkinTag)
return node;
if (node is GherkinFeature)
return node;
node = node.Parent;
}
return null;
}
private static ITreeNode GetDeepestLastChild(ITreeNode node)
{
while (node.LastChild != null)
node = node.LastChild;
return node;
}
}
} | 42.804878 | 179 | 0.579145 | [
"MIT"
] | Socolin/resharper-specflow | src/dotnet/ReSharperPlugin.SpecflowRiderPlugin/CompletionProviders/GherkinCompletionContextProvider.cs | 8,775 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using UIKit;
namespace PocketBar.iOS
{
public class Application
{
// This is the main entry point of the application.
static void Main(string[] args)
{
// if you want to use a different Application Delegate class from "AppDelegate"
// you can specify it here.
UIApplication.Main(args, null, "AppDelegate");
}
}
}
| 22.904762 | 91 | 0.632017 | [
"MIT"
] | BaristaStudio/PocketBar | PocketBar/PocketBar.iOS/Main.cs | 483 | C# |
using Stump.DofusProtocol.D2oClasses;
using Stump.DofusProtocol.D2oClasses.Tools.D2o;
using Stump.ORM;
using Stump.ORM.SubSonic.SQLGeneration.Schema;
namespace Stump.Server.WorldServer.Database.Guilds
{
public class TaxCollectorNamesRelator
{
public static string FetchQuery = "SELECT * FROM taxcollector_names";
}
[TableName("taxcollector_names")]
[D2OClass("TaxCollectorName", "com.ankamagames.dofus.datacenter.npcs")]
public class TaxCollectorNamesRecord : IAssignedByD2O, IAutoGeneratedRecord
{
[PrimaryKey("Id", false)]
public int Id
{
get;
set;
}
public uint NameId
{
get;
set;
}
public void AssignFields(object d2oObject)
{
var name = (TaxCollectorName)d2oObject;
Id = name.Id;
NameId = name.NameId;
}
}
}
| 24.263158 | 79 | 0.611714 | [
"Apache-2.0"
] | Daymortel/Stump | src/Stump.Server.WorldServer/Database/Guilds/TaxCollectorNamesRecord.cs | 924 | C# |
using DatenMeister.Core.EMOF.Interface.Reflection;
namespace DatenMeister.Forms.FormModifications
{
/// <summary>
/// Defines the interface to modify the form, depending on the context
/// </summary>
public interface IFormModificationPlugin
{
/// <summary>
/// Allows the plugin to modify the form. This method is called by the FormsPlugin for each added plugin
/// </summary>
/// <param name="context">Form Context defining the elements for which the form was created
/// and the purpose</param>
/// <param name="form">The form that had been created. This form can be directly be modified since
/// it is a copy. </param>
public void ModifyForm(FormCreationContext context, IElement form);
}
}
| 39.25 | 112 | 0.66879 | [
"MIT"
] | mbrenn/datenmeister-new | src/DatenMeister.Forms/FormModifications/IFormModificationPlugin.cs | 787 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Andi Ninfia DS Toolkit")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("AndiToolkit")]
[assembly: AssemblyCopyright("2014")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("4beff34e-2590-41b7-a8bc-942b5e5e94ba")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.3")]
[assembly: AssemblyFileVersion("1.0.0.3")]
| 37.648649 | 84 | 0.745154 | [
"Apache-2.0"
] | PMArkive/ANDT | NinfiaDSToolkit/Properties/AssemblyInfo.cs | 1,395 | C# |
namespace SportsSite.Web.Controllers
{
using SportsSite.Data.UnitOfWork;
using System.Web.Mvc;
public class BaseController : Controller
{
protected ISportsSiteData Data;
public BaseController(ISportsSiteData data)
{
this.Data = data;
}
public BaseController()
: this(new SportsSiteData())
{
}
}
} | 20 | 51 | 0.585 | [
"MIT"
] | BorislavNedev/SportsSite | SportsSite/SportsSite.Web/Controllers/BaseController.cs | 402 | C# |
using HelpMyStreet.Utils.Enums;
using System;
using System.Collections.Generic;
using System.Text;
namespace HelpMyStreet.Contracts.CommunicationService.Request
{
public class GroupRoleType
{
public int? GroupId { get; set; }
public GroupRoles GroupRoles { get; set; }
}
}
| 21.642857 | 61 | 0.716172 | [
"MIT"
] | HelpMyStreet/nuget-package | HelpMyStreet.Utils/HelpMyStreet.Contracts/CommunicationService/Request/GroupRoleType.cs | 305 | C# |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Data.SqlClient;
using System.Linq;
using Microsoft.Data.Entity.FunctionalTests;
using Microsoft.Data.Entity.FunctionalTests.TestModels.Northwind;
using Microsoft.Data.Entity.Relational.FunctionalTests;
using Microsoft.Data.Entity.Storage;
using Xunit;
#if ASPNETCORE50
using System.Threading;
#endif
namespace Microsoft.Data.Entity.SqlServer.FunctionalTests
{
public class SqlServerQueryTest : QueryTestBase<SqlServerNorthwindQueryFixture>
{
public override void Count_with_predicate()
{
base.Count_with_predicate();
Assert.Equal(
@"SELECT COUNT(*)
FROM [Orders] AS [o]
WHERE [o].[CustomerID] = @p0",
Sql);
}
public override void Sum_with_no_arg()
{
base.Sum_with_no_arg();
Assert.Equal(
@"SELECT SUM([o].[OrderID])
FROM [Orders] AS [o]",
Sql);
}
public override void Sum_with_arg()
{
base.Sum_with_arg();
Assert.Equal(
@"SELECT SUM([o].[OrderID])
FROM [Orders] AS [o]",
Sql);
}
public override void Sum_with_binary_expression()
{
base.Sum_with_binary_expression();
Assert.Equal(
@"SELECT [o].[OrderID]
FROM [Orders] AS [o]",
Sql);
}
public override void Min_with_no_arg()
{
base.Min_with_no_arg();
Assert.Equal(
@"SELECT MIN([o].[OrderID])
FROM [Orders] AS [o]",
Sql);
}
public override void Min_with_arg()
{
base.Min_with_arg();
Assert.Equal(
@"SELECT MIN([o].[OrderID])
FROM [Orders] AS [o]",
Sql);
}
public override void Max_with_no_arg()
{
base.Max_with_no_arg();
Assert.Equal(
@"SELECT MAX([o].[OrderID])
FROM [Orders] AS [o]",
Sql);
}
public override void Max_with_arg()
{
base.Max_with_arg();
Assert.Equal(
@"SELECT MAX([o].[OrderID])
FROM [Orders] AS [o]",
Sql);
}
public override void Distinct_Count()
{
base.Distinct_Count();
Assert.Equal(
@"SELECT COUNT(*)
FROM (
SELECT DISTINCT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
) AS [t0]",
Sql);
}
[Fact]
public override void Select_Distinct_Count()
{
base.Select_Distinct_Count();
Assert.Equal(
@"SELECT COUNT(*)
FROM (
SELECT DISTINCT [c].[City]
FROM [Customers] AS [c]
) AS [t0]",
Sql);
}
public override void Skip()
{
base.Skip();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
ORDER BY [c].[CustomerID] OFFSET @p0 ROWS",
Sql);
}
public override void Skip_Take()
{
base.Skip_Take();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
ORDER BY [c].[ContactName] OFFSET @p0 ROWS FETCH NEXT @p1 ROWS ONLY",
Sql);
}
public override void Take_Skip()
{
base.Take_Skip();
Assert.Equal(
@"SELECT [t0].*
FROM (
SELECT TOP(@p0) [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
ORDER BY [c].[ContactName]
) AS [t0]
ORDER BY [t0].[ContactName] OFFSET @p1 ROWS",
Sql);
}
public override void Take_Skip_Distinct()
{
base.Take_Skip_Distinct();
Assert.Equal(
@"SELECT DISTINCT [t1].*
FROM (
SELECT [t0].*
FROM (
SELECT TOP(@p0) [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
ORDER BY [c].[ContactName]
) AS [t0]
ORDER BY [t0].[ContactName] OFFSET @p1 ROWS
) AS [t1]",
Sql);
}
public void Skip_when_no_order_by()
{
Assert.Throws<DataStoreException>(() => AssertQuery<Customer>(cs => cs.Skip(5).Take(10)));
}
public override void Take_Distinct_Count()
{
base.Take_Distinct_Count();
Assert.Equal(
@"SELECT COUNT(*)
FROM (
SELECT DISTINCT TOP(@p0) [o].[CustomerID], [o].[OrderDate], [o].[OrderID]
FROM [Orders] AS [o]
) AS [t0]",
Sql);
}
public override void Queryable_simple()
{
base.Queryable_simple();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]",
Sql);
}
public override void Queryable_simple_anonymous()
{
base.Queryable_simple_anonymous();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]",
Sql);
}
public override void Queryable_nested_simple()
{
base.Queryable_nested_simple();
Assert.Equal(
@"SELECT [c3].[Address], [c3].[City], [c3].[CompanyName], [c3].[ContactName], [c3].[ContactTitle], [c3].[Country], [c3].[CustomerID], [c3].[Fax], [c3].[Phone], [c3].[PostalCode], [c3].[Region]
FROM [Customers] AS [c3]",
Sql);
}
public override void Take_simple()
{
base.Take_simple();
Assert.Equal(
@"SELECT TOP(@p0) [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
ORDER BY [c].[CustomerID]",
Sql);
}
public override void Take_simple_projection()
{
base.Take_simple_projection();
Assert.Equal(
@"SELECT TOP(@p0) [c].[City]
FROM [Customers] AS [c]
ORDER BY [c].[CustomerID]",
Sql);
}
public override void Any_simple()
{
base.Any_simple();
Assert.Equal(
@"SELECT CASE WHEN (
EXISTS (
SELECT 1
FROM [Customers] AS [c]
)
) THEN CAST(1 AS BIT) ELSE CAST(0 AS BIT) END",
Sql);
}
public override void Any_predicate()
{
base.Any_predicate();
Assert.Equal(
@"SELECT CASE WHEN (
EXISTS (
SELECT 1
FROM [Customers] AS [c]
WHERE [c].[ContactName] LIKE @p0 + '%'
)
) THEN CAST(1 AS BIT) ELSE CAST(0 AS BIT) END",
Sql);
}
public override void All_top_level()
{
base.All_top_level();
Assert.Equal(
@"SELECT CASE WHEN (
NOT EXISTS (
SELECT 1
FROM [Customers] AS [c]
WHERE NOT [c].[ContactName] LIKE @p0 + '%'
)
) THEN CAST(1 AS BIT) ELSE CAST(0 AS BIT) END",
Sql);
}
public override void Select_scalar()
{
base.Select_scalar();
Assert.Equal(
@"SELECT [c].[City]
FROM [Customers] AS [c]",
Sql);
}
public override void Select_scalar_primitive_after_take()
{
base.Select_scalar_primitive_after_take();
Assert.Equal(
@"SELECT TOP(@p0) [e].[City], [e].[Country], [e].[EmployeeID], [e].[FirstName], [e].[ReportsTo], [e].[Title]
FROM [Employees] AS [e]",
Sql);
}
public override void Where_simple()
{
base.Where_simple();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE [c].[City] = @p0",
Sql);
}
public override void Where_simple_shadow()
{
base.Where_simple_shadow();
Assert.Equal(
@"SELECT [e].[City], [e].[Country], [e].[EmployeeID], [e].[FirstName], [e].[ReportsTo], [e].[Title]
FROM [Employees] AS [e]
WHERE [e].[Title] = @p0",
Sql);
}
public override void Where_simple_shadow_projection()
{
base.Where_simple_shadow_projection();
Assert.Equal(
@"SELECT [e].[Title]
FROM [Employees] AS [e]
WHERE [e].[Title] = @p0",
Sql);
}
public override void Where_comparison_nullable_type_not_null()
{
base.Where_comparison_nullable_type_not_null();
Assert.Equal(
@"SELECT [e].[City], [e].[Country], [e].[EmployeeID], [e].[FirstName], [e].[ReportsTo], [e].[Title]
FROM [Employees] AS [e]
WHERE [e].[ReportsTo] = @p0",
Sql);
}
public override void Where_comparison_nullable_type_null()
{
base.Where_comparison_nullable_type_null();
Assert.Equal(
@"SELECT [e].[City], [e].[Country], [e].[EmployeeID], [e].[FirstName], [e].[ReportsTo], [e].[Title]
FROM [Employees] AS [e]
WHERE [e].[ReportsTo] IS NULL",
Sql);
}
public override void Where_client()
{
base.Where_client();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]",
Sql);
}
public override void First_client_predicate()
{
base.First_client_predicate();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
ORDER BY [c].[CustomerID]",
Sql);
}
public override void Last()
{
base.Last();
Assert.Equal(
@"SELECT TOP(@p0) [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
ORDER BY [c].[ContactName] DESC",
Sql);
}
public override void Last_when_no_order_by()
{
base.Last_when_no_order_by();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE [c].[CustomerID] = @p0",
Sql);
}
public override void Last_Predicate()
{
base.Last_Predicate();
Assert.Equal(
@"SELECT TOP(@p0) [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE [c].[City] = @p1
ORDER BY [c].[ContactName] DESC",
Sql);
}
public override void Where_Last()
{
base.Where_Last();
Assert.Equal(
@"SELECT TOP(@p0) [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE [c].[City] = @p1
ORDER BY [c].[ContactName] DESC",
Sql);
}
public override void LastOrDefault()
{
base.LastOrDefault();
Assert.Equal(
@"SELECT TOP(@p0) [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
ORDER BY [c].[ContactName] DESC",
Sql);
}
public override void LastOrDefault_Predicate()
{
base.LastOrDefault_Predicate();
Assert.Equal(
@"SELECT TOP(@p0) [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE [c].[City] = @p1
ORDER BY [c].[ContactName] DESC",
Sql);
}
public override void Where_LastOrDefault()
{
base.Where_LastOrDefault();
Assert.Equal(
@"SELECT TOP(@p0) [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE [c].[City] = @p1
ORDER BY [c].[ContactName] DESC",
Sql);
}
public override void Where_equals_method_string()
{
base.Where_equals_method_string();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE [c].[City] = @p0",
Sql);
}
public override void Where_equals_method_int()
{
base.Where_equals_method_int();
Assert.Equal(
@"SELECT [e].[City], [e].[Country], [e].[EmployeeID], [e].[FirstName], [e].[ReportsTo], [e].[Title]
FROM [Employees] AS [e]
WHERE [e].[EmployeeID] = @p0",
Sql);
}
public override void Where_string_length()
{
base.Where_string_length();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]",
Sql);
}
public override void Where_is_null()
{
base.Where_is_null();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE [c].[City] IS NULL",
Sql);
}
public override void Where_is_not_null()
{
base.Where_is_not_null();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE [c].[City] IS NOT NULL",
Sql);
}
public override void Where_null_is_null()
{
base.Where_null_is_null();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE 1 = 1",
Sql);
}
public override void Where_constant_is_null()
{
base.Where_constant_is_null();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE 1 = 0",
Sql);
}
public override void Where_null_is_not_null()
{
base.Where_null_is_not_null();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE 1 = 0",
Sql);
}
public override void Where_constant_is_not_null()
{
base.Where_constant_is_not_null();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE 1 = 1",
Sql);
}
public override void Where_simple_reversed()
{
base.Where_simple_reversed();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE @p0 = [c].[City]",
Sql);
}
public override void Where_identity_comparison()
{
base.Where_identity_comparison();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE [c].[City] = [c].[City]",
Sql);
}
public override void Where_select_many_or()
{
base.Where_select_many_or();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region], [e].[City], [e].[Country], [e].[EmployeeID], [e].[FirstName], [e].[ReportsTo], [e].[Title]
FROM [Customers] AS [c]
CROSS JOIN [Employees] AS [e]
WHERE ([c].[City] = @p0 OR [e].[City] = @p0)",
Sql);
}
public override void Where_select_many_or2()
{
base.Where_select_many_or2();
Assert.StartsWith(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region], [e].[City], [e].[Country], [e].[EmployeeID], [e].[FirstName], [e].[ReportsTo], [e].[Title]
FROM [Customers] AS [c]
CROSS JOIN [Employees] AS [e]
WHERE ([c].[City] = @p0 OR [c].[City] = @p1)",
Sql);
}
public override void Where_select_many_and()
{
base.Where_select_many_and();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region], [e].[City], [e].[Country], [e].[EmployeeID], [e].[FirstName], [e].[ReportsTo], [e].[Title]
FROM [Customers] AS [c]
CROSS JOIN [Employees] AS [e]
WHERE (([c].[City] = @p0 AND [c].[Country] = @p1) AND ([e].[City] = @p0 AND [e].[Country] = @p1))",
Sql);
}
public override void Select_project_filter()
{
base.Select_project_filter();
Assert.Equal(
@"SELECT [c].[CompanyName]
FROM [Customers] AS [c]
WHERE [c].[City] = @p0",
Sql);
}
public override void Select_project_filter2()
{
base.Select_project_filter2();
Assert.Equal(
@"SELECT [c].[City]
FROM [Customers] AS [c]
WHERE [c].[City] = @p0",
Sql);
}
public override void SelectMany_mixed()
{
base.SelectMany_mixed();
Assert.Equal(3873, Sql.Length);
Assert.StartsWith(
@"SELECT [e1].[City], [e1].[Country], [e1].[EmployeeID], [e1].[FirstName], [e1].[ReportsTo], [e1].[Title]
FROM [Employees] AS [e1]
SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]",
Sql);
}
public override void SelectMany_simple1()
{
base.SelectMany_simple1();
Assert.Equal(
@"SELECT [e].[City], [e].[Country], [e].[EmployeeID], [e].[FirstName], [e].[ReportsTo], [e].[Title], [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Employees] AS [e]
CROSS JOIN [Customers] AS [c]",
Sql);
}
public override void SelectMany_simple2()
{
base.SelectMany_simple2();
Assert.Equal(
@"SELECT [e1].[City], [e1].[Country], [e1].[EmployeeID], [e1].[FirstName], [e1].[ReportsTo], [e1].[Title], [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region], [e2].[FirstName]
FROM [Employees] AS [e1]
CROSS JOIN [Customers] AS [c]
CROSS JOIN [Employees] AS [e2]",
Sql);
}
public override void SelectMany_entity_deep()
{
base.SelectMany_entity_deep();
Assert.Equal(
@"SELECT [e1].[City], [e1].[Country], [e1].[EmployeeID], [e1].[FirstName], [e1].[ReportsTo], [e1].[Title], [e2].[City], [e2].[Country], [e2].[EmployeeID], [e2].[FirstName], [e2].[ReportsTo], [e2].[Title], [e3].[City], [e3].[Country], [e3].[EmployeeID], [e3].[FirstName], [e3].[ReportsTo], [e3].[Title]
FROM [Employees] AS [e1]
CROSS JOIN [Employees] AS [e2]
CROSS JOIN [Employees] AS [e3]",
Sql);
}
public override void SelectMany_projection1()
{
base.SelectMany_projection1();
Assert.Equal(
@"SELECT [e1].[City], [e2].[Country]
FROM [Employees] AS [e1]
CROSS JOIN [Employees] AS [e2]",
Sql);
}
public override void SelectMany_projection2()
{
base.SelectMany_projection2();
Assert.Equal(
@"SELECT [e1].[City], [e2].[Country], [e3].[FirstName]
FROM [Employees] AS [e1]
CROSS JOIN [Employees] AS [e2]
CROSS JOIN [Employees] AS [e3]",
Sql);
}
public override void SelectMany_Count()
{
base.SelectMany_Count();
Assert.Equal(
@"SELECT COUNT(*)
FROM [Customers] AS [c]
CROSS JOIN [Orders] AS [o]", Sql);
}
public override void SelectMany_OrderBy_ThenBy_Any()
{
base.SelectMany_OrderBy_ThenBy_Any();
Assert.Equal(
@"SELECT CASE WHEN (
EXISTS (
SELECT 1
FROM [Customers] AS [c]
CROSS JOIN [Orders] AS [o]
)
) THEN CAST(1 AS BIT) ELSE CAST(0 AS BIT) END", Sql);
}
public override void Join_customers_orders_projection()
{
base.Join_customers_orders_projection();
Assert.Equal(
@"SELECT [c].[ContactName], [o].[OrderID]
FROM [Customers] AS [c]
INNER JOIN [Orders] AS [o] ON [c].[CustomerID] = [o].[CustomerID]",
Sql);
}
public override void Join_customers_orders_entities()
{
base.Join_customers_orders_entities();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region], [o].[CustomerID], [o].[OrderDate], [o].[OrderID]
FROM [Customers] AS [c]
INNER JOIN [Orders] AS [o] ON [c].[CustomerID] = [o].[CustomerID]",
Sql);
}
public override void Join_composite_key()
{
base.Join_composite_key();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region], [o].[CustomerID], [o].[OrderDate], [o].[OrderID]
FROM [Customers] AS [c]
INNER JOIN [Orders] AS [o] ON ([c].[CustomerID] = [o].[CustomerID] AND [c].[CustomerID] = [o].[CustomerID])",
Sql);
}
public override void Join_client_new_expression()
{
base.Join_client_new_expression();
Assert.Equal(
@"SELECT [o].[CustomerID], [o].[OrderDate], [o].[OrderID]
FROM [Orders] AS [o]
SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]",
Sql);
}
public override void Join_select_many()
{
base.Join_select_many();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region], [o].[CustomerID], [o].[OrderDate], [o].[OrderID], [e].[City], [e].[Country], [e].[EmployeeID], [e].[FirstName], [e].[ReportsTo], [e].[Title]
FROM [Customers] AS [c]
INNER JOIN [Orders] AS [o] ON [c].[CustomerID] = [o].[CustomerID]
CROSS JOIN [Employees] AS [e]",
Sql);
}
public override void Join_Where_Count()
{
base.Join_Where_Count();
Assert.Equal(
@"SELECT COUNT(*)
FROM [Customers] AS [c]
INNER JOIN [Orders] AS [o] ON [c].[CustomerID] = [o].[CustomerID]
WHERE [c].[CustomerID] = @p0", Sql);
}
public override void Join_OrderBy_Count()
{
//// issue 1251
Assert.Throws<SqlException>(() => base.Join_OrderBy_Count());
}
public override void Multiple_joins_Where_Order_Any()
{
base.Multiple_joins_Where_Order_Any();
Assert.Equal(
@"SELECT CASE WHEN (
EXISTS (
SELECT 1
FROM [Customers] AS [c]
INNER JOIN [Orders] AS [or] ON [c].[CustomerID] = [or].[CustomerID]
INNER JOIN [Order Details] AS [od] ON [or].[OrderID] = [od].[OrderID]
WHERE [c].[City] = @p0
)
) THEN CAST(1 AS BIT) ELSE CAST(0 AS BIT) END", Sql);
}
public override void GroupBy_Distinct()
{
base.GroupBy_Distinct();
Assert.Equal(
@"SELECT DISTINCT [o].[CustomerID], [o].[OrderDate], [o].[OrderID]
FROM [Orders] AS [o]",
Sql);
}
public override void GroupBy_Count()
{
base.GroupBy_Count();
Assert.Equal(
@"SELECT [o].[CustomerID], [o].[OrderDate], [o].[OrderID]
FROM [Orders] AS [o]",
Sql);
}
public override void SelectMany_cartesian_product_with_ordering()
{
base.SelectMany_cartesian_product_with_ordering();
Assert.StartsWith(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region], [e].[City]
FROM [Customers] AS [c]
CROSS JOIN [Employees] AS [e]
WHERE [c].[City] = [e].[City]
ORDER BY [e].[City], [c].[CustomerID] DESC",
Sql);
}
public override void GroupJoin_customers_orders_count()
{
base.GroupJoin_customers_orders_count();
Assert.Equal(
@"SELECT [o].[CustomerID], [o].[OrderDate], [o].[OrderID]
FROM [Orders] AS [o]
SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]",
Sql);
}
public override void Take_with_single()
{
base.Take_with_single();
Assert.Equal(
@"SELECT TOP(@p0) [t0].*
FROM (
SELECT TOP(@p1) [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
ORDER BY [c].[CustomerID]
) AS [t0]",
Sql);
}
public override void Take_with_single_select_many()
{
base.Take_with_single_select_many();
Assert.Equal(
@"SELECT TOP(@p0) [t0].*
FROM (
SELECT TOP(@p1) [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region], [o].[CustomerID] AS [c0], [o].[OrderDate], [o].[OrderID]
FROM [Customers] AS [c]
CROSS JOIN [Orders] AS [o]
ORDER BY [c].[CustomerID], [o].[OrderID]
) AS [t0]",
Sql);
}
public override void Distinct()
{
base.Distinct();
Assert.Equal(
@"SELECT DISTINCT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]",
Sql);
}
public override void Distinct_Scalar()
{
base.Distinct_Scalar();
Assert.Equal(
@"SELECT DISTINCT [c].[City]
FROM [Customers] AS [c]",
Sql);
}
public override void OrderBy_client_mixed()
{
base.OrderBy_client_mixed();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]",
Sql);
}
public override void OrderBy_multiple_queries()
{
base.OrderBy_multiple_queries();
Assert.Equal(
@"SELECT [o].[CustomerID], [o].[OrderDate], [o].[OrderID]
FROM [Orders] AS [o]
SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]",
Sql);
}
public override void OrderBy_Distinct()
{
base.OrderBy_Distinct();
Assert.Equal(
@"SELECT DISTINCT [c].[City]
FROM [Customers] AS [c]",
Sql);
}
public override void Distinct_OrderBy()
{
base.Distinct_OrderBy();
Assert.Equal(
@"SELECT DISTINCT [c].[City]
FROM [Customers] AS [c]",
//ORDER BY c.[City]", // TODO: Sub-query flattening
Sql);
}
public override void OrderBy_shadow()
{
base.OrderBy_shadow();
Assert.Equal(
@"SELECT [e].[City], [e].[Country], [e].[EmployeeID], [e].[FirstName], [e].[ReportsTo], [e].[Title]
FROM [Employees] AS [e]
ORDER BY [e].[Title], [e].[EmployeeID]",
Sql);
}
public override void OrderBy_multiple()
{
base.OrderBy_multiple();
Assert.Equal(
@"SELECT [c].[City]
FROM [Customers] AS [c]
ORDER BY [c].[Country], [c].[CustomerID]",
Sql);
}
public override void OrderBy_ThenBy_Any()
{
base.OrderBy_ThenBy_Any();
Assert.Equal(
@"SELECT CASE WHEN (
EXISTS (
SELECT 1
FROM [Customers] AS [c]
)
) THEN CAST(1 AS BIT) ELSE CAST(0 AS BIT) END",
Sql);
}
public override void Where_subquery_recursive_trivial()
{
base.Where_subquery_recursive_trivial();
Assert.Equal(2632, Sql.Length);
Assert.StartsWith(
@"SELECT [e1].[City], [e1].[Country], [e1].[EmployeeID], [e1].[FirstName], [e1].[ReportsTo], [e1].[Title]
FROM [Employees] AS [e1]
ORDER BY [e1].[EmployeeID]
SELECT [e2].[City], [e2].[Country], [e2].[EmployeeID], [e2].[FirstName], [e2].[ReportsTo], [e2].[Title]
FROM [Employees] AS [e2]
SELECT CASE WHEN (
EXISTS (
SELECT 1
FROM [Employees] AS [e3]
)
) THEN CAST(1 AS BIT) ELSE CAST(0 AS BIT) END
SELECT [e2].[City], [e2].[Country], [e2].[EmployeeID], [e2].[FirstName], [e2].[ReportsTo], [e2].[Title]
FROM [Employees] AS [e2]",
Sql);
}
public override void Where_false()
{
base.Where_false();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE 1 = 0",
Sql);
}
public override void Where_primitive()
{
base.Where_primitive();
Assert.Equal(
@"SELECT TOP(@p0) [e].[EmployeeID]
FROM [Employees] AS [e]",
Sql);
}
public override void Where_bool_member()
{
base.Where_bool_member();
Assert.Equal(
@"SELECT [p].[Discontinued], [p].[ProductID], [p].[ProductName]
FROM [Products] AS [p]
WHERE [p].[Discontinued] = @p0",
Sql);
}
public override void Where_bool_member_false()
{
base.Where_bool_member_false();
Assert.Equal(
@"SELECT [p].[Discontinued], [p].[ProductID], [p].[ProductName]
FROM [Products] AS [p]
WHERE NOT [p].[Discontinued] = @p0",
Sql);
}
public override void Where_bool_member_shadow()
{
base.Where_bool_member_shadow();
Assert.Equal(
@"SELECT [p].[Discontinued], [p].[ProductID], [p].[ProductName]
FROM [Products] AS [p]
WHERE [p].[Discontinued] = @p0",
Sql);
}
public override void Where_bool_member_false_shadow()
{
base.Where_bool_member_false_shadow();
Assert.Equal(
@"SELECT [p].[Discontinued], [p].[ProductID], [p].[ProductName]
FROM [Products] AS [p]
WHERE NOT [p].[Discontinued] = @p0",
Sql);
}
public override void Where_true()
{
base.Where_true();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE 1 = 1",
Sql);
}
public override void Where_compare_constructed_equal()
{
base.Where_compare_constructed_equal();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]",
Sql);
}
public override void Where_compare_constructed_multi_value_equal()
{
base.Where_compare_constructed_multi_value_equal();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]",
Sql);
}
public override void Where_compare_constructed_multi_value_not_equal()
{
base.Where_compare_constructed_multi_value_not_equal();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]",
Sql);
}
public override void Where_compare_constructed()
{
base.Where_compare_constructed();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]",
Sql);
}
public override void Where_compare_null()
{
base.Where_compare_null();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE ([c].[City] IS NULL AND [c].[Country] = @p0)",
Sql);
}
public override void Single_Predicate()
{
base.Single_Predicate();
Assert.Equal(
@"SELECT TOP(@p0) [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE [c].[CustomerID] = @p1",
Sql);
}
public override void Projection_when_null_value()
{
base.Projection_when_null_value();
Assert.Equal(
@"SELECT [c].[Region]
FROM [Customers] AS [c]",
Sql);
}
public override void String_StartsWith_Literal()
{
base.String_StartsWith_Literal();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE [c].[ContactName] LIKE @p0 + '%'",
Sql);
}
public override void String_StartsWith_Identity()
{
base.String_StartsWith_Identity();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE [c].[ContactName] LIKE [c].[ContactName] + '%'",
Sql);
}
public override void String_StartsWith_Column()
{
base.String_StartsWith_Column();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE [c].[ContactName] LIKE [c].[ContactName] + '%'",
Sql);
}
public override void String_StartsWith_MethodCall()
{
base.String_StartsWith_MethodCall();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE [c].[ContactName] LIKE @p0 + '%'",
Sql);
}
public override void String_EndsWith_Literal()
{
base.String_EndsWith_Literal();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE [c].[ContactName] LIKE '%' + @p0",
Sql);
}
public override void String_EndsWith_Identity()
{
base.String_EndsWith_Identity();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE [c].[ContactName] LIKE '%' + [c].[ContactName]",
Sql);
}
public override void String_EndsWith_Column()
{
base.String_EndsWith_Column();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE [c].[ContactName] LIKE '%' + [c].[ContactName]",
Sql);
}
public override void String_EndsWith_MethodCall()
{
base.String_EndsWith_MethodCall();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE [c].[ContactName] LIKE '%' + @p0",
Sql);
}
public override void String_Contains_Literal()
{
AssertQuery<Customer>(
cs => cs.Where(c => c.ContactName.Contains("M")), // case-insensitive
cs => cs.Where(c => c.ContactName.Contains("M") || c.ContactName.Contains("m")), // case-sensitive
stateEntryCount: 34);
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE [c].[ContactName] LIKE '%' + @p0 + '%'",
Sql);
}
public override void String_Contains_Identity()
{
base.String_Contains_Identity();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE [c].[ContactName] LIKE '%' + [c].[ContactName] + '%'",
Sql);
}
public override void String_Contains_Column()
{
base.String_Contains_Column();
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE [c].[ContactName] LIKE '%' + [c].[ContactName] + '%'",
Sql);
}
public override void String_Contains_MethodCall()
{
AssertQuery<Customer>(
cs => cs.Where(c => c.ContactName.Contains(LocalMethod1())), // case-insensitive
cs => cs.Where(c => c.ContactName.Contains(LocalMethod1()) || c.ContactName.Contains(LocalMethod2())), // case-sensitive
stateEntryCount: 34);
Assert.Equal(
@"SELECT [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[CustomerID], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]
WHERE [c].[ContactName] LIKE '%' + @p0 + '%'",
Sql);
}
public override void Select_nested_collection()
{
base.Select_nested_collection();
Assert.StartsWith(
@"SELECT [c].[CustomerID]
FROM [Customers] AS [c]
WHERE [c].[City] = @p0
ORDER BY [c].[CustomerID]
SELECT [o].[CustomerID], [o].[OrderDate], [o].[OrderID]
FROM [Orders] AS [o]
ORDER BY [o].[OrderID]
",
Sql);
}
public override void Select_correlated_subquery_projection()
{
base.Select_correlated_subquery_projection();
Assert.StartsWith(
@"SELECT [c].[CustomerID]
FROM [Customers] AS [c]
SELECT [o].[CustomerID], [o].[OrderDate], [o].[OrderID]
FROM [Orders] AS [o]
",
Sql);
}
public override void Select_correlated_subquery_ordered()
{
base.Select_correlated_subquery_ordered();
Assert.StartsWith(
@"SELECT [c].[CustomerID]
FROM [Customers] AS [c]
SELECT [o].[CustomerID], [o].[OrderDate], [o].[OrderID]
FROM [Orders] AS [o]
",
Sql);
}
public override void Select_many_cross_join_same_collection()
{
base.Select_many_cross_join_same_collection();
Assert.Equal(
@"SELECT [c0].[Address], [c0].[City], [c0].[CompanyName], [c0].[ContactName], [c0].[ContactTitle], [c0].[Country], [c0].[CustomerID], [c0].[Fax], [c0].[Phone], [c0].[PostalCode], [c0].[Region]
FROM [Customers] AS [c]
CROSS JOIN [Customers] AS [c0]",
Sql);
}
public override void Join_same_collection_multiple()
{
base.Join_same_collection_multiple();
Assert.Equal(
@"SELECT [c3].[Address], [c3].[City], [c3].[CompanyName], [c3].[ContactName], [c3].[ContactTitle], [c3].[Country], [c3].[CustomerID], [c3].[Fax], [c3].[Phone], [c3].[PostalCode], [c3].[Region]
FROM [Customers] AS [o]
INNER JOIN [Customers] AS [c2] ON [o].[CustomerID] = [c2].[CustomerID]
INNER JOIN [Customers] AS [c3] ON [o].[CustomerID] = [c3].[CustomerID]",
Sql);
}
public override void Join_same_collection_force_alias_uniquefication()
{
base.Join_same_collection_force_alias_uniquefication();
Assert.Equal(
@"SELECT [o].[CustomerID], [o].[OrderDate], [o].[OrderID], [o0].[CustomerID], [o0].[OrderDate], [o0].[OrderID]
FROM [Orders] AS [o]
INNER JOIN [Orders] AS [o0] ON [o].[CustomerID] = [o0].[CustomerID]",
Sql);
}
public SqlServerQueryTest(SqlServerNorthwindQueryFixture fixture)
: base(fixture)
{
}
private static string Sql
{
get { return TestSqlLoggerFactory.Sql; }
}
}
}
| 33.815623 | 339 | 0.517793 | [
"Apache-2.0"
] | mj1856/EntityFramework | test/EntityFramework.SqlServer.FunctionalTests/SqlServerQueryTest.cs | 48,052 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("02_DirectoryTraverser")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("02_DirectoryTraverser")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2014")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("45a8a7f4-cfd7-4d11-9356-95272a04fae0")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
| 38.72973 | 84 | 0.75157 | [
"MIT"
] | kaizer04/Telerik-Academy-2013-2014 | DSA/Trees-and-Traversals-Homework/02_DirectoryTraverser/Properties/AssemblyInfo.cs | 1,436 | C# |
using System;
using System.Collections;
using System.IO;
using Octodiff.Diagnostics;
namespace Octodiff.Core
{
public class DeltaApplier
{
public DeltaApplier()
{
SkipHashCheck = false;
}
public bool SkipHashCheck { get; set; }
public void Apply(Stream basisFileStream, IDeltaReader delta, Stream outputStream)
{
delta.Apply(
writeData: (data) => outputStream.Write(data, 0, data.Length),
copy: (startPosition, length) =>
{
basisFileStream.Seek(startPosition, SeekOrigin.Begin);
var buffer = new byte[4*1024*1024];
int read;
long soFar = 0;
while ((read = basisFileStream.Read(buffer, 0, (int)Math.Min(length - soFar, buffer.Length))) > 0)
{
soFar += read;
outputStream.Write(buffer, 0, read);
}
});
if (!SkipHashCheck)
{
outputStream.Seek(0, SeekOrigin.Begin);
var sourceFileHash = delta.ExpectedHash;
var algorithm = delta.HashAlgorithm;
var actualHash = algorithm.ComputeHash(outputStream);
// if (!StructuralComparisons.StructuralEqualityComparer.Equals(sourceFileHash, actualHash))
// throw new UsageException("Verification of the patched file failed. The SHA1 hash of the patch result file, and the file that was used as input for the delta, do not match. This can happen if the basis file changed since the signatures were calculated.");
}
}
}
} | 35.469388 | 276 | 0.552359 | [
"MIT"
] | pttb369/GameDevRepo | Scripts/Patching/PatchLib/Core/DeltaApplier.cs | 1,738 | C# |
using System;
using System.IO;
using System.Threading.Tasks;
using FlatFiles.Properties;
namespace FlatFiles
{
/// <inheritdoc />
/// <summary>
/// Extracts records from a file that has values separated by a separator token.
/// </summary>
public sealed class SeparatedValueReader : IReader, IReaderWithMetadata
{
private readonly SeparatedValueRecordParser parser;
private readonly SeparatedValueSchemaSelector schemaSelector;
private readonly SeparatedValueRecordContext metadata;
private object[] values;
private bool endOfFile;
private bool hasError;
/// <summary>
/// Initializes a new SeparatedValueReader with no schema.
/// </summary>
/// <param name="reader">A reader over the separated value document.</param>
/// <param name="options">The options controlling how the separated value document is read.</param>
/// <exception cref="ArgumentNullException">The reader is null.</exception>
public SeparatedValueReader(TextReader reader, SeparatedValueOptions options = null)
: this(reader, null, options, false)
{
}
/// <summary>
/// Initializes a new SeparatedValueReader with the given schema.
/// </summary>
/// <param name="reader">A reader over the separated value document.</param>
/// <param name="schema">The schema of the separated value document.</param>
/// <param name="options">The options controlling how the separated value document is read.</param>
/// <exception cref="ArgumentNullException">The reader is null.</exception>
/// <exception cref="ArgumentNullException">The schema is null.</exception>
public SeparatedValueReader(TextReader reader, SeparatedValueSchema schema, SeparatedValueOptions options = null)
: this(reader, schema, options, true)
{
}
/// <summary>
/// Initializes a new SeparatedValueReader with the given schema.
/// </summary>
/// <param name="reader">A reader over the separated value document.</param>
/// <param name="schemaSelector">The schema selector configured to determine the schema dynamically.</param>
/// <param name="options">The options controlling how the separated value document is read.</param>
/// <exception cref="ArgumentNullException">The reader is null.</exception>
/// <exception cref="ArgumentNullException">The schema selector is null.</exception>
public SeparatedValueReader(TextReader reader, SeparatedValueSchemaSelector schemaSelector, SeparatedValueOptions options = null)
: this(reader, null, options, false)
{
this.schemaSelector = schemaSelector ?? throw new ArgumentNullException(nameof(schemaSelector));
}
private SeparatedValueReader(TextReader reader, SeparatedValueSchema schema, SeparatedValueOptions options, bool hasSchema)
{
if (reader == null)
{
throw new ArgumentNullException(nameof(reader));
}
if (hasSchema && schema == null)
{
throw new ArgumentNullException(nameof(schema));
}
if (options == null)
{
options = new SeparatedValueOptions();
}
if (options.RecordSeparator == options.Separator)
{
throw new ArgumentException(Resources.SameSeparator, nameof(options));
}
var retryReader = new RetryReader(reader);
parser = new SeparatedValueRecordParser(retryReader, options);
var executionContext = new SeparatedValueExecutionContext()
{
Schema = hasSchema ? schema : null,
Options = parser.Options.Clone()
};
metadata = new SeparatedValueRecordContext()
{
ExecutionContext = executionContext
};
}
/// <summary>
/// Raised when a record is read but before its columns are parsed.
/// </summary>
public event EventHandler<SeparatedValueRecordReadEventArgs> RecordRead;
/// <summary>
/// Raised when a record is parsed.
/// </summary>
public event EventHandler<SeparatedValueRecordParsedEventArgs> RecordParsed;
event EventHandler<IRecordParsedEventArgs> IReader.RecordParsed
{
add => RecordParsed += (sender, e) => value(sender, e);
remove => RecordParsed -= (sender, e) => value(sender, e);
}
/// <summary>
/// Raised when an error occurs while processing a record.
/// </summary>
public event EventHandler<RecordErrorEventArgs> RecordError;
/// <summary>
/// Raised when an error occurs while processing a column.
/// </summary>
public event EventHandler<ColumnErrorEventArgs> ColumnError
{
add { metadata.ColumnError += value; }
remove { metadata.ColumnError -= value; }
}
IOptions IReader.Options => metadata.ExecutionContext.Options;
/// <summary>
/// Gets the names of the columns found in the file.
/// </summary>
/// <returns>The names.</returns>
public SeparatedValueSchema GetSchema()
{
if (schemaSelector != null)
{
return null;
}
HandleSchema();
var schema = metadata.ExecutionContext.Schema;
if (schema == null)
{
throw new InvalidOperationException(Resources.SchemaNotDefined);
}
return schema;
}
ISchema IReader.GetSchema()
{
return GetSchema();
}
internal void SetSchema(SeparatedValueSchema schema)
{
metadata.ExecutionContext.Schema = schema;
}
/// <summary>
/// Gets the schema being used by the parser.
/// </summary>
/// <returns>The schema being used by the parser.</returns>
public async Task<SeparatedValueSchema> GetSchemaAsync()
{
if (schemaSelector != null)
{
return null;
}
await HandleSchemaAsync().ConfigureAwait(false);
var schema = metadata.ExecutionContext.Schema;
if (schema == null)
{
throw new InvalidOperationException(Resources.SchemaNotDefined);
}
return schema;
}
async Task<ISchema> IReader.GetSchemaAsync()
{
var schema = await GetSchemaAsync().ConfigureAwait(false);
return schema;
}
/// <summary>
/// Attempts to read the next record from the stream.
/// </summary>
/// <returns>True if the next record was read or false if all records have been read.</returns>
public bool Read()
{
if (hasError)
{
throw new InvalidOperationException(Resources.ReadingWithErrors);
}
metadata.Record = null;
metadata.Values = null;
HandleSchema();
try
{
values = ParsePartitions();
if (values == null)
{
return false;
}
++metadata.LogicalRecordNumber;
return true;
}
catch (FlatFileException)
{
hasError = true;
throw;
}
}
private void HandleSchema()
{
if (metadata.PhysicalRecordNumber != 0)
{
return;
}
if (!parser.Options.IsFirstRecordSchema)
{
return;
}
if (schemaSelector != null || metadata.ExecutionContext.Schema != null)
{
SkipInternal();
return;
}
string[] columnNames = ReadNextRecord();
if (columnNames == null)
{
return;
}
var schema = new SeparatedValueSchema();
metadata.ExecutionContext.Schema = schema;
foreach (string columnName in columnNames)
{
StringColumn column = new StringColumn(columnName);
schema.AddColumn(column);
}
}
private object[] ParsePartitions()
{
var rawValues = ReadWithFilter();
while (rawValues != null)
{
if (metadata.ExecutionContext.Schema != null && HasWrongNumberOfColumns(rawValues))
{
ProcessError(new RecordProcessingException(metadata, Resources.SeparatedValueRecordWrongNumberOfColumns));
}
else
{
object[] values = ParseValues(rawValues);
if (values != null)
{
RecordParsed?.Invoke(this, new SeparatedValueRecordParsedEventArgs(metadata, values));
return values;
}
}
rawValues = ReadWithFilter();
}
return null;
}
private string[] ReadWithFilter()
{
string[] rawValues = ReadNextRecord();
metadata.ExecutionContext.Schema = GetSchema(rawValues);
while (rawValues != null && IsSkipped(rawValues))
{
rawValues = ReadNextRecord();
metadata.ExecutionContext.Schema = GetSchema(rawValues);
}
return rawValues;
}
/// <inheritdoc />
/// <summary>
/// Attempts to read the next record from the stream.
/// </summary>
/// <returns>True if the next record was read or false if all records have been read.</returns>
public async ValueTask<bool> ReadAsync()
{
if (hasError)
{
throw new InvalidOperationException(Resources.ReadingWithErrors);
}
metadata.Record = null;
metadata.Values = null;
await HandleSchemaAsync().ConfigureAwait(false);
try
{
values = await ParsePartitionsAsync().ConfigureAwait(false);
if (values == null)
{
return false;
}
++metadata.LogicalRecordNumber;
return true;
}
catch (FlatFileException)
{
hasError = true;
throw;
}
}
private async Task HandleSchemaAsync()
{
if (metadata.PhysicalRecordNumber != 0)
{
return;
}
if (!parser.Options.IsFirstRecordSchema)
{
return;
}
if (metadata.ExecutionContext.Schema != null)
{
await SkipAsyncInternal().ConfigureAwait(false);
return;
}
string[] columnNames = await ReadNextRecordAsync().ConfigureAwait(false);
if (columnNames == null)
{
return;
}
var schema = new SeparatedValueSchema();
metadata.ExecutionContext.Schema = schema;
foreach (string columnName in columnNames)
{
StringColumn column = new StringColumn(columnName);
schema.AddColumn(column);
}
}
private async Task<object[]> ParsePartitionsAsync()
{
var rawValues = await ReadWithFilterAsync().ConfigureAwait(false);
while (rawValues != null)
{
if (metadata.ExecutionContext.Schema != null && HasWrongNumberOfColumns(rawValues))
{
ProcessError(new RecordProcessingException(metadata, Resources.SeparatedValueRecordWrongNumberOfColumns));
}
else
{
object[] values = ParseValues(rawValues);
if (values != null)
{
return values;
}
}
rawValues = await ReadWithFilterAsync().ConfigureAwait(false);
}
return null;
}
private bool HasWrongNumberOfColumns(string[] values)
{
var schema = metadata.ExecutionContext.Schema;
var columnDefinitions = schema.ColumnDefinitions;
return values.Length + columnDefinitions.MetadataCount < columnDefinitions.PhysicalCount;
}
private async Task<string[]> ReadWithFilterAsync()
{
string[] rawValues = await ReadNextRecordAsync().ConfigureAwait(false);
metadata.ExecutionContext.Schema = GetSchema(rawValues);
while (rawValues != null && IsSkipped(rawValues))
{
rawValues = await ReadNextRecordAsync().ConfigureAwait(false);
metadata.ExecutionContext.Schema = GetSchema(rawValues);
}
return rawValues;
}
private SeparatedValueSchema GetSchema(string[] rawValues)
{
if (rawValues == null || schemaSelector == null)
{
return metadata.ExecutionContext.Schema;
}
SeparatedValueSchema schema = schemaSelector.GetSchema(rawValues);
if (schema != null)
{
return schema;
}
ProcessError(new RecordProcessingException(metadata, Resources.MissingMatcher));
return null;
}
private bool IsSkipped(string[] values)
{
if (metadata.ExecutionContext.Schema == null && schemaSelector != null)
{
// A schema was not found by the selector for the given record.
// If we got here then we know the raised exception was handled and suppressed.
// Therefore we skip the record and go on to the next one.
return true;
}
if (RecordRead == null)
{
return false;
}
var e = new SeparatedValueRecordReadEventArgs(metadata, values);
RecordRead(this, e);
return e.IsSkipped;
}
private object[] ParseValues(string[] rawValues)
{
var schema = metadata.ExecutionContext.Schema;
if (schema == null)
{
return ParseWithoutSchema(rawValues);
}
try
{
return schema.ParseValues(metadata, rawValues);
}
catch (FlatFileException exception)
{
ProcessError(new RecordProcessingException(metadata, Resources.InvalidRecordConversion, exception));
return null;
}
}
private object[] ParseWithoutSchema(string[] rawValues)
{
var results = new object[rawValues.Length];
var preserveWhitespace = metadata.ExecutionContext.Options.PreserveWhiteSpace;
for (int columnIndex = 0; columnIndex != rawValues.Length; ++columnIndex)
{
var rawValue = rawValues[columnIndex];
var trimmed = preserveWhitespace ? rawValue : ColumnDefinition.TrimValue(rawValue);
var parsedValue = String.IsNullOrEmpty(trimmed) ? null : trimmed;
results[columnIndex] = parsedValue;
}
return results;
}
/// <summary>
/// Attempts to skip the next record from the stream.
/// </summary>
/// <returns>True if the next record was skipped or false if all records have been read.</returns>
/// <remarks>The previously parsed values remain available.</remarks>
public bool Skip()
{
if (hasError)
{
throw new InvalidOperationException(Resources.ReadingWithErrors);
}
HandleSchema();
bool result = SkipInternal();
return result;
}
private bool SkipInternal()
{
var rawValues = ReadNextRecord();
return rawValues != null;
}
/// <inheritdoc />
/// <summary>
/// Attempts to skip the next record from the stream.
/// </summary>
/// <returns>True if the next record was skipped or false if all records have been read.</returns>
/// <remarks>The previously parsed values remain available.</remarks>
public async ValueTask<bool> SkipAsync()
{
if (hasError)
{
throw new InvalidOperationException(Resources.ReadingWithErrors);
}
await HandleSchemaAsync().ConfigureAwait(false);
var result = await SkipAsyncInternal().ConfigureAwait(false);
return result;
}
private async ValueTask<bool> SkipAsyncInternal()
{
var rawValues = await ReadNextRecordAsync().ConfigureAwait(false);
return rawValues != null;
}
private void ProcessError(RecordProcessingException exception)
{
if (RecordError != null)
{
var args = new RecordErrorEventArgs(exception);
RecordError(this, args);
if (args.IsHandled)
{
return;
}
}
throw exception;
}
private string[] ReadNextRecord()
{
if (parser.IsEndOfStream())
{
endOfFile = true;
values = null;
return null;
}
try
{
(string record, string[] results) = parser.ReadRecord();
metadata.Record = record;
metadata.Values = results;
++metadata.PhysicalRecordNumber;
return results;
}
catch (SeparatedValueSyntaxException exception)
{
throw new RecordProcessingException(metadata, Resources.InvalidRecordFormatNumber, exception);
}
}
private async Task<string[]> ReadNextRecordAsync()
{
if (await parser.IsEndOfStreamAsync().ConfigureAwait(false))
{
endOfFile = true;
values = null;
return null;
}
try
{
(string record, string[] results) = await parser.ReadRecordAsync().ConfigureAwait(false);
metadata.Record = record;
metadata.Values = results;
++metadata.PhysicalRecordNumber;
return results;
}
catch (SeparatedValueSyntaxException exception)
{
throw new RecordProcessingException(metadata, Resources.InvalidRecordFormatNumber, exception);
}
}
/// <summary>
/// Gets the values for the current record.
/// </summary>
/// <returns>The values of the current record.</returns>
public object[] GetValues()
{
if (hasError)
{
throw new InvalidOperationException(Resources.ReadingWithErrors);
}
if (metadata.PhysicalRecordNumber == 0)
{
throw new InvalidOperationException(Resources.ReadNotCalled);
}
if (endOfFile)
{
throw new InvalidOperationException(Resources.NoMoreRecords);
}
object[] copy = new object[values.Length];
Array.Copy(values, copy, values.Length);
return copy;
}
IRecordContext IReaderWithMetadata.GetMetadata()
{
return metadata;
}
}
}
| 35.591228 | 137 | 0.537388 | [
"Unlicense"
] | silkfire/FlatFiles | FlatFiles/SeparatedValueReader.cs | 20,289 | C# |
using P02.Graphic_Editor.Contracts;
using System.Collections.Generic;
using System.Linq;
namespace P02.Graphic_Editor
{
public class GraphicEditor
{
public void Draw(IShape shape)
{
var drawers = new List<IGraphicEditor>()
{
new CircleEditor(),
new RectangleEditor(),
new SquareEditor()
};
drawers.First(d => d.IsMatch(shape)).Draw(shape);
}
}
}
| 22.181818 | 61 | 0.540984 | [
"MIT"
] | PhilShishov/Software-University | C# OOP/Homeworks/06.SOLID_Lab/P02.Graphic_Editor/GraphicEditor.cs | 490 | C# |
using Autofac;
using Microsoft.Extensions.Configuration;
using Surging.Core.Caching.AddressResolvers;
using Surging.Core.Caching.AddressResolvers.Implementation;
using Surging.Core.Caching.Configurations;
using Surging.Core.Caching.Configurations.Implementation;
using Surging.Core.Caching.HashAlgorithms;
using Surging.Core.Caching.HealthChecks;
using Surging.Core.Caching.HealthChecks.Implementation;
using Surging.Core.Caching.Interfaces;
using Surging.Core.Caching.Internal.Implementation;
using Surging.Core.Caching.Models;
using Surging.Core.CPlatform;
using Surging.Core.CPlatform.Cache;
using Surging.Core.CPlatform.Module;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Surging.Core.Caching
{
public class CachingModule : EnginePartModule
{
public override void Initialize(CPlatformContainer serviceProvider)
{
base.Initialize(serviceProvider);
var serviceCacheProvider = serviceProvider.GetInstances<ICacheNodeProvider>();
var addressDescriptors = serviceCacheProvider.GetServiceCaches().ToList();
serviceProvider.GetInstances<IServiceCacheManager>().SetCachesAsync(addressDescriptors);
serviceProvider.GetInstances<IConfigurationWatchProvider>();
}
/// <summary>
/// Inject dependent third-party components
/// </summary>
/// <param name="builder"></param>
protected override void RegisterBuilder(ContainerBuilderWrapper builder)
{
base.RegisterBuilder(builder);
builder.RegisterType(typeof(DefaultHealthCheckService)).As(typeof(IHealthCheckService)).SingleInstance();
builder.RegisterType(typeof(DefaultAddressResolver)).As(typeof(IAddressResolver)).SingleInstance();
builder.RegisterType(typeof(HashAlgorithm)).As(typeof(IHashAlgorithm)).SingleInstance();
builder.RegisterType(typeof(DefaultServiceCacheFactory)).As(typeof(IServiceCacheFactory)).SingleInstance();
builder.RegisterType(typeof(DefaultCacheNodeProvider)).As(typeof(ICacheNodeProvider)).SingleInstance();
builder.RegisterType(typeof(ConfigurationWatchProvider)).As(typeof(IConfigurationWatchProvider)).SingleInstance();
RegisterConfigInstance(builder);
RegisterLocalInstance("ICacheClient`1", builder);
}
private static void RegisterLocalInstance(string typeName, ContainerBuilderWrapper builder)
{
var types = typeof(AppConfig)
.Assembly.GetTypes().Where(p => p.GetTypeInfo().GetInterface(typeName) != null);
foreach (var t in types)
{
var attribute = t.GetTypeInfo().GetCustomAttribute<IdentifyCacheAttribute>();
builder.RegisterGeneric(t).Named(attribute.Name.ToString(), typeof(ICacheClient<>)).SingleInstance();
}
}
private static void RegisterConfigInstance(ContainerBuilderWrapper builder)
{
var cacheWrapperSetting = AppConfig.Configuration.Get<CachingProvider>();
var bingingSettings = cacheWrapperSetting.CachingSettings;
try
{
var types =
typeof(AppConfig)
.Assembly.GetTypes()
.Where(
p => p.GetTypeInfo().GetInterface("ICacheProvider") != null);
foreach (var t in types)
{
foreach (var setting in bingingSettings)
{
var properties = setting.Properties;
var args = properties.Select(p => GetTypedPropertyValue(p)).ToArray(); ;
var maps =
properties.Select(p => p.Maps)
.FirstOrDefault(p => p != null && p.Any());
var type = Type.GetType(setting.Class, throwOnError: true);
builder.Register(p => Activator.CreateInstance(type, args)).Named(setting.Id, type).SingleInstance();
if (maps == null) continue;
if (!maps.Any()) continue;
foreach (
var mapsetting in
maps.Where(mapsetting => t.Name.StartsWith(mapsetting.Name, StringComparison.CurrentCultureIgnoreCase)))
{
builder.Register(p => Activator.CreateInstance(t, new object[] { setting.Id })).Named(string.Format("{0}.{1}", setting.Id, mapsetting.Name), typeof(ICacheProvider)).SingleInstance();
}
}
var attribute = t.GetTypeInfo().GetCustomAttribute<IdentifyCacheAttribute>();
if (attribute != null)
builder.Register(p => Activator.CreateInstance(t)).Named(attribute.Name.ToString(), typeof(ICacheProvider)).SingleInstance();
}
}
catch { }
}
private static object GetTypedPropertyValue(Property obj)
{
var mapCollections = obj.Maps;
if (mapCollections != null && mapCollections.Any())
{
var results = new List<object>();
foreach (var map in mapCollections)
{
object items = null;
if (map.Properties != null) items = map.Properties.Select(p => GetTypedPropertyValue(p)).ToArray();
results.Add(new
{
Name = Convert.ChangeType(obj.Name, typeof(string)),
Value = Convert.ChangeType(map.Name, typeof(string)),
Items = items
});
}
return results;
}
else if (!string.IsNullOrEmpty(obj.Value))
{
return new
{
Name = Convert.ChangeType(obj.Name ?? "", typeof(string)),
Value = Convert.ChangeType(obj.Value, typeof(string)),
};
}
else if (!string.IsNullOrEmpty(obj.Ref))
return Convert.ChangeType(obj.Ref, typeof(string));
return null;
}
}
}
| 46.919118 | 210 | 0.588309 | [
"MIT"
] | 16it/surging | src/Surging.Core/Surging.Core.Caching/CachingModule.cs | 6,383 | C# |
namespace GiveCRM.Models.Search
{
using System.Collections.Generic;
public class LocationSearchCriteria : SearchCriteria
{
public const string City = "city";
public const string Region = "region";
public const string PostalCode = "postalcode";
private static readonly HashSet<string> Names = new HashSet<string>
{
City,
Region,
PostalCode
};
public static bool IsLocationSearchCriteria(string internalName)
{
return Names.Contains(internalName);
}
}
} | 37.956522 | 76 | 0.411226 | [
"MIT"
] | GiveCampUK/GiveCRM | src/GiveCRM.Models/Search/LocationSearchCriteria.cs | 875 | C# |
namespace Z64.Forms
{
partial class AboutForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
this.linkLabel2 = new System.Windows.Forms.LinkLabel();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.linkLabel3 = new System.Windows.Forms.LinkLabel();
this.label4 = new System.Windows.Forms.Label();
this.linkLabel4 = new System.Windows.Forms.LinkLabel();
this.label5 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 109);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(146, 13);
this.label1.TabIndex = 0;
this.label1.Text = "Some icons were provided by";
//
// linkLabel1
//
this.linkLabel1.AutoSize = true;
this.linkLabel1.Location = new System.Drawing.Point(156, 109);
this.linkLabel1.Name = "linkLabel1";
this.linkLabel1.Size = new System.Drawing.Size(97, 13);
this.linkLabel1.TabIndex = 1;
this.linkLabel1.TabStop = true;
this.linkLabel1.Text = "https://icons8.com";
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
//
// linkLabel2
//
this.linkLabel2.AutoSize = true;
this.linkLabel2.Location = new System.Drawing.Point(75, 42);
this.linkLabel2.Name = "linkLabel2";
this.linkLabel2.Size = new System.Drawing.Size(214, 13);
this.linkLabel2.TabIndex = 2;
this.linkLabel2.TabStop = true;
this.linkLabel2.Text = "https://github.com/Random06457/Z64Utils";
this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel2_LinkClicked);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(11, 42);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(63, 13);
this.label2.TabIndex = 3;
this.label2.Text = "Repository :";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(10, 61);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(105, 13);
this.label3.TabIndex = 4;
this.label3.Text = "CloudModding Wiki :";
//
// linkLabel3
//
this.linkLabel3.AutoSize = true;
this.linkLabel3.Location = new System.Drawing.Point(112, 61);
this.linkLabel3.Name = "linkLabel3";
this.linkLabel3.Size = new System.Drawing.Size(153, 13);
this.linkLabel3.TabIndex = 5;
this.linkLabel3.TabStop = true;
this.linkLabel3.Text = "https://wiki.cloudmodding.com";
this.linkLabel3.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel3_LinkClicked);
//
// label4
//
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point);
this.label4.Location = new System.Drawing.Point(12, 18);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(68, 13);
this.label4.TabIndex = 6;
this.label4.Text = "Useful Links:";
//
// linkLabel4
//
this.linkLabel4.AutoSize = true;
this.linkLabel4.Location = new System.Drawing.Point(105, 79);
this.linkLabel4.Name = "linkLabel4";
this.linkLabel4.Size = new System.Drawing.Size(137, 13);
this.linkLabel4.TabIndex = 8;
this.linkLabel4.TabStop = true;
this.linkLabel4.Text = "https://github.com/zeldaret";
this.linkLabel4.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel4_LinkClicked);
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(12, 79);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(96, 13);
this.label5.TabIndex = 7;
this.label5.Text = "ZeldaRET Github :";
//
// AboutForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(303, 133);
this.Controls.Add(this.linkLabel4);
this.Controls.Add(this.label5);
this.Controls.Add(this.label4);
this.Controls.Add(this.linkLabel3);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.linkLabel2);
this.Controls.Add(this.linkLabel1);
this.Controls.Add(this.label1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "AboutForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "About";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.LinkLabel linkLabel1;
private System.Windows.Forms.LinkLabel linkLabel2;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.LinkLabel linkLabel3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.LinkLabel linkLabel4;
private System.Windows.Forms.Label label5;
}
} | 44.798817 | 158 | 0.564258 | [
"MIT"
] | AngheloAlf/Z64Utils | Z64Utils/Forms/AboutForm.Designer.cs | 7,573 | C# |
using Microsoft.AppCenter;
using Microsoft.AppCenter.Analytics;
using Microsoft.AppCenter.Crashes;
using Microsoft.AppCenter.Distribute;
using Samples.Helpers;
using Samples.View;
using Xamarin.Essentials;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using Device = Xamarin.Forms.Device;
[assembly: XamlCompilation(XamlCompilationOptions.Compile)]
namespace Samples
{
public partial class App : Application
{
public App()
{
InitializeComponent();
// Enable currently experimental features
VersionTracking.Track();
MainPage = new NavigationPage(new HomePage());
}
protected override void OnStart()
{
if ((Device.RuntimePlatform == Device.Android && CommonConstants.AppCenterAndroid != "AC_ANDROID") ||
(Device.RuntimePlatform == Device.iOS && CommonConstants.AppCenteriOS != "AC_IOS") ||
(Device.RuntimePlatform == Device.UWP && CommonConstants.AppCenterUWP != "AC_UWP"))
{
AppCenter.Start(
$"ios={CommonConstants.AppCenteriOS};" +
$"android={CommonConstants.AppCenterAndroid};" +
$"uwp={CommonConstants.AppCenterUWP}",
typeof(Analytics),
typeof(Crashes),
typeof(Distribute));
}
}
protected override void OnSleep()
{
// Handle when your app sleeps
}
protected override void OnResume()
{
// Handle when your app resumes
}
}
}
| 28.446429 | 113 | 0.597615 | [
"MIT"
] | Akinnagbe/XamarinEssentials | Samples/Samples/App.xaml.cs | 1,595 | C# |
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Linq;
namespace TheCatApiClient.Shared.WebServices
{
public abstract class WebApiBase
{
// Insert variables below here
protected static HttpClient _client;
// Insert static constructor below here
static WebApiBase()
{
#if __WASM__
var innerHandler = new Uno.UI.Wasm.WasmHttpHandler();
#else
var innerHandler = new HttpClientHandler();
#endif
_client = new HttpClient(innerHandler);
}
// Insert CreateRequestMessage method below here
protected HttpRequestMessage CreateRequestMessage(HttpMethod method, string url, Dictionary<string, string> headers = null)
{
var httpRequestMessage = new HttpRequestMessage(method, url);
if (headers != null && headers.Any())
{
foreach (var header in headers)
{
httpRequestMessage.Headers.Add(header.Key, header.Value);
}
}
return httpRequestMessage;
}
// Insert GetAsync method below here
protected async Task<string> GetAsync(string url, Dictionary<string, string> headers = null)
{
using (var request = CreateRequestMessage(HttpMethod.Get, url, headers))
using (var response = await _client.SendAsync(request))
{
if (response.IsSuccessStatusCode)
{
return await response.Content.ReadAsStringAsync();
}
return null;
}
}
// Insert DeleteAsync method below here
protected async Task<string> DeleteAsync(string url, Dictionary<string, string> headers = null)
{
using (var request = CreateRequestMessage(HttpMethod.Delete, url, headers))
using (var response = await _client.SendAsync(request))
{
if (response.IsSuccessStatusCode)
{
return await response.Content.ReadAsStringAsync();
}
return null;
}
}
// Insert PostAsync method below here
protected async Task<string> PostAsync(string url, string payload, Dictionary<string, string> headers = null)
{
using (var request = CreateRequestMessage(HttpMethod.Post, url, headers))
{
request.Content = new StringContent(payload, Encoding.UTF8, "application/json");
using (var response = await _client.SendAsync(request))
{
if (response.IsSuccessStatusCode)
{
return await response.Content.ReadAsStringAsync();
}
return null;
}
}
}
// Insert PutAsync method below here
protected async Task<string> PutAsync(string url, string payload, Dictionary<string, string> headers = null)
{
using (var request = CreateRequestMessage(HttpMethod.Put, url, headers))
{
request.Content = new StringContent(payload, Encoding.UTF8, "application/json");
using (var response = await _client.SendAsync(request))
{
if (response.IsSuccessStatusCode)
{
return await response.Content.ReadAsStringAsync();
}
return null;
}
}
}
}
}
| 34.280374 | 131 | 0.554798 | [
"Apache-2.0"
] | duke7553/Uno.Samples | UI/TheCatApiClient/TheCatApiClient/TheCatApiClient.Shared/WebServices/WebApiBase.cs | 3,670 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Net.Http.Headers;
namespace CarMarketPlace.Areas.HelpPage
{
/// <summary>
/// This is used to identify the place where the sample should be applied.
/// </summary>
public class HelpPageSampleKey
{
/// <summary>
/// Creates a new <see cref="HelpPageSampleKey"/> based on media type.
/// </summary>
/// <param name="mediaType">The media type.</param>
public HelpPageSampleKey(MediaTypeHeaderValue mediaType)
{
if (mediaType == null)
{
throw new ArgumentNullException("mediaType");
}
ActionName = String.Empty;
ControllerName = String.Empty;
MediaType = mediaType;
ParameterNames = new HashSet<string>(StringComparer.OrdinalIgnoreCase);
}
/// <summary>
/// Creates a new <see cref="HelpPageSampleKey"/> based on media type and CLR type.
/// </summary>
/// <param name="mediaType">The media type.</param>
/// <param name="type">The CLR type.</param>
public HelpPageSampleKey(MediaTypeHeaderValue mediaType, Type type)
: this(mediaType)
{
if (type == null)
{
throw new ArgumentNullException("type");
}
ParameterType = type;
}
/// <summary>
/// Creates a new <see cref="HelpPageSampleKey"/> based on <see cref="SampleDirection"/>, controller name, action name and parameter names.
/// </summary>
/// <param name="sampleDirection">The <see cref="SampleDirection"/>.</param>
/// <param name="controllerName">Name of the controller.</param>
/// <param name="actionName">Name of the action.</param>
/// <param name="parameterNames">The parameter names.</param>
public HelpPageSampleKey(SampleDirection sampleDirection, string controllerName, string actionName, IEnumerable<string> parameterNames)
{
if (!Enum.IsDefined(typeof(SampleDirection), sampleDirection))
{
throw new InvalidEnumArgumentException("sampleDirection", (int)sampleDirection, typeof(SampleDirection));
}
if (controllerName == null)
{
throw new ArgumentNullException("controllerName");
}
if (actionName == null)
{
throw new ArgumentNullException("actionName");
}
if (parameterNames == null)
{
throw new ArgumentNullException("parameterNames");
}
ControllerName = controllerName;
ActionName = actionName;
ParameterNames = new HashSet<string>(parameterNames, StringComparer.OrdinalIgnoreCase);
SampleDirection = sampleDirection;
}
/// <summary>
/// Creates a new <see cref="HelpPageSampleKey"/> based on media type, <see cref="SampleDirection"/>, controller name, action name and parameter names.
/// </summary>
/// <param name="mediaType">The media type.</param>
/// <param name="sampleDirection">The <see cref="SampleDirection"/>.</param>
/// <param name="controllerName">Name of the controller.</param>
/// <param name="actionName">Name of the action.</param>
/// <param name="parameterNames">The parameter names.</param>
public HelpPageSampleKey(MediaTypeHeaderValue mediaType, SampleDirection sampleDirection, string controllerName, string actionName, IEnumerable<string> parameterNames)
: this(sampleDirection, controllerName, actionName, parameterNames)
{
if (mediaType == null)
{
throw new ArgumentNullException("mediaType");
}
MediaType = mediaType;
}
/// <summary>
/// Gets the name of the controller.
/// </summary>
/// <value>
/// The name of the controller.
/// </value>
public string ControllerName { get; private set; }
/// <summary>
/// Gets the name of the action.
/// </summary>
/// <value>
/// The name of the action.
/// </value>
public string ActionName { get; private set; }
/// <summary>
/// Gets the media type.
/// </summary>
/// <value>
/// The media type.
/// </value>
public MediaTypeHeaderValue MediaType { get; private set; }
/// <summary>
/// Gets the parameter names.
/// </summary>
public HashSet<string> ParameterNames { get; private set; }
public Type ParameterType { get; private set; }
/// <summary>
/// Gets the <see cref="SampleDirection"/>.
/// </summary>
public SampleDirection? SampleDirection { get; private set; }
public override bool Equals(object obj)
{
HelpPageSampleKey otherKey = obj as HelpPageSampleKey;
if (otherKey == null)
{
return false;
}
return String.Equals(ControllerName, otherKey.ControllerName, StringComparison.OrdinalIgnoreCase) &&
String.Equals(ActionName, otherKey.ActionName, StringComparison.OrdinalIgnoreCase) &&
(MediaType == otherKey.MediaType || (MediaType != null && MediaType.Equals(otherKey.MediaType))) &&
ParameterType == otherKey.ParameterType &&
SampleDirection == otherKey.SampleDirection &&
ParameterNames.SetEquals(otherKey.ParameterNames);
}
public override int GetHashCode()
{
int hashCode = ControllerName.ToUpperInvariant().GetHashCode() ^ ActionName.ToUpperInvariant().GetHashCode();
if (MediaType != null)
{
hashCode ^= MediaType.GetHashCode();
}
if (SampleDirection != null)
{
hashCode ^= SampleDirection.GetHashCode();
}
if (ParameterType != null)
{
hashCode ^= ParameterType.GetHashCode();
}
foreach (string parameterName in ParameterNames)
{
hashCode ^= parameterName.ToUpperInvariant().GetHashCode();
}
return hashCode;
}
}
}
| 37.445087 | 175 | 0.569929 | [
"Apache-2.0"
] | amartynenko/CarMarketplace | CarMarketPlace.Host/Areas/HelpPage/SampleGeneration/HelpPageSampleKey.cs | 6,478 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Xml.Linq;
namespace NetTopologySuite.IO
{
/// <summary>
/// An immutable list of <see cref="GpxWaypoint"/> instances.
/// </summary>
/// <remarks>
/// Storage is optimized to minimize the cost of storing data members that are not actually used
/// by any included waypoints. For example, if <see cref="GpxWaypoint.Links"/> is empty on all
/// included waypoints, then this table will not spend any memory on storing those empty lists.
/// </remarks>
public sealed class ImmutableGpxWaypointTable : IReadOnlyList<GpxWaypoint>
{
/// <summary>
/// An empty instance of <see cref="ImmutableGpxWaypointTable"/>.
/// </summary>
public static readonly ImmutableGpxWaypointTable Empty = new ImmutableGpxWaypointTable(Enumerable.Empty<GpxWaypoint>());
private readonly ImmutableArray<GpxLongitude> _longitudes = ImmutableArray<GpxLongitude>.Empty;
private readonly ImmutableArray<GpxLatitude> _latitudes = ImmutableArray<GpxLatitude>.Empty;
private readonly OptionalStructList<double> _elevationsInMeters;
private readonly OptionalStructList<DateTime> _timestampsUtc;
private readonly OptionalClassList<string> _names;
private readonly OptionalClassList<string> _descriptions;
private readonly OptionalClassList<string> _symbolTexts;
private readonly OptionalStructList<GpxDegrees> _magneticVariations;
private readonly OptionalStructList<double> _geoidHeights;
private readonly OptionalClassList<string> _comments;
private readonly OptionalClassList<string> _sources;
private readonly OptionalImmutableArrayList<GpxWebLink> _webLinkLists;
private readonly OptionalClassList<string> _classifications;
private readonly OptionalStructList<int> _fixKinds;
private readonly OptionalStructList<uint> _numbersOfSatellites;
private readonly OptionalStructList<double> _horizontalDilutionsOfPrecision;
private readonly OptionalStructList<double> _verticalDilutionsOfPrecision;
private readonly OptionalStructList<double> _positionDilutionsOfPrecision;
private readonly OptionalStructList<double> _secondsSinceLastDgpsUpdates;
private readonly OptionalStructList<GpxDgpsStationId> _dgpsStationIds;
private readonly OptionalClassList<object> _allExtensions;
/// <summary>
/// Initializes a new instance of the <see cref="ImmutableGpxWaypointTable"/> class.
/// </summary>
/// <param name="waypoints">
/// The <see cref="GpxWaypoint"/> instances to store.
/// </param>
/// <exception cref="ArgumentNullException">
/// Thrown when <paramref name="waypoints"/> is <see langword="null"/>.
/// </exception>
/// <exception cref="ArgumentException">
/// Thrown when an element of <paramref name="waypoints"/> is <see langword="null" />
/// </exception>
public ImmutableGpxWaypointTable(IEnumerable<GpxWaypoint> waypoints)
{
switch (waypoints)
{
case null:
throw new ArgumentNullException(nameof(waypoints));
case ImmutableGpxWaypointTable otherTable:
_longitudes = otherTable._longitudes;
_latitudes = otherTable._latitudes;
_elevationsInMeters = otherTable._elevationsInMeters;
_timestampsUtc = otherTable._timestampsUtc;
_names = otherTable._names;
_descriptions = otherTable._descriptions;
_symbolTexts = otherTable._symbolTexts;
_magneticVariations = otherTable._magneticVariations;
_geoidHeights = otherTable._geoidHeights;
_comments = otherTable._comments;
_sources = otherTable._sources;
_webLinkLists = otherTable._webLinkLists;
_classifications = otherTable._classifications;
_fixKinds = otherTable._fixKinds;
_numbersOfSatellites = otherTable._numbersOfSatellites;
_horizontalDilutionsOfPrecision = otherTable._horizontalDilutionsOfPrecision;
_verticalDilutionsOfPrecision = otherTable._verticalDilutionsOfPrecision;
_positionDilutionsOfPrecision = otherTable._positionDilutionsOfPrecision;
_secondsSinceLastDgpsUpdates = otherTable._secondsSinceLastDgpsUpdates;
_dgpsStationIds = otherTable._dgpsStationIds;
_allExtensions = otherTable._allExtensions;
Count = otherTable.Count;
return;
}
int cnt = 0;
var longitudes = new List<GpxLongitude>();
var latitudes = new List<GpxLatitude>();
List<double?> elevationsInMeters = null;
List<DateTime?> timestampsUtc = null;
List<string> names = null;
List<string> descriptions = null;
List<string> symbolTexts = null;
List<GpxDegrees?> magneticVariations = null;
List<double?> geoidHeights = null;
List<string> comments = null;
List<string> sources = null;
List<ImmutableArray<GpxWebLink>> webLinkLists = null;
List<string> classifications = null;
List<int?> fixKinds = null;
List<uint?> numbersOfSatellites = null;
List<double?> horizontalDilutionsOfPrecision = null;
List<double?> verticalDilutionsOfPrecision = null;
List<double?> positionDilutionsOfPrecision = null;
List<double?> secondsSinceLastDgpsUpdates = null;
List<GpxDgpsStationId?> dgpsStationIds = null;
List<object> allExtensions = null;
foreach (var waypoint in waypoints)
{
if (waypoint is null)
{
throw new ArgumentException("No null waypoints are allowed", nameof(waypoints));
}
longitudes.Add(waypoint.Longitude);
latitudes.Add(waypoint.Latitude);
Add(ref elevationsInMeters, waypoint.ElevationInMeters, cnt);
Add(ref timestampsUtc, waypoint.TimestampUtc, cnt);
Add(ref names, waypoint.Name, cnt);
Add(ref descriptions, waypoint.Description, cnt);
Add(ref symbolTexts, waypoint.SymbolText, cnt);
Add(ref magneticVariations, waypoint.MagneticVariation, cnt);
Add(ref geoidHeights, waypoint.GeoidHeight, cnt);
Add(ref comments, waypoint.Comment, cnt);
Add(ref sources, waypoint.Source, cnt);
Add(ref webLinkLists, waypoint.Links, cnt);
Add(ref classifications, waypoint.Classification, cnt);
Add(ref fixKinds, (int?)waypoint.FixKind, cnt);
Add(ref numbersOfSatellites, waypoint.NumberOfSatellites, cnt);
Add(ref horizontalDilutionsOfPrecision, waypoint.HorizontalDilutionOfPrecision, cnt);
Add(ref verticalDilutionsOfPrecision, waypoint.VerticalDilutionOfPrecision, cnt);
Add(ref positionDilutionsOfPrecision, waypoint.PositionDilutionOfPrecision, cnt);
Add(ref secondsSinceLastDgpsUpdates, waypoint.SecondsSinceLastDgpsUpdate, cnt);
Add(ref dgpsStationIds, waypoint.DgpsStationId, cnt);
Add(ref allExtensions, waypoint.Extensions, cnt);
++cnt;
}
_longitudes = longitudes.ToImmutableArray();
_latitudes = latitudes.ToImmutableArray();
_elevationsInMeters = Optional(elevationsInMeters);
_timestampsUtc = Optional(timestampsUtc);
_names = Optional(names);
_descriptions = Optional(descriptions);
_symbolTexts = Optional(symbolTexts);
_magneticVariations = Optional(magneticVariations);
_geoidHeights = Optional(geoidHeights);
_comments = Optional(comments);
_sources = Optional(sources);
_webLinkLists = Optional(webLinkLists);
_classifications = Optional(classifications);
_fixKinds = Optional(fixKinds);
_numbersOfSatellites = Optional(numbersOfSatellites);
_horizontalDilutionsOfPrecision = Optional(horizontalDilutionsOfPrecision);
_verticalDilutionsOfPrecision = Optional(verticalDilutionsOfPrecision);
_positionDilutionsOfPrecision = Optional(positionDilutionsOfPrecision);
_secondsSinceLastDgpsUpdates = Optional(secondsSinceLastDgpsUpdates);
_dgpsStationIds = Optional(dgpsStationIds);
_allExtensions = Optional(allExtensions);
Count = cnt;
}
internal ImmutableGpxWaypointTable(IEnumerable<XElement> elements, GpxReaderSettings settings, Func<IEnumerable<XElement>, object> extensionCallback)
: this(elements is null ? throw new ArgumentNullException(nameof(elements)) :
settings is null ? throw new ArgumentNullException(nameof(settings)) :
extensionCallback is null ? throw new ArgumentNullException(nameof(extensionCallback)) :
elements.Select(element => element is null ? throw new ArgumentException("No null elements are allowed", nameof(elements)) : GpxWaypoint.Load(element, settings, extensionCallback)))
{
}
/// <inheritdoc />
public GpxWaypoint this[int index] => new GpxWaypoint(
longitude: _longitudes[index],
latitude: _latitudes[index],
elevationInMeters: _elevationsInMeters[index],
timestampUtc: _timestampsUtc[index],
magneticVariation: _magneticVariations[index],
geoidHeight: _geoidHeights[index],
name: _names[index],
comment: _comments[index],
description: _descriptions[index],
source: _sources[index],
links: _webLinkLists[index],
symbolText: _symbolTexts[index],
classification: _classifications[index],
fixKind: (GpxFixKind?)_fixKinds[index],
numberOfSatellites: _numbersOfSatellites[index],
horizontalDilutionOfPrecision: _horizontalDilutionsOfPrecision[index],
verticalDilutionOfPrecision: _verticalDilutionsOfPrecision[index],
positionDilutionOfPrecision: _positionDilutionsOfPrecision[index],
secondsSinceLastDgpsUpdate: _secondsSinceLastDgpsUpdates[index],
dgpsStationId: _dgpsStationIds[index],
extensions: _allExtensions[index]);
/// <inheritdoc />
public int Count { get; }
/// <inheritdoc cref="IEnumerable{T}.GetEnumerator"/>
public Enumerator GetEnumerator() => new Enumerator(this);
/// <inheritdoc />
IEnumerator<GpxWaypoint> IEnumerable<GpxWaypoint>.GetEnumerator() => new Enumerator(this);
/// <inheritdoc />
IEnumerator IEnumerable.GetEnumerator() => new Enumerator(this);
/// <inheritdoc />
public override bool Equals(object obj)
{
if (this == obj)
{
return true;
}
if (!(obj is ImmutableGpxWaypointTable other) || Count != other.Count)
{
return false;
}
return _longitudes.ListEquals(other._longitudes) &&
_latitudes.ListEquals(other._latitudes) &&
_elevationsInMeters.Equals(other._elevationsInMeters) &&
_timestampsUtc.Equals(other._timestampsUtc) &&
_magneticVariations.Equals(other._magneticVariations) &&
_geoidHeights.Equals(other._geoidHeights) &&
_names.Equals(other._names) &&
_comments.Equals(other._comments) &&
_descriptions.Equals(other._descriptions) &&
_sources.Equals(other._sources) &&
_webLinkLists.Equals(other._webLinkLists) &&
_symbolTexts.Equals(other._symbolTexts) &&
_classifications.Equals(other._classifications) &&
_fixKinds.Equals(other._fixKinds) &&
_numbersOfSatellites.Equals(other._numbersOfSatellites) &&
_horizontalDilutionsOfPrecision.Equals(other._horizontalDilutionsOfPrecision) &&
_verticalDilutionsOfPrecision.Equals(other._verticalDilutionsOfPrecision) &&
_positionDilutionsOfPrecision.Equals(other._positionDilutionsOfPrecision) &&
_secondsSinceLastDgpsUpdates.Equals(other._secondsSinceLastDgpsUpdates) &&
_dgpsStationIds.Equals(other._dgpsStationIds) &&
_allExtensions.Equals(other._allExtensions);
}
/// <inheritdoc />
public override int GetHashCode()
{
int hc = 0;
foreach (var waypoint in this)
{
hc = (hc, waypoint).GetHashCode();
}
return hc;
}
/// <inheritdoc />
public override string ToString() => Helpers.BuildString((nameof(Count), Count));
private static void Add<T>(ref List<ImmutableArray<T>> lst, ImmutableArray<T> value, int cnt)
{
if (lst is null && !value.IsDefaultOrEmpty)
{
lst = new List<ImmutableArray<T>>();
lst.AddRange(Enumerable.Repeat(ImmutableArray<T>.Empty, cnt));
}
lst?.Add(value);
}
private static void Add<T>(ref List<T> lst, T value, int cnt)
where T : class
{
if (lst is null && !(value is null))
{
lst = new List<T>();
lst.AddRange(Enumerable.Repeat(default(T), cnt));
}
lst?.Add(value);
}
private static void Add<T>(ref List<T?> lst, T? value, int cnt)
where T : struct
{
if (lst is null && !(value is null))
{
lst = new List<T?>();
lst.AddRange(Enumerable.Repeat(default(T?), cnt));
}
lst?.Add(value);
}
private static OptionalImmutableArrayList<T> Optional<T>(List<ImmutableArray<T>> values) => new OptionalImmutableArrayList<T>(values);
private static OptionalClassList<T> Optional<T>(List<T> values) where T : class => new OptionalClassList<T>(values);
private static OptionalStructList<T> Optional<T>(List<T?> values) where T : unmanaged, IEquatable<T> => new OptionalStructList<T>(values);
/// <inheritdoc />
public struct Enumerator : IEnumerator<GpxWaypoint>
{
#pragma warning disable IDE0044 // Add readonly modifier
private ImmutableGpxWaypointTable _table;
#pragma warning restore IDE0044 // Add readonly modifier
private int curr;
internal Enumerator(ImmutableGpxWaypointTable table)
{
_table = table;
curr = -1;
}
/// <inheritdoc />
public GpxWaypoint Current => _table[curr];
/// <inheritdoc />
object IEnumerator.Current => Current;
/// <inheritdoc />
public bool MoveNext() => curr != _table.Count &&
++curr != _table.Count;
/// <inheritdoc />
void IDisposable.Dispose() { }
/// <inheritdoc />
void IEnumerator.Reset() => curr = -1;
}
private readonly struct OptionalImmutableArrayList<T> : IEquatable<OptionalImmutableArrayList<T>>
{
private readonly ImmutableArray<ImmutableArray<T>> _values;
public OptionalImmutableArrayList(List<ImmutableArray<T>> values) => _values = values?.ToImmutableArray() ?? default;
public ImmutableArray<T> this[int index] => _values.IsDefault ? ImmutableArray<T>.Empty : _values[index];
public override bool Equals(object obj) => obj is OptionalImmutableArrayList<T> other && Equals(other);
public bool Equals(OptionalImmutableArrayList<T> other)
{
var selfValues = _values;
var otherValues = other._values;
if (selfValues == otherValues)
{
return true;
}
if (selfValues.IsDefault)
{
return otherValues.IsDefault;
}
if (otherValues.IsDefault || selfValues.Length != otherValues.Length)
{
return false;
}
for (int i = 0; i < selfValues.Length; i++)
{
if (!selfValues[i].ListEquals(otherValues[i]))
{
return false;
}
}
return true;
}
public override int GetHashCode()
{
var selfValues = _values;
if (selfValues.IsDefault)
{
return 0;
}
int hc = 0;
for (int i = 0; i < selfValues.Length; i++)
{
hc = Helpers.HashHelpersCombine(hc, selfValues[i].ListToHashCode());
}
return hc;
}
}
private readonly struct OptionalClassList<T> : IEquatable<OptionalClassList<T>>
where T : class
{
private readonly ImmutableArray<T> _values;
public OptionalClassList(List<T> values) => _values = values?.ToImmutableArray() ?? default;
public T this[int index] => _values.IsDefault ? null : _values[index];
public override bool Equals(object obj) => obj is OptionalClassList<T> other && Equals(other);
public bool Equals(OptionalClassList<T> other) => _values.ListEquals(other._values);
public override int GetHashCode() => _values.ListToHashCode();
}
private readonly struct OptionalStructList<T> : IEquatable<OptionalStructList<T>>
where T : unmanaged, IEquatable<T>
{
// the resolution of dotnet/corefx#11861 means we're probably not going to be getting
// ImmutableBitArray, but we still should separate out HasValue so it packs more nicely.
private readonly ImmutableArray<bool> _flags;
private readonly ImmutableArray<T> _values;
public OptionalStructList(List<T?> values)
{
if (values == null)
{
_flags = default;
_values = default;
}
else
{
int cnt = values.Count;
var flagsBuilder = ImmutableArray.CreateBuilder<bool>(cnt);
flagsBuilder.Count = cnt;
var valuesBuilder = ImmutableArray.CreateBuilder<T>(cnt);
valuesBuilder.Count = cnt;
for (int i = 0; i < cnt; i++)
{
var value = values[i];
if (value.HasValue)
{
flagsBuilder[i] = true;
valuesBuilder[i] = value.GetValueOrDefault();
}
}
_flags = flagsBuilder.MoveToImmutable();
_values = valuesBuilder.MoveToImmutable();
}
}
public T? this[int index] => (_flags.IsDefault || !_flags[index]) ? default(T?) : _values[index];
public override bool Equals(object obj) => obj is OptionalStructList<T> other && Equals(other);
public bool Equals(OptionalStructList<T> other) => _values.ListEquals(other._values) &&
_flags.ListEquals(other._flags);
public override int GetHashCode() => (_flags.ListToHashCode(), _values.ListToHashCode()).GetHashCode();
}
}
}
| 42.646694 | 200 | 0.591347 | [
"BSD-3-Clause"
] | NetTopologySuite/NetTopologySuite.IO.GPX | src/NetTopologySuite.IO.GPX/ImmutableGpxWaypointTable.cs | 20,643 | C# |
// 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.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make *
* changes, please update the corresponding template and run according to the *
* directions listed in the file. *
******************************************************************************/
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;
namespace JIT.HardwareIntrinsics.X86
{
public static partial class Program
{
private static void ShuffleLowInt16228()
{
var test = new ImmUnaryOpTest__ShuffleLowInt16228();
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
test.RunBasicScenario_UnsafeRead();
if (Avx.IsSupported)
{
// Validates basic functionality works, using Load
test.RunBasicScenario_Load();
// Validates basic functionality works, using LoadAligned
test.RunBasicScenario_LoadAligned();
}
// Validates calling via reflection works, using Unsafe.Read
test.RunReflectionScenario_UnsafeRead();
if (Avx.IsSupported)
{
// Validates calling via reflection works, using Load
test.RunReflectionScenario_Load();
// Validates calling via reflection works, using LoadAligned
test.RunReflectionScenario_LoadAligned();
}
// Validates passing a static member works
test.RunClsVarScenario();
// Validates passing a local works, using Unsafe.Read
test.RunLclVarScenario_UnsafeRead();
if (Avx.IsSupported)
{
// Validates passing a local works, using Load
test.RunLclVarScenario_Load();
// Validates passing a local works, using LoadAligned
test.RunLclVarScenario_LoadAligned();
}
// Validates passing the field of a local class works
test.RunClassLclFldScenario();
// Validates passing an instance member of a class works
test.RunClassFldScenario();
// Validates passing the field of a local struct works
test.RunStructLclFldScenario();
// Validates passing an instance member of a struct works
test.RunStructFldScenario();
}
else
{
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
if (!test.Succeeded)
{
throw new Exception("One or more scenarios did not complete as expected.");
}
}
}
public sealed unsafe class ImmUnaryOpTest__ShuffleLowInt16228
{
private struct TestStruct
{
public Vector256<Int16> _fld;
public static TestStruct Create()
{
var testStruct = new TestStruct();
for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector256<Int16>, byte>(ref testStruct._fld), ref Unsafe.As<Int16, byte>(ref _data[0]), (uint)Unsafe.SizeOf<Vector256<Int16>>());
return testStruct;
}
public void RunStructFldScenario(ImmUnaryOpTest__ShuffleLowInt16228 testClass)
{
var result = Avx2.ShuffleLow(_fld, 228);
Unsafe.Write(testClass._dataTable.outArrayPtr, result);
testClass.ValidateResult(_fld, testClass._dataTable.outArrayPtr);
}
}
private static readonly int LargestVectorSize = 32;
private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector256<Int16>>() / sizeof(Int16);
private static readonly int RetElementCount = Unsafe.SizeOf<Vector256<Int16>>() / sizeof(Int16);
private static Int16[] _data = new Int16[Op1ElementCount];
private static Vector256<Int16> _clsVar;
private Vector256<Int16> _fld;
private SimpleUnaryOpTest__DataTable<Int16, Int16> _dataTable;
static ImmUnaryOpTest__ShuffleLowInt16228()
{
for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector256<Int16>, byte>(ref _clsVar), ref Unsafe.As<Int16, byte>(ref _data[0]), (uint)Unsafe.SizeOf<Vector256<Int16>>());
}
public ImmUnaryOpTest__ShuffleLowInt16228()
{
Succeeded = true;
for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector256<Int16>, byte>(ref _fld), ref Unsafe.As<Int16, byte>(ref _data[0]), (uint)Unsafe.SizeOf<Vector256<Int16>>());
for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetInt16(); }
_dataTable = new SimpleUnaryOpTest__DataTable<Int16, Int16>(_data, new Int16[RetElementCount], LargestVectorSize);
}
public bool IsSupported => Avx2.IsSupported;
public bool Succeeded { get; set; }
public void RunBasicScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_UnsafeRead));
var result = Avx2.ShuffleLow(
Unsafe.Read<Vector256<Int16>>(_dataTable.inArrayPtr),
228
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
}
public void RunBasicScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
var result = Avx2.ShuffleLow(
Avx.LoadVector256((Int16*)(_dataTable.inArrayPtr)),
228
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
}
public void RunBasicScenario_LoadAligned()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_LoadAligned));
var result = Avx2.ShuffleLow(
Avx.LoadAlignedVector256((Int16*)(_dataTable.inArrayPtr)),
228
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
}
public void RunReflectionScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_UnsafeRead));
var result = typeof(Avx2).GetMethod(nameof(Avx2.ShuffleLow), new Type[] { typeof(Vector256<Int16>), typeof(byte) })
.Invoke(null, new object[] {
Unsafe.Read<Vector256<Int16>>(_dataTable.inArrayPtr),
(byte)228
});
Unsafe.Write(_dataTable.outArrayPtr, (Vector256<Int16>)(result));
ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
}
public void RunReflectionScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
var result = typeof(Avx2).GetMethod(nameof(Avx2.ShuffleLow), new Type[] { typeof(Vector256<Int16>), typeof(byte) })
.Invoke(null, new object[] {
Avx.LoadVector256((Int16*)(_dataTable.inArrayPtr)),
(byte)228
});
Unsafe.Write(_dataTable.outArrayPtr, (Vector256<Int16>)(result));
ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
}
public void RunReflectionScenario_LoadAligned()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_LoadAligned));
var result = typeof(Avx2).GetMethod(nameof(Avx2.ShuffleLow), new Type[] { typeof(Vector256<Int16>), typeof(byte) })
.Invoke(null, new object[] {
Avx.LoadAlignedVector256((Int16*)(_dataTable.inArrayPtr)),
(byte)228
});
Unsafe.Write(_dataTable.outArrayPtr, (Vector256<Int16>)(result));
ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
}
public void RunClsVarScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClsVarScenario));
var result = Avx2.ShuffleLow(
_clsVar,
228
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_clsVar, _dataTable.outArrayPtr);
}
public void RunLclVarScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunLclVarScenario_UnsafeRead));
var firstOp = Unsafe.Read<Vector256<Int16>>(_dataTable.inArrayPtr);
var result = Avx2.ShuffleLow(firstOp, 228);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(firstOp, _dataTable.outArrayPtr);
}
public void RunLclVarScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunLclVarScenario_Load));
var firstOp = Avx.LoadVector256((Int16*)(_dataTable.inArrayPtr));
var result = Avx2.ShuffleLow(firstOp, 228);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(firstOp, _dataTable.outArrayPtr);
}
public void RunLclVarScenario_LoadAligned()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunLclVarScenario_LoadAligned));
var firstOp = Avx.LoadAlignedVector256((Int16*)(_dataTable.inArrayPtr));
var result = Avx2.ShuffleLow(firstOp, 228);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(firstOp, _dataTable.outArrayPtr);
}
public void RunClassLclFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassLclFldScenario));
var test = new ImmUnaryOpTest__ShuffleLowInt16228();
var result = Avx2.ShuffleLow(test._fld, 228);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld, _dataTable.outArrayPtr);
}
public void RunClassFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassFldScenario));
var result = Avx2.ShuffleLow(_fld, 228);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_fld, _dataTable.outArrayPtr);
}
public void RunStructLclFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructLclFldScenario));
var test = TestStruct.Create();
var result = Avx2.ShuffleLow(test._fld, 228);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld, _dataTable.outArrayPtr);
}
public void RunStructFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructFldScenario));
var test = TestStruct.Create();
test.RunStructFldScenario(this);
}
public void RunUnsupportedScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
bool succeeded = false;
try
{
RunBasicScenario_UnsafeRead();
}
catch (PlatformNotSupportedException)
{
succeeded = true;
}
if (!succeeded)
{
Succeeded = false;
}
}
private void ValidateResult(Vector256<Int16> firstOp, void* result, [CallerMemberName] string method = "")
{
Int16[] inArray = new Int16[Op1ElementCount];
Int16[] outArray = new Int16[RetElementCount];
Unsafe.WriteUnaligned(ref Unsafe.As<Int16, byte>(ref inArray[0]), firstOp);
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int16, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<Int16>>());
ValidateResult(inArray, outArray, method);
}
private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
{
Int16[] inArray = new Int16[Op1ElementCount];
Int16[] outArray = new Int16[RetElementCount];
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int16, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector256<Int16>>());
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int16, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<Int16>>());
ValidateResult(inArray, outArray, method);
}
private void ValidateResult(Int16[] firstOp, Int16[] result, [CallerMemberName] string method = "")
{
bool succeeded = true;
if (result[0] != firstOp[0])
{
succeeded = false;
}
else
{
for (var i = 1; i < RetElementCount; i++)
{
if (result[i] != firstOp[i])
{
succeeded = false;
break;
}
}
}
if (!succeeded)
{
TestLibrary.TestFramework.LogInformation($"{nameof(Avx2)}.{nameof(Avx2.ShuffleLow)}<Int16>(Vector256<Int16><9>): {method} failed:");
TestLibrary.TestFramework.LogInformation($" firstOp: ({string.Join(", ", firstOp)})");
TestLibrary.TestFramework.LogInformation($" result: ({string.Join(", ", result)})");
TestLibrary.TestFramework.LogInformation(string.Empty);
Succeeded = false;
}
}
}
}
| 38.315522 | 185 | 0.577567 | [
"MIT"
] | 06needhamt/runtime | src/coreclr/tests/src/JIT/HardwareIntrinsics/X86/Avx2/ShuffleLow.Int16.228.cs | 15,058 | C# |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("SDL.Web.Modules.Products")]
[assembly: AssemblyDescription("Custom module for SDL.Web.Modules.Products")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("Copyright © 2018")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("e407358b-2392-4797-aaa6-3a5edeafe0ba")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
| 38.861111 | 84 | 0.743388 | [
"MIT"
] | contacttomukesh/TDS-Hackathon-2018 | SDL.Web.Modules.Thumb/Properties/AssemblyInfo.cs | 1,402 | C# |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Orleans;
using GF.Common;
using GF.Server;
using Ps;
public class BasePlayerMailBox<TDef> : Component<TDef> where TDef : DefPlayerMailBox, new()
{
//-------------------------------------------------------------------------
BaseApp<DefApp> CoApp { get; set; }
//-------------------------------------------------------------------------
public override void init()
{
defNodeRpcMethod<PlayerMailBoxRequest>(
(ushort)MethodType.c2sPlayerMailBoxRequest, c2sPlayerMailBoxRequest);
CoApp = (BaseApp<DefApp>)Entity.getCacheData("CoApp");
}
//-------------------------------------------------------------------------
public override void release()
{
}
//-------------------------------------------------------------------------
public override void update(float elapsed_tm)
{
}
//-------------------------------------------------------------------------
public override void handleEvent(object sender, EntityEvent e)
{
}
//-------------------------------------------------------------------------
async void c2sPlayerMailBoxRequest(PlayerMailBoxRequest mailbox_request)
{
IRpcSession s = EntityMgr.LastRpcSession;
ClientInfo client_info = CoApp.getClientInfo(s);
if (client_info == null) return;
var task = await Task.Factory.StartNew<Task<MethodData>>(async () =>
{
MethodData method_data = new MethodData();
method_data.method_id = MethodType.c2sPlayerMailBoxRequest;
method_data.param1 = EbTool.protobufSerialize<PlayerMailBoxRequest>(mailbox_request);
MethodData r = null;
try
{
var grain_playerproxy = GrainClient.GrainFactory.GetGrain<ICellPlayer>(new Guid(client_info.et_player_guid));
r = await grain_playerproxy.c2sRequest(method_data);
}
catch (Exception ex)
{
EbLog.Error(ex.ToString());
}
return r;
});
if (task.Status == TaskStatus.Faulted || task.Result == null)
{
if (task.Exception != null)
{
EbLog.Error(task.Exception.ToString());
}
return;
}
MethodData result = task.Result;
if (result.method_id == MethodType.None)
{
return;
}
lock (CoApp.RpcLock)
{
var playersecretary_response = EbTool.protobufDeserialize<PlayerMailBoxResponse>(result.param1);
CoApp.rpcBySession(s, (ushort)MethodType.s2cPlayerMailBoxResponse, playersecretary_response);
}
}
}
| 31.516854 | 125 | 0.508378 | [
"MIT"
] | corefan/Fishing | Server/Fishing.Gateway/Component/BasePlayerMailBox.cs | 2,807 | C# |
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by SpecFlow (https://www.specflow.org/).
// SpecFlow Version:3.7.0.0
// SpecFlow Generator Version:3.7.0.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
#region Designer generated code
#pragma warning disable
namespace Sfa.Tl.ResultsAndCertificationAutomation.Tests.Features.Registrations
{
using TechTalk.SpecFlow;
using System;
using System.Linq;
[System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "3.7.0.0")]
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[NUnit.Framework.TestFixtureAttribute()]
[NUnit.Framework.DescriptionAttribute("1490_ReRegisterCreateHasLearnerDecidedSpecialism")]
public partial class _1490_ReRegisterCreateHasLearnerDecidedSpecialismFeature
{
private TechTalk.SpecFlow.ITestRunner testRunner;
private string[] _featureTags = ((string[])(null));
#line 1 "1490_ReRegisterCreateHasLearnerDecidedSpecialism.feature"
#line hidden
[NUnit.Framework.OneTimeSetUpAttribute()]
public virtual void FeatureSetup()
{
testRunner = TechTalk.SpecFlow.TestRunnerManager.GetTestRunner();
TechTalk.SpecFlow.FeatureInfo featureInfo = new TechTalk.SpecFlow.FeatureInfo(new System.Globalization.CultureInfo("en-US"), "Tests/Features/Registrations", "1490_ReRegisterCreateHasLearnerDecidedSpecialism", "\tAs a Registrations Editor\r\n\tI need to select new specialism for the student\r\n\tSo" +
" that the record can be up to date", ProgrammingLanguage.CSharp, ((string[])(null)));
testRunner.OnFeatureStart(featureInfo);
}
[NUnit.Framework.OneTimeTearDownAttribute()]
public virtual void FeatureTearDown()
{
testRunner.OnFeatureEnd();
testRunner = null;
}
[NUnit.Framework.SetUpAttribute()]
public virtual void TestInitialize()
{
}
[NUnit.Framework.TearDownAttribute()]
public virtual void TestTearDown()
{
testRunner.OnScenarioEnd();
}
public virtual void ScenarioInitialize(TechTalk.SpecFlow.ScenarioInfo scenarioInfo)
{
testRunner.OnScenarioInitialize(scenarioInfo);
testRunner.ScenarioContext.ScenarioContainer.RegisterInstanceAs<NUnit.Framework.TestContext>(NUnit.Framework.TestContext.CurrentContext);
}
public virtual void ScenarioStart()
{
testRunner.OnScenarioStart();
}
public virtual void ScenarioCleanup()
{
testRunner.CollectScenarioErrors();
}
public virtual void FeatureBackground()
{
#line 6
#line hidden
#line 7
testRunner.Given("I have logged in as a \"RegistrationEditor\" user", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line hidden
#line 8
testRunner.And("I have a registration in Withdrawn state", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 9
testRunner.And("I click on Change status link in registraion details page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
}
[NUnit.Framework.TestAttribute()]
[NUnit.Framework.DescriptionAttribute("1490_Create Has Learner Decided Specialism validations")]
[NUnit.Framework.CategoryAttribute("RegressionTest")]
[NUnit.Framework.CategoryAttribute("ReactivateRegistration")]
public virtual void _1490_CreateHasLearnerDecidedSpecialismValidations()
{
string[] tagsOfScenario = new string[] {
"RegressionTest",
"ReactivateRegistration"};
System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("1490_Create Has Learner Decided Specialism validations", null, tagsOfScenario, argumentsOfScenario, this._featureTags);
#line 12
this.ScenarioInitialize(scenarioInfo);
#line hidden
bool isScenarioIgnored = default(bool);
bool isFeatureIgnored = default(bool);
if ((tagsOfScenario != null))
{
isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
}
if ((this._featureTags != null))
{
isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
}
if ((isScenarioIgnored || isFeatureIgnored))
{
testRunner.SkipScenario();
}
else
{
this.ScenarioStart();
#line 6
this.FeatureBackground();
#line hidden
#line 13
testRunner.And("I select register learner on different course and click on continue", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 14
testRunner.And("I select the provider and core from dropdown and click continue", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 15
testRunner.When("I click on continue without selecting any options", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 16
testRunner.Then("I should see error on as Learner Decided Specialism page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
}
this.ScenarioCleanup();
}
[NUnit.Framework.TestAttribute()]
[NUnit.Framework.DescriptionAttribute("1490_Create Has Learner Decided Specialism Back link")]
[NUnit.Framework.CategoryAttribute("RegressionTest")]
[NUnit.Framework.CategoryAttribute("ReactivateRegistration")]
public virtual void _1490_CreateHasLearnerDecidedSpecialismBackLink()
{
string[] tagsOfScenario = new string[] {
"RegressionTest",
"ReactivateRegistration"};
System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("1490_Create Has Learner Decided Specialism Back link", null, tagsOfScenario, argumentsOfScenario, this._featureTags);
#line 19
this.ScenarioInitialize(scenarioInfo);
#line hidden
bool isScenarioIgnored = default(bool);
bool isFeatureIgnored = default(bool);
if ((tagsOfScenario != null))
{
isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
}
if ((this._featureTags != null))
{
isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any();
}
if ((isScenarioIgnored || isFeatureIgnored))
{
testRunner.SkipScenario();
}
else
{
this.ScenarioStart();
#line 6
this.FeatureBackground();
#line hidden
#line 20
testRunner.And("I select register learner on different course and click on continue", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 21
testRunner.And("I select the provider and core from dropdown and click continue", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
#line 22
testRunner.When("I click on back link in Has learner decide page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
#line 23
testRunner.Then("I should be navigated back to select core page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
}
this.ScenarioCleanup();
}
}
}
#pragma warning restore
#endregion
| 44.097436 | 313 | 0.648796 | [
"MIT"
] | uk-gov-mirror/SkillsFundingAgency.tl-results-and-certification-automation-suite | src/Sfa.Tl.ResultsAndCertificationAutomation/Tests/Features/Registrations/1490_ReRegisterCreateHasLearnerDecidedSpecialism.feature.cs | 8,601 | C# |
using Autofac;
using GSoft.Dynamite.ServiceLocator;
using GSoft.Dynamite.ServiceLocator.AddOn;
using Microsoft.SharePoint;
namespace GSoft.Dynamite.Publishing.SP
{
/// <summary>
/// Proxy service locator for the Dynamite Portal Publishing components
/// </summary>
internal class PublishingContainerProxy
{
/// <summary>
/// This service locator is provided either
/// 1) by the only Container class currently available in the GAC
/// from the single DLL matching the pattern "[*.ServiceLocator.DLL]"
/// or
/// 2) by the Container class from the DLL with a file name matching
/// the SPSite property bag value for the key "ServiceLocatorAssemblyName"
/// In other words, Dynamite.Components modules must be loaded by
/// a container class belonging to some Company.Project.ServiceLocator
/// assembly.
/// </summary>
private static ISharePointServiceLocator innerLocator = new AddOnProvidedServiceLocator();
/// <summary>
/// Exposes the most-nested currently available lifetime scope.
/// In an HTTP-request context, will return a shared per-request
/// scope (allowing you to inject InstancePerSite, InstancePerWeb
/// and InstancePerRequest-registered objects).
/// Outside an HTTP-request context, will return the root application
/// container itself (preventing you from injecting InstancePerSite,
/// InstancePerWeb or InstancePerRequest objects).
/// Do not dispose this scope, as it will be reused by others.
/// </summary>
public static ILifetimeScope Current
{
get
{
return innerLocator.Current;
}
}
/// <summary>
/// Creates a new child lifetime scope that is as nested as possible,
/// depending on the scope of the specified feature.
/// In a SPSite or SPWeb-scoped feature context, will return a web-specific
/// lifetime scope (allowing you to inject InstancePerSite and InstancePerWeb
/// objects).
/// In a SPFarm or SPWebApplication feature context, will return a child
/// container of the root application container (preventing you from injecting
/// InstancePerSite, InstancePerWeb or InstancePerRequest objects).
/// Please dispose this lifetime scope when done (E.G. call this method from
/// a using block).
/// Prefer usage of this method versus resolving manually from the Current property.
/// </summary>
/// <param name="feature">The current feature that is requesting a child lifetime scope</param>
/// <returns>A new child lifetime scope which should be disposed by the caller.</returns>
public static ILifetimeScope BeginFeatureLifetimeScope(SPFeature feature)
{
return innerLocator.BeginLifetimeScope(feature);
}
/// <summary>
/// Creates a new child lifetime scope under the scope of the specified web
/// (allowing you to inject InstancePerSite and InstancePerWeb objects).
/// Please dispose this lifetime scope when done (E.G. call this method from
/// a using block).
/// Prefer usage of this method versus resolving manually from the Current property.
/// </summary>
/// <param name="web">The current web from which we are requesting a child lifetime scope</param>
/// <returns>A new child lifetime scope which should be disposed by the caller.</returns>
public static ILifetimeScope BeginWebLifetimeScope(SPWeb web)
{
return innerLocator.BeginLifetimeScope(web);
}
}
}
| 47.582278 | 105 | 0.65842 | [
"MIT"
] | GSoft-SharePoint/Dynamite-Components | Source/GSoft.Dynamite.Publishing.SP/PublishingContainerProxy.cs | 3,761 | C# |
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, copy, modify, merge,
// publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons
// to whom the Software is furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all copies or
// substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
// FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
using System;
using System.Windows;
using System.Windows.Controls;
namespace ICSharpCode.PackageManagement
{
public static class ListBoxBehaviour
{
public static readonly DependencyProperty IsSelectedItemScrolledIntoViewProperty =
DependencyProperty.RegisterAttached(
"IsSelectedItemScrolledIntoView",
typeof(bool),
typeof(ListBoxBehaviour),
new UIPropertyMetadata(false, OnIsSelectedItemScrolledIntoViewChanged));
public static bool GetIsSelectedItemScrolledIntoView(ListBox listBox)
{
return (bool)listBox.GetValue(IsSelectedItemScrolledIntoViewProperty);
}
public static void SetIsSelectedItemScrolledIntoView(ListBox listBox, bool value)
{
listBox.SetValue(IsSelectedItemScrolledIntoViewProperty, value);
}
static void OnIsSelectedItemScrolledIntoViewChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e)
{
var scrollingBehaviour = new SelectedListBoxItemScrollingBehaviour(dependencyObject, e);
scrollingBehaviour.Update();
}
}
}
| 42.470588 | 126 | 0.790859 | [
"MIT"
] | TetradogOther/SharpDevelop | src/AddIns/Misc/PackageManagement/Project/Src/ListBoxBehaviour.cs | 2,168 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using System.ComponentModel;
using OpenLiveWriter.ApplicationFramework;
using OpenLiveWriter.Localization;
namespace OpenLiveWriter.PostEditor.PostHtmlEditing
{
/// <summary>
/// Summary description for TextContextMenuDefinition.
/// </summary>
public class SmartContentContextMenuDefinition : CommandContextMenuDefinition
{
public SmartContentContextMenuDefinition()
{
Entries.Add(CommandId.Cut, false, false);
Entries.Add(CommandId.CopyCommand, false, false);
Entries.Add(CommandId.Paste, false, true);
/*
Entries.Add(CommandId.AlignLeft, false, false);
Entries.Add(CommandId.AlignCenter, false, false);
Entries.Add(CommandId.AlignRight, false, false);
*/
}
}
}
| 33.928571 | 84 | 0.675789 | [
"MIT"
] | BobinYang/OpenLiveWriter | src/managed/OpenLiveWriter.PostEditor/PostHtmlEditing/SmartContentContextMenuDefinition.cs | 950 | C# |
using System.Collections.Generic;
namespace ManyToMany.System.Core.Application.Storage.Books.Queries.GetBooksList
{
public class BooksListViewModel
{
public IList<BookDto> Books { get; set; }
}
} | 24 | 79 | 0.731481 | [
"Apache-2.0"
] | liannoi/api-many-to-many | src/system/core/application/Storage/Books/Queries/GetBooksList/BooksListViewModel.cs | 216 | C# |
using UnityEngine;
namespace Assets.Scripts
{
public class CoordinateConverter
{
public float ScaleFactor { get; }
private Matrix4x4 _coordinateConverter;
// XvT engine -> Unity engine
// unity: forward is +z, right is +x, up is +y
// XvT: forward is -y, right is +x(?), up is +z
private static readonly Matrix4x4 _baseConversionMatrix = new Matrix4x4(
new Vector4(1, 0, 0, 0),
new Vector4(0, 0, -1, 0),
new Vector4(0, 1, 0, 0),
new Vector4(0, 0, 0, 1));
public CoordinateConverter(float scaleFactor)
{
ScaleFactor = scaleFactor;
_coordinateConverter = _baseConversionMatrix * Matrix4x4.Scale(new Vector3(ScaleFactor, ScaleFactor, ScaleFactor));
}
/// <summary>
/// Converts coordinates and scales them to the appropriate scaling factor
/// </summary>
public Vector3 ConvertCoordinates(Vector3 point) => _coordinateConverter.MultiplyPoint3x4(point);
}
} | 33.967742 | 127 | 0.609687 | [
"MIT"
] | rob-pilkington/XWLoader | Assets/Scripts/CoordinateConverter.cs | 1,055 | C# |
//***************************************************
//* This file was generated by tool
//* SharpKit
//* At: 29/08/2012 03:59:41 p.m.
//***************************************************
using SharpKit.JavaScript;
namespace Ext.grid
{
#region Panel
/// <inheritdocs />
/// <summary>
/// <p>Grids are an excellent way of showing large amounts of tabular data on the client side. Essentially a supercharged
/// <c><table></c>, GridPanel makes it easy to fetch, sort and filter large amounts of data.</p>
/// <p>Grids are composed of two main pieces - a <see cref="Ext.data.Store">Store</see> full of data and a set of columns to render.</p>
/// <h2>Basic GridPanel</h2>
/// <pre><code><see cref="Ext.ExtContext.create">Ext.create</see>('<see cref="Ext.data.Store">Ext.data.Store</see>', {
/// storeId:'simpsonsStore',
/// fields:['name', 'email', 'phone'],
/// data:{'items':[
/// { 'name': 'Lisa', "email":"lisa@simpsons.com", "phone":"555-111-1224" },
/// { 'name': 'Bart', "email":"bart@simpsons.com", "phone":"555-222-1234" },
/// { 'name': 'Homer', "email":"home@simpsons.com", "phone":"555-222-1244" },
/// { 'name': 'Marge', "email":"marge@simpsons.com", "phone":"555-222-1254" }
/// ]},
/// proxy: {
/// type: 'memory',
/// reader: {
/// type: 'json',
/// root: 'items'
/// }
/// }
/// });
/// <see cref="Ext.ExtContext.create">Ext.create</see>('<see cref="Ext.grid.Panel">Ext.grid.Panel</see>', {
/// title: 'Simpsons',
/// store: <see cref="Ext.data.StoreManager.lookup">Ext.data.StoreManager.lookup</see>('simpsonsStore'),
/// columns: [
/// { text: 'Name', dataIndex: 'name' },
/// { text: 'Email', dataIndex: 'email', flex: 1 },
/// { text: 'Phone', dataIndex: 'phone' }
/// ],
/// height: 200,
/// width: 400,
/// renderTo: <see cref="Ext.ExtContext.getBody">Ext.getBody</see>()
/// });
/// </code></pre>
/// <p>The code above produces a simple grid with three columns. We specified a Store which will load JSON data inline.
/// In most apps we would be placing the grid inside another container and wouldn't need to use the
/// <see cref="Ext.grid.PanelConfig.height">height</see>, <see cref="Ext.grid.PanelConfig.width">width</see> and <see cref="Ext.grid.PanelConfig.renderTo">renderTo</see> configurations but they are included here to make it easy to get
/// up and running.</p>
/// <p>The grid we created above will contain a header bar with a title ('Simpsons'), a row of column headers directly underneath
/// and finally the grid rows under the headers.</p>
/// <h2>Configuring columns</h2>
/// <p>By default, each column is sortable and will toggle between ASC and DESC sorting when you click on its header. Each
/// column header is also reorderable by default, and each gains a drop-down menu with options to hide and show columns.
/// It's easy to configure each column - here we use the same example as above and just modify the columns config:</p>
/// <pre><code>columns: [
/// {
/// text: 'Name',
/// dataIndex: 'name',
/// sortable: false,
/// hideable: false,
/// flex: 1
/// },
/// {
/// text: 'Email',
/// dataIndex: 'email',
/// hidden: true
/// },
/// {
/// text: 'Phone',
/// dataIndex: 'phone',
/// width: 100
/// }
/// ]
/// </code></pre>
/// <p>We turned off sorting and hiding on the 'Name' column so clicking its header now has no effect. We also made the Email
/// column hidden by default (it can be shown again by using the menu on any other column). We also set the Phone column to
/// a fixed with of 100px and flexed the Name column, which means it takes up all remaining width after the other columns
/// have been accounted for. See the <see cref="Ext.grid.column.Column">column docs</see> for more details.</p>
/// <h2>Renderers</h2>
/// <p>As well as customizing columns, it's easy to alter the rendering of individual cells using renderers. A renderer is
/// tied to a particular column and is passed the value that would be rendered into each cell in that column. For example,
/// we could define a renderer function for the email column to turn each email address into a mailto link:</p>
/// <pre><code>columns: [
/// {
/// text: 'Email',
/// dataIndex: 'email',
/// renderer: function(value) {
/// return <see cref="Ext.String.format">Ext.String.format</see>('<a href="mailto:{0}">{1}</a>', value, value);
/// }
/// }
/// ]
/// </code></pre>
/// <p>See the <see cref="Ext.grid.column.Column">column docs</see> for more information on renderers.</p>
/// <h2>Selection Models</h2>
/// <p>Sometimes all you want is to render data onto the screen for viewing, but usually it's necessary to interact with or
/// update that data. Grids use a concept called a Selection Model, which is simply a mechanism for selecting some part of
/// the data in the grid. The two main types of Selection Model are RowSelectionModel, where entire rows are selected, and
/// CellSelectionModel, where individual cells are selected.</p>
/// <p>Grids use a Row Selection Model by default, but this is easy to customise like so:</p>
/// <pre><code><see cref="Ext.ExtContext.create">Ext.create</see>('<see cref="Ext.grid.Panel">Ext.grid.Panel</see>', {
/// selType: 'cellmodel',
/// store: ...
/// });
/// </code></pre>
/// <p>Specifying the <c>cellmodel</c> changes a couple of things. Firstly, clicking on a cell now
/// selects just that cell (using a <see cref="Ext.selection.RowModel">rowmodel</see> will select the entire row), and secondly the
/// keyboard navigation will walk from cell to cell instead of row to row. Cell-based selection models are usually used in
/// conjunction with editing.</p>
/// <h2>Sorting & Filtering</h2>
/// <p>Every grid is attached to a <see cref="Ext.data.Store">Store</see>, which provides multi-sort and filtering capabilities. It's
/// easy to set up a grid to be sorted from the start:</p>
/// <pre><code>var myGrid = <see cref="Ext.ExtContext.create">Ext.create</see>('<see cref="Ext.grid.Panel">Ext.grid.Panel</see>', {
/// store: {
/// fields: ['name', 'email', 'phone'],
/// sorters: ['name', 'phone']
/// },
/// columns: [
/// { text: 'Name', dataIndex: 'name' },
/// { text: 'Email', dataIndex: 'email' }
/// ]
/// });
/// </code></pre>
/// <p>Sorting at run time is easily accomplished by simply clicking each column header. If you need to perform sorting on
/// more than one field at run time it's easy to do so by adding new sorters to the store:</p>
/// <pre><code>myGrid.store.sort([
/// { property: 'name', direction: 'ASC' },
/// { property: 'email', direction: 'DESC' }
/// ]);
/// </code></pre>
/// <p>See <see cref="Ext.data.Store">Ext.data.Store</see> for examples of filtering.</p>
/// <h2>State saving</h2>
/// <p>When configured <see cref="Ext.grid.PanelConfig.stateful">stateful</see>, grids save their column state (order and width) encapsulated within the default
/// Panel state of changed width and height and collapsed/expanded state.</p>
/// <p>Each <see cref="Ext.grid.PanelConfig.columns">column</see> of the grid may be configured with a <see cref="Ext.grid.column.ColumnConfig.stateId">stateId</see> which
/// identifies that column locally within the grid.</p>
/// <h2>Plugins and Features</h2>
/// <p>Grid supports addition of extra functionality through features and plugins:</p>
/// <ul>
/// <li><p><see cref="Ext.grid.plugin.CellEditing">CellEditing</see> - editing grid contents one cell at a time.</p></li>
/// <li><p><see cref="Ext.grid.plugin.RowEditing">RowEditing</see> - editing grid contents an entire row at a time.</p></li>
/// <li><p><see cref="Ext.grid.plugin.DragDrop">DragDrop</see> - drag-drop reordering of grid rows.</p></li>
/// <li><p><see cref="Ext.toolbar.Paging">Paging toolbar</see> - paging through large sets of data.</p></li>
/// <li><p><see cref="Ext.grid.PagingScroller">Infinite scrolling</see> - another way to handle large sets of data.</p></li>
/// <li><p><see cref="Ext.grid.RowNumberer">RowNumberer</see> - automatically numbered rows.</p></li>
/// <li><p><see cref="Ext.grid.feature.Grouping">Grouping</see> - grouping together rows having the same value in a particular field.</p></li>
/// <li><p><see cref="Ext.grid.feature.Summary">Summary</see> - a summary row at the bottom of a grid.</p></li>
/// <li><p><see cref="Ext.grid.feature.GroupingSummary">GroupingSummary</see> - a summary row at the bottom of each group.</p></li>
/// </ul>
/// </summary>
[JsType(JsMode.Prototype, Export=false, OmitOptionalParameters=true)]
public partial class Panel : Ext.panel.Table
{
/// <summary>
/// Reconfigures the grid with a new store/columns. Either the store or the columns can be omitted if you don't wish
/// to change them.
/// </summary>
/// <param name="store"><p>The new store.</p>
/// </param>
/// <param name="columns"><p>An array of column configs</p>
/// </param>
public void reconfigure(object store=null, object columns=null){}
public Panel(Ext.grid.PanelConfig config){}
public Panel(){}
public Panel(params object[] args){}
}
#endregion
#region PanelConfig
/// <inheritdocs />
[JsType(JsMode.Json, Export=false, OmitOptionalParameters=true)]
public partial class PanelConfig : Ext.panel.TableConfig
{
public PanelConfig(params object[] args){}
}
#endregion
#region PanelEvents
/// <inheritdocs />
[JsType(JsMode.Json, Export=false, OmitOptionalParameters=true)]
public partial class PanelEvents : Ext.panel.TableEvents
{
/// <summary>
/// Fires after a reconfigure.
/// </summary>
/// <param name="this">
/// </param>
/// <param name="store"><p>The store that was passed to the <see cref="Ext.grid.Panel.reconfigure">reconfigure</see> method</p>
/// </param>
/// <param name="columns"><p>The column configs that were passed to the <see cref="Ext.grid.Panel.reconfigure">reconfigure</see> method</p>
/// </param>
/// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p>
/// </param>
public void reconfigure(Ext.grid.Panel @this, Ext.data.Store store, JsArray<Object> columns, object eOpts){}
public PanelEvents(params object[] args){}
}
#endregion
}
| 55.218274 | 238 | 0.620886 | [
"MIT"
] | SharpKit/SharpKit-SDK | Defs/ExtJs/Ext.grid.Panel.cs | 10,878 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Media;
public partial class AppMain
{
private static AppMain.OBS_OBJECT_WORK GMM_ENEMY_CREATE_RIDE_WORK(
AppMain.GMS_EVE_RECORD_EVENT eve_rec,
int pos_x,
int pos_y,
AppMain.TaskWorkFactoryDelegate work_size,
string name)
{
return AppMain.GmEnemyCreateWork(eve_rec, pos_x, pos_y, work_size, (ushort)4342, name);
}
private static AppMain.OBS_OBJECT_WORK GMM_ENEMY_CREATE_WORK(
AppMain.GMS_EVE_RECORD_EVENT eve_rec,
int pos_x,
int pos_y,
AppMain.TaskWorkFactoryDelegate work_size,
string name)
{
return AppMain.GmEnemyCreateWork(eve_rec, pos_x, pos_y, work_size, (ushort)5376, name);
}
private static AppMain.OBS_OBJECT_WORK GmEnemyCreateWork(
AppMain.GMS_EVE_RECORD_EVENT eve_rec,
int pos_x,
int pos_y,
AppMain.TaskWorkFactoryDelegate work_size,
ushort prio,
string name)
{
ushort[] numArray1 = new ushort[3]
{
(ushort) 0,
(ushort) 2,
(ushort) 1
};
ushort[] numArray2 = new ushort[3]
{
(ushort) 65533,
ushort.MaxValue,
(ushort) 65534
};
AppMain.OBS_OBJECT_WORK pWork = AppMain.OBM_OBJECT_TASK_DETAIL_INIT(prio, (byte)2, (byte)0, (byte)0, work_size, name);
if (pWork == null)
return (AppMain.OBS_OBJECT_WORK)null;
AppMain.GMS_ENEMY_COM_WORK gmsEnemyComWork = (AppMain.GMS_ENEMY_COM_WORK)pWork;
AppMain.mtTaskChangeTcbDestructor(pWork.tcb, new AppMain.GSF_TASK_PROCEDURE(AppMain.GmEnemyDefaultExit));
if (eve_rec != null)
{
gmsEnemyComWork.eve_rec = eve_rec;
gmsEnemyComWork.eve_x = eve_rec.pos_x;
eve_rec.pos_x = byte.MaxValue;
pWork.obj_type = eve_rec.id < (ushort)60 || (ushort)300 <= eve_rec.id && eve_rec.id < (ushort)300 || (ushort)308 <= eve_rec.id && eve_rec.id < (ushort)335 ? (ushort)2 : (ushort)3;
pWork.view_out_ofst = (short)((int)AppMain.g_gm_event_size_tbl[(int)eve_rec.id] + 16 + 32 + 16 + 128);
if (((int)eve_rec.flag & 2048) != 0)
pWork.flag |= 16U;
else
pWork.ppViewCheck = new AppMain.OBS_OBJECT_WORK_Delegate3(AppMain.ObjObjectViewOutCheck);
}
else
pWork.obj_type = (ushort)2;
pWork.ppOut = AppMain._ObjDrawActionSummary;
pWork.ppOutSub = (AppMain.MPP_VOID_OBS_OBJECT_WORK)null;
pWork.ppIn = AppMain._GmEnemyDefaultInFunc;
pWork.ppMove = AppMain._GmEnemyDefaultMoveFunc;
pWork.ppActCall = AppMain._gmEnemyActionCallBack;
pWork.ppRec = AppMain._gmEnemyDefaultRecFunc;
pWork.ppLast = (AppMain.MPP_VOID_OBS_OBJECT_WORK)null;
pWork.ppFunc = (AppMain.MPP_VOID_OBS_OBJECT_WORK)null;
gmsEnemyComWork.born_pos_x = pos_x;
gmsEnemyComWork.born_pos_y = pos_y;
pWork.pos.x = pos_x;
pWork.pos.y = pos_y;
pWork.spd_fall = 672;
pWork.spd_fall_max = 61440;
pWork.flag |= 1U;
pWork.move_flag |= 524288U;
pWork.scale.x = pWork.scale.y = pWork.scale.z = 4096;
AppMain.ObjObjectGetRectBuf(pWork, (AppMain.ArrayPointer<AppMain.OBS_RECT_WORK>)gmsEnemyComWork.rect_work, (ushort)3);
for (int index = 0; index < 3; ++index)
{
AppMain.ObjRectGroupSet(gmsEnemyComWork.rect_work[index], (byte)1, (byte)1);
AppMain.ObjRectAtkSet(gmsEnemyComWork.rect_work[index], numArray1[index], (short)1);
AppMain.ObjRectDefSet(gmsEnemyComWork.rect_work[index], numArray2[index], (short)0);
gmsEnemyComWork.rect_work[index].parent_obj = pWork;
gmsEnemyComWork.rect_work[index].flag &= 4294967291U;
}
gmsEnemyComWork.rect_work[0].ppDef = AppMain._GmEnemyDefaultDefFunc;
gmsEnemyComWork.rect_work[1].ppHit = AppMain._GmEnemyDefaultAtkFunc;
gmsEnemyComWork.rect_work[0].flag |= 128U;
gmsEnemyComWork.rect_work[2].flag |= 1048800U;
pWork.col_work = gmsEnemyComWork.col_work;
return pWork;
}
private static void GmEnemyDefaultExit(AppMain.MTS_TASK_TCB tcb)
{
AppMain.GMS_ENEMY_COM_WORK tcbWork = (AppMain.GMS_ENEMY_COM_WORK)AppMain.mtTaskGetTcbWork(tcb);
if (tcbWork.eve_rec != null && tcbWork.eve_rec.pos_x == byte.MaxValue && tcbWork.eve_rec.pos_y == byte.MaxValue)
AppMain.GmEventMgrLocalEventRelease(tcbWork.eve_rec);
else if (((int)tcbWork.enemy_flag & 65536) == 0 && tcbWork.eve_rec != null)
tcbWork.eve_rec.pos_x = tcbWork.eve_x;
AppMain.ObjObjectExit(tcb);
}
private static void GmEnemyActionSet(AppMain.GMS_ENEMY_COM_WORK ene_com, ushort id)
{
ene_com.rect_work[0].flag &= 4294967291U;
ene_com.rect_work[1].flag &= 4294967291U;
ene_com.rect_work[2].flag &= 4294967291U;
if (ene_com.obj_work.obj_3d == null)
return;
AppMain.ObjDrawObjectActionSet3DNN(ene_com.obj_work, (int)id, 0);
}
private static void GmEnemyDefaultDefFunc(
AppMain.OBS_RECT_WORK mine_rect,
AppMain.OBS_RECT_WORK match_rect)
{
AppMain.GMS_ENEMY_COM_WORK parentObj = (AppMain.GMS_ENEMY_COM_WORK)mine_rect.parent_obj;
AppMain.GMS_PLAYER_WORK ply_work = (AppMain.GMS_PLAYER_WORK)null;
if (match_rect.parent_obj != null && match_rect.parent_obj.obj_type == (ushort)1)
ply_work = (AppMain.GMS_PLAYER_WORK)match_rect.parent_obj;
if (parentObj.vit == (byte)0)
{
if (((int)parentObj.obj_work.move_flag & 4096) == 0 || parentObj.obj_work.obj_type == (ushort)3)
parentObj.enemy_flag |= 65536U;
parentObj.obj_work.flag |= 2U;
parentObj.rect_work[0].flag |= 2048U;
parentObj.rect_work[1].flag |= 2048U;
parentObj.rect_work[2].flag |= 2048U;
if (parentObj.obj_work.obj_type == (ushort)2)
{
AppMain.GmSoundPlaySE("Enemy");
AppMain.GmComEfctCreateHitPlayer(parentObj.obj_work, ((int)mine_rect.rect.left + (int)mine_rect.rect.right) * 4096 / 2, ((int)mine_rect.rect.top + (int)mine_rect.rect.bottom) * 4096 / 2);
AppMain.GmComEfctCreateEneDeadSmoke(parentObj.obj_work, ((int)mine_rect.rect.left + (int)mine_rect.rect.right) * 4096 / 2, ((int)mine_rect.rect.top + (int)mine_rect.rect.bottom) * 4096 / 2);
AppMain.GmGmkAnimalInit(parentObj.obj_work, 0, 0, 0, (byte)0, (byte)0, (ushort)0);
AppMain.GMM_PAD_VIB_SMALL();
if (ply_work != null)
AppMain.GmPlayerComboScore(ply_work, parentObj.obj_work.pos.x, parentObj.obj_work.pos.y - 65536);
AppMain.HgTrophyIncEnemyKillCount(parentObj.obj_work);
}
parentObj.obj_work.flag |= 8U;
}
else
{
--parentObj.vit;
++parentObj.eve_rec.byte_param[1];
parentObj.invincible_timer = 245760;
parentObj.rect_work[1].hit_power = (short)0;
}
if (ply_work == null || ply_work.obj_work.obj_type != (ushort)1)
return;
AppMain.GmPlySeqAtkReactionInit(ply_work);
}
private static void GmEnemyDefaultAtkFunc(
AppMain.OBS_RECT_WORK mine_rect,
AppMain.OBS_RECT_WORK match_rect)
{
}
private static void GmEnemyDefaultMoveFunc(AppMain.OBS_OBJECT_WORK obj_work)
{
AppMain.ObjObjectMove(obj_work);
}
private static void GmEnemyDefaultInFunc(AppMain.OBS_OBJECT_WORK obj_work)
{
AppMain.GMS_ENEMY_COM_WORK gmsEnemyComWork = (AppMain.GMS_ENEMY_COM_WORK)obj_work;
if (gmsEnemyComWork.target_obj == null || ((int)gmsEnemyComWork.target_obj.flag & 4) == 0)
return;
gmsEnemyComWork.target_obj = (AppMain.OBS_OBJECT_WORK)null;
}
private static void gmEnemyDefaultRecFunc(AppMain.OBS_OBJECT_WORK obj_work)
{
}
private static void gmEnemyActionCallBack(object cmd_work, object act_work, uint data)
{
}
private static void GmEneComActionSetDependHFlip(
AppMain.OBS_OBJECT_WORK obj_work,
int act_id_r,
int act_id_l)
{
if (((int)obj_work.disp_flag & 1) != 0)
AppMain.ObjDrawObjectActionSet(obj_work, act_id_l);
else
AppMain.ObjDrawObjectActionSet(obj_work, act_id_r);
}
private static void GmEneComActionSet3DNNBlendDependHFlip(
AppMain.OBS_OBJECT_WORK obj_work,
int act_id_r,
int act_id_l)
{
if (((int)obj_work.disp_flag & 1) != 0)
AppMain.ObjDrawObjectActionSet3DNNBlend(obj_work, act_id_l);
else
AppMain.ObjDrawObjectActionSet3DNNBlend(obj_work, act_id_r);
}
private static int GmEneComTargetIsLeft(
AppMain.OBS_OBJECT_WORK mine_obj,
AppMain.OBS_OBJECT_WORK target_obj)
{
return target_obj.pos.x < mine_obj.pos.x ? 1 : 0;
}
private static int GmEneComCheckMoveLimit(
AppMain.OBS_OBJECT_WORK obj_work,
int limit_left,
int limit_right)
{
return ((int)obj_work.disp_flag & 1) != 0 && obj_work.pos.x <= limit_left || ((int)obj_work.disp_flag & 1) == 0 && obj_work.pos.x >= limit_right ? 0 : 1;
}
private static AppMain.OBS_OBJECT_WORK GmEneComCreateAtkObject(
AppMain.OBS_OBJECT_WORK parent_obj,
short view_out_ofst)
{
AppMain.OBS_OBJECT_WORK work = AppMain.GMM_EFFECT_CREATE_WORK((AppMain.TaskWorkFactoryDelegate)(() => (object)new AppMain.GMS_EFFECT_COM_WORK()), parent_obj, (ushort)0, parent_obj.tcb.am_tcb.name);
AppMain.GMS_EFFECT_COM_WORK efct_com = (AppMain.GMS_EFFECT_COM_WORK)work;
work.flag &= 4294967277U;
work.move_flag |= 256U;
work.view_out_ofst = view_out_ofst;
AppMain.GmEffectRectInit(efct_com, AppMain.gm_ene_com_atk_obj_atk_flag_tbl, AppMain.gm_ene_com_atk_obj_def_flag_tbl, (byte)1, (byte)1);
return work;
}
} | 42.099174 | 206 | 0.659207 | [
"Unlicense"
] | WanKerr/Sonic4Episode1 | Sonic4Episode1/AppMain/Gm/Enemy/GmEnemyCommon.cs | 10,190 | C# |
using System;
using Animals.Library;
namespace Animals.UI
{
class Program
{
//Program.cs and Program class name are just convetion
/*
Naming convention in c#
PascalCase aks TitleCase for
classes
methods
properties
namespace
camelCase (first letter lowercase) for local variables
*/
static void Main(string[] args)
{
Dog dog = new Dog();
dog.Bark();
//
dog.SetWeight(6);
Console.WriteLine(dog.GetWeight());
dog.Name = "Fido";
Console.WriteLine(dog.Name);
dog.Breed = "Golden retriever";
dog.GoTo("the Park");
Console.WriteLine("Hello World!");
IAnimal animal = new Dog();
animal = new Eagle();
/*
This is ok but because both classes are within/under the IAnimal type.
BUT - you're not allowed to do dog-specifig or eagle-specifigc things via this variable
error: animal.Fly();
*/
Eagle e = (Eagle) animal;
/*
you can cast objects to mor especific types
It'll fail at runtime if the object is not actually within/under that type
These terms are interchangable
Superclass, base class, parent class
subclass, derived class, child class
Good design (separation of concerns)
means you shouldn't write code needlessly tied to one specific implementation
Then you use the same code with multiple implementations of the classses you're using
*/
DisplayData(new Dog());
DisplayData(new Eagle());
}
/*
*/
public static void DisplayData(IAnimal animal)
{
Console.WriteLine(animal.Name);
}
}
}
| 27.959459 | 103 | 0.507975 | [
"MIT"
] | 1811-nov27-net/pereira-practice | week1/day 3/Animals/Animals.UI/Program.cs | 2,071 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AITurret : MonoBehaviour
{
InputPacket ip;
public virtual InputPacket ClearInputPacket()
{
ip = new InputPacket();
return ip;
}
public virtual InputPacket GetInputPacket()
{
return ip;
}
public InputPacket GetInputPacket(InputPacket nIp)
{
return nIp;
}
}
| 17.666667 | 54 | 0.650943 | [
"MIT"
] | sdasd30/Tanks | Assets/Scripts/Input/EnemyInput/Extendable/AITurret.cs | 426 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.OLE.Interop;
using Microsoft.VisualStudio.Project;
using Microsoft.VisualStudio.Shell.Interop;
using Help = Microsoft.VisualStudio.VSHelp.Help;
using IServiceProvider = System.IServiceProvider;
using Cosmos.Build.Common;
namespace Cosmos.VS.Package {
public partial class CustomPropertyPage : UserControl, IPropertyPage {
private static List<CustomPropertyPage> _pageList = new List<CustomPropertyPage>();
protected static CustomPropertyPage[] Pages { get { return CustomPropertyPage._pageList.ToArray(); } }
private ProjectNode _projectMgr;
private ProjectConfig[] _projectConfigs;
private IPropertyPageSite _site;
private bool _dirty;
private string _title;
private string _helpKeyword;
private Microsoft.VisualStudio.Project.Automation.OAProject _project;
public CustomPropertyPage() {
_projectMgr = null;
_projectConfigs = null;
_project = null;
_site = null;
_dirty = false;
IgnoreDirty = false;
_title = string.Empty;
_helpKeyword = string.Empty;
}
public virtual PropertiesBase Properties { get { return null; } }
public virtual string Title {
get {
if (_title == null) {
_title = string.Empty;
}
return _title;
}
set {
_title = value;
}
}
protected virtual string HelpKeyword {
get {
if (_helpKeyword == null) {
_helpKeyword = string.Empty;
}
return _helpKeyword;
}
set {
_title = value;
}
}
public bool IsDirty {
get {
return _dirty;
}
set {
if (this.IgnoreDirty == false) {
if (_dirty != value) {
_dirty = value;
if (_site != null) {
_site.OnStatusChange((uint)(_dirty ? PropPageStatus.Dirty : PropPageStatus.Clean));
}
}
}
}
}
public bool IgnoreDirty { get; set; }
public ProjectNode ProjectMgr {
get {
return _projectMgr;
}
}
protected ProjectConfig[] ProjectConfigs {
get {
return _projectConfigs;
}
}
protected Microsoft.VisualStudio.Project.Automation.OAProject Project {
get {
return _project;
}
}
protected virtual void FillProperties() {
}
protected virtual void FillConfigurations() {
}
public virtual void ApplyChanges() {
if (this.Properties != null) {
var properties = Properties.GetProperties();
var independentProperties = Properties.ProjectIndependentProperties;
foreach (KeyValuePair<String, String> pair in properties) {
var propertyName = pair.Key;
if (independentProperties.Contains(propertyName))
{
SetProjectProperty(pair.Key, pair.Value);
}
else
{
SetConfigProperty(pair.Key, pair.Value);
}
}
this.IsDirty = false;
}
}
/// <summary>
/// Sets project specific property.
/// </summary>
/// <param name="name">Name of the property to set.</param>
/// <param name="value">Value of the property.</param>
public virtual void SetProjectProperty(String name, String value)
{
CCITracing.TraceCall();
if (value == null)
{
value = String.Empty;
}
if (this.ProjectMgr != null)
{
this.ProjectMgr.SetProjectProperty(name, value);
}
}
public virtual void SetConfigProperty(String name, String value) {
CCITracing.TraceCall();
if (value == null) {
value = String.Empty;
}
if (this.ProjectMgr != null) {
foreach (ProjectConfig config in this.ProjectConfigs) { config.SetConfigurationProperty(name, value); }
this.ProjectMgr.SetProjectFileDirty(true);
}
}
public virtual String GetConfigProperty(string aName) {
return ProjectConfigs[0].GetConfigurationProperty(aName, true);
}
protected virtual void Initialize() {
}
protected virtual bool CheckInput() { return true; }
protected void MarkPageChanged() {
IsDirty = true;
}
protected string GetComboValue(ComboBox comboBox) {
string selectedItem = comboBox.SelectedItem as string;
if (selectedItem != null) {
return selectedItem;
}
return string.Empty;
}
protected void AddComboBoxItems(ComboBox comboBox, params string[] items) {
foreach (string item in items) {
comboBox.Items.Add(item);
}
}
private bool ParseBoolean(string value, bool defaultValue) {
if (!string.IsNullOrEmpty(value)) {
try {
return bool.Parse(value);
} catch { }
}
return defaultValue;
}
void IPropertyPage.SetPageSite(IPropertyPageSite pPageSite) {
_site = pPageSite;
}
void IPropertyPage.Activate(IntPtr hWndParent, RECT[] pRect, int bModal) {
CreateControl();
Initialize();
NativeMethods.SetParent(Handle, hWndParent);
CustomPropertyPage._pageList.Add(this);
FillConfigurations();
this.IgnoreDirty = true;
FillProperties();
this.IgnoreDirty = false;
}
void IPropertyPage.Deactivate() {
CustomPropertyPage._pageList.Remove(this);
Dispose();
}
void IPropertyPage.GetPageInfo(PROPPAGEINFO[] pPageInfo) {
PROPPAGEINFO info = new PROPPAGEINFO();
this.Size = new Size(492, 288);
info.cb = (uint)Marshal.SizeOf(typeof(PROPPAGEINFO));
info.dwHelpContext = 0;
info.pszDocString = null;
info.pszHelpFile = null;
info.pszTitle = Title;
info.SIZE.cx = Width;
info.SIZE.cy = Height;
pPageInfo[0] = info;
}
void IPropertyPage.SetObjects(uint count, object[] punk) {
if (count > 0) {
if (punk[0] is ProjectConfig) {
ArrayList configs = new ArrayList();
for (int i = 0; i < count; i++) {
ProjectConfig config = (ProjectConfig)punk[i];
if (_projectMgr == null) {
_projectMgr = config.ProjectMgr;
}
configs.Add(config);
}
_projectConfigs = (ProjectConfig[])configs.ToArray(typeof(ProjectConfig));
// For ProjectNodes we will get one of these
} else if (punk[0] is NodeProperties) {
if (_projectMgr == null) {
_projectMgr = (punk[0] as NodeProperties).Node.ProjectMgr;
}
Dictionary<string, ProjectConfig> configsMap = new Dictionary<string, ProjectConfig>();
for (int i = 0; i < count; i++) {
NodeProperties property = (NodeProperties)punk[i];
IVsCfgProvider provider;
ErrorHandler.ThrowOnFailure(property.Node.ProjectMgr.GetCfgProvider(out provider));
uint[] expected = new uint[1];
ErrorHandler.ThrowOnFailure(provider.GetCfgs(0, null, expected, null));
if (expected[0] > 0) {
ProjectConfig[] configs = new ProjectConfig[expected[0]];
uint[] actual = new uint[1];
provider.GetCfgs(expected[0], configs, actual, null);
foreach (ProjectConfig config in configs) {
if (!configsMap.ContainsKey(config.ConfigName)) {
configsMap.Add(config.ConfigName, config);
}
}
}
}
if (configsMap.Count > 0) {
if (_projectConfigs == null) {
_projectConfigs = new ProjectConfig[configsMap.Keys.Count];
}
configsMap.Values.CopyTo(_projectConfigs, 0);
}
}
} else {
_projectMgr = null;
}
/* This code calls FillProperties without Initialize call
if (_projectMgr != null)
{
FillProperties();
}
*/
if ((_projectMgr != null) && (_project == null)) {
_project = new Microsoft.VisualStudio.Project.Automation.OAProject(_projectMgr);
}
}
void IPropertyPage.Show(uint nCmdShow) {
Visible = true;
Show();
}
void IPropertyPage.Move(RECT[] pRect) {
RECT r = pRect[0];
Location = new Point(r.left, r.top);
Size = new Size(r.right - r.left, r.bottom - r.top);
}
int IPropertyPage.IsPageDirty() {
return (IsDirty ? VSConstants.S_OK : VSConstants.S_FALSE);
}
int IPropertyPage.Apply() {
if (IsDirty) {
if (ProjectMgr == null) {
System.Diagnostics.Debug.Assert(false);
return VSConstants.E_INVALIDARG;
}
if (CheckInput()) {
ApplyChanges();
IsDirty = false;
} else {
return VSConstants.S_FALSE;
}
}
return VSConstants.S_OK;
}
void IPropertyPage.Help(string pszHelpDir) {
IServiceProvider serviceProvider = _site as IServiceProvider;
if (serviceProvider != null) {
Help helpService = serviceProvider.GetService(typeof(Help)) as Help;
if (helpService != null) {
helpService.DisplayTopicFromF1Keyword(HelpKeyword);
}
}
}
int IPropertyPage.TranslateAccelerator(MSG[] pMsg) {
MSG msg = pMsg[0];
if ((msg.message < NativeMethods.WM_KEYFIRST || msg.message > NativeMethods.WM_KEYLAST) &&
(msg.message < NativeMethods.WM_MOUSEFIRST || msg.message > NativeMethods.WM_MOUSELAST)) {
return 1;
}
return (NativeMethods.IsDialogMessageA(Handle, ref msg)) ? 0 : 1;
}
}
}
| 28.929178 | 112 | 0.579025 | [
"BSD-3-Clause"
] | ERamaM/Cosmos | source/Cosmos.VS.Package/CustomPropertyPage.cs | 10,214 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the resourcegroupstaggingapi-2017-01-26.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.ResourceGroupsTaggingAPI.Model
{
/// <summary>
/// Container for the parameters to the TagResources operation.
/// Applies one or more tags to the specified resources. Note the following:
///
/// <ul> <li>
/// <para>
/// Not all resources can have tags. For a list of resources that support tagging, see
/// <a href="http://docs.aws.amazon.com/awsconsolehelpdocs/latest/gsg/supported-resources.html">Supported
/// Resources</a> in the <i>AWS Resource Groups and Tag Editor User Guide</i>.
/// </para>
/// </li> <li>
/// <para>
/// Each resource can have up to 50 tags. For other limits, see <a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-restrictions">Tag
/// Restrictions</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.
/// </para>
/// </li> <li>
/// <para>
/// You can only tag resources that are located in the specified region for the AWS account.
/// </para>
/// </li> <li>
/// <para>
/// To add tags to a resource, you need the necessary permissions for the service that
/// the resource belongs to as well as permissions for adding tags. For more information,
/// see <a href="http://docs.aws.amazon.com/awsconsolehelpdocs/latest/gsg/obtaining-permissions-for-tagging.html">Obtaining
/// Permissions for Tagging</a> in the <i>AWS Resource Groups and Tag Editor User Guide</i>.
/// </para>
/// </li> </ul>
/// </summary>
public partial class TagResourcesRequest : AmazonResourceGroupsTaggingAPIRequest
{
private List<string> _resourceARNList = new List<string>();
private Dictionary<string, string> _tags = new Dictionary<string, string>();
/// <summary>
/// Gets and sets the property ResourceARNList.
/// <para>
/// A list of ARNs. An ARN (Amazon Resource Name) uniquely identifies a resource. You
/// can specify a minimum of 1 and a maximum of 20 ARNs (resources) to tag. An ARN can
/// be set to a maximum of 1600 characters. For more information, see <a href="http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
/// Resource Names (ARNs) and AWS Service Namespaces</a> in the <i>AWS General Reference</i>.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public List<string> ResourceARNList
{
get { return this._resourceARNList; }
set { this._resourceARNList = value; }
}
// Check to see if ResourceARNList property is set
internal bool IsSetResourceARNList()
{
return this._resourceARNList != null && this._resourceARNList.Count > 0;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// The tags that you want to add to the specified resources. A tag consists of a key
/// and a value that you define.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=50)]
public Dictionary<string, string> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
} | 40.707547 | 168 | 0.640093 | [
"Apache-2.0"
] | FoxBearBear/aws-sdk-net | sdk/src/Services/ResourceGroupsTaggingAPI/Generated/Model/TagResourcesRequest.cs | 4,315 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace _01.PrintName
{
public partial class _Default : Page
{
protected void Page_Load(object sender, EventArgs e)
{
this.Lb_Hello.Text = string.Empty;
}
protected void BtnPrintName(object sender, EventArgs e)
{
if (this.Txt_Name.Text.Length > 0)
{
this.Lb_Hello.Text = "Hello " + this.Txt_Name.Text;
}
else
{
this.Lb_Hello.Text = string.Empty;
}
}
}
} | 23.206897 | 67 | 0.555721 | [
"MIT"
] | primas23/Homewoks | ASP.NET-Web-Forms/02.ASP.NET-Web-Forms-Intro/01.PrintName/Default.aspx.cs | 675 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using Elasticsearch.Net;
///This file lays the base for all the descriptors based on the query string parameters in the spec for IElasticClient.
///This file is automatically generated from https://github.com/elasticsearch/elasticsearch-rest-api-spec
///Generated of commit
namespace Nest
{
///<summary>descriptor for Bulk
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/docs-bulk.html
///</pre>
///</summary>
public partial class BulkDescriptor
{
internal BulkRequestParameters _QueryString = new BulkRequestParameters();
///<summary>Explicit write consistency setting for the operation</summary>
public BulkDescriptor Consistency(ConsistencyOptions consistency)
{
this._QueryString.Consistency(consistency);
return this;
}
///<summary>Refresh the index after performing the operation</summary>
public BulkDescriptor Refresh(bool refresh = true)
{
this._QueryString.Refresh(refresh);
return this;
}
///<summary>Explicitely set the replication type</summary>
public BulkDescriptor Replication(ReplicationOptions replication)
{
this._QueryString.Replication(replication);
return this;
}
///<summary>Specific routing value</summary>
public BulkDescriptor Routing(string routing)
{
this._QueryString.Routing(routing);
return this;
}
///<summary>Explicit operation timeout</summary>
public BulkDescriptor Timeout(string timeout)
{
this._QueryString.Timeout(timeout);
return this;
}
///<summary>Default document type for items which don't provide one</summary>
public BulkDescriptor TypeQueryString(string type)
{
this._QueryString.Type(type);
return this;
}
}
///<summary>descriptor for CatAliases
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cat-aliases.html
///</pre>
///</summary>
public partial class CatAliasesDescriptor
{
internal CatAliasesRequestParameters _QueryString = new CatAliasesRequestParameters();
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public CatAliasesDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public CatAliasesDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Comma-separated list of column names to display</summary>
public CatAliasesDescriptor H(params string[] h)
{
this._QueryString.H(h);
return this;
}
///<summary>Return help information</summary>
public CatAliasesDescriptor Help(bool help = true)
{
this._QueryString.Help(help);
return this;
}
///<summary>Verbose mode. Display column headers</summary>
public CatAliasesDescriptor V(bool v = true)
{
this._QueryString.V(v);
return this;
}
}
///<summary>descriptor for CatAllocation
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cat-allocation.html
///</pre>
///</summary>
public partial class CatAllocationDescriptor
{
internal CatAllocationRequestParameters _QueryString = new CatAllocationRequestParameters();
///<summary>The unit in which to display byte values</summary>
public CatAllocationDescriptor Bytes(BytesOptions bytes)
{
this._QueryString.Bytes(bytes);
return this;
}
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public CatAllocationDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public CatAllocationDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Comma-separated list of column names to display</summary>
public CatAllocationDescriptor H(params string[] h)
{
this._QueryString.H(h);
return this;
}
///<summary>Return help information</summary>
public CatAllocationDescriptor Help(bool help = true)
{
this._QueryString.Help(help);
return this;
}
///<summary>Verbose mode. Display column headers</summary>
public CatAllocationDescriptor V(bool v = true)
{
this._QueryString.V(v);
return this;
}
}
///<summary>descriptor for CatCount
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cat-count.html
///</pre>
///</summary>
public partial class CatCountDescriptor
{
internal CatCountRequestParameters _QueryString = new CatCountRequestParameters();
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public CatCountDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public CatCountDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Comma-separated list of column names to display</summary>
public CatCountDescriptor H(params string[] h)
{
this._QueryString.H(h);
return this;
}
///<summary>Return help information</summary>
public CatCountDescriptor Help(bool help = true)
{
this._QueryString.Help(help);
return this;
}
///<summary>Verbose mode. Display column headers</summary>
public CatCountDescriptor V(bool v = true)
{
this._QueryString.V(v);
return this;
}
}
///<summary>descriptor for CatHealth
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cat-health.html
///</pre>
///</summary>
public partial class CatHealthDescriptor
{
internal CatHealthRequestParameters _QueryString = new CatHealthRequestParameters();
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public CatHealthDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public CatHealthDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Comma-separated list of column names to display</summary>
public CatHealthDescriptor H(params string[] h)
{
this._QueryString.H(h);
return this;
}
///<summary>Return help information</summary>
public CatHealthDescriptor Help(bool help = true)
{
this._QueryString.Help(help);
return this;
}
///<summary>Set to false to disable timestamping</summary>
public CatHealthDescriptor Ts(bool ts = true)
{
this._QueryString.Ts(ts);
return this;
}
///<summary>Verbose mode. Display column headers</summary>
public CatHealthDescriptor V(bool v = true)
{
this._QueryString.V(v);
return this;
}
}
///<summary>descriptor for CatHelp
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cat.html
///</pre>
///</summary>
public partial class CatHelpDescriptor
{
internal CatHelpRequestParameters _QueryString = new CatHelpRequestParameters();
///<summary>Return help information</summary>
public CatHelpDescriptor Help(bool help = true)
{
this._QueryString.Help(help);
return this;
}
}
///<summary>descriptor for CatIndices
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cat-indices.html
///</pre>
///</summary>
public partial class CatIndicesDescriptor
{
internal CatIndicesRequestParameters _QueryString = new CatIndicesRequestParameters();
///<summary>The unit in which to display byte values</summary>
public CatIndicesDescriptor Bytes(BytesOptions bytes)
{
this._QueryString.Bytes(bytes);
return this;
}
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public CatIndicesDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public CatIndicesDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Comma-separated list of column names to display</summary>
public CatIndicesDescriptor H(params string[] h)
{
this._QueryString.H(h);
return this;
}
///<summary>Return help information</summary>
public CatIndicesDescriptor Help(bool help = true)
{
this._QueryString.Help(help);
return this;
}
///<summary>Set to true to return stats only for primary shards</summary>
public CatIndicesDescriptor Pri(bool pri = true)
{
this._QueryString.Pri(pri);
return this;
}
///<summary>Verbose mode. Display column headers</summary>
public CatIndicesDescriptor V(bool v = true)
{
this._QueryString.V(v);
return this;
}
}
///<summary>descriptor for CatMaster
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cat-master.html
///</pre>
///</summary>
public partial class CatMasterDescriptor
{
internal CatMasterRequestParameters _QueryString = new CatMasterRequestParameters();
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public CatMasterDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public CatMasterDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Comma-separated list of column names to display</summary>
public CatMasterDescriptor H(params string[] h)
{
this._QueryString.H(h);
return this;
}
///<summary>Return help information</summary>
public CatMasterDescriptor Help(bool help = true)
{
this._QueryString.Help(help);
return this;
}
///<summary>Verbose mode. Display column headers</summary>
public CatMasterDescriptor V(bool v = true)
{
this._QueryString.V(v);
return this;
}
}
///<summary>descriptor for CatNodes
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cat-nodes.html
///</pre>
///</summary>
public partial class CatNodesDescriptor
{
internal CatNodesRequestParameters _QueryString = new CatNodesRequestParameters();
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public CatNodesDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public CatNodesDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Comma-separated list of column names to display</summary>
public CatNodesDescriptor H(params string[] h)
{
this._QueryString.H(h);
return this;
}
///<summary>Return help information</summary>
public CatNodesDescriptor Help(bool help = true)
{
this._QueryString.Help(help);
return this;
}
///<summary>Verbose mode. Display column headers</summary>
public CatNodesDescriptor V(bool v = true)
{
this._QueryString.V(v);
return this;
}
}
///<summary>descriptor for CatPendingTasks
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cat-pending-tasks.html
///</pre>
///</summary>
public partial class CatPendingTasksDescriptor
{
internal CatPendingTasksRequestParameters _QueryString = new CatPendingTasksRequestParameters();
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public CatPendingTasksDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public CatPendingTasksDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Comma-separated list of column names to display</summary>
public CatPendingTasksDescriptor H(params string[] h)
{
this._QueryString.H(h);
return this;
}
///<summary>Return help information</summary>
public CatPendingTasksDescriptor Help(bool help = true)
{
this._QueryString.Help(help);
return this;
}
///<summary>Verbose mode. Display column headers</summary>
public CatPendingTasksDescriptor V(bool v = true)
{
this._QueryString.V(v);
return this;
}
}
///<summary>descriptor for CatRecovery
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cat-recovery.html
///</pre>
///</summary>
public partial class CatRecoveryDescriptor
{
internal CatRecoveryRequestParameters _QueryString = new CatRecoveryRequestParameters();
///<summary>The unit in which to display byte values</summary>
public CatRecoveryDescriptor Bytes(BytesOptions bytes)
{
this._QueryString.Bytes(bytes);
return this;
}
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public CatRecoveryDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public CatRecoveryDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Comma-separated list of column names to display</summary>
public CatRecoveryDescriptor H(params string[] h)
{
this._QueryString.H(h);
return this;
}
///<summary>Return help information</summary>
public CatRecoveryDescriptor Help(bool help = true)
{
this._QueryString.Help(help);
return this;
}
///<summary>Verbose mode. Display column headers</summary>
public CatRecoveryDescriptor V(bool v = true)
{
this._QueryString.V(v);
return this;
}
}
///<summary>descriptor for CatShards
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cat-shards.html
///</pre>
///</summary>
public partial class CatShardsDescriptor
{
internal CatShardsRequestParameters _QueryString = new CatShardsRequestParameters();
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public CatShardsDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public CatShardsDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Comma-separated list of column names to display</summary>
public CatShardsDescriptor H(params string[] h)
{
this._QueryString.H(h);
return this;
}
///<summary>Return help information</summary>
public CatShardsDescriptor Help(bool help = true)
{
this._QueryString.Help(help);
return this;
}
///<summary>Verbose mode. Display column headers</summary>
public CatShardsDescriptor V(bool v = true)
{
this._QueryString.V(v);
return this;
}
}
///<summary>descriptor for CatThreadPool
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/cat-thread-pool.html
///</pre>
///</summary>
public partial class CatThreadPoolDescriptor
{
internal CatThreadPoolRequestParameters _QueryString = new CatThreadPoolRequestParameters();
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public CatThreadPoolDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public CatThreadPoolDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Comma-separated list of column names to display</summary>
public CatThreadPoolDescriptor H(params string[] h)
{
this._QueryString.H(h);
return this;
}
///<summary>Return help information</summary>
public CatThreadPoolDescriptor Help(bool help = true)
{
this._QueryString.Help(help);
return this;
}
///<summary>Verbose mode. Display column headers</summary>
public CatThreadPoolDescriptor V(bool v = true)
{
this._QueryString.V(v);
return this;
}
///<summary>Enables displaying the complete node ids</summary>
public CatThreadPoolDescriptor FullId(bool full_id = true)
{
this._QueryString.FullId(full_id);
return this;
}
}
///<summary>descriptor for ClearScroll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/search-request-scroll.html
///</pre>
///</summary>
public partial class ClearScrollDescriptor
{
internal ClearScrollRequestParameters _QueryString = new ClearScrollRequestParameters();
}
///<summary>descriptor for ClusterGetSettings
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cluster-update-settings.html
///</pre>
///</summary>
public partial class ClusterGetSettingsDescriptor
{
internal ClusterGetSettingsRequestParameters _QueryString = new ClusterGetSettingsRequestParameters();
///<summary>Return settings in flat format (default: false)</summary>
public ClusterGetSettingsDescriptor FlatSettings(bool flat_settings = true)
{
this._QueryString.FlatSettings(flat_settings);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public ClusterGetSettingsDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Explicit operation timeout</summary>
public ClusterGetSettingsDescriptor Timeout(string timeout)
{
this._QueryString.Timeout(timeout);
return this;
}
}
///<summary>descriptor for ClusterHealth
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cluster-health.html
///</pre>
///</summary>
public partial class ClusterHealthDescriptor
{
internal ClusterHealthRequestParameters _QueryString = new ClusterHealthRequestParameters();
///<summary>Specify the level of detail for returned information</summary>
public ClusterHealthDescriptor Level(LevelOptions level)
{
this._QueryString.Level(level);
return this;
}
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public ClusterHealthDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public ClusterHealthDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Explicit operation timeout</summary>
public ClusterHealthDescriptor Timeout(string timeout)
{
this._QueryString.Timeout(timeout);
return this;
}
///<summary>Wait until the specified number of shards is active</summary>
public ClusterHealthDescriptor WaitForActiveShards(int wait_for_active_shards)
{
this._QueryString.WaitForActiveShards(wait_for_active_shards);
return this;
}
///<summary>Wait until the specified number of nodes is available</summary>
public ClusterHealthDescriptor WaitForNodes(string wait_for_nodes)
{
this._QueryString.WaitForNodes(wait_for_nodes);
return this;
}
///<summary>Wait until the specified number of relocating shards is finished</summary>
public ClusterHealthDescriptor WaitForRelocatingShards(int wait_for_relocating_shards)
{
this._QueryString.WaitForRelocatingShards(wait_for_relocating_shards);
return this;
}
///<summary>Wait until cluster is in a specific state</summary>
public ClusterHealthDescriptor WaitForStatus(WaitForStatusOptions wait_for_status)
{
this._QueryString.WaitForStatus(wait_for_status);
return this;
}
}
///<summary>descriptor for ClusterPendingTasks
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cluster-pending.html
///</pre>
///</summary>
public partial class ClusterPendingTasksDescriptor
{
internal ClusterPendingTasksRequestParameters _QueryString = new ClusterPendingTasksRequestParameters();
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public ClusterPendingTasksDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Specify timeout for connection to master</summary>
public ClusterPendingTasksDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
}
///<summary>descriptor for ClusterPutSettings
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cluster-update-settings.html
///</pre>
///</summary>
public partial class ClusterPutSettingsDescriptor
{
internal ClusterPutSettingsRequestParameters _QueryString = new ClusterPutSettingsRequestParameters();
///<summary>Return settings in flat format (default: false)</summary>
public ClusterPutSettingsDescriptor FlatSettings(bool flat_settings = true)
{
this._QueryString.FlatSettings(flat_settings);
return this;
}
}
///<summary>descriptor for ClusterReroute
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cluster-reroute.html
///</pre>
///</summary>
public partial class ClusterRerouteDescriptor
{
internal ClusterRerouteRequestParameters _QueryString = new ClusterRerouteRequestParameters();
///<summary>Simulate the operation only and return the resulting state</summary>
public ClusterRerouteDescriptor DryRun(bool dry_run = true)
{
this._QueryString.DryRun(dry_run);
return this;
}
///<summary>Don't return cluster state metadata (default: false)</summary>
public ClusterRerouteDescriptor FilterMetadata(bool filter_metadata = true)
{
this._QueryString.FilterMetadata(filter_metadata);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public ClusterRerouteDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Explicit operation timeout</summary>
public ClusterRerouteDescriptor Timeout(string timeout)
{
this._QueryString.Timeout(timeout);
return this;
}
}
///<summary>descriptor for ClusterState
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cluster-state.html
///</pre>
///</summary>
public partial class ClusterStateDescriptor
{
internal ClusterStateRequestParameters _QueryString = new ClusterStateRequestParameters();
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public ClusterStateDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Specify timeout for connection to master</summary>
public ClusterStateDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>A comma separated list to return specific index templates when returning metadata</summary>
public ClusterStateDescriptor IndexTemplates(params string[] index_templates)
{
this._QueryString.IndexTemplates(index_templates);
return this;
}
///<summary>Return settings in flat format (default: false)</summary>
public ClusterStateDescriptor FlatSettings(bool flat_settings = true)
{
this._QueryString.FlatSettings(flat_settings);
return this;
}
}
///<summary>descriptor for ClusterStats
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cluster-stats.html
///</pre>
///</summary>
public partial class ClusterStatsDescriptor
{
internal ClusterStatsRequestParameters _QueryString = new ClusterStatsRequestParameters();
///<summary>Return settings in flat format (default: false)</summary>
public ClusterStatsDescriptor FlatSettings(bool flat_settings = true)
{
this._QueryString.FlatSettings(flat_settings);
return this;
}
///<summary>Whether to return time and byte values in human-readable format.</summary>
public ClusterStatsDescriptor Human(bool human = true)
{
this._QueryString.Human(human);
return this;
}
}
///<summary>descriptor for Count
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/search-count.html
///</pre>
///</summary>
public partial class CountDescriptor<T>
{
internal CountRequestParameters _QueryString = new CountRequestParameters();
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public CountDescriptor<T> IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public CountDescriptor<T> AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public CountDescriptor<T> ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
///<summary>Include only documents with a specific `_score` value in the result</summary>
public CountDescriptor<T> MinScore(int min_score)
{
this._QueryString.MinScore(min_score);
return this;
}
///<summary>Specify the node or shard the operation should be performed on (default: random)</summary>
public CountDescriptor<T> Preference(string preference)
{
this._QueryString.Preference(preference);
return this;
}
///<summary>Specific routing value</summary>
public CountDescriptor<T> Routing(string routing)
{
this._QueryString.Routing(routing);
return this;
}
///<summary>The URL-encoded query definition (instead of using the request body)</summary>
public CountDescriptor<T> Source(string source)
{
this._QueryString.Source(source);
return this;
}
}
///<summary>descriptor for CountPercolateGet
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/search-percolate.html
///</pre>
///</summary>
public partial class PercolateCountDescriptor<T,K>
{
internal PercolateCountRequestParameters _QueryString = new PercolateCountRequestParameters();
///<summary>A comma-separated list of specific routing values</summary>
public PercolateCountDescriptor<T,K> Routing(params string[] routing)
{
this._QueryString.Routing(routing);
return this;
}
///<summary>Specify the node or shard the operation should be performed on (default: random)</summary>
public PercolateCountDescriptor<T,K> Preference(string preference)
{
this._QueryString.Preference(preference);
return this;
}
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public PercolateCountDescriptor<T,K> IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public PercolateCountDescriptor<T,K> AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public PercolateCountDescriptor<T,K> ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
///<summary>The index to count percolate the document into. Defaults to index.</summary>
public PercolateCountDescriptor<T,K> PercolateIndex(string percolate_index)
{
this._QueryString.PercolateIndex(percolate_index);
return this;
}
///<summary>The type to count percolate document into. Defaults to type.</summary>
public PercolateCountDescriptor<T,K> PercolateType(string percolate_type)
{
this._QueryString.PercolateType(percolate_type);
return this;
}
///<summary>Explicit version number for concurrency control</summary>
public PercolateCountDescriptor<T,K> Version(int version)
{
this._QueryString.Version(version);
return this;
}
///<summary>Specific version type</summary>
public PercolateCountDescriptor<T,K> VersionType(VersionTypeOptions version_type)
{
this._QueryString.VersionType(version_type);
return this;
}
}
///<summary>descriptor for Delete
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/docs-delete.html
///</pre>
///</summary>
public partial class DeleteDescriptor<T>
{
internal DeleteRequestParameters _QueryString = new DeleteRequestParameters();
///<summary>Specific write consistency setting for the operation</summary>
public DeleteDescriptor<T> Consistency(ConsistencyOptions consistency)
{
this._QueryString.Consistency(consistency);
return this;
}
///<summary>ID of parent document</summary>
public DeleteDescriptor<T> Parent(string parent)
{
this._QueryString.Parent(parent);
return this;
}
///<summary>Refresh the index after performing the operation</summary>
public DeleteDescriptor<T> Refresh(bool refresh = true)
{
this._QueryString.Refresh(refresh);
return this;
}
///<summary>Specific replication type</summary>
public DeleteDescriptor<T> Replication(ReplicationOptions replication)
{
this._QueryString.Replication(replication);
return this;
}
///<summary>Specific routing value</summary>
public DeleteDescriptor<T> Routing(string routing)
{
this._QueryString.Routing(routing);
return this;
}
///<summary>Explicit operation timeout</summary>
public DeleteDescriptor<T> Timeout(string timeout)
{
this._QueryString.Timeout(timeout);
return this;
}
///<summary>Explicit version number for concurrency control</summary>
public DeleteDescriptor<T> Version(int version)
{
this._QueryString.Version(version);
return this;
}
///<summary>Specific version type</summary>
public DeleteDescriptor<T> VersionType(VersionTypeOptions version_type)
{
this._QueryString.VersionType(version_type);
return this;
}
}
///<summary>descriptor for DeleteByQuery
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/docs-delete-by-query.html
///</pre>
///</summary>
public partial class DeleteByQueryDescriptor<T>
{
internal DeleteByQueryRequestParameters _QueryString = new DeleteByQueryRequestParameters();
///<summary>The analyzer to use for the query string</summary>
public DeleteByQueryDescriptor<T> Analyzer(string analyzer)
{
this._QueryString.Analyzer(analyzer);
return this;
}
///<summary>Specific write consistency setting for the operation</summary>
public DeleteByQueryDescriptor<T> Consistency(ConsistencyOptions consistency)
{
this._QueryString.Consistency(consistency);
return this;
}
///<summary>The default operator for query string query (AND or OR)</summary>
public DeleteByQueryDescriptor<T> DefaultOperator(DefaultOperatorOptions default_operator)
{
this._QueryString.DefaultOperator(default_operator);
return this;
}
///<summary>The field to use as default where no field prefix is given in the query string</summary>
public DeleteByQueryDescriptor<T> Df(string df)
{
this._QueryString.Df(df);
return this;
}
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public DeleteByQueryDescriptor<T> IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public DeleteByQueryDescriptor<T> AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public DeleteByQueryDescriptor<T> ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
///<summary>Specific replication type</summary>
public DeleteByQueryDescriptor<T> Replication(ReplicationOptions replication)
{
this._QueryString.Replication(replication);
return this;
}
///<summary>Query in the Lucene query string syntax</summary>
public DeleteByQueryDescriptor<T> Q(string q)
{
this._QueryString.Q(q);
return this;
}
///<summary>Specific routing value</summary>
public DeleteByQueryDescriptor<T> Routing(string routing)
{
this._QueryString.Routing(routing);
return this;
}
///<summary>The URL-encoded query definition (instead of using the request body)</summary>
public DeleteByQueryDescriptor<T> Source(string source)
{
this._QueryString.Source(source);
return this;
}
///<summary>Explicit operation timeout</summary>
public DeleteByQueryDescriptor<T> Timeout(string timeout)
{
this._QueryString.Timeout(timeout);
return this;
}
}
///<summary>descriptor for Exists
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/docs-get.html
///</pre>
///</summary>
public partial class DocumentExistsDescriptor<T>
{
internal DocumentExistsRequestParameters _QueryString = new DocumentExistsRequestParameters();
///<summary>The ID of the parent document</summary>
public DocumentExistsDescriptor<T> Parent(string parent)
{
this._QueryString.Parent(parent);
return this;
}
///<summary>Specify the node or shard the operation should be performed on (default: random)</summary>
public DocumentExistsDescriptor<T> Preference(string preference)
{
this._QueryString.Preference(preference);
return this;
}
///<summary>Specify whether to perform the operation in realtime or search mode</summary>
public DocumentExistsDescriptor<T> Realtime(bool realtime = true)
{
this._QueryString.Realtime(realtime);
return this;
}
///<summary>Refresh the shard containing the document before performing the operation</summary>
public DocumentExistsDescriptor<T> Refresh(bool refresh = true)
{
this._QueryString.Refresh(refresh);
return this;
}
///<summary>Specific routing value</summary>
public DocumentExistsDescriptor<T> Routing(string routing)
{
this._QueryString.Routing(routing);
return this;
}
}
///<summary>descriptor for ExplainGet
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/search-explain.html
///</pre>
///</summary>
public partial class ExplainDescriptor
{
internal ExplainRequestParameters _QueryString = new ExplainRequestParameters();
///<summary>Specify whether wildcards and prefix queries in the query string query should be analyzed (default: false)</summary>
public ExplainDescriptor AnalyzeWildcard(bool analyze_wildcard = true)
{
this._QueryString.AnalyzeWildcard(analyze_wildcard);
return this;
}
///<summary>The analyzer for the query string query</summary>
public ExplainDescriptor Analyzer(string analyzer)
{
this._QueryString.Analyzer(analyzer);
return this;
}
///<summary>The default operator for query string query (AND or OR)</summary>
public ExplainDescriptor DefaultOperator(DefaultOperatorOptions default_operator)
{
this._QueryString.DefaultOperator(default_operator);
return this;
}
///<summary>The default field for query string query (default: _all)</summary>
public ExplainDescriptor Df(string df)
{
this._QueryString.Df(df);
return this;
}
///<summary>A comma-separated list of fields to return in the response</summary>
public ExplainDescriptor Fields(params string[] fields)
{
this._QueryString.Fields(fields);
return this;
}
///<summary>A comma-separated list of fields to return in the response</summary>
public ExplainDescriptor Fields<T>(params Expression<Func<T, object>>[] typedPathLookups) where T : class
{
if (!typedPathLookups.HasAny())
return this;
this._QueryString._Fields(typedPathLookups);
return this;
}
///<summary>Specify whether format-based query failures (such as providing text to a numeric field) should be ignored</summary>
public ExplainDescriptor Lenient(bool lenient = true)
{
this._QueryString.Lenient(lenient);
return this;
}
///<summary>Specify whether query terms should be lowercased</summary>
public ExplainDescriptor LowercaseExpandedTerms(bool lowercase_expanded_terms = true)
{
this._QueryString.LowercaseExpandedTerms(lowercase_expanded_terms);
return this;
}
///<summary>The ID of the parent document</summary>
public ExplainDescriptor Parent(string parent)
{
this._QueryString.Parent(parent);
return this;
}
///<summary>Specify the node or shard the operation should be performed on (default: random)</summary>
public ExplainDescriptor Preference(string preference)
{
this._QueryString.Preference(preference);
return this;
}
///<summary>Query in the Lucene query string syntax</summary>
public ExplainDescriptor Q(string q)
{
this._QueryString.Q(q);
return this;
}
///<summary>Specific routing value</summary>
public ExplainDescriptor Routing(string routing)
{
this._QueryString.Routing(routing);
return this;
}
///<summary>The URL-encoded query definition (instead of using the request body)</summary>
public ExplainDescriptor Source(string source)
{
this._QueryString.Source(source);
return this;
}
///<summary>True or false to return the _source field or not, or a list of fields to return</summary>
public ExplainDescriptor Source(params string[] _source)
{
this._QueryString.Source(_source);
return this;
}
///<summary>A list of fields to exclude from the returned _source field</summary>
public ExplainDescriptor SourceExclude(params string[] _source_exclude)
{
this._QueryString.SourceExclude(_source_exclude);
return this;
}
///<summary>A list of fields to exclude from the returned _source field</summary>
public ExplainDescriptor SourceExclude<T>(params Expression<Func<T, object>>[] typedPathLookups) where T : class
{
if (!typedPathLookups.HasAny())
return this;
this._QueryString._SourceExclude(typedPathLookups);
return this;
}
///<summary>A list of fields to extract and return from the _source field</summary>
public ExplainDescriptor SourceInclude(params string[] _source_include)
{
this._QueryString.SourceInclude(_source_include);
return this;
}
///<summary>A list of fields to extract and return from the _source field</summary>
public ExplainDescriptor SourceInclude<T>(params Expression<Func<T, object>>[] typedPathLookups) where T : class
{
if (!typedPathLookups.HasAny())
return this;
this._QueryString._SourceInclude(typedPathLookups);
return this;
}
}
///<summary>descriptor for Get
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/docs-get.html
///</pre>
///</summary>
public partial class GetDescriptor<T>
{
internal GetRequestParameters _QueryString = new GetRequestParameters();
///<summary>A comma-separated list of fields to return in the response</summary>
public GetDescriptor<T> Fields(params string[] fields)
{
this._QueryString.Fields(fields);
return this;
}
///<summary>A comma-separated list of fields to return in the response</summary>
public GetDescriptor<T> Fields(params Expression<Func<T, object>>[] typedPathLookups)
{
if (!typedPathLookups.HasAny())
return this;
this._QueryString._Fields(typedPathLookups);
return this;
}
///<summary>The ID of the parent document</summary>
public GetDescriptor<T> Parent(string parent)
{
this._QueryString.Parent(parent);
return this;
}
///<summary>Specify the node or shard the operation should be performed on (default: random)</summary>
public GetDescriptor<T> Preference(string preference)
{
this._QueryString.Preference(preference);
return this;
}
///<summary>Specify whether to perform the operation in realtime or search mode</summary>
public GetDescriptor<T> Realtime(bool realtime = true)
{
this._QueryString.Realtime(realtime);
return this;
}
///<summary>Refresh the shard containing the document before performing the operation</summary>
public GetDescriptor<T> Refresh(bool refresh = true)
{
this._QueryString.Refresh(refresh);
return this;
}
///<summary>Specific routing value</summary>
public GetDescriptor<T> Routing(string routing)
{
this._QueryString.Routing(routing);
return this;
}
///<summary>True or false to return the _source field or not, or a list of fields to return</summary>
public GetDescriptor<T> Source(params string[] _source)
{
this._QueryString.Source(_source);
return this;
}
///<summary>A list of fields to exclude from the returned _source field</summary>
public GetDescriptor<T> SourceExclude(params string[] _source_exclude)
{
this._QueryString.SourceExclude(_source_exclude);
return this;
}
///<summary>A list of fields to exclude from the returned _source field</summary>
public GetDescriptor<T> SourceExclude(params Expression<Func<T, object>>[] typedPathLookups)
{
if (!typedPathLookups.HasAny())
return this;
this._QueryString._SourceExclude(typedPathLookups);
return this;
}
///<summary>A list of fields to extract and return from the _source field</summary>
public GetDescriptor<T> SourceInclude(params string[] _source_include)
{
this._QueryString.SourceInclude(_source_include);
return this;
}
///<summary>A list of fields to extract and return from the _source field</summary>
public GetDescriptor<T> SourceInclude(params Expression<Func<T, object>>[] typedPathLookups)
{
if (!typedPathLookups.HasAny())
return this;
this._QueryString._SourceInclude(typedPathLookups);
return this;
}
///<summary>Explicit version number for concurrency control</summary>
public GetDescriptor<T> Version(int version)
{
this._QueryString.Version(version);
return this;
}
///<summary>Specific version type</summary>
public GetDescriptor<T> VersionType(VersionTypeOptions version_type)
{
this._QueryString.VersionType(version_type);
return this;
}
}
///<summary>descriptor for GetSource
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/docs-get.html
///</pre>
///</summary>
public partial class SourceDescriptor<T>
{
internal SourceRequestParameters _QueryString = new SourceRequestParameters();
///<summary>The ID of the parent document</summary>
public SourceDescriptor<T> Parent(string parent)
{
this._QueryString.Parent(parent);
return this;
}
///<summary>Specify the node or shard the operation should be performed on (default: random)</summary>
public SourceDescriptor<T> Preference(string preference)
{
this._QueryString.Preference(preference);
return this;
}
///<summary>Specify whether to perform the operation in realtime or search mode</summary>
public SourceDescriptor<T> Realtime(bool realtime = true)
{
this._QueryString.Realtime(realtime);
return this;
}
///<summary>Refresh the shard containing the document before performing the operation</summary>
public SourceDescriptor<T> Refresh(bool refresh = true)
{
this._QueryString.Refresh(refresh);
return this;
}
///<summary>Specific routing value</summary>
public SourceDescriptor<T> Routing(string routing)
{
this._QueryString.Routing(routing);
return this;
}
///<summary>True or false to return the _source field or not, or a list of fields to return</summary>
public SourceDescriptor<T> Source(params string[] _source)
{
this._QueryString.Source(_source);
return this;
}
///<summary>A list of fields to exclude from the returned _source field</summary>
public SourceDescriptor<T> SourceExclude(params string[] _source_exclude)
{
this._QueryString.SourceExclude(_source_exclude);
return this;
}
///<summary>A list of fields to exclude from the returned _source field</summary>
public SourceDescriptor<T> SourceExclude(params Expression<Func<T, object>>[] typedPathLookups)
{
if (!typedPathLookups.HasAny())
return this;
this._QueryString._SourceExclude(typedPathLookups);
return this;
}
///<summary>A list of fields to extract and return from the _source field</summary>
public SourceDescriptor<T> SourceInclude(params string[] _source_include)
{
this._QueryString.SourceInclude(_source_include);
return this;
}
///<summary>A list of fields to extract and return from the _source field</summary>
public SourceDescriptor<T> SourceInclude(params Expression<Func<T, object>>[] typedPathLookups)
{
if (!typedPathLookups.HasAny())
return this;
this._QueryString._SourceInclude(typedPathLookups);
return this;
}
///<summary>Explicit version number for concurrency control</summary>
public SourceDescriptor<T> Version(int version)
{
this._QueryString.Version(version);
return this;
}
///<summary>Specific version type</summary>
public SourceDescriptor<T> VersionType(VersionTypeOptions version_type)
{
this._QueryString.VersionType(version_type);
return this;
}
}
///<summary>descriptor for Index
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/docs-index_.html
///</pre>
///</summary>
public partial class IndexDescriptor<T>
{
internal IndexRequestParameters _QueryString = new IndexRequestParameters();
///<summary>Explicit write consistency setting for the operation</summary>
public IndexDescriptor<T> Consistency(ConsistencyOptions consistency)
{
this._QueryString.Consistency(consistency);
return this;
}
///<summary>Explicit operation type</summary>
public IndexDescriptor<T> OpType(OpTypeOptions op_type)
{
this._QueryString.OpType(op_type);
return this;
}
///<summary>ID of the parent document</summary>
public IndexDescriptor<T> Parent(string parent)
{
this._QueryString.Parent(parent);
return this;
}
///<summary>Refresh the index after performing the operation</summary>
public IndexDescriptor<T> Refresh(bool refresh = true)
{
this._QueryString.Refresh(refresh);
return this;
}
///<summary>Specific replication type</summary>
public IndexDescriptor<T> Replication(ReplicationOptions replication)
{
this._QueryString.Replication(replication);
return this;
}
///<summary>Specific routing value</summary>
public IndexDescriptor<T> Routing(string routing)
{
this._QueryString.Routing(routing);
return this;
}
///<summary>Explicit operation timeout</summary>
public IndexDescriptor<T> Timeout(string timeout)
{
this._QueryString.Timeout(timeout);
return this;
}
///<summary>Explicit timestamp for the document</summary>
public IndexDescriptor<T> Timestamp(string timestamp)
{
this._QueryString.Timestamp(timestamp);
return this;
}
///<summary>Expiration time for the document</summary>
public IndexDescriptor<T> Ttl(string ttl)
{
this._QueryString.Ttl(ttl);
return this;
}
///<summary>Explicit version number for concurrency control</summary>
public IndexDescriptor<T> Version(int version)
{
this._QueryString.Version(version);
return this;
}
///<summary>Specific version type</summary>
public IndexDescriptor<T> VersionType(VersionTypeOptions version_type)
{
this._QueryString.VersionType(version_type);
return this;
}
}
///<summary>descriptor for IndicesAnalyzeGetForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-analyze.html
///</pre>
///</summary>
public partial class AnalyzeDescriptor
{
internal AnalyzeRequestParameters _QueryString = new AnalyzeRequestParameters();
///<summary>The name of the analyzer to use</summary>
public AnalyzeDescriptor Analyzer(string analyzer)
{
this._QueryString.Analyzer(analyzer);
return this;
}
///<summary>Use the analyzer configured for this field (instead of passing the analyzer name)</summary>
public AnalyzeDescriptor Field(string field)
{
this._QueryString.Field(field);
return this;
}
///<summary>Use the analyzer configured for this field (instead of passing the analyzer name)</summary>
public AnalyzeDescriptor Field<T>(Expression<Func<T, object>> typedPathLookup) where T : class
{
typedPathLookup.ThrowIfNull("typedPathLookup");
this._QueryString._Field(typedPathLookup);
return this;
}
///<summary>A comma-separated list of filters to use for the analysis</summary>
public AnalyzeDescriptor Filters(params string[] filters)
{
this._QueryString.Filters(filters);
return this;
}
///<summary>The name of the index to scope the operation</summary>
public AnalyzeDescriptor IndexQueryString(string index)
{
this._QueryString.Index(index);
return this;
}
///<summary>With `true`, specify that a local shard should be used if available, with `false`, use a random shard (default: true)</summary>
public AnalyzeDescriptor PreferLocal(bool prefer_local = true)
{
this._QueryString.PreferLocal(prefer_local);
return this;
}
///<summary>The text on which the analysis should be performed (when request body is not used)</summary>
public AnalyzeDescriptor Text(string text)
{
this._QueryString.Text(text);
return this;
}
///<summary>The name of the tokenizer to use for the analysis</summary>
public AnalyzeDescriptor Tokenizer(string tokenizer)
{
this._QueryString.Tokenizer(tokenizer);
return this;
}
///<summary>Format of the output</summary>
public AnalyzeDescriptor Format(FormatOptions format)
{
this._QueryString.Format(format);
return this;
}
}
///<summary>descriptor for IndicesClearCacheForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-clearcache.html
///</pre>
///</summary>
public partial class ClearCacheDescriptor
{
internal ClearCacheRequestParameters _QueryString = new ClearCacheRequestParameters();
///<summary>Clear field data</summary>
public ClearCacheDescriptor FieldData(bool field_data = true)
{
this._QueryString.FieldData(field_data);
return this;
}
///<summary>Clear field data</summary>
public ClearCacheDescriptor Fielddata(bool fielddata = true)
{
this._QueryString.Fielddata(fielddata);
return this;
}
///<summary>A comma-separated list of fields to clear when using the `field_data` parameter (default: all)</summary>
public ClearCacheDescriptor Fields(params string[] fields)
{
this._QueryString.Fields(fields);
return this;
}
///<summary>A comma-separated list of fields to clear when using the `field_data` parameter (default: all)</summary>
public ClearCacheDescriptor Fields<T>(params Expression<Func<T, object>>[] typedPathLookups) where T : class
{
if (!typedPathLookups.HasAny())
return this;
this._QueryString._Fields(typedPathLookups);
return this;
}
///<summary>Clear filter caches</summary>
public ClearCacheDescriptor Filter(bool filter = true)
{
this._QueryString.Filter(filter);
return this;
}
///<summary>Clear filter caches</summary>
public ClearCacheDescriptor FilterCache(bool filter_cache = true)
{
this._QueryString.FilterCache(filter_cache);
return this;
}
///<summary>A comma-separated list of keys to clear when using the `filter_cache` parameter (default: all)</summary>
public ClearCacheDescriptor FilterKeys(bool filter_keys = true)
{
this._QueryString.FilterKeys(filter_keys);
return this;
}
///<summary>Clear ID caches for parent/child</summary>
public ClearCacheDescriptor Id(bool id = true)
{
this._QueryString.Id(id);
return this;
}
///<summary>Clear ID caches for parent/child</summary>
public ClearCacheDescriptor IdCache(bool id_cache = true)
{
this._QueryString.IdCache(id_cache);
return this;
}
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public ClearCacheDescriptor IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public ClearCacheDescriptor AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public ClearCacheDescriptor ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
///<summary>A comma-separated list of index name to limit the operation</summary>
public ClearCacheDescriptor IndexQueryString(params string[] index)
{
this._QueryString.Index(index);
return this;
}
///<summary>Clear the recycler cache</summary>
public ClearCacheDescriptor Recycler(bool recycler = true)
{
this._QueryString.Recycler(recycler);
return this;
}
}
///<summary>descriptor for IndicesClose
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-open-close.html
///</pre>
///</summary>
public partial class CloseIndexDescriptor
{
internal CloseIndexRequestParameters _QueryString = new CloseIndexRequestParameters();
///<summary>Explicit operation timeout</summary>
public CloseIndexDescriptor Timeout(string timeout)
{
this._QueryString.Timeout(timeout);
return this;
}
///<summary>Specify timeout for connection to master</summary>
public CloseIndexDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public CloseIndexDescriptor IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public CloseIndexDescriptor AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public CloseIndexDescriptor ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
}
///<summary>descriptor for IndicesCreate
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-create-index.html
///</pre>
///</summary>
public partial class CreateIndexDescriptor
{
internal CreateIndexRequestParameters _QueryString = new CreateIndexRequestParameters();
///<summary>Explicit operation timeout</summary>
public CreateIndexDescriptor Timeout(string timeout)
{
this._QueryString.Timeout(timeout);
return this;
}
///<summary>Specify timeout for connection to master</summary>
public CreateIndexDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
}
///<summary>descriptor for IndicesDelete
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-delete-index.html
///</pre>
///</summary>
public partial class DeleteIndexDescriptor
{
internal DeleteIndexRequestParameters _QueryString = new DeleteIndexRequestParameters();
///<summary>Explicit operation timeout</summary>
public DeleteIndexDescriptor Timeout(string timeout)
{
this._QueryString.Timeout(timeout);
return this;
}
///<summary>Specify timeout for connection to master</summary>
public DeleteIndexDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
}
///<summary>descriptor for IndicesDeleteAlias
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-aliases.html
///</pre>
///</summary>
public partial class IndicesDeleteAliasDescriptor
{
internal IndicesDeleteAliasRequestParameters _QueryString = new IndicesDeleteAliasRequestParameters();
///<summary>Explicit timestamp for the document</summary>
public IndicesDeleteAliasDescriptor Timeout(string timeout)
{
this._QueryString.Timeout(timeout);
return this;
}
///<summary>Specify timeout for connection to master</summary>
public IndicesDeleteAliasDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
}
///<summary>descriptor for IndicesDeleteMapping
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-delete-mapping.html
///</pre>
///</summary>
public partial class DeleteMappingDescriptor
{
internal DeleteMappingRequestParameters _QueryString = new DeleteMappingRequestParameters();
///<summary>Specify timeout for connection to master</summary>
public DeleteMappingDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
}
///<summary>descriptor for IndicesDeleteTemplateForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-templates.html
///</pre>
///</summary>
public partial class DeleteTemplateDescriptor
{
internal DeleteTemplateRequestParameters _QueryString = new DeleteTemplateRequestParameters();
///<summary>Explicit operation timeout</summary>
public DeleteTemplateDescriptor Timeout(string timeout)
{
this._QueryString.Timeout(timeout);
return this;
}
///<summary>Specify timeout for connection to master</summary>
public DeleteTemplateDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
}
///<summary>descriptor for IndicesDeleteWarmer
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-warmers.html
///</pre>
///</summary>
public partial class DeleteWarmerDescriptor
{
internal DeleteWarmerRequestParameters _QueryString = new DeleteWarmerRequestParameters();
///<summary>Specify timeout for connection to master</summary>
public DeleteWarmerDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
}
///<summary>descriptor for IndicesExists
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-get-settings.html
///</pre>
///</summary>
public partial class IndexExistsDescriptor
{
internal IndexExistsRequestParameters _QueryString = new IndexExistsRequestParameters();
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public IndexExistsDescriptor IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public IndexExistsDescriptor AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public IndexExistsDescriptor ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public IndexExistsDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
}
///<summary>descriptor for IndicesExistsAliasForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-aliases.html
///</pre>
///</summary>
public partial class IndicesExistsAliasDescriptor
{
internal IndicesExistsAliasRequestParameters _QueryString = new IndicesExistsAliasRequestParameters();
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public IndicesExistsAliasDescriptor IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public IndicesExistsAliasDescriptor AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public IndicesExistsAliasDescriptor ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public IndicesExistsAliasDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
}
///<summary>descriptor for IndicesExistsTemplateForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-templates.html
///</pre>
///</summary>
public partial class IndicesExistsTemplateDescriptor
{
internal IndicesExistsTemplateRequestParameters _QueryString = new IndicesExistsTemplateRequestParameters();
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public IndicesExistsTemplateDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
}
///<summary>descriptor for IndicesExistsType
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-types-exists.html
///</pre>
///</summary>
public partial class IndicesExistsTypeDescriptor
{
internal IndicesExistsTypeRequestParameters _QueryString = new IndicesExistsTypeRequestParameters();
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public IndicesExistsTypeDescriptor IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public IndicesExistsTypeDescriptor AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public IndicesExistsTypeDescriptor ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public IndicesExistsTypeDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
}
///<summary>descriptor for IndicesFlushForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-flush.html
///</pre>
///</summary>
public partial class FlushDescriptor
{
internal FlushRequestParameters _QueryString = new FlushRequestParameters();
///<summary>Whether a flush should be forced even if it is not necessarily needed ie. if no changes will be committed to the index. This is useful if transaction log IDs should be incremented even if no uncommitted changes are present. (This setting can be considered as internal)</summary>
public FlushDescriptor Force(bool force = true)
{
this._QueryString.Force(force);
return this;
}
///<summary>If set to true a new index writer is created and settings that have been changed related to the index writer will be refreshed. Note: if a full flush is required for a setting to take effect this will be part of the settings update process and it not required to be executed by the user. (This setting can be considered as internal)</summary>
public FlushDescriptor Full(bool full = true)
{
this._QueryString.Full(full);
return this;
}
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public FlushDescriptor IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public FlushDescriptor AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public FlushDescriptor ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
}
///<summary>descriptor for IndicesGetAliasForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-aliases.html
///</pre>
///</summary>
public partial class GetAliasesDescriptor
{
internal GetAliasesRequestParameters _QueryString = new GetAliasesRequestParameters();
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public GetAliasesDescriptor IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public GetAliasesDescriptor AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public GetAliasesDescriptor ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public GetAliasesDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
}
///<summary>descriptor for IndicesGetAliasesForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-aliases.html
///</pre>
///</summary>
public partial class IndicesGetAliasesDescriptor
{
internal IndicesGetAliasesRequestParameters _QueryString = new IndicesGetAliasesRequestParameters();
///<summary>Explicit operation timeout</summary>
public IndicesGetAliasesDescriptor Timeout(string timeout)
{
this._QueryString.Timeout(timeout);
return this;
}
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public IndicesGetAliasesDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
}
///<summary>descriptor for IndicesGetFieldMappingForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-get-field-mapping.html
///</pre>
///</summary>
public partial class IndicesGetFieldMappingDescriptor
{
internal IndicesGetFieldMappingRequestParameters _QueryString = new IndicesGetFieldMappingRequestParameters();
///<summary>Whether the default mapping values should be returned as well</summary>
public IndicesGetFieldMappingDescriptor IncludeDefaults(bool include_defaults = true)
{
this._QueryString.IncludeDefaults(include_defaults);
return this;
}
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public IndicesGetFieldMappingDescriptor IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public IndicesGetFieldMappingDescriptor AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public IndicesGetFieldMappingDescriptor ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public IndicesGetFieldMappingDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
}
///<summary>descriptor for IndicesGetMappingForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-get-mapping.html
///</pre>
///</summary>
public partial class GetMappingDescriptor
{
internal GetMappingRequestParameters _QueryString = new GetMappingRequestParameters();
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public GetMappingDescriptor IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public GetMappingDescriptor AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public GetMappingDescriptor ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public GetMappingDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
}
///<summary>descriptor for IndicesGetSettingsForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-get-mapping.html
///</pre>
///</summary>
public partial class GetIndexSettingsDescriptor
{
internal GetIndexSettingsRequestParameters _QueryString = new GetIndexSettingsRequestParameters();
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public GetIndexSettingsDescriptor IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public GetIndexSettingsDescriptor AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public GetIndexSettingsDescriptor ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
///<summary>Return settings in flat format (default: false)</summary>
public GetIndexSettingsDescriptor FlatSettings(bool flat_settings = true)
{
this._QueryString.FlatSettings(flat_settings);
return this;
}
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public GetIndexSettingsDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
}
///<summary>descriptor for IndicesGetTemplateForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-templates.html
///</pre>
///</summary>
public partial class GetTemplateDescriptor
{
internal GetTemplateRequestParameters _QueryString = new GetTemplateRequestParameters();
///<summary>Return settings in flat format (default: false)</summary>
public GetTemplateDescriptor FlatSettings(bool flat_settings = true)
{
this._QueryString.FlatSettings(flat_settings);
return this;
}
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public GetTemplateDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
}
///<summary>descriptor for IndicesGetWarmerForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-warmers.html
///</pre>
///</summary>
public partial class GetWarmerDescriptor
{
internal GetWarmerRequestParameters _QueryString = new GetWarmerRequestParameters();
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public GetWarmerDescriptor IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public GetWarmerDescriptor AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public GetWarmerDescriptor ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public GetWarmerDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
}
///<summary>descriptor for IndicesOpen
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-open-close.html
///</pre>
///</summary>
public partial class OpenIndexDescriptor
{
internal OpenIndexRequestParameters _QueryString = new OpenIndexRequestParameters();
///<summary>Explicit operation timeout</summary>
public OpenIndexDescriptor Timeout(string timeout)
{
this._QueryString.Timeout(timeout);
return this;
}
///<summary>Specify timeout for connection to master</summary>
public OpenIndexDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public OpenIndexDescriptor IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public OpenIndexDescriptor AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public OpenIndexDescriptor ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
}
///<summary>descriptor for IndicesOptimizeForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-optimize.html
///</pre>
///</summary>
public partial class OptimizeDescriptor
{
internal OptimizeRequestParameters _QueryString = new OptimizeRequestParameters();
///<summary>Specify whether the index should be flushed after performing the operation (default: true)</summary>
public OptimizeDescriptor Flush(bool flush = true)
{
this._QueryString.Flush(flush);
return this;
}
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public OptimizeDescriptor IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public OptimizeDescriptor AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public OptimizeDescriptor ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
///<summary>The number of segments the index should be merged into (default: dynamic)</summary>
public OptimizeDescriptor MaxNumSegments(int max_num_segments)
{
this._QueryString.MaxNumSegments(max_num_segments);
return this;
}
///<summary>Specify whether the operation should only expunge deleted documents</summary>
public OptimizeDescriptor OnlyExpungeDeletes(bool only_expunge_deletes = true)
{
this._QueryString.OnlyExpungeDeletes(only_expunge_deletes);
return this;
}
///<summary>TODO: ?</summary>
public OptimizeDescriptor OperationThreading(string operation_threading)
{
this._QueryString.OperationThreading(operation_threading);
return this;
}
///<summary>Specify whether the request should block until the merge process is finished (default: true)</summary>
public OptimizeDescriptor WaitForMerge(bool wait_for_merge = true)
{
this._QueryString.WaitForMerge(wait_for_merge);
return this;
}
}
///<summary>descriptor for IndicesPutAlias
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-aliases.html
///</pre>
///</summary>
public partial class IndicesPutAliasDescriptor
{
internal IndicesPutAliasRequestParameters _QueryString = new IndicesPutAliasRequestParameters();
///<summary>Explicit timestamp for the document</summary>
public IndicesPutAliasDescriptor Timeout(string timeout)
{
this._QueryString.Timeout(timeout);
return this;
}
///<summary>Specify timeout for connection to master</summary>
public IndicesPutAliasDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
}
///<summary>descriptor for IndicesPutMapping
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-put-mapping.html
///</pre>
///</summary>
public partial class PutMappingDescriptor<T>
{
internal PutMappingRequestParameters _QueryString = new PutMappingRequestParameters();
///<summary>Specify whether to ignore conflicts while updating the mapping (default: false)</summary>
public PutMappingDescriptor<T> IgnoreConflicts(bool ignore_conflicts = true)
{
this._QueryString.IgnoreConflicts(ignore_conflicts);
return this;
}
///<summary>Explicit operation timeout</summary>
public PutMappingDescriptor<T> Timeout(string timeout)
{
this._QueryString.Timeout(timeout);
return this;
}
///<summary>Specify timeout for connection to master</summary>
public PutMappingDescriptor<T> MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public PutMappingDescriptor<T> IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public PutMappingDescriptor<T> AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public PutMappingDescriptor<T> ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
}
///<summary>descriptor for IndicesPutSettingsForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-update-settings.html
///</pre>
///</summary>
public partial class UpdateSettingsDescriptor
{
internal UpdateSettingsRequestParameters _QueryString = new UpdateSettingsRequestParameters();
///<summary>Specify timeout for connection to master</summary>
public UpdateSettingsDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public UpdateSettingsDescriptor IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public UpdateSettingsDescriptor AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public UpdateSettingsDescriptor ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
///<summary>Return settings in flat format (default: false)</summary>
public UpdateSettingsDescriptor FlatSettings(bool flat_settings = true)
{
this._QueryString.FlatSettings(flat_settings);
return this;
}
}
///<summary>descriptor for IndicesPutTemplateForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-templates.html
///</pre>
///</summary>
public partial class PutTemplateDescriptor
{
internal PutTemplateRequestParameters _QueryString = new PutTemplateRequestParameters();
///<summary>Explicit operation timeout</summary>
public PutTemplateDescriptor Timeout(string timeout)
{
this._QueryString.Timeout(timeout);
return this;
}
///<summary>Specify timeout for connection to master</summary>
public PutTemplateDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Return settings in flat format (default: false)</summary>
public PutTemplateDescriptor FlatSettings(bool flat_settings = true)
{
this._QueryString.FlatSettings(flat_settings);
return this;
}
}
///<summary>descriptor for IndicesPutWarmerForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-warmers.html
///</pre>
///</summary>
public partial class PutWarmerDescriptor
{
internal PutWarmerRequestParameters _QueryString = new PutWarmerRequestParameters();
///<summary>Specify timeout for connection to master</summary>
public PutWarmerDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed) in the search request to warm</summary>
public PutWarmerDescriptor IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices in the search request to warm. (This includes `_all` string or when no indices have been specified)</summary>
public PutWarmerDescriptor AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both, in the search request to warm.</summary>
public PutWarmerDescriptor ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
}
///<summary>descriptor for IndicesRefreshForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-refresh.html
///</pre>
///</summary>
public partial class RefreshDescriptor
{
internal RefreshRequestParameters _QueryString = new RefreshRequestParameters();
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public RefreshDescriptor IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public RefreshDescriptor AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public RefreshDescriptor ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
///<summary>Force a refresh even if not required</summary>
public RefreshDescriptor Force(bool force = true)
{
this._QueryString.Force(force);
return this;
}
///<summary>TODO: ?</summary>
public RefreshDescriptor OperationThreading(string operation_threading)
{
this._QueryString.OperationThreading(operation_threading);
return this;
}
}
///<summary>descriptor for IndicesSegmentsForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-segments.html
///</pre>
///</summary>
public partial class SegmentsDescriptor
{
internal SegmentsRequestParameters _QueryString = new SegmentsRequestParameters();
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public SegmentsDescriptor IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public SegmentsDescriptor AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public SegmentsDescriptor ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
///<summary>Whether to return time and byte values in human-readable format.</summary>
public SegmentsDescriptor Human(bool human = true)
{
this._QueryString.Human(human);
return this;
}
///<summary>TODO: ?</summary>
public SegmentsDescriptor OperationThreading(string operation_threading)
{
this._QueryString.OperationThreading(operation_threading);
return this;
}
}
///<summary>descriptor for IndicesSnapshotIndexForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-gateway-snapshot.html
///</pre>
///</summary>
public partial class SnapshotDescriptor
{
internal SnapshotRequestParameters _QueryString = new SnapshotRequestParameters();
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public SnapshotDescriptor IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public SnapshotDescriptor AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public SnapshotDescriptor ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
}
///<summary>descriptor for IndicesStatsForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-stats.html
///</pre>
///</summary>
public partial class IndicesStatsDescriptor
{
internal IndicesStatsRequestParameters _QueryString = new IndicesStatsRequestParameters();
///<summary>A comma-separated list of fields for `fielddata` and `suggest` index metric (supports wildcards)</summary>
public IndicesStatsDescriptor CompletionFields(params string[] completion_fields)
{
this._QueryString.CompletionFields(completion_fields);
return this;
}
///<summary>A comma-separated list of fields for `fielddata` and `suggest` index metric (supports wildcards)</summary>
public IndicesStatsDescriptor CompletionFields<T>(params Expression<Func<T, object>>[] typedPathLookups) where T : class
{
if (!typedPathLookups.HasAny())
return this;
this._QueryString._CompletionFields(typedPathLookups);
return this;
}
///<summary>A comma-separated list of fields for `fielddata` index metric (supports wildcards)</summary>
public IndicesStatsDescriptor FielddataFields(params string[] fielddata_fields)
{
this._QueryString.FielddataFields(fielddata_fields);
return this;
}
///<summary>A comma-separated list of fields for `fielddata` index metric (supports wildcards)</summary>
public IndicesStatsDescriptor FielddataFields<T>(params Expression<Func<T, object>>[] typedPathLookups) where T : class
{
if (!typedPathLookups.HasAny())
return this;
this._QueryString._FielddataFields(typedPathLookups);
return this;
}
///<summary>A comma-separated list of fields for `fielddata` and `completion` index metric (supports wildcards)</summary>
public IndicesStatsDescriptor Fields(params string[] fields)
{
this._QueryString.Fields(fields);
return this;
}
///<summary>A comma-separated list of fields for `fielddata` and `completion` index metric (supports wildcards)</summary>
public IndicesStatsDescriptor Fields<T>(params Expression<Func<T, object>>[] typedPathLookups) where T : class
{
if (!typedPathLookups.HasAny())
return this;
this._QueryString._Fields(typedPathLookups);
return this;
}
///<summary>A comma-separated list of search groups for `search` index metric</summary>
public IndicesStatsDescriptor Groups(bool groups = true)
{
this._QueryString.Groups(groups);
return this;
}
///<summary>Whether to return time and byte values in human-readable format.</summary>
public IndicesStatsDescriptor Human(bool human = true)
{
this._QueryString.Human(human);
return this;
}
///<summary>Return stats aggregated at cluster, index or shard level</summary>
public IndicesStatsDescriptor Level(LevelOptions level)
{
this._QueryString.Level(level);
return this;
}
///<summary>A comma-separated list of document types for the `indexing` index metric</summary>
public IndicesStatsDescriptor Types(params string[] types)
{
this._QueryString.Types(types);
return this;
}
}
///<summary>descriptor for IndicesStatusForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-status.html
///</pre>
///</summary>
public partial class IndicesStatusDescriptor
{
internal IndicesStatusRequestParameters _QueryString = new IndicesStatusRequestParameters();
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public IndicesStatusDescriptor IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public IndicesStatusDescriptor AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public IndicesStatusDescriptor ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
///<summary>Whether to return time and byte values in human-readable format.</summary>
public IndicesStatusDescriptor Human(bool human = true)
{
this._QueryString.Human(human);
return this;
}
///<summary>TODO: ?</summary>
public IndicesStatusDescriptor OperationThreading(string operation_threading)
{
this._QueryString.OperationThreading(operation_threading);
return this;
}
///<summary>Return information about shard recovery</summary>
public IndicesStatusDescriptor Recovery(bool recovery = true)
{
this._QueryString.Recovery(recovery);
return this;
}
///<summary>TODO: ?</summary>
public IndicesStatusDescriptor Snapshot(bool snapshot = true)
{
this._QueryString.Snapshot(snapshot);
return this;
}
}
///<summary>descriptor for IndicesUpdateAliasesForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-aliases.html
///</pre>
///</summary>
public partial class AliasDescriptor
{
internal AliasRequestParameters _QueryString = new AliasRequestParameters();
///<summary>Request timeout</summary>
public AliasDescriptor Timeout(string timeout)
{
this._QueryString.Timeout(timeout);
return this;
}
///<summary>Specify timeout for connection to master</summary>
public AliasDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
}
///<summary>descriptor for IndicesValidateQueryGetForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/search-validate.html
///</pre>
///</summary>
public partial class ValidateQueryDescriptor<T>
{
internal ValidateQueryRequestParameters _QueryString = new ValidateQueryRequestParameters();
///<summary>Return detailed information about the error</summary>
public ValidateQueryDescriptor<T> Explain(bool explain = true)
{
this._QueryString.Explain(explain);
return this;
}
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public ValidateQueryDescriptor<T> IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public ValidateQueryDescriptor<T> AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public ValidateQueryDescriptor<T> ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
///<summary>TODO: ?</summary>
public ValidateQueryDescriptor<T> OperationThreading(string operation_threading)
{
this._QueryString.OperationThreading(operation_threading);
return this;
}
///<summary>The URL-encoded query definition (instead of using the request body)</summary>
public ValidateQueryDescriptor<T> Source(string source)
{
this._QueryString.Source(source);
return this;
}
///<summary>Query in the Lucene query string syntax</summary>
public ValidateQueryDescriptor<T> Q(string q)
{
this._QueryString.Q(q);
return this;
}
}
///<summary>descriptor for Info
///<pre>
///http://www.elasticsearch.org/guide/
///</pre>
///</summary>
public partial class InfoDescriptor
{
internal InfoRequestParameters _QueryString = new InfoRequestParameters();
}
///<summary>descriptor for MgetGet
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/docs-multi-get.html
///</pre>
///</summary>
public partial class MultiGetDescriptor
{
internal MultiGetRequestParameters _QueryString = new MultiGetRequestParameters();
///<summary>A comma-separated list of fields to return in the response</summary>
public MultiGetDescriptor Fields(params string[] fields)
{
this._QueryString.Fields(fields);
return this;
}
///<summary>A comma-separated list of fields to return in the response</summary>
public MultiGetDescriptor Fields<T>(params Expression<Func<T, object>>[] typedPathLookups) where T : class
{
if (!typedPathLookups.HasAny())
return this;
this._QueryString._Fields(typedPathLookups);
return this;
}
///<summary>Specify the node or shard the operation should be performed on (default: random)</summary>
public MultiGetDescriptor Preference(string preference)
{
this._QueryString.Preference(preference);
return this;
}
///<summary>Specify whether to perform the operation in realtime or search mode</summary>
public MultiGetDescriptor Realtime(bool realtime = true)
{
this._QueryString.Realtime(realtime);
return this;
}
///<summary>Refresh the shard containing the document before performing the operation</summary>
public MultiGetDescriptor Refresh(bool refresh = true)
{
this._QueryString.Refresh(refresh);
return this;
}
///<summary>True or false to return the _source field or not, or a list of fields to return</summary>
public MultiGetDescriptor Source(params string[] _source)
{
this._QueryString.Source(_source);
return this;
}
///<summary>A list of fields to exclude from the returned _source field</summary>
public MultiGetDescriptor SourceExclude(params string[] _source_exclude)
{
this._QueryString.SourceExclude(_source_exclude);
return this;
}
///<summary>A list of fields to exclude from the returned _source field</summary>
public MultiGetDescriptor SourceExclude<T>(params Expression<Func<T, object>>[] typedPathLookups) where T : class
{
if (!typedPathLookups.HasAny())
return this;
this._QueryString._SourceExclude(typedPathLookups);
return this;
}
///<summary>A list of fields to extract and return from the _source field</summary>
public MultiGetDescriptor SourceInclude(params string[] _source_include)
{
this._QueryString.SourceInclude(_source_include);
return this;
}
///<summary>A list of fields to extract and return from the _source field</summary>
public MultiGetDescriptor SourceInclude<T>(params Expression<Func<T, object>>[] typedPathLookups) where T : class
{
if (!typedPathLookups.HasAny())
return this;
this._QueryString._SourceInclude(typedPathLookups);
return this;
}
}
///<summary>descriptor for MltGet
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/search-more-like-this.html
///</pre>
///</summary>
public partial class MoreLikeThisDescriptor<T>
{
internal MoreLikeThisRequestParameters _QueryString = new MoreLikeThisRequestParameters();
///<summary>The boost factor</summary>
public MoreLikeThisDescriptor<T> BoostTerms(double boost_terms)
{
this._QueryString.BoostTerms(boost_terms);
return this;
}
///<summary>The word occurrence frequency as count: words with higher occurrence in the corpus will be ignored</summary>
public MoreLikeThisDescriptor<T> MaxDocFreq(int max_doc_freq)
{
this._QueryString.MaxDocFreq(max_doc_freq);
return this;
}
///<summary>The maximum query terms to be included in the generated query</summary>
public MoreLikeThisDescriptor<T> MaxQueryTerms(int max_query_terms)
{
this._QueryString.MaxQueryTerms(max_query_terms);
return this;
}
///<summary>The minimum length of the word: longer words will be ignored</summary>
public MoreLikeThisDescriptor<T> MaxWordLength(int max_word_length)
{
this._QueryString.MaxWordLength(max_word_length);
return this;
}
///<summary>The word occurrence frequency as count: words with lower occurrence in the corpus will be ignored</summary>
public MoreLikeThisDescriptor<T> MinDocFreq(int min_doc_freq)
{
this._QueryString.MinDocFreq(min_doc_freq);
return this;
}
///<summary>The term frequency as percent: terms with lower occurence in the source document will be ignored</summary>
public MoreLikeThisDescriptor<T> MinTermFreq(int min_term_freq)
{
this._QueryString.MinTermFreq(min_term_freq);
return this;
}
///<summary>The minimum length of the word: shorter words will be ignored</summary>
public MoreLikeThisDescriptor<T> MinWordLength(int min_word_length)
{
this._QueryString.MinWordLength(min_word_length);
return this;
}
///<summary>Specific fields to perform the query against</summary>
public MoreLikeThisDescriptor<T> MltFields(params string[] mlt_fields)
{
this._QueryString.MltFields(mlt_fields);
return this;
}
///<summary>Specific fields to perform the query against</summary>
public MoreLikeThisDescriptor<T> MltFields(params Expression<Func<T, object>>[] typedPathLookups)
{
if (!typedPathLookups.HasAny())
return this;
this._QueryString._MltFields(typedPathLookups);
return this;
}
///<summary>How many terms have to match in order to consider the document a match (default: 0.3)</summary>
public MoreLikeThisDescriptor<T> PercentTermsToMatch(double percent_terms_to_match)
{
this._QueryString.PercentTermsToMatch(percent_terms_to_match);
return this;
}
///<summary>Specific routing value</summary>
public MoreLikeThisDescriptor<T> Routing(string routing)
{
this._QueryString.Routing(routing);
return this;
}
///<summary>The offset from which to return results</summary>
public MoreLikeThisDescriptor<T> SearchFrom(int search_from)
{
this._QueryString.SearchFrom(search_from);
return this;
}
///<summary>A comma-separated list of indices to perform the query against (default: the index containing the document)</summary>
public MoreLikeThisDescriptor<T> SearchIndices(params string[] search_indices)
{
this._QueryString.SearchIndices(search_indices);
return this;
}
///<summary>The search query hint</summary>
public MoreLikeThisDescriptor<T> SearchQueryHint(string search_query_hint)
{
this._QueryString.SearchQueryHint(search_query_hint);
return this;
}
///<summary>A scroll search request definition</summary>
public MoreLikeThisDescriptor<T> SearchScroll(string search_scroll)
{
this._QueryString.SearchScroll(search_scroll);
return this;
}
///<summary>The number of documents to return (default: 10)</summary>
public MoreLikeThisDescriptor<T> SearchSize(int search_size)
{
this._QueryString.SearchSize(search_size);
return this;
}
///<summary>A specific search request definition (instead of using the request body)</summary>
public MoreLikeThisDescriptor<T> SearchSource(string search_source)
{
this._QueryString.SearchSource(search_source);
return this;
}
///<summary>Specific search type (eg. `dfs_then_fetch`, `count`, etc)</summary>
public MoreLikeThisDescriptor<T> SearchType(string search_type)
{
this._QueryString.SearchType(search_type);
return this;
}
///<summary>A comma-separated list of types to perform the query against (default: the same type as the document)</summary>
public MoreLikeThisDescriptor<T> SearchTypes(params string[] search_types)
{
this._QueryString.SearchTypes(search_types);
return this;
}
///<summary>A list of stop words to be ignored</summary>
public MoreLikeThisDescriptor<T> StopWords(params string[] stop_words)
{
this._QueryString.StopWords(stop_words);
return this;
}
}
///<summary>descriptor for MpercolateGet
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/search-percolate.html
///</pre>
///</summary>
public partial class MpercolateDescriptor
{
internal MpercolateRequestParameters _QueryString = new MpercolateRequestParameters();
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public MpercolateDescriptor IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public MpercolateDescriptor AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public MpercolateDescriptor ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
}
///<summary>descriptor for MsearchGet
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/search-multi-search.html
///</pre>
///</summary>
public partial class MultiSearchDescriptor
{
internal MultiSearchRequestParameters _QueryString = new MultiSearchRequestParameters();
///<summary>Search operation type</summary>
public MultiSearchDescriptor SearchType(SearchTypeOptions search_type)
{
this._QueryString.SearchType(search_type);
return this;
}
}
///<summary>descriptor for MtermvectorsGet
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/docs-multi-termvectors.html
///</pre>
///</summary>
public partial class MtermvectorsDescriptor
{
internal MtermvectorsRequestParameters _QueryString = new MtermvectorsRequestParameters();
///<summary>A comma-separated list of documents ids. You must define ids as parameter or set "ids" or "docs" in the request body</summary>
public MtermvectorsDescriptor Ids(params string[] ids)
{
this._QueryString.Ids(ids);
return this;
}
///<summary>Specifies if total term frequency and document frequency should be returned. Applies to all returned documents unless otherwise specified in body "params" or "docs".</summary>
public MtermvectorsDescriptor TermStatistics(bool term_statistics = true)
{
this._QueryString.TermStatistics(term_statistics);
return this;
}
///<summary>Specifies if document count, sum of document frequencies and sum of total term frequencies should be returned. Applies to all returned documents unless otherwise specified in body "params" or "docs".</summary>
public MtermvectorsDescriptor FieldStatistics(bool field_statistics = true)
{
this._QueryString.FieldStatistics(field_statistics);
return this;
}
///<summary>A comma-separated list of fields to return. Applies to all returned documents unless otherwise specified in body "params" or "docs".</summary>
public MtermvectorsDescriptor Fields(params string[] fields)
{
this._QueryString.Fields(fields);
return this;
}
///<summary>A comma-separated list of fields to return. Applies to all returned documents unless otherwise specified in body "params" or "docs".</summary>
public MtermvectorsDescriptor Fields<T>(params Expression<Func<T, object>>[] typedPathLookups) where T : class
{
if (!typedPathLookups.HasAny())
return this;
this._QueryString._Fields(typedPathLookups);
return this;
}
///<summary>Specifies if term offsets should be returned. Applies to all returned documents unless otherwise specified in body "params" or "docs".</summary>
public MtermvectorsDescriptor Offsets(bool offsets = true)
{
this._QueryString.Offsets(offsets);
return this;
}
///<summary>Specifies if term positions should be returned. Applies to all returned documents unless otherwise specified in body "params" or "docs".</summary>
public MtermvectorsDescriptor Positions(bool positions = true)
{
this._QueryString.Positions(positions);
return this;
}
///<summary>Specifies if term payloads should be returned. Applies to all returned documents unless otherwise specified in body "params" or "docs".</summary>
public MtermvectorsDescriptor Payloads(bool payloads = true)
{
this._QueryString.Payloads(payloads);
return this;
}
///<summary>Specify the node or shard the operation should be performed on (default: random) .Applies to all returned documents unless otherwise specified in body "params" or "docs".</summary>
public MtermvectorsDescriptor Preference(string preference)
{
this._QueryString.Preference(preference);
return this;
}
///<summary>Specific routing value. Applies to all returned documents unless otherwise specified in body "params" or "docs".</summary>
public MtermvectorsDescriptor Routing(string routing)
{
this._QueryString.Routing(routing);
return this;
}
///<summary>Parent id of documents. Applies to all returned documents unless otherwise specified in body "params" or "docs".</summary>
public MtermvectorsDescriptor Parent(string parent)
{
this._QueryString.Parent(parent);
return this;
}
}
///<summary>descriptor for NodesHotThreadsForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cluster-nodes-hot-threads.html
///</pre>
///</summary>
public partial class NodesHotThreadsDescriptor
{
internal NodesHotThreadsRequestParameters _QueryString = new NodesHotThreadsRequestParameters();
///<summary>The interval for the second sampling of threads</summary>
public NodesHotThreadsDescriptor Interval(string interval)
{
this._QueryString.Interval(interval);
return this;
}
///<summary>Number of samples of thread stacktrace (default: 10)</summary>
public NodesHotThreadsDescriptor Snapshots(int snapshots)
{
this._QueryString.Snapshots(snapshots);
return this;
}
///<summary>Specify the number of threads to provide information for (default: 3)</summary>
public NodesHotThreadsDescriptor Threads(int threads)
{
this._QueryString.Threads(threads);
return this;
}
///<summary>The type to sample (default: cpu)</summary>
public NodesHotThreadsDescriptor TypeQueryString(TypeOptions type)
{
this._QueryString.Type(type);
return this;
}
}
///<summary>descriptor for NodesInfoForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cluster-nodes-info.html
///</pre>
///</summary>
public partial class NodesInfoDescriptor
{
internal NodesInfoRequestParameters _QueryString = new NodesInfoRequestParameters();
///<summary>Return settings in flat format (default: false)</summary>
public NodesInfoDescriptor FlatSettings(bool flat_settings = true)
{
this._QueryString.FlatSettings(flat_settings);
return this;
}
///<summary>Whether to return time and byte values in human-readable format.</summary>
public NodesInfoDescriptor Human(bool human = true)
{
this._QueryString.Human(human);
return this;
}
}
///<summary>descriptor for NodesShutdownForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cluster-nodes-shutdown.html
///</pre>
///</summary>
public partial class NodesShutdownDescriptor
{
internal NodesShutdownRequestParameters _QueryString = new NodesShutdownRequestParameters();
///<summary>Set the delay for the operation (default: 1s)</summary>
public NodesShutdownDescriptor Delay(string delay)
{
this._QueryString.Delay(delay);
return this;
}
///<summary>Exit the JVM as well (default: true)</summary>
public NodesShutdownDescriptor Exit(bool exit = true)
{
this._QueryString.Exit(exit);
return this;
}
}
///<summary>descriptor for NodesStatsForAll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cluster-nodes-stats.html
///</pre>
///</summary>
public partial class NodesStatsDescriptor
{
internal NodesStatsRequestParameters _QueryString = new NodesStatsRequestParameters();
///<summary>A comma-separated list of fields for `fielddata` and `suggest` index metric (supports wildcards)</summary>
public NodesStatsDescriptor CompletionFields(params string[] completion_fields)
{
this._QueryString.CompletionFields(completion_fields);
return this;
}
///<summary>A comma-separated list of fields for `fielddata` and `suggest` index metric (supports wildcards)</summary>
public NodesStatsDescriptor CompletionFields<T>(params Expression<Func<T, object>>[] typedPathLookups) where T : class
{
if (!typedPathLookups.HasAny())
return this;
this._QueryString._CompletionFields(typedPathLookups);
return this;
}
///<summary>A comma-separated list of fields for `fielddata` index metric (supports wildcards)</summary>
public NodesStatsDescriptor FielddataFields(params string[] fielddata_fields)
{
this._QueryString.FielddataFields(fielddata_fields);
return this;
}
///<summary>A comma-separated list of fields for `fielddata` index metric (supports wildcards)</summary>
public NodesStatsDescriptor FielddataFields<T>(params Expression<Func<T, object>>[] typedPathLookups) where T : class
{
if (!typedPathLookups.HasAny())
return this;
this._QueryString._FielddataFields(typedPathLookups);
return this;
}
///<summary>A comma-separated list of fields for `fielddata` and `completion` index metric (supports wildcards)</summary>
public NodesStatsDescriptor Fields(params string[] fields)
{
this._QueryString.Fields(fields);
return this;
}
///<summary>A comma-separated list of fields for `fielddata` and `completion` index metric (supports wildcards)</summary>
public NodesStatsDescriptor Fields<T>(params Expression<Func<T, object>>[] typedPathLookups) where T : class
{
if (!typedPathLookups.HasAny())
return this;
this._QueryString._Fields(typedPathLookups);
return this;
}
///<summary>A comma-separated list of search groups for `search` index metric</summary>
public NodesStatsDescriptor Groups(bool groups = true)
{
this._QueryString.Groups(groups);
return this;
}
///<summary>Whether to return time and byte values in human-readable format.</summary>
public NodesStatsDescriptor Human(bool human = true)
{
this._QueryString.Human(human);
return this;
}
///<summary>Return indices stats aggregated at node, index or shard level</summary>
public NodesStatsDescriptor Level(LevelOptions level)
{
this._QueryString.Level(level);
return this;
}
///<summary>A comma-separated list of document types for the `indexing` index metric</summary>
public NodesStatsDescriptor Types(params string[] types)
{
this._QueryString.Types(types);
return this;
}
}
///<summary>descriptor for PercolateGet
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/search-percolate.html
///</pre>
///</summary>
public partial class PercolateDescriptor<T,K>
{
internal PercolateRequestParameters _QueryString = new PercolateRequestParameters();
///<summary>A comma-separated list of specific routing values</summary>
public PercolateDescriptor<T,K> Routing(params string[] routing)
{
this._QueryString.Routing(routing);
return this;
}
///<summary>Specify the node or shard the operation should be performed on (default: random)</summary>
public PercolateDescriptor<T,K> Preference(string preference)
{
this._QueryString.Preference(preference);
return this;
}
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public PercolateDescriptor<T,K> IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public PercolateDescriptor<T,K> AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public PercolateDescriptor<T,K> ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
///<summary>The index to percolate the document into. Defaults to index.</summary>
public PercolateDescriptor<T,K> PercolateIndex(string percolate_index)
{
this._QueryString.PercolateIndex(percolate_index);
return this;
}
///<summary>The type to percolate document into. Defaults to type.</summary>
public PercolateDescriptor<T,K> PercolateType(string percolate_type)
{
this._QueryString.PercolateType(percolate_type);
return this;
}
///<summary>Explicit version number for concurrency control</summary>
public PercolateDescriptor<T,K> Version(int version)
{
this._QueryString.Version(version);
return this;
}
///<summary>Specific version type</summary>
public PercolateDescriptor<T,K> VersionType(VersionTypeOptions version_type)
{
this._QueryString.VersionType(version_type);
return this;
}
}
///<summary>descriptor for Ping
///<pre>
///http://www.elasticsearch.org/guide/
///</pre>
///</summary>
public partial class PingDescriptor
{
internal PingRequestParameters _QueryString = new PingRequestParameters();
}
///<summary>descriptor for ScrollGet
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/search-request-scroll.html
///</pre>
///</summary>
public partial class ScrollDescriptor<T>
{
internal ScrollRequestParameters _QueryString = new ScrollRequestParameters();
///<summary>Specify how long a consistent view of the index should be maintained for scrolled search</summary>
public ScrollDescriptor<T> Scroll(string scroll)
{
this._QueryString.Scroll(scroll);
return this;
}
///<summary>The scroll ID for scrolled search</summary>
public ScrollDescriptor<T> ScrollId(string scroll_id)
{
this._QueryString.ScrollId(scroll_id);
return this;
}
}
///<summary>descriptor for SearchGet
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/search-search.html
///</pre>
///</summary>
public partial class SearchDescriptor<T>
{
internal SearchRequestParameters _QueryString = new SearchRequestParameters();
///<summary>The analyzer to use for the query string</summary>
public SearchDescriptor<T> Analyzer(string analyzer)
{
this._QueryString.Analyzer(analyzer);
return this;
}
///<summary>Specify whether wildcard and prefix queries should be analyzed (default: false)</summary>
public SearchDescriptor<T> AnalyzeWildcard(bool analyze_wildcard = true)
{
this._QueryString.AnalyzeWildcard(analyze_wildcard);
return this;
}
///<summary>The default operator for query string query (AND or OR)</summary>
public SearchDescriptor<T> DefaultOperator(DefaultOperatorOptions default_operator)
{
this._QueryString.DefaultOperator(default_operator);
return this;
}
///<summary>The field to use as default where no field prefix is given in the query string</summary>
public SearchDescriptor<T> Df(string df)
{
this._QueryString.Df(df);
return this;
}
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public SearchDescriptor<T> IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public SearchDescriptor<T> AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public SearchDescriptor<T> ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
///<summary>Comma-separated list of index boosts</summary>
public SearchDescriptor<T> IndicesBoost(params string[] indices_boost)
{
this._QueryString.IndicesBoost(indices_boost);
return this;
}
///<summary>Specify whether format-based query failures (such as providing text to a numeric field) should be ignored</summary>
public SearchDescriptor<T> Lenient(bool lenient = true)
{
this._QueryString.Lenient(lenient);
return this;
}
///<summary>Specify whether query terms should be lowercased</summary>
public SearchDescriptor<T> LowercaseExpandedTerms(bool lowercase_expanded_terms = true)
{
this._QueryString.LowercaseExpandedTerms(lowercase_expanded_terms);
return this;
}
///<summary>Specify the node or shard the operation should be performed on (default: random)</summary>
public SearchDescriptor<T> Preference(string preference)
{
this._QueryString.Preference(preference);
return this;
}
///<summary>A comma-separated list of specific routing values</summary>
public SearchDescriptor<T> Routing(params string[] routing)
{
this._QueryString.Routing(routing);
return this;
}
///<summary>Specify how long a consistent view of the index should be maintained for scrolled search</summary>
public SearchDescriptor<T> Scroll(string scroll)
{
this._QueryString.Scroll(scroll);
return this;
}
///<summary>Search operation type</summary>
public SearchDescriptor<T> SearchType(SearchTypeOptions search_type)
{
this._QueryString.SearchType(search_type);
return this;
}
///<summary>The URL-encoded request definition using the Query DSL (instead of using request body)</summary>
public SearchDescriptor<T> Source(string source)
{
this._QueryString.Source(source);
return this;
}
///<summary>Specific 'tag' of the request for logging and statistical purposes</summary>
public SearchDescriptor<T> Stats(params string[] stats)
{
this._QueryString.Stats(stats);
return this;
}
///<summary>Specify which field to use for suggestions</summary>
public SearchDescriptor<T> SuggestField(string suggest_field)
{
this._QueryString.SuggestField(suggest_field);
return this;
}
///<summary>Specify which field to use for suggestions</summary>
public SearchDescriptor<T> SuggestField(Expression<Func<T, object>> typedPathLookup)
{
typedPathLookup.ThrowIfNull("typedPathLookup");
this._QueryString._SuggestField(typedPathLookup);
return this;
}
///<summary>Specify suggest mode</summary>
public SearchDescriptor<T> SuggestMode(SuggestModeOptions suggest_mode)
{
this._QueryString.SuggestMode(suggest_mode);
return this;
}
///<summary>How many suggestions to return in response</summary>
public SearchDescriptor<T> SuggestSize(int suggest_size)
{
this._QueryString.SuggestSize(suggest_size);
return this;
}
///<summary>The source text for which the suggestions should be returned</summary>
public SearchDescriptor<T> SuggestText(string suggest_text)
{
this._QueryString.SuggestText(suggest_text);
return this;
}
}
///<summary>descriptor for SnapshotCreate
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/modules-snapshots.html
///</pre>
///</summary>
public partial class SnapshotCreateDescriptor
{
internal SnapshotCreateRequestParameters _QueryString = new SnapshotCreateRequestParameters();
///<summary>Explicit operation timeout for connection to master node</summary>
public SnapshotCreateDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Should this request wait until the operation has completed before returning</summary>
public SnapshotCreateDescriptor WaitForCompletion(bool wait_for_completion = true)
{
this._QueryString.WaitForCompletion(wait_for_completion);
return this;
}
}
///<summary>descriptor for SnapshotCreateRepository
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/modules-snapshots.html
///</pre>
///</summary>
public partial class SnapshotCreateRepositoryDescriptor
{
internal SnapshotCreateRepositoryRequestParameters _QueryString = new SnapshotCreateRepositoryRequestParameters();
///<summary>Explicit operation timeout for connection to master node</summary>
public SnapshotCreateRepositoryDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Explicit operation timeout</summary>
public SnapshotCreateRepositoryDescriptor Timeout(string timeout)
{
this._QueryString.Timeout(timeout);
return this;
}
}
///<summary>descriptor for SnapshotDelete
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/modules-snapshots.html
///</pre>
///</summary>
public partial class SnapshotDeleteDescriptor
{
internal SnapshotDeleteRequestParameters _QueryString = new SnapshotDeleteRequestParameters();
///<summary>Explicit operation timeout for connection to master node</summary>
public SnapshotDeleteDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
}
///<summary>descriptor for SnapshotDeleteRepository
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/modules-snapshots.html
///</pre>
///</summary>
public partial class SnapshotDeleteRepositoryDescriptor
{
internal SnapshotDeleteRepositoryRequestParameters _QueryString = new SnapshotDeleteRepositoryRequestParameters();
///<summary>Explicit operation timeout for connection to master node</summary>
public SnapshotDeleteRepositoryDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Explicit operation timeout</summary>
public SnapshotDeleteRepositoryDescriptor Timeout(string timeout)
{
this._QueryString.Timeout(timeout);
return this;
}
}
///<summary>descriptor for SnapshotGet
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/modules-snapshots.html
///</pre>
///</summary>
public partial class SnapshotGetDescriptor
{
internal SnapshotGetRequestParameters _QueryString = new SnapshotGetRequestParameters();
///<summary>Explicit operation timeout for connection to master node</summary>
public SnapshotGetDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
}
///<summary>descriptor for SnapshotGetRepository
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/modules-snapshots.html
///</pre>
///</summary>
public partial class SnapshotGetRepositoryDescriptor
{
internal SnapshotGetRepositoryRequestParameters _QueryString = new SnapshotGetRepositoryRequestParameters();
///<summary>Explicit operation timeout for connection to master node</summary>
public SnapshotGetRepositoryDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public SnapshotGetRepositoryDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
}
///<summary>descriptor for SnapshotRestore
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/modules-snapshots.html
///</pre>
///</summary>
public partial class SnapshotRestoreDescriptor
{
internal SnapshotRestoreRequestParameters _QueryString = new SnapshotRestoreRequestParameters();
///<summary>Explicit operation timeout for connection to master node</summary>
public SnapshotRestoreDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Should this request wait until the operation has completed before returning</summary>
public SnapshotRestoreDescriptor WaitForCompletion(bool wait_for_completion = true)
{
this._QueryString.WaitForCompletion(wait_for_completion);
return this;
}
}
///<summary>descriptor for Suggest
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/search-search.html
///</pre>
///</summary>
public partial class SuggestDescriptor<T>
{
internal SuggestRequestParameters _QueryString = new SuggestRequestParameters();
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
public SuggestDescriptor<T> IgnoreUnavailable(bool ignore_unavailable = true)
{
this._QueryString.IgnoreUnavailable(ignore_unavailable);
return this;
}
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
public SuggestDescriptor<T> AllowNoIndices(bool allow_no_indices = true)
{
this._QueryString.AllowNoIndices(allow_no_indices);
return this;
}
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
public SuggestDescriptor<T> ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
{
this._QueryString.ExpandWildcards(expand_wildcards);
return this;
}
///<summary>Specify the node or shard the operation should be performed on (default: random)</summary>
public SuggestDescriptor<T> Preference(string preference)
{
this._QueryString.Preference(preference);
return this;
}
///<summary>Specific routing value</summary>
public SuggestDescriptor<T> Routing(string routing)
{
this._QueryString.Routing(routing);
return this;
}
///<summary>The URL-encoded request definition (instead of using request body)</summary>
public SuggestDescriptor<T> Source(string source)
{
this._QueryString.Source(source);
return this;
}
}
///<summary>descriptor for TermvectorGet
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/docs-termvectors.html
///</pre>
///</summary>
public partial class TermvectorDescriptor
{
internal TermvectorRequestParameters _QueryString = new TermvectorRequestParameters();
///<summary>Specifies if total term frequency and document frequency should be returned.</summary>
public TermvectorDescriptor TermStatistics(bool term_statistics = true)
{
this._QueryString.TermStatistics(term_statistics);
return this;
}
///<summary>Specifies if document count, sum of document frequencies and sum of total term frequencies should be returned.</summary>
public TermvectorDescriptor FieldStatistics(bool field_statistics = true)
{
this._QueryString.FieldStatistics(field_statistics);
return this;
}
///<summary>A comma-separated list of fields to return.</summary>
public TermvectorDescriptor Fields(params string[] fields)
{
this._QueryString.Fields(fields);
return this;
}
///<summary>A comma-separated list of fields to return.</summary>
public TermvectorDescriptor Fields<T>(params Expression<Func<T, object>>[] typedPathLookups) where T : class
{
if (!typedPathLookups.HasAny())
return this;
this._QueryString._Fields(typedPathLookups);
return this;
}
///<summary>Specifies if term offsets should be returned.</summary>
public TermvectorDescriptor Offsets(bool offsets = true)
{
this._QueryString.Offsets(offsets);
return this;
}
///<summary>Specifies if term positions should be returned.</summary>
public TermvectorDescriptor Positions(bool positions = true)
{
this._QueryString.Positions(positions);
return this;
}
///<summary>Specifies if term payloads should be returned.</summary>
public TermvectorDescriptor Payloads(bool payloads = true)
{
this._QueryString.Payloads(payloads);
return this;
}
///<summary>Specify the node or shard the operation should be performed on (default: random).</summary>
public TermvectorDescriptor Preference(string preference)
{
this._QueryString.Preference(preference);
return this;
}
///<summary>Specific routing value.</summary>
public TermvectorDescriptor Routing(string routing)
{
this._QueryString.Routing(routing);
return this;
}
///<summary>Parent id of documents.</summary>
public TermvectorDescriptor Parent(string parent)
{
this._QueryString.Parent(parent);
return this;
}
}
///<summary>descriptor for Update
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/docs-update.html
///</pre>
///</summary>
public partial class UpdateDescriptor<T,K>
{
internal UpdateRequestParameters _QueryString = new UpdateRequestParameters();
///<summary>Explicit write consistency setting for the operation</summary>
public UpdateDescriptor<T,K> Consistency(ConsistencyOptions consistency)
{
this._QueryString.Consistency(consistency);
return this;
}
///<summary>A comma-separated list of fields to return in the response</summary>
public UpdateDescriptor<T,K> Fields(params string[] fields)
{
this._QueryString.Fields(fields);
return this;
}
///<summary>A comma-separated list of fields to return in the response</summary>
public UpdateDescriptor<T,K> Fields(params Expression<Func<T, object>>[] typedPathLookups)
{
if (!typedPathLookups.HasAny())
return this;
this._QueryString._Fields(typedPathLookups);
return this;
}
///<summary>The script language (default: mvel)</summary>
public UpdateDescriptor<T,K> Lang(string lang)
{
this._QueryString.Lang(lang);
return this;
}
///<summary>ID of the parent document</summary>
public UpdateDescriptor<T,K> Parent(string parent)
{
this._QueryString.Parent(parent);
return this;
}
///<summary>Refresh the index after performing the operation</summary>
public UpdateDescriptor<T,K> Refresh(bool refresh = true)
{
this._QueryString.Refresh(refresh);
return this;
}
///<summary>Specific replication type</summary>
public UpdateDescriptor<T,K> Replication(ReplicationOptions replication)
{
this._QueryString.Replication(replication);
return this;
}
///<summary>Specify how many times should the operation be retried when a conflict occurs (default: 0)</summary>
public UpdateDescriptor<T,K> RetryOnConflict(int retry_on_conflict)
{
this._QueryString.RetryOnConflict(retry_on_conflict);
return this;
}
///<summary>Specific routing value</summary>
public UpdateDescriptor<T,K> Routing(string routing)
{
this._QueryString.Routing(routing);
return this;
}
///<summary>The URL-encoded script definition (instead of using request body)</summary>
public UpdateDescriptor<T,K> ScriptQueryString(string script)
{
this._QueryString.Script(script);
return this;
}
///<summary>Explicit operation timeout</summary>
public UpdateDescriptor<T,K> Timeout(string timeout)
{
this._QueryString.Timeout(timeout);
return this;
}
///<summary>Explicit timestamp for the document</summary>
public UpdateDescriptor<T,K> Timestamp(string timestamp)
{
this._QueryString.Timestamp(timestamp);
return this;
}
///<summary>Expiration time for the document</summary>
public UpdateDescriptor<T,K> Ttl(string ttl)
{
this._QueryString.Ttl(ttl);
return this;
}
///<summary>Explicit version number for concurrency control</summary>
public UpdateDescriptor<T,K> Version(int version)
{
this._QueryString.Version(version);
return this;
}
///<summary>Specific version type</summary>
public UpdateDescriptor<T,K> VersionType(VersionTypeOptions version_type)
{
this._QueryString.VersionType(version_type);
return this;
}
}
}
| 28.013979 | 356 | 0.741199 | [
"Apache-2.0"
] | NickCraver/NEST | src/Nest/DSL/_Descriptors.generated.cs | 142,283 | C# |
namespace CommandsService.DTOs
{
public class PlatformReadDto
{
public int Id { get; init; }
public string Name { get; init; }
}
}
| 16.1 | 41 | 0.590062 | [
"MIT"
] | dbegogow/ASP.NET-Core-Microservices | CommandsService/CommandsService/DTOs/PlatformReadDto.cs | 163 | C# |
using Android.App;
using Android.OS;
using Flowers.Data.ViewModel;
using GalaSoft.MvvmLight.Helpers;
using GalaSoft.MvvmLight.Views;
namespace Flowers
{
[Activity(Label = "Add Comment")]
public partial class AddCommentActivity
{
private Binding<string, string> _saveBinding;
private FlowerViewModel Vm
{
get;
set;
}
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
SetContentView(Resource.Layout.AddComment);
}
}
} | 20.814815 | 55 | 0.622776 | [
"MIT"
] | lbugnion/sample-2015-bbv | Flowers - Start/Flowers.Droid/AddCommentActivity.cs | 562 | C# |
using System;
namespace LottieSharp
{
public class PathInterpolator : IInterpolator
{
public PathInterpolator(float controlX1, float controlY1, float controlX2, float controlY2)
{
InitCubic(controlX1, controlY1, controlX2, controlY2);
}
private static readonly float Precision = 0.002f;
private float[] _mX; // x coordinates in the line
private float[] _mY; // y coordinates in the line
private void InitCubic(float x1, float y1, float x2, float y2)
{
Path path = new Path();
path.MoveTo(0, 0);
path.CubicTo(x1, y1, x2, y2, 1f, 1f);
InitPath(path);
}
private void InitPath(Path path)
{
float[] pointComponents = path.Approximate(Precision);
int numPoints = pointComponents.Length / 3;
if (pointComponents[1] != 0 || pointComponents[2] != 0
|| pointComponents[pointComponents.Length - 2] != 1
|| pointComponents[pointComponents.Length - 1] != 1)
{
//throw new ArgumentException("The Path must start at (0,0) and end at (1,1)");
}
_mX = new float[numPoints];
_mY = new float[numPoints];
float prevX = 0;
float prevFraction = 0;
int componentIndex = 0;
for (int i = 0; i < numPoints; i++)
{
float fraction = pointComponents[componentIndex++];
float x = pointComponents[componentIndex++];
float y = pointComponents[componentIndex++];
if (fraction == prevFraction && x != prevX)
{
throw new ArgumentException("The Path cannot have discontinuity in the X axis.");
}
if (x < prevX)
{
//throw new ArgumentException("The Path cannot loop back on itself.");
}
_mX[i] = x;
_mY[i] = y;
prevX = x;
prevFraction = fraction;
}
}
public float GetInterpolation(float t)
{
if (t <= 0 || float.IsNaN(t))
{
return 0;
}
if (t >= 1)
{
return 1;
}
// Do a binary search for the corRectangleF x to interpolate between.
int startIndex = 0;
int endIndex = _mX.Length - 1;
while (endIndex - startIndex > 1)
{
int midIndex = (startIndex + endIndex) / 2;
if (t < _mX[midIndex])
{
endIndex = midIndex;
}
else
{
startIndex = midIndex;
}
}
float xRange = _mX[endIndex] - _mX[startIndex];
if (xRange == 0)
{
return _mY[startIndex];
}
float tInRange = t - _mX[startIndex];
float fraction = tInRange / xRange;
float startY = _mY[startIndex];
float endY = _mY[endIndex];
return startY + (fraction * (endY - startY));
}
}
} | 32.144231 | 101 | 0.463655 | [
"Apache-2.0"
] | Mohadin/LottieSharp | LottieSharp/PathInterpolator.cs | 3,343 | C# |
namespace Barista.Consistency.Activities
{
public interface IHasSourceEventData
{
ISourceEventData SourceEventData { get; }
}
}
| 18.625 | 49 | 0.704698 | [
"MIT"
] | nesfit/Coffee | Barista.Consistency/Activities/IHasSourceEventData.cs | 151 | C# |
using DependencyInversion.Certo.Interfaces;
namespace DependencyInversion.Certo
{
public class ChaveAmericasService : IChaveAmericasService
{
public bool EhValida(string chaveAmericas)
{
return PossuiConteudo(chaveAmericas) && TamanhoValido(chaveAmericas);
}
private static bool TamanhoValido(string chaveAmericas)
{
return chaveAmericas.Length <= 10;
}
private static bool PossuiConteudo(string chaveAmericas)
{
return string.IsNullOrWhiteSpace(chaveAmericas);
}
}
} | 26.863636 | 81 | 0.658206 | [
"MIT"
] | WendelEstrada/Estudos | 1 - SOLID/5 - DependencyInversion/Certo/ChaveAmericasService.cs | 593 | C# |
using CadastroCliente.Helpers;
using CadastroCliente.Methods;
using CadastroCliente.Models;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace CadastroCliente.Controllers
{
[ApiController]
[Route("api/[controller]")]
public class CadastroClienteController : ControllerBase
{
private readonly ILogger<CadastroClienteController> _logger;
public CadastroClienteController(ILogger<CadastroClienteController> logger)
{
_logger = logger;
}
[HttpGet("ListarClientes")]
public IActionResult ListarClientes()
{
var getClientes = new ListarDadosCliente();
var result = getClientes.ListarDados();
if (result != null)
{
return Ok(result);
}
return NotFound(Messages.CLIENTES_NAO_ENCONTRADOS);
}
[HttpPost("AdicionarCliente")]
public IActionResult AdicionarCliente([FromBody] Cliente model)
{
var postClientes = new InserirDadosCliente();
var result = postClientes.InserirDados(model.Nome, model.DataNascimento, model.Sexo, model.Cep,
model.Endereco, model.Numero, model.Complemento, model.Bairro,
model.Estado, model.Cidade);
if (result != null)
{
return Ok(result);
}
return BadRequest(Messages.CLIENTE_FALTANDO_DADOS);
}
[HttpPut("EditarCliente")]
public IActionResult EditarCliente([FromBody] Cliente model)
{
var putCliente = new EditarDadosCliente();
var result = putCliente.EditarDados(model.ID, model.Nome, model.DataNascimento, model.Sexo, model.Cep,
model.Endereco, model.Numero, model.Complemento, model.Bairro,
model.Estado, model.Cidade);
if (result != null)
{
return Ok(result);
}
return BadRequest(Messages.CLIENTE_ERRO_AO_EDITAR_DADOS);
}
[HttpDelete("RemoverCliente")]
public IActionResult RemoverCliente([FromBody] Cliente model)
{
var deleteCliente = new RemoverDadosCliente();
var result = deleteCliente.RemoverDados(model.ID);
if (result != null)
{
return Ok(result);
}
return BadRequest(Messages.CLIENTE_ERRO_AO_REMOVER);
}
}
}
| 33.719512 | 120 | 0.548644 | [
"BSD-3-Clause"
] | lucaslrc/CadastroCliente | Controllers/CadastroClienteController.cs | 2,767 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MySql.Data.MySqlClient;
namespace CUMple
{
public partial class formadmin : Form
{
public formadmin()
{
InitializeComponent();
}
MySqlConnection conexionprograma = new MySqlConnection("Server=localhost; Database=programa; uid=root; pwd=;");
private void formadmin_Load(object sender, EventArgs e)
{
MySqlDataReader lectordedatos;
string comand = "Select nomcompleto from discipulos;";
conexionprograma.Open();
MySqlCommand comando = new MySqlCommand(comand, conexionprograma);
lectordedatos = comando.ExecuteReader();
while (lectordedatos.Read())
{
cmbalumnosexistentes.Items.Add(lectordedatos["nomcompleto"].ToString());
}
conexionprograma.Close();
}
private void botingprog_Click(object sender, EventArgs e)
{
new Principal("Adm").Show();
this.Dispose();
}
private void botcrearus_Click(object sender, EventArgs e)
{
if (cmbalumnosexistentes.SelectedIndex != -1) {
new Userprofile(cmbalumnosexistentes.SelectedItem.ToString(), cmbalumnosexistentes.SelectedIndex).Show();
this.Dispose();
}
else
{
MessageBox.Show("Debe seleccionar un discipulo primero");
}
}
private void btnbuscardis_Click(object sender, EventArgs e)
{
new Userprofile(cmbalumnosexistentes.SelectedItem.ToString(),2).Show();
this.Dispose();
}
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
{
}
private void cerrar_Click(object sender, EventArgs e)
{
Application.Exit();
}
private void pictureBox1_Click(object sender, EventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)
{
new Userprofileadd().Show();
this.Dispose();
}
private void cmbalumnosexistentes_KeyPress(object sender, KeyPressEventArgs e)
{
if ((e.KeyChar >= 33 && e.KeyChar <= 96) || (e.KeyChar >= 123 && e.KeyChar <= 225))
{
MessageBox.Show("Solo letras", "Alerta", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
e.Handled = true;
return;
}
}
private void txbapellidofiltrar_KeyPress(object sender, KeyPressEventArgs e)
{
if (((e.KeyChar < 65 && e.KeyChar != 8) || (e.KeyChar > 90 && e.KeyChar < 97) || (e.KeyChar > 122 && e.KeyChar != 130 && e.KeyChar < 160) || e.KeyChar > 165) && e.KeyChar != Convert.ToChar(Keys.Space))
{
MessageBox.Show("Solo letras permitidas", "Alerta", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
e.Handled = true;
return;
}
}
public void actualizarfiltrado()
{
if (txbapellidofiltrar.Text == "")
{
cmbalumnosexistentes.Items.Clear();
MySqlDataReader lectordedatos;
string comand = "Select nomcompleto from discipulos;";
conexionprograma.Open();
MySqlCommand comando = new MySqlCommand(comand, conexionprograma);
lectordedatos = comando.ExecuteReader();
while (lectordedatos.Read())
{
cmbalumnosexistentes.Items.Add(lectordedatos["nomcompleto"].ToString());
}
conexionprograma.Close();
}
else
{
cmbalumnosexistentes.Items.Clear();
MySqlDataReader lectordedatos;
string buscar = "Select nomcompleto from discipulos where nomcompleto like '%" + txbapellidofiltrar.Text + "%'";
conexionprograma.Open();
MySqlCommand comando = new MySqlCommand(buscar, conexionprograma);
lectordedatos = comando.ExecuteReader();
while (lectordedatos.Read())
{
cmbalumnosexistentes.Items.Add(lectordedatos["nomcompleto"].ToString());
}
conexionprograma.Close();
}
}
private void lblxd_Click(object sender, EventArgs e)
{
}
private void cerrarclic_Click(object sender, EventArgs e)
{
Application.Exit();
}
private void minimizar_Click(object sender, EventArgs e)
{
WindowState = FormWindowState.Minimized;
}
private void maximizar_Click(object sender, EventArgs e)
{
WindowState = FormWindowState.Maximized;
maximizar.Visible = false;
restaurar.Visible = true;
}
private void restaurar_Click(object sender, EventArgs e)
{
WindowState = FormWindowState.Normal;
restaurar.Visible = false;
maximizar.Visible = true;
}
public const int WM_NCLBUTTONDOWN = 0xA1;
public const int HT_CAPTION = 0x2;
[System.Runtime.InteropServices.DllImport("user32.dll")]
public static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, int lParam);
[System.Runtime.InteropServices.DllImport("user32.dll")]
public static extern bool ReleaseCapture();
private void panel1_MouseDown(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
ReleaseCapture();
SendMessage(Handle, WM_NCLBUTTONDOWN, HT_CAPTION, 0);
}
}
private void formadmin_MouseDown(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
ReleaseCapture();
SendMessage(Handle, WM_NCLBUTTONDOWN, HT_CAPTION, 0);
}
}
private void panel2_MouseDown(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
ReleaseCapture();
SendMessage(Handle, WM_NCLBUTTONDOWN, HT_CAPTION, 0);
}
}
private void button2_Click(object sender, EventArgs e)
{
new Editarusuarios().Show();
this.Dispose();
}
private void txbapellidofiltrar_TextChanged(object sender, EventArgs e)
{
actualizarfiltrado();
}
}
}
| 32.976077 | 213 | 0.561376 | [
"MIT"
] | 3-BE-2021-proyecto-SaFe-EmRo-FraLa-RiSu/Proyecto | CUMple/CUMple/Administrador.cs | 6,894 | C# |
namespace ModelGraph.Core
{
public abstract class Path : Item
{
internal abstract Item Head { get; }
internal abstract Item Tail { get; }
internal abstract Query Query { get; }
internal abstract double Width { get; }
internal abstract double Height { get; }
internal abstract Path[] Paths { get; }
internal int Count => (Paths == null) ? 0 : Paths.Length;
internal void Reverse() { IsReversed = !IsReversed; }
protected int Last => Count - 1;
internal override State State { get; set; }
}
}
| 30.842105 | 65 | 0.600683 | [
"MIT"
] | davetz/ModelGraph2 | ModelGraph/ModelGraph.Core/Graph/Path/Path.cs | 588 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace EphIt.Db.Enums
{
public enum JobLogLevelEnum : short
{
Information,
Verbose,
Debug,
Progress,
Error,
Exception,
Warning
}
}
| 14.736842 | 39 | 0.564286 | [
"MIT"
] | Eph-It/Automation | src/EphIt/Classlibraries/EphIt.Db/Enums/JobLogLevelEnum.cs | 282 | C# |
using UnityEngine;
using System.Collections;
public class ParamsBind : MonoBehaviour
{
public string ParamsName;
public GameObject[] GameObjectParams;
public string[] StringParams;
public int[] IntParams;
public float[] FloatParams;
public Color[] ColorParams;
}
| 22.307692 | 41 | 0.731034 | [
"MIT"
] | ntfox0001/yuan | Assets/Script/Kernel/System/Script/ParamsBind.cs | 292 | C# |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/imapi.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using System;
using System.Runtime.InteropServices;
using static TerraFX.Interop.Windows;
namespace TerraFX.Interop.UnitTests
{
/// <summary>Provides validation of the <see cref="IEnumDiscRecorders" /> struct.</summary>
public static unsafe partial class IEnumDiscRecordersTests
{
/// <summary>Validates that the <see cref="Guid" /> of the <see cref="IEnumDiscRecorders" /> struct is correct.</summary>
[Test]
public static void GuidOfTest()
{
Assert.That(typeof(IEnumDiscRecorders).GUID, Is.EqualTo(IID_IEnumDiscRecorders));
}
/// <summary>Validates that the <see cref="IEnumDiscRecorders" /> struct is blittable.</summary>
[Test]
public static void IsBlittableTest()
{
Assert.That(Marshal.SizeOf<IEnumDiscRecorders>(), Is.EqualTo(sizeof(IEnumDiscRecorders)));
}
/// <summary>Validates that the <see cref="IEnumDiscRecorders" /> struct has the right <see cref="LayoutKind" />.</summary>
[Test]
public static void IsLayoutSequentialTest()
{
Assert.That(typeof(IEnumDiscRecorders).IsLayoutSequential, Is.True);
}
/// <summary>Validates that the <see cref="IEnumDiscRecorders" /> struct has the correct size.</summary>
[Test]
public static void SizeOfTest()
{
if (Environment.Is64BitProcess)
{
Assert.That(sizeof(IEnumDiscRecorders), Is.EqualTo(8));
}
else
{
Assert.That(sizeof(IEnumDiscRecorders), Is.EqualTo(4));
}
}
}
}
| 37.461538 | 145 | 0.640657 | [
"MIT"
] | DaZombieKiller/terrafx.interop.windows | tests/Interop/Windows/um/imapi/IEnumDiscRecordersTests.cs | 1,950 | C# |
using AS.Admin.Validators;
using AS.Infrastructure;
using AS.Infrastructure.Web.Mvc;
using FluentValidation.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
namespace AS.Admin.Models
{
[Validator(typeof(RoleValidator))]
public class RoleModel : ASModelBase
{
public int Id { get; set; }
public string Name { get; set; }
[Optional]
[DataType(DataType.MultilineText)]
public string Note { get; set; }
public DateTime? ModifiedOn { get; set; }
public DateTime CreatedOn { get; set; }
public RoleModel()
{
this.Id = default(int);
}
}
} | 23.785714 | 49 | 0.632132 | [
"MIT"
] | bartizo12/ASAdmin | src/AS.Admin/Models/Roles/RoleModel.cs | 668 | C# |
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayOpenBpaasAppPublishModel Data Structure.
/// </summary>
[Serializable]
public class AlipayOpenBpaasAppPublishModel : AopObject
{
/// <summary>
/// 应用版本号, 要求为纯数字,如10.20.1.1等 必须4位
/// </summary>
[XmlElement("app_version")]
public string AppVersion { get; set; }
/// <summary>
/// bpaas 应用id
/// </summary>
[XmlElement("bpaas_app_id")]
public string BpaasAppId { get; set; }
/// <summary>
/// 应用版本变更记录
/// </summary>
[XmlElement("change_log")]
public string ChangeLog { get; set; }
/// <summary>
/// 文件SHA256摘要信息
/// </summary>
[XmlElement("file_digest")]
public string FileDigest { get; set; }
/// <summary>
/// 文件MD5值
/// </summary>
[XmlElement("file_md_5")]
public string FileMd5 { get; set; }
/// <summary>
/// 应用包文件大小
/// </summary>
[XmlElement("package_file_size")]
public long PackageFileSize { get; set; }
/// <summary>
/// 应用包下载地址,公开url
/// </summary>
[XmlElement("scm_download_url")]
public string ScmDownloadUrl { get; set; }
}
}
| 25.527273 | 60 | 0.504274 | [
"Apache-2.0"
] | 554393109/alipay-sdk-net-all | AlipaySDKNet.Standard/Domain/AlipayOpenBpaasAppPublishModel.cs | 1,510 | C# |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace TopTests.DAL.Migrations
{
public partial class admin : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.InsertData(
table: "Users",
columns: new[] { "Id", "CodeOfVerification", "DateCreated", "DateModified", "Email", "FirstName", "HashPassword", "IsDeleted", "LastName", "ModifiedBy", "RoleOfUser", "Salt", "StatusOfVerification" },
values: new object[] { 1, null, new DateTime(2021, 1, 17, 15, 32, 37, 690, DateTimeKind.Local).AddTicks(864), new DateTime(2021, 1, 17, 15, 32, 37, 694, DateTimeKind.Local).AddTicks(8), "admin@admin.com", "Admin", "yy+OiucDVuyxoqAAerlTgLrwvvim0wsd0duyRI0K6nw+Wq6GHNRjegMIHDdjzofx7oC8aLAmc+HvIVwJHT3tOAzuxY2kyl08HhH4u7smM75sjcMJ/hkQ+FSjfOb6hqESQVMFTughKfspr/K73XLaOsjW/HYBJORjI/9pGCMaR95Sju+Jw6WaFYdK9zex/xs07WrR/+ils8jP902eTmv4CyA6bsPnbmVYDREy0A5hoBaDkgwBwu3xrm37rD1Tg/uk0cWmSxTX7h8KywE1wWuAF/9oW18WM9Leia/ihtTQdBRoCCGsX/AcDqoMzdnkXTvzdPbqjBpVo12CnxZMz0YUkg==", false, "", null, 2, null, "Active" });
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DeleteData(
table: "Users",
keyColumn: "Id",
keyValue: 1);
}
}
}
| 55.32 | 616 | 0.688359 | [
"Apache-2.0"
] | Bohdan-creator/TOPTests | Serwer/TopTests.DAL/Migrations/20210117143238_admin.cs | 1,385 | C# |
// 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 Windows.UI.Composition;
namespace Microsoft.Toolkit.Uwp.UI.Animations
{
/// <summary>
/// A blur radius animation working on the composition layer.
/// </summary>
public sealed class BlurRadiusDropShadowAnimation : ShadowAnimation<double?, double>
{
/// <inheritdoc/>
protected override string ExplicitTarget => nameof(DropShadow.BlurRadius);
/// <inheritdoc/>
protected override (double?, double?) GetParsedValues()
{
return (To, From);
}
}
} | 32.130435 | 88 | 0.669824 | [
"MIT"
] | Arlodotexe/WindowsCommunityToolkit | Microsoft.Toolkit.Uwp.UI.Animations/Xaml/Shadows/BlurRadiusDropShadowAnimation.cs | 739 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Playnite.SDK
{
/// <summary>
/// Describes addons API interface.
/// </summary>
public interface IAddons
{
/// <summary>
/// Gets ID list of disabled addons.
/// </summary>
List<string> DisabledAddons { get; }
/// <summary>
/// Gets ID list of currently installed addons.
/// </summary>
List<string> Addons { get; }
/// <summary>
/// Gets list of currently loaded plugins.
/// </summary>
List<Plugins.Plugin> Plugins { get; }
}
}
| 23.633333 | 56 | 0.545839 | [
"MIT"
] | FenDIY/Worknite | source/PlayniteSDK/IAddons.cs | 711 | C# |
using System;
using Backend.Fx.Logging;
using Backend.Fx.Patterns.DependencyInjection;
using Microsoft.AspNetCore.SignalR;
namespace Backend.Fx.AspNetCore.Mvc.Activators
{
public class BackendFxApplicationHubActivator<T> : IHubActivator<T> where T : Hub
{
private readonly IBackendFxApplication _backendFxApplication;
private static readonly ILogger Logger = LogManager.Create<BackendFxApplicationHubActivator<T>>();
public BackendFxApplicationHubActivator(IBackendFxApplication backendFxApplication)
{
_backendFxApplication = backendFxApplication;
}
public T Create()
{
var ip = _backendFxApplication.CompositionRoot.InstanceProvider;
Logger.Debug($"Providing {typeof(T).Name} using {ip.GetType().Name}");
return ip.GetInstance<T>();
}
public void Release(T hub)
{
Logger.Trace($"Releasing {hub.GetType().Name}");
if (hub is IDisposable disposable)
{
Logger.Debug($"Disposing {hub.GetType().Name}");
disposable.Dispose();
}
}
}
} | 31.675676 | 106 | 0.635666 | [
"MIT"
] | marcwittke/Backend.Fx | src/environments/Backend.Fx.AspNetCore/Mvc/Activators/BackendFxApplicationHubActivator.cs | 1,172 | C# |
using System.IO;
using System.Threading.Tasks;
namespace LocalPublisherWebApp
{
public static class Resources
{
public async static Task<string?> GetEmbeddedResource(this string name)
{
var resourceName = $"{typeof(Resources).FullName}.{name}";
using (var resourceStream = typeof(Resources).Assembly.GetManifestResourceStream(resourceName))
{
if (resourceStream == null)
return await Task.FromResult<string?>(null);
using (var reader = new StreamReader(resourceStream))
return await reader.ReadToEndAsync();
}
}
}
}
| 30.681818 | 107 | 0.601481 | [
"MIT"
] | cliveontoast/SENEC.Home-V2-publisher | LocalPublisher.WebApp/Extensions/Resources.cs | 677 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.