static CableTypesRepository() { CustomCableType = new CableType() { Name = CustomCableTypeName, Resistivity = 0.05 }; CableTypes = new List<CableType>(); }
public CableTypeViewModel(CableType cableType) { CableType = cableType; _name = CableType.Name; _resistivity = CableType.Resistivity; }