##// END OF EJS Templates
Fixed promise rejection when there is not specified error handler in the reaction....
Fixed promise rejection when there is not specified error handler in the reaction. FIXED SPELLING IN THE XML CONTAINER CONFIGURATION signleton->singleton Code cleanup Update tests make them working on dotnet core

File last commit:

r289:95896f882995 v3.0.14 v3
r295:28af686e24f7 default
Show More
NestedTypeReference.cs
47 lines | 1.2 KiB | text/x-csharp | CSharpLexer
cin
Added tests for Implab.ServiceHost.Unity configuration loader.
r289 using System;
using System.Text;
namespace Implab.ServiceHost.Unity {
public class NestedTypeReference : TypeReference {
readonly string m_name;
readonly int m_genericParametersCount;
public TypeReference DeclaringType { get; private set; }
public override string Name {
get {
return m_name;
}
}
public override string Namespace {
get {
return DeclaringType.Namespace;
}
}
public override int GenericParametersCount {
get {
return m_genericParametersCount;
}
}
internal NestedTypeReference(TypeReference declaringType, string name, int parametersCount) {
DeclaringType = declaringType;
m_name = name;
m_genericParametersCount = parametersCount;
}
internal override void Visit(TypeResolutionContext visitor) {
visitor.Visit(this);
}
internal override void WriteTypeName(StringBuilder builder) {
builder
.Append(DeclaringType)
.Append('+')
.Append(Name);
}
}
}