C# Class Prizm.Main.Forms.Settings.SettingsViewModel

Inheritance: ViewModelBase, ISupportModifiableView, IDisposable
Mostrar archivo Open project: AleksMorozova/prizm Class Usage Examples

Public Properties

Property Type Description
JointOperationTypes IList>

Public Methods

Method Description
AddNewManufacturer ( string newManufacturerName ) : void
AddPermissionToRole ( Role role, Permission p ) : void
AddRoleToUser ( Role role, User user ) : void
Dispose ( ) : void
LoadData ( ) : void
NewPipeMillSizeType ( ) : void
RemovePermissionFromRole ( Role role, Permission p ) : void
RemoveRoleFromUser ( Role role, User user ) : void
RoleHasPermission ( Role role, Permission perm ) : bool

Private Methods

Method Description
GetAllCertificateTypes ( ) : void
GetAllComponentryTypes ( ) : void
GetAllInspectors ( ) : void
GetAllJointOperations ( ) : void
GetAllManufacturers ( ) : void
GetAllPermissions ( ) : void
GetAllPipeMillSizeType ( ) : void
GetAllRoles ( ) : void
GetAllSeamTypes ( ) : void
GetAllUsers ( ) : void
GetAllWelders ( ) : void
GetProjectSettings ( ) : void
LoadJointOperationTypes ( ) : void
SettingsViewModel ( ISettingsRepositories repos, IUserNotify notify, ISecurityContext ctx ) : Prizm.Data.DAL.Mill
UpdatePipeTests ( object sizeType ) : void
UserHasRole ( User user, Role role ) : bool

Method Details

AddNewManufacturer() public method

public AddNewManufacturer ( string newManufacturerName ) : void
newManufacturerName string
return void

AddPermissionToRole() public method

public AddPermissionToRole ( Role role, Permission p ) : void
role Prizm.Domain.Entity.Security.Role
p Prizm.Domain.Entity.Security.Permission
return void

AddRoleToUser() public method

public AddRoleToUser ( Role role, User user ) : void
role Prizm.Domain.Entity.Security.Role
user Prizm.Domain.Entity.Security.User
return void

Dispose() public method

public Dispose ( ) : void
return void

LoadData() public method

public LoadData ( ) : void
return void

NewPipeMillSizeType() public method

public NewPipeMillSizeType ( ) : void
return void

RemovePermissionFromRole() public method

public RemovePermissionFromRole ( Role role, Permission p ) : void
role Prizm.Domain.Entity.Security.Role
p Prizm.Domain.Entity.Security.Permission
return void

RemoveRoleFromUser() public method

public RemoveRoleFromUser ( Role role, User user ) : void
role Prizm.Domain.Entity.Security.Role
user Prizm.Domain.Entity.Security.User
return void

RoleHasPermission() public method

public RoleHasPermission ( Role role, Permission perm ) : bool
role Prizm.Domain.Entity.Security.Role
perm Prizm.Domain.Entity.Security.Permission
return bool

Property Details

JointOperationTypes public_oe property

public IList> JointOperationTypes
return IList>