예제 #1
0
        public static UnitFactor Create(UnitFactorView view)
        {
            var d = new UnitFactorData();

            Copy.Members(view, d);
            return(new UnitFactor(d));
        }
예제 #2
0
        public static UnitFactorView Create(UnitFactor obj)
        {
            var view = new UnitFactorView();

            Copy.Members(obj.Data, view);
            return(view);
        }