Advertisement
Guest User

Untitled

a guest
Jul 29th, 2015
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. public bool Gate(Context context, object GatewayVar)
  2. {
  3. { var t=context.NeobhodimoeIzmenenie.ToList().Find(c=>c.Change.Value=="Перемаркировка"); //Spisok-свойство блока типа Выпадающий список
  4.  
  5. {if(t!=null)
  6. {
  7. return true;
  8. }
  9. else
  10. {
  11. return false;
  12. }
  13.  
  14. }
  15. }
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement