internal Entity(Asset asset, IEntityFieldTypeResolver typeResolver) : base(asset) { Id = asset.Oid.Momentless.ToString(); TypeName = asset.AssetType.Token; TypeResolver = typeResolver; }
public virtual void SetUp() { LoggerMock = Repository.Stub<ILogger>(); V1ProcessorMock = Repository.StrictMock<IVersionOneProcessor>(); TypeResolverMock = Repository.StrictMock<IEntityFieldTypeResolver>(); ComponentRepository.Instance.Register(LoggerMock); ComponentRepository.Instance.Register(V1ProcessorMock); }
internal static new PrimaryWorkitem Create(Asset asset, IDictionary<string, PropertyValues> listPropertyValues, IEntityFieldTypeResolver typeResolver, IList<Member> owners = null) { switch(asset.AssetType.Token) { case VersionOneProcessor.StoryType: return new Story(asset, listPropertyValues, typeResolver, owners); case VersionOneProcessor.DefectType: return new Defect(asset, listPropertyValues, typeResolver, owners); default: throw new NotSupportedException("Type " + asset.AssetType.Token + " is not supported in factory method"); } }
internal BuildRun(Asset asset, IDictionary <string, PropertyValues> listValues, IEntityFieldTypeResolver typeResolver) : base(asset, typeResolver) { ListValues = listValues; }
protected internal FeatureGroup(Asset asset, IDictionary<string, PropertyValues> listValues, IList<Workitem> children, IList<Member> owners, IEntityFieldTypeResolver typeResolver) : base(asset, listValues, owners, typeResolver) { Children = children; }
protected internal FeatureGroup(Asset asset, IDictionary <string, PropertyValues> listValues, IList <Workitem> children, IList <Member> owners, IEntityFieldTypeResolver typeResolver) : base(asset, listValues, owners, typeResolver) { Children = children; }
internal Workitem(Asset asset, IDictionary <string, PropertyValues> listValues, IEntityFieldTypeResolver typeResolver) : this(asset, typeResolver) { ListValues = listValues; }
internal protected PrimaryWorkitem(Asset asset, IDictionary <string, PropertyValues> listValues, IEntityFieldTypeResolver typeResolver, IList <Member> owners = null) : base(asset, listValues, owners, typeResolver) { }
internal protected PrimaryWorkitem(Asset asset, IDictionary<string, PropertyValues> listValues, IEntityFieldTypeResolver typeResolver, IList<Member> owners = null) : base(asset, listValues, owners, typeResolver) { }
private Workitem(Asset asset, IEntityFieldTypeResolver typeResolver) : base(asset, typeResolver) { }
protected internal PrimaryWorkitem(Asset asset, IDictionary<string, PropertyValues> listValues, IEntityFieldTypeResolver typeResolver) : base(asset, listValues, typeResolver) { }
internal Workitem(Asset asset, IDictionary<string, PropertyValues> listValues, IEntityFieldTypeResolver typeResolver) : this(asset, typeResolver) { ListValues = listValues; }
internal Workitem(Asset asset, IDictionary<string, PropertyValues> listValues, IList<Member> owners, IEntityFieldTypeResolver typeResolver) : this(asset, listValues, typeResolver) { Owners = owners; }
internal BuildRun(Asset asset, IDictionary<string, PropertyValues> listValues, IEntityFieldTypeResolver typeResolver) : base(asset, typeResolver) { ListValues = listValues; }
protected internal Defect(Asset asset, IDictionary <string, PropertyValues> listValues, IEntityFieldTypeResolver typeResolver, IList <Member> owners = null) : base(asset, listValues, typeResolver, owners) { }
internal Task(Asset asset, IDictionary <string, PropertyValues> listValues, IList <Member> owners, IEntityFieldTypeResolver typeResolver) : base(asset, listValues, owners, typeResolver) { }
internal Test(Asset asset, IDictionary<string, PropertyValues> listValues, IList<Member> owners, IEntityFieldTypeResolver typeResolver) : base(asset, listValues, owners, typeResolver) { }
protected internal TestSet(Asset asset, IDictionary<string, PropertyValues> listValues, IEntityFieldTypeResolver typeResolver, IList<Member> owners = null) : base(asset, listValues, typeResolver, owners) { }
internal static new PrimaryWorkitem Create(Asset asset, IDictionary <string, PropertyValues> listPropertyValues, IEntityFieldTypeResolver typeResolver, IList <Member> owners = null) { switch (asset.AssetType.Token) { case VersionOneProcessor.StoryType: return(new Story(asset, listPropertyValues, typeResolver, owners)); case VersionOneProcessor.DefectType: return(new Defect(asset, listPropertyValues, typeResolver, owners)); default: throw new NotSupportedException("Type " + asset.AssetType.Token + " is not supported in factory method"); } }
internal Workitem(Asset asset, IDictionary <string, PropertyValues> listValues, IList <Member> owners, IEntityFieldTypeResolver typeResolver) : this(asset, listValues, typeResolver) { Owners = owners; }