System.Web.Compilation.ResourceExpressionBuilder.CreateGetLocalResourceObject C# (CSharp) Method

CreateGetLocalResourceObject() static private method

static private CreateGetLocalResourceObject ( BoundPropertyEntry bpe, string resname ) : CodeExpression
bpe BoundPropertyEntry
resname string
return CodeExpression
		internal static CodeExpression CreateGetLocalResourceObject (BoundPropertyEntry bpe, string resname)
		{
			if (bpe == null || String.IsNullOrEmpty (resname))
				return null;

			if (bpe.UseSetAttribute)
				return CreateGetLocalResourceObject (bpe.Type, typeof (string), null, resname);
			else
				return CreateGetLocalResourceObject (bpe.PropertyInfo, resname);
		}
		

Same methods

ResourceExpressionBuilder::CreateGetLocalResourceObject ( MemberInfo mi, string resname ) : CodeExpression
ResourceExpressionBuilder::CreateGetLocalResourceObject ( Type member_type, Type declaringType, string memberName, string resname ) : CodeExpression