Beispiel #1
0
        /*--------------------------------------------------------------------------------------------*/
        private static FabFactor ConvertFactor(IDataDto pDto)
        {
            var dom = new Factor();

            FillFactor(pDto, dom);
            return(DomainToApi.FromFactor(dom));
        }
Beispiel #2
0
        /*--------------------------------------------------------------------------------------------*/
        private static FabInstance ConvertInstance(IDataDto pDto)
        {
            var dom = new Instance();

            FillInstance(pDto, dom);
            return(DomainToApi.FromInstance(dom));
        }
Beispiel #3
0
        /*--------------------------------------------------------------------------------------------*/
        private static FabArtifact ConvertArtifact(IDataDto pDto)
        {
            var dom = new Artifact();

            FillArtifact(pDto, dom);
            return(DomainToApi.FromArtifact(dom));
        }
Beispiel #4
0
        /*--------------------------------------------------------------------------------------------*/
        private static FabClass ConvertClass(IDataDto pDto)
        {
            var dom = new Class();

            FillClass(pDto, dom);
            return(DomainToApi.FromClass(dom));
        }
Beispiel #5
0
        ////////////////////////////////////////////////////////////////////////////////////////////////
        /*--------------------------------------------------------------------------------------------*/
        private static FabApp ConvertApp(IDataDto pDto)
        {
            var dom = new App();

            FillApp(pDto, dom);
            return(DomainToApi.FromApp(dom));
        }
Beispiel #6
0
        /*--------------------------------------------------------------------------------------------*/
        private static FabVertex ConvertVertex(IDataDto pDto)
        {
            var dom = new Vertex();

            FillVertex(pDto, dom);
            return(DomainToApi.FromVertex(dom));
        }
Beispiel #7
0
        /*--------------------------------------------------------------------------------------------*/
        private static FabUser ConvertUser(IDataDto pDto)
        {
            var dom = new User();

            FillUser(pDto, dom);
            return(DomainToApi.FromUser(dom));
        }
Beispiel #8
0
        /*--------------------------------------------------------------------------------------------*/
        private static FabUrl ConvertUrl(IDataDto pDto)
        {
            var dom = new Url();

            FillUrl(pDto, dom);
            return(DomainToApi.FromUrl(dom));
        }
Beispiel #9
0
        /*--------------------------------------------------------------------------------------------*/
        private static FabMember ConvertMember(IDataDto pDto)
        {
            var dom = new Member();

            FillMember(pDto, dom);
            return(DomainToApi.FromMember(dom));
        }