public CodeNamespace Build(HangfireQueueInterface eventStore) { var codeNamespace = _nameSpaceBuilderUtil.WithName(_nameSpace).WithDomain().WithTask().WithList().Build(); var codeTypeDeclaration = _interfaceBuilderUtil.Build(eventStore); codeNamespace.Types.Add(codeTypeDeclaration); return(codeNamespace); }
public CodeNamespace Build(EventStoreRepositoryInterface hookClass) { var targetClass = _interfaceBuilderUtil.Build(hookClass); var nameSpace = _nameSpaceBuilderUtil.WithName(_nameSpace).WithDomain().WithTask().WithList().Build(); nameSpace.Types.Add(targetClass); return(nameSpace); }
public CodeNamespace Build(QueueRepositoryInterface repo) { var codeNamespace = _nameSpaceBuilderUtil.WithName(_nameSpace).WithDomain().WithTask().WithList().Build(); var codeTypeDeclaration = _interfaceBuilderUtil.Build(repo); codeNamespace.Types.Add(codeTypeDeclaration); return(codeNamespace); }
public CodeNamespace Build(DomainHookBaseClass hookClass) { var targetClass = _interfaceBuilderUtil.Build(hookClass); var nameSpace = _nameSpaceBuilderUtil.WithName(_nameSpace).WithDomain().WithTask().Build(); _propertyBuilderUtil.BuildForInterface(targetClass, hookClass.Properties); nameSpace.Types.Add(targetClass); return(nameSpace); }