public PsnVirtualParameterSimple(IUid id, string name, string expression, IEnumerable <IPsnVirtualParameterPart> parts) { _id = id; _name = name; _expression = expression; _parts = parts; }
public MyRepository(IBaseRepository _baseRepository, IUid uid) { _baseRepository = baseRepository; _uid = uid; _anotherClass = BaseRepository.Db.SingleOrDefault <AnotherClass>(); //another logic in here.... }
protected Entity(IUid uid) { _Reset(); Guid = uid.Guid; Version = uid.Version; } // End of Custom Constructor
public PsnConfigurationInformationSimple(IUid id, string name, string description, string version, string rpdId) { _id = id; _name = name; _description = description; _version = version; _rpdId = rpdId; }
public Section(IUid deviceInformationId, string name, IWorker <Action> backWorker, IDeviceInformationStorage backStorage) { _deviceInformationId = deviceInformationId; _name = name; _backWorker = backWorker; _backStorage = backStorage; Faults = new ObservableCollection <IFaultLog>(); Psns = new ObservableCollection <IPsnLog>(); }
public PsnCommandPartInfoSimple(IUid id, string partName, PsnCommandPartType partType, List <IDefinedPsnParameterInfo> defParams, List <IVariablePsnParameterInfo> varParams, int length, int offset, IDefinedPsnParameterInfo address, IDefinedPsnParameterInfo commandCode, IVariablePsnParameterInfo crcLow, IVariablePsnParameterInfo crcHigh, IUid commandId) { _id = id; _partName = partName; _partType = partType; _defParams = defParams; _varParams = varParams; _length = length; _offset = offset; _address = address; _commandCode = commandCode; _crcLow = crcLow; _crcHigh = crcHigh; _commandId = commandId; }
public PsnVirtualParameterPartSimple(IUid realParameterId, string expressionName) { _realParameterId = realParameterId; _expressionName = expressionName; }
public PsnCommandInfoSimple(string name, IUid id) { _name = name; _id = id; }
public static bool HasUid(this IUid model, Guid uid) { return(model.Uid == uid); }
protected Entity(IUid uid) : base(uid) { }
public ObjectWithIdSimple(IUid id) { _id = id; }