예제 #1
0
 public EnsureUserPermissionForMediaAttribute(string paramName, DictionarySource source)
 {
     Mandate.ParameterNotNullOrEmpty(paramName, "paramName");
     _paramName = paramName;
 }
 public EnsureUserPermissionForMediaAttribute(string paramName, DictionarySource source)
 {
     Mandate.ParameterNotNullOrEmpty(paramName, "paramName");
     _paramName = paramName;
     _source = source;  
 }
예제 #3
0
 public void Ctor_should_throw_exception_when_value_is_null()
 {
     DictionarySource dictionarySource = new DictionarySource(null);
 }