This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private renderContent(value:any, record: any, index: number) { | |
const obj = { | |
children: value, | |
attrs: {}, | |
}; | |
if (index === 4) { | |
obj.attrs.colSpan = 0; | |
} | |
return obj; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class DemoModule : AbpModule | |
{ | |
public override void PreInitialize() | |
{ | |
IocManager.AddConventionalRegistrar(new NamedConventionalRegistrar()); | |
} | |
public override void Initialize() | |
{ | |
this.IocManager.RegisterAssemblyByConvention(Assembly.GetExecutingAssembly()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using NSubstitute; | |
using Ploeh.AutoFixture; | |
using Ploeh.AutoFixture.AutoNSubstitute; | |
using Ploeh.AutoFixture.Xunit; | |
using Xunit.Extensions; | |
namespace AutofixtureDemo | |
{ | |
public class AutoNSubstituteDemo | |
{ |